On Sep 25, 2006, at 5:00 PM, Daniel Lyons wrote: > There is one small problem: the database connection which I use seems > to be somewhat broken from the new thread context: I get this > exception: > > InvalidRequestError: Could not locate any Engine bound to mapper > 'Mapper|FileMirror|files_mirrors' > > I'm sure there's a cheesy way to fix this I'll figure out tomorrow...
You'll probably need to re-run the commands to load your SQLAlchemy engine in that thread function as its passed out of the thread scope of the command you must have somewhere else that setup the engine for use in the thread handling the request. HTH, Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
