[Zope-dev] Unpickling Error: Invalid Load Key

Bill Anderson bill@libc.org
Sun, 12 Mar 2000 05:19:47 -0700


I am getting a Unpickling Error. I am not sure it is a PTK-specific
thing, as it seems to happen to PTK-Base dobjects, but nothing in the
traceback seems to indicate PTKness.

I am trying to import and export things from the same machine.

Case number one:
 Portals. They don't seem to export without this error:
---------------------------
  <STRONG>Error Type: UnpicklingError</STRONG><BR>
  <STRONG>Error Value: invalid load key, '-'.</STRONG><BR> 
....
<!--
Traceback (innermost last):
  File /home/web/Vhosts/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /home/web/Vhosts/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /home/web/Vhosts/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/web/Vhosts/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /home/web/Vhosts/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_importObject)
  File /home/web/Vhosts/lib/python/ZPublisher/Publish.py, line 102, in
call_object
    (Object: manage_importObject)
  File /home/web/Vhosts/lib/python/OFS/ObjectManager.py, line 478, in
manage_importObject
    (Object: ElementWithAttributes)
  File /home/web/Vhosts/lib/python/ZODB/ExportImport.py, line 284, in
importFile
UnpicklingError: (see above)

-->
----------------------------

Case Number two:
  This also happens when I try to export a new test version of a PTK
Aware version of the KnowledgeKit (freshly created), although it seems
to be a '.' instead of a '-'.

IMO, Portals, and objects that subclass Portal Classes need to be
exportable _and_ importable.


Bill 

-- 
In flying I have learned that carelessness and overconfidence are 
usually far more dangerous than deliberately accepted risks. 
          -- Wilbur Wright in a letter to his father, September 1900