[Zope-dev] Cannot pickle objects
Andre Schubert
andre.schubert@geyer.kabeljournal.de
Wed, 10 May 2000 16:27:10 +0200
Hi,
i'm working with the how-to Serve PHP/Perl within Zope.
I have an external python method called mymethod. In a zope-folder
called "myfolder" i add the external method mymethod. I set the
SiteRootPath to myfolder. I add i SiteAccess Rule to myfolder with the
id of mymethod. This means on every REQUEST of
myfolder/somewhere/somewhat the mymethod should be called and executed.
Right ?
Now the mymethod python file is that from the how-to and every time i
open myfolder the error below comes up. Who can help me please.
mfg as
Traceback (innermost last):
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 179, in publish
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line
202, in zpublisher_exception_hook
(Object: ElementWithAttributes)
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 169, in publish
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/Transaction.py,
line 237, in commit
File
/usr/share/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/Connection.py,
line 325, in commit
(Info: (('OFS.Folder', 'Folder'), '\000\000\000\000\000\000\001~',
''))
UnpickleableError: (see above)