Here it is, thanks for all your help.
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 'colname'
On Dec 27, 12:10 pm, alex bodnaru <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> post the new crash dump
>
>
>
> sevenseeker wrote:
> > Yes, it turns out I did have a couple of 'table_name' instead of
> > 'tablename' entries.
>
> > However, now it is complaining about 'colname' which according to the
> > documentation is valid. Additionally 'colname' was in the quickstart
> > generated model.py as well. Hopefully this is another silly oversight
> > by myself.
>
> > Jason
>
> > On Dec 27, 11:04 am, alex bodnaru <[EMAIL PROTECTED]> wrote:
> > 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
>
> iQCVAwUBR3PqsNpwN1sq38njAQIjAQP9Gam1zL9AZje/NP+R3nM6j/1Qt0ddNgI6
> 4Nh9GfYcaP5YZXf0FaPrF1PGLqIeAy4asFYAdVcefT94UuhnujfioAWzpBPLo8y3
> lp9s2k9SAXjotPM1ZpW2tAVh4IaesQrKfG8gvRu8u5uzepLCNRUa2tlpZVOr8IfR
> gF3eK/sY9RE=
> =5d7W
> -----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
-~----------~----~----~----~------~----~------~--~---