When I quickstart an app with an Elixir identity model (i.e. "tg-admin
quickstart -i" on 1.1. or "tg-admin quickstart -e -i" on 1.0), I get the
following exception when I try to start the app or run the toolbox,
regardless of whether I ran "tg-admin sql create" previously or not:

File
"/home/chris/lib/tgdev11-py25/lib/python2.5/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/schema.py",
line 1274, in _get_engine
    raise exceptions.InvalidRequestError("This SchemaItem is not
connected to any Engine or Connection.")

This happens in both the 1.0 and 1.1 branch rev3664. The dev.cfg file
has the default dburi:

        sqlalchemy.dburi="sqlite:///devdata.sqlite"

Below's the full traceback from trying to start the app.


Chris



Unhandled exception in thread started by <bound method Server._start of
<cherrypy._cpserver.Server object at 0x839376c>>
Traceback (most recent call last):
  File
"/home/chris/lib/tgdev11-py25/lib/python2.5/CherryPy-2.2.1-py2.5.egg/cherrypy/_cpserver.py",
line 78, in _start
    Engine._start(self)
  File
"/home/chris/lib/tgdev11-py25/lib/python2.5/CherryPy-2.2.1-py2.5.egg/cherrypy/_cpengine.py",
line 108, in _start
    func()
  File "/home/chris/tmp/turbogears/branches/1.1/turbogears/startup.py",
line 234, in startTurboGears
    ext.start_extension()
  File
"/home/chris/tmp/turbogears/branches/1.1/turbogears/visit/api.py", line
68, in start_extension
    create_extension_model()
  File
"/home/chris/tmp/turbogears/branches/1.1/turbogears/visit/api.py", line
87, in create_extension_model
    _manager.create_model()
  File
"/home/chris/tmp/turbogears/branches/1.1/turbogears/visit/savisit.py",
line 32, in create_model
    visit_class.mapper.local_table.create(checkfirst=True)
  File
"/home/chris/lib/tgdev11-py25/lib/python2.5/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/schema.py",
line 385, in create
    self.metadata.create_all(bind=bind, checkfirst=checkfirst,
tables=[self])
  File
"/home/chris/lib/tgdev11-py25/lib/python2.5/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/schema.py",
line 1238, in create_all
    bind = self._get_engine(raiseerr=True)
  File
"/home/chris/lib/tgdev11-py25/lib/python2.5/SQLAlchemy-0.3.10-py2.5.egg/sqlalchemy/schema.py",
line 1274, in _get_engine
    raise exceptions.InvalidRequestError("This SchemaItem is not
connected to any Engine or Connection.")

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to