Hello,

We've got a bit of an odd error with sqlalchemy. The situation is we're
running the same pylons app under two subdomains each connected to a
different database. Each app sits in its own virtualenv but is the same
code. Each connects to a different mysql database. The first app runs fine
and has done for some time, when we try and use the second however we're
seeing:

    InvalidRequestError: Table 'accounts' is already defined for this
MetaData instance.  Specify 'useexisting=True' to redefine options and
columns on an existing Table object.

Im 90% sure this is an issue with mod_wsgi ( or how we have set it up) as I
can run the second instance with paster serve without this error.

Can anyone give any hints as to how to fix this or to further debug the
problem?
We are running mod_wsgi 2.0 in daemon mode and sqla 0.4.5.

Thanks for any help
dunk

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

Reply via email to