Hello Everyone:
I am trying to get my first TG application off the ground using
SQLAlchemy, but when I try to have tg-admin create the sql (with
tg-admin sql create) I get the following:
Creating tables at mysql://at:[EMAIL PROTECTED]:3306/at
Traceback (most recent call last):
File "/usr/bin/tg-admin", line 7, in ?
sys.exit(
File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/command/base.py",
line 356, in main
command.run()
File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/command/base.py",
line 115, in run
sacommand(sqlobjcommand, sys.argv)
File "<string>", line 5, in sacommand
File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/command/base.py",
line 70, in sacreate
metadata.create_all()
File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 859, in
create_all
File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line
413, in create
File "build/bdist.linux-i686/egg/sqlalchemy/engine/base.py", line
437, in _run_visitor
File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 879, in
accept_schema_visitor
File "build/bdist.linux-i686/egg/sqlalchemy/ansisql.py", line 637, in
visit_metadata
File "build/bdist.linux-i686/egg/sqlalchemy/schema.py", line 265, in
accept_schema_visitor
File "build/bdist.linux-i686/egg/sqlalchemy/ansisql.py", line 658, in
visit_table
File "build/bdist.linux-i686/egg/sqlalchemy/databases/mysql.py", line
438, in get_column_specification
AttributeError: 'ForeignKey' object has no attribute 'engine_impl'
Does anyone know what this is and how get past it? Is this a problem
with my model? I tried to google and search the group, but I didn't
find anything -- sorry if it has been mentioned already.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---