That is exactly what it was, I never would have caught it (previous
orms I've used derived the type from the other table).
Thanks so much.
On May 15, 11:19 am, Michael Bayer <[EMAIL PROTECTED]> wrote:
> the problem is probably that you are missing a type from a Column
> declaration and its confusing a ForeignKey as the TypeEngine object.
>
> On May 15, 2007, at 6:14 AM, ltbarcly wrote:
>
>
>
> > Any help with this would be greatly appreciated.
>
> > ~/projects/pylons/Smonitor$ paster setup-app development.ini
> > Running setup_config() from smonitor.websetup
> > Connecting to database postgres://jvanwink:[EMAIL PROTECTED]/smonitor_dev
> > Creating tables
> > Traceback (most recent call last):
> > File "/Library/Frameworks/Python.framework/Versions/Current/bin/
> > paster", line 8, in <module>
> > load_entry_point('PasteScript==1.3.4', 'console_scripts',
> > 'paster')
> > ()
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > command.py", line 76, in run
> > invoke(command, command_name, options, args[1:])
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > command.py", line 115, in invoke
> > exit_code = runner.run(args)
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > appinstall.py", line 65, in run
> > return super(AbstractInstallCommand, self).run(new_args)
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > command.py", line 210, in run
> > result = self.command()
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > appinstall.py", line 452, in command
> > self, config_file, section,
> > self.sysconfig_install_vars(installer))
> > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/PasteScript-1.3.4-py2.5.egg/paste/script/
> > appinstall.py", line 588, in setup_config
> > mod.setup_config(command, filename, section, vars)
> > File "/Users/jvanwink/projects/pylons/Smonitor/smonitor/
> > websetup.py", line 19, in setup_config
> > model.meta.create_all()
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/schema.py", line
> > 1150, in create_all
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/engine/base.py",
> > line 691, in create
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/engine/base.py",
> > line 721, in _run_visitor
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/schema.py", line
> > 1172, in accept_visitor
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/ansisql.py", line
> > 806, in visit_metadata
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/sql.py", line 2541,
> > in accept_visitor
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/ansisql.py", line
> > 827, in visit_table
> > File "build/bdist.macosx-10.3-fat/egg/sqlalchemy/databases/
> > postgres.py", line 547, in get_column_specification
> > AttributeError: 'ForeignKey' object has no attribute 'dialect_impl'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---