On 8/16/07, Christoph Haas <[EMAIL PROTECTED]> wrote: > There is one problem left for me now. The code in lib/base.py doesn't seem to > do its job properly: > > File '/home/chaas/projekte/dnsdhcp/dnsdhcp/lib/base.py', line 43 in __call__ > model.Session.remove() > File '/usr/lib/python2.4/site-packages/sqlalchemy/orm/scoping.py', line 47 in > remove > self.registry.clear() > AttributeError: type object 'ScopedSession' has no attribute 'registry'
I don't know about that. Somebody else got a 'registry' error too. Mike? model.Sesson.close() or model.Session.clear() would also be adequate, if they work better for you. They all discard active data, which is what we need. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
