anunnakian / sqlautocode

Automatically exported from code.google.com/p/sqlautocode
Other
0 stars 0 forks source link

sqlautocode dies with oracle and -s #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm not sure how much of this is Oracle, and how much is generic, but it
works for ORacle without the -s, but not with.

(tg2env) C:\DevOps\devops\model>sqlautocode
oracle://hrs:******@****.com:1521/bassdbpr -o bass.py -s n_bass
Starting...
Generating python model for table decom_list
Traceback (most recent call last):
  File "C:\tg2env\Scripts\sqlautocode-script.py", line 8, in <module>
    load_entry_point('sqlautocode==0.5.2dev-r0', 'console_scripts',
'sqlautocode
')()
  File "build\bdist.win32\egg\sqlautocode\__init__.py", line 73, in main
UnboundLocalError: local variable 'original_schema' referenced before
assignment

Original issue reported on code.google.com by drachend...@gmail.com on 25 Mar 2009 at 1:04

GoogleCodeExporter commented 8 years ago
Should be fixed in r40 and at http://pypi.python.org/pypi/sqlautocode

Please test

Original comment by spamsch@gmail.com on 30 Mar 2009 at 3:01

GoogleCodeExporter commented 8 years ago
Fixed in 0.5.2

Original comment by spamsch@gmail.com on 12 May 2009 at 9:43