deutschmarco / sqlautocode

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

autocode.py not in package #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On the first page it says u should use autocode.py. but is not in this 
package
Where can i get?

Original issue reported on code.google.com by dusan.sm...@gmail.com on 12 Aug 2009 at 12:11

GoogleCodeExporter commented 9 years ago
See:
http://code.google.com/p/sqlautocode/source/detail?spec=svn43&r=39

Original comment by cytee...@yahoo.co.uk on 2 Sep 2009 at 12:27

GoogleCodeExporter commented 9 years ago
This file does not seem to exist in the mercurial repository.  Also the link 
above is
broken.  I could only find a copy by searching
(http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&ct=rc#aJUs7IB65Lc/trunk/auto
code.py&q=autocode.py%20package:http://sqlautocode\.googlecode\.com)
and it appears to be too old.

Original comment by mjumb...@gmail.com on 24 Sep 2009 at 5:57

GoogleCodeExporter commented 9 years ago
worked when he posted it. but now it doesnt work for me also :x

Original comment by dusan.sm...@gmail.com on 25 Sep 2009 at 7:29

GoogleCodeExporter commented 9 years ago
It looks like it may have been renamed, but the documentation wasn't updated. 
After installing, use the 
command "sqlautocode" instead of "autocode.py"

Original comment by goo...@abbas.org on 1 Feb 2010 at 3:43

GoogleCodeExporter commented 9 years ago
I create a wrapper to call sqlautocode. Mine is: 

#!/usr/bin/env python
from sqlautocode.main import main
main()

and also I change code sqlautocode/main.py line 41 to

            reflection_schema = db.dialect.default_schema_name

I use sqlautocode with:
- SQLAlchemy-0.6beta1
- cx_Oracle-5.0.3
- instantclient-basic-10.2.0.4.0-macosx-x64
- Max OS X 10.6.2

All just work fine.

Original comment by hurie83 on 25 Feb 2010 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by spamsch@gmail.com on 30 Oct 2010 at 1:24