How to resolve the following error:
File "/home/rakesh/pylon/SimpleSite/simplesite/websetup.py", line 23, in
setup_app
Base.metadata.create_all(bind=Session.bind)
File "/usr/lib/python2.6/dist-packages/sqlalchemy/schema.py", line 2012,
in create_all
bind = _bind_or_error(self)
File "/usr/lib/python2.6/dist-packages/sqlalchemy/schema.py", line 2464,
in _bind_or_error
raise exc.UnboundExecutionError(msg)
sqlalchemy.exc.UnboundExecutionError: The MetaData is not bound to an Engine
or Connection. Execution can not proceed without a database to execute
against. Either execute with an explicit connection or assign the
MetaData's .bind to enable implicit execution.
--
Thanks and Regards,
Rakesh Kumar Agarwal,
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.