Title: ImportError: cannot import name _deferred_relation · Issue #42 · unalloc/sqlautocode · GitHub
Open Graph Title: ImportError: cannot import name _deferred_relation · Issue #42 · unalloc/sqlautocode
X Title: ImportError: cannot import name _deferred_relation · Issue #42 · unalloc/sqlautocode
Description: What steps will reproduce the problem? 1. Run the program. See transcript below. What is the expected output? What do you see instead? $ sqlautocode sqlite:///tutorial.db -o models.py Traceback (most recent call last): File "/usr/local/b...
Open Graph Description: What steps will reproduce the problem? 1. Run the program. See transcript below. What is the expected output? What do you see instead? $ sqlautocode sqlite:///tutorial.db -o models.py Traceback (mo...
X Description: What steps will reproduce the problem? 1. Run the program. See transcript below. What is the expected output? What do you see instead? $ sqlautocode sqlite:///tutorial.db -o models.py Traceback (mo...
Opengraph URL: https://github.com/unalloc/sqlautocode/issues/42
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError: cannot import name _deferred_relation","articleBody":"```\nWhat steps will reproduce the problem?\n1. Run the program. See transcript below.\n\nWhat is the expected output? What do you see instead?\n\n$ sqlautocode sqlite:///tutorial.db -o models.py\nTraceback (most recent call last):\n File \"/usr/local/bin/sqlautocode\", line 9, in \u003cmodule\u003e\n load_entry_point('sqlautocode==0.7', 'console_scripts', 'sqlautocode')()\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 318, in load_entry_point\n\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 2221, in load_entry_point\n\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 1954, in load\n *possible* to create pathological version coding schemes that will fool\n File \"/Library/Python/2.7/site-packages/sqlautocode/main.py\", line 4, in \u003cmodule\u003e\n from declarative import ModelFactory\n File \"/Library/Python/2.7/site-packages/sqlautocode/declarative.py\", line 17, in \u003cmodule\u003e\n from sqlalchemy.ext.declarative import _deferred_relation as _deferred_relationship\nImportError: cannot import name _deferred_relation\n\nWhat version of the product are you using? On what operating system?\n\nSQLAlchemy (0.8.0)\nsqlautocode (0.7)\n(both freshly updated from PyPI)\n\nOn Mac OS X 10.7.5, using Python 2.7.1\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `jonathan...@gmail.com` on 5 Apr 2013 at 5:16\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2015-12-02T03:31:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/42/sqlautocode/issues/42"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:426a39ee-2788-caf5-8c7f-ef657e810527 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86FC:5306D:1EF04:25062:69910208 |
| html-safe-nonce | f64794df94a9aaef9da318ecb829b1babae2cdd42020f72adbe096379b6c9d22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkZDOjUzMDZEOjFFRjA0OjI1MDYyOjY5OTEwMjA4IiwidmlzaXRvcl9pZCI6IjU1MzExODEwMTcyNDk5Mzk5NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 436195f2526cbb410f2a84499b736b41d88de739ab25f17a637a13f9444142f0 |
| hovercard-subject-tag | issue:119859533 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unalloc/sqlautocode/42/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f618058d9a1acb007eca53e39146a468d091fee96157331a9e5a442f6604218/unalloc/sqlautocode/issues/42 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f618058d9a1acb007eca53e39146a468d091fee96157331a9e5a442f6604218/unalloc/sqlautocode/issues/42 |
| og:image:alt | What steps will reproduce the problem? 1. Run the program. See transcript below. What is the expected output? What do you see instead? $ sqlautocode sqlite:///tutorial.db -o models.py Traceback (mo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/unalloc/sqlautocode git https://github.com/unalloc/sqlautocode.git |
| octolytics-dimension-user_id | 2229516 |
| octolytics-dimension-user_login | unalloc |
| octolytics-dimension-repository_id | 47234827 |
| octolytics-dimension-repository_nwo | unalloc/sqlautocode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 47234827 |
| octolytics-dimension-repository_network_root_nwo | unalloc/sqlautocode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width