#10 UnpicklableError when pressing "Update"

closed-fixed
None
5
2001-10-24
2001-10-24
Erik Enge
No

I have, in my properties_, a reference_factory
property. When I "Edit" and then "update" the instance
it is located on, I get this error:

Zope Error

Zope has encountered an error while publishing this
resource.

Error Type: UnpickleableError
Error Value: Cannot pickle objects

Troubleshooting Suggestions

* The URL may be incorrect.
* The parameters passed to this resource may be
incorrect.

* A resource that this resource relies on may be
encountering an error.

For more detailed information about the error, please
refer to the HTML source for this page.

If the error persists please contact the site
maintainer. Thank you for your patience.

Traceback (innermost last):
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/Zope/__init__.py,
line 226, in zpublisher_exception_hook
(Object: product_base_item)
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py,
line 175, in publish
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/Zope/__init__.py,
line 240, in commit
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/ZODB/Transaction.py,
line 302, in commit
File
/home/erik/development/zope-farm/Zope-2.4.1-src/lib/python/ZODB/Connection.py,
line 418, in commit
(Info: (('BTrees.OOBTree', 'OOBTree'),
'\x00\x00\x00\x00\x00\x06D\xf0', ''))
UnpickleableError: (see above)

This is how the property looks:

properties.reference_factory(
'path_to_infogroups',
description='blablabla',
data='get_infogroups_instances',
default_value='infogroups')

Discussion

  • Morten W. Petersen

    • assigned_to: nobody --> morphex
    • summary: UnpicklableError when pressing "Update" --> UnpicklableError when pressing "Update"
    • status: open --> closed-fixed
     
  • Morten W. Petersen

    Logged In: YES
    user_id=68005

    This is because an object containing a catalog would try to index itself in the contained catalog.

    This is fixed in CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks