[Zope-dev] Pickling error

Jason Spisak 444@hiretechs.com
Tue, 22 Feb 2000 10:44:07 -0500


Zopists,

I can add instance of this ZClass from the management interface, but I
try to add using this code and I get the following traceback:

Code:

   <dtml-with "_[_['employee']]">
    <dtml-in "objectValues(['@net_DrawAccount'])">
     <dtml-with
"TransactionClass.createInObjectManager(_.str(_.int(ZopeTime())+2),
REQUEST)">
      <dtml-call
"propertysheets.Transaction_properties.manage_editProperties(REQUEST)">
      <dtml-call credit(_.None,_)>
      <dtml-call reindex_object>
    </dtml-with>
   </dtml-in>
   </dtml-with>

Traceback (innermost last):
  File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /home/jason/Zope-2.1.3/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: CatalogAware)
  File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line
169, in publish
  File /home/jason/Zope-2.1.3/lib/python/ZODB/Transaction.py, line 237,
in commit
  File /home/jason/Zope-2.1.3/lib/python/ZODB/Connection.py, line 325,
in commit
    (Info: (('*0OTLWZpGrL0EukoUyCq3tw==', 'TransactionClass'),
'\000\000\000\000\000\000#\024', ''))
cPickle.PicklingError: (see above)


All my best,

-- 
Jason Spisak
444@hiretechs.com