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
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to