[ZODB-Dev] UnpickleableError
Chris Withers
chris at simplistix.co.uk
Thu Mar 8 11:09:29 EST 2007
Adam Groszer wrote:
> Hello,
>
> Just run into a usual "Cannot pickle <type
> 'zope.security._proxy._Proxy'> objects" exception.
What does your patch give you that this error message doesn't?
> + try:
> + self._p.dump(state)
> + except Exception, msg:
it's logger msg, it's the exception object being caught.
> + log = logging.getLogger("ZODB.serialize")
Why get the logger here? get it in some global context.
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the ZODB-Dev
mailing list