Hi,

now I have another error:
>
> for name,schemaname in engine.execute("SELECT tablename,schemaname FROM
> pg_tables").fetchall():
>     if not schemaname in ('information_schema','pg_catalog'):
>           tbl[name] = Table(name, database.metadata, autoload=True)
>
> sqlalchemy.exceptions.InvalidRequestError: This SchemaItem is not
> connected to any Engine
>

You need to call bind_meta_data() before you define any autoload tables.

Paul

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