-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
look for 'table_name' in your model
sevenseeker wrote:
> Howdy,
> My environment is as follows:
> Windows XP
> Python 2.5
> TurboGears 1.0.4b3
> SQLAlchemy 0.4.1
> Elixir 0.5.0
>
> When running 'tg-admin sql create' I am receiving the following
> exception.
>
> <snip>
> C:\tmp\test_mgr_exec\Test-Exec>tg-admin sql create
> Creating tables at sqlite:///devdata.sqlite
> Traceback (most recent call last):
> File "C:\Python25\Scripts\tg-admin-script.py", line 8, in <module>
> load_entry_point('turbogears==1.0.4b3', 'console_scripts', 'tg-
> admin')()
> File "c:\python25\lib\site-packages\TurboGears-1.0.4b3-py2.5.egg
> \turbogears\co
> mmand\base.py", line 371, in main
> command.run()
> File "c:\python25\lib\site-packages\TurboGears-1.0.4b3-py2.5.egg
> \turbogears\co
> mmand\base.py", line 97, in run
> sacommand(command, sys.argv)
> File "<string>", line 5, in sacommand
> File "c:\python25\lib\site-packages\TurboGears-1.0.4b3-py2.5.egg
> \turbogears\co
> mmand\sacommand.py", line 32, in create
> get_model()
> File "c:\python25\lib\site-packages\TurboGears-1.0.4b3-py2.5.egg
> \turbogears\ut
> il.py", line 131, in get_model
> package = __import__(package_name, {}, {}, ["model"])
> File "c:\python25\lib\site-packages\myghty-1.1-py2.5.egg\myghty
> \importer.py",
> line 54, in import_module
> return builtin_importer(name, globals, locals, fromlist)
> File "C:\tmp\test_mgr_exec\Test-Exec\testexec\model.py", line 526,
> in <module>
>
> setup_all()
> File "C:\Python25\lib\site-packages\elixir-0.5.0-py2.5.egg\elixir
> \__init__.py"
> , line 116, in setup_all
> File "C:\Python25\lib\site-packages\elixir-0.5.0-py2.5.egg\elixir
> \entity.py",
> line 731, in setup_entities
> File "C:\Python25\lib\site-packages\elixir-0.5.0-py2.5.egg\elixir
> \entity.py",
> line 419, in setup_properties
> File "C:\Python25\lib\site-packages\elixir-0.5.0-py2.5.egg\elixir
> \entity.py",
> line 431, in call_builders
> File "C:\Python25\lib\site-packages\elixir-0.5.0-py2.5.egg\elixir
> \relationship
> s.py", line 406, in create_properties
> File "c:\python25\lib\site-packages\sqlalchemy-0.4.1-py2.5.egg
> \sqlalchemy\orm\
> __init__.py", line 245, in relation
> return PropertyLoader(argument, secondary=secondary, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'table_name'
> </snip>
>
> Am I wrong in thinking that this is an error with either Elixir or
> SQLAlchemy and not my model.py?
>
> If so, would it be best to try following up with both of those groups?
>
> Thanks,
> Jason
> >
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBR3PbBdpwN1sq38njAQK/4wQAxJqtr6R+noZUXaBzvsbIRfPdSPkdNh2O
qyFhx9hhegJONz7s/Qf+Bgw3GuE2c8R84zYIzmcDyyd33YSz0Ic5RyMUMKywyB9N
yoQL+SCL8QCGS/+QsPyj657ggEpEolYpSsrwL2Q3EKDX3Yc0NsBVH4dr6Hm2xkWg
SKZXigsUVhM=
=vlRc
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---