[Zope-CMF] pickle error

Howard Zhang howard@exoweb.net
Thu, 19 Apr 2001 14:42:48 +0800


 <http://www.exoweb.net/> Exoweb - Web technology solutions=09

Hi there

 I have a problem when i use CMF.

  After i add portal imgae or file in portal folder, then i view any
portal document in the portal folder I get this error message.

cPickle.PicklingError

Cannot pickle <type 'Python Method'> objects

Traceback (innermost last):
  File /home/howard/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /home/howard/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /home/howard/zope-dc-2.3.1/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: DynamicType)
  File /home/howard/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line
175, in publish
  File /home/howard/zope-dc-2.3.1/lib/python/Zope/__init__.py, line 235,
in commit
  File /home/howard/zope-dc-2.3.1/lib/python/ZODB/Transaction.py, line
300, in commit
  File /home/howard/zope-dc-2.3.1/lib/python/ZODB/Connection.py, line
375, in commit
    (Info: (('Products.CMFCore.PortalFolder', 'PortalFolder'),
'\000\000\000\000\000\000)s', ''))
cPickle.PicklingError: (see above)


I looked portal image and file source. Maybe error is caused by icon or
edit=20

my zope version is zope 2.3.1 and cmf 1.0

Best regards,


Howard Chang<howard @exoweb.net <mailto:will@exoweb.net> >	   t =09
+86 (10) 65918490 x 804=09
Partner / Senior Consultant	   f 	 +86 (10) 65918492=09
Exoweb <http://www.exoweb.net/>  - Web technology solutions	   m =09
+86 13801039503=09