Greetings,

I, too, it seems am having problems with multiple databases.
If anyone could point me to other resources to look for information on what
I am missing (and I suspect that it is something dumb), I would really
appreciate it.

I am using tg1.1 with SQLAlchemy and Elixir.

I followed the discussion on the tg 1.1 website here:

http://turbogears.org/1.1/docs/SQLAlchemy.html#multiple-databases

and the appropiate Elixir documentation.  I have two files for the model
(model.py and archmodel.py) which are imported in the model/__init.py__
which also runs setup_all()

My script to build the tables worked, but when I run the application, I get
the following error message.

 UnboundExecutionError: The Table 'tguser' 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 this Table's
.metadata.bind to enable implicit execution.

which says that the database specified in dev.cfg as sqlalchemy.dburi is
not bound, even though it is bound in the model.py file above.

I can provide a lot more code, if need be.

Thanks,
Brad

-- 
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.

Reply via email to