[sqlalchemy] Connection Already Closed -- potentially incorrect error msg sometimes?

2008-03-09 Thread Eric Ongerth
I don't know if the following traceback, from my Pylons project, will shed light on this. But I have fixed the error that I'm about to mention, and it was not what it appeared, which makes me wonder if SqlAlchemy has a bug in its error reporting (or on the other hand maybe there's just something

[sqlalchemy] Why don't dynamic_loader relations support order_by?

2008-03-09 Thread Thomas Wittek
Hi! I'm replacing some relation()s by dynamic_loader()s and encountered the problem that the order_by parameter doesn't work anymore. Obviously dynamic_loader doesn't support it. Is this left out with a special purpose? I'd find it quite useful to have a default ordering for the related

[sqlalchemy] Re: Connection Already Closed -- potentially incorrect error msg sometimes?

2008-03-09 Thread Eric Ongerth
Thanks for the reply. I wonder if Pylons is responsible for ignoring that exception. My project is at such an early stage that it hasn't even grown any exception-handling code yet, so I know my own code didn't catch an exception and neglect to raise it or something. Anyway, not something I