[Zope] Failed to import class atoi from module ZPublisher.Publish

Gabriel Genellina gagenellina@softlab.com.ar
Tue, 07 May 2002 06:19:32 -0300


Hi

Yesterday we upgraded from Zope 2.4.0 to 2.5.1 (binary release, python 2.1, 
win32-x86), python 2.1.3, win32) ZServer/1.1b1
and now, I cant access some folders, error is always the same:

Error Type: SystemError
Error Value: Failed to import class atoi from module ZPublisher.Publish

Traceback (innermost last):
   File D:\Zope\website\lib\python\ZPublisher\Publish.py, line 150, in 
publish_module
   File D:\Zope\website\lib\python\ZPublisher\Publish.py, line 114, in publish
   File D:\Zope\website\lib\python\Zope\__init__.py, line 159, in 
zpublisher_exception_hook
     (Object: Gabriel)
   File D:\Zope\website\lib\python\ZPublisher\Publish.py, line 98, in publish
   File D:\Zope\website\lib\python\ZPublisher\mapply.py, line 88, in mapply
     (Object: manage_main)
   File D:\Zope\website\lib\python\ZPublisher\Publish.py, line 39, in 
call_object
     (Object: manage_main)
   File D:\Zope\website\lib\python\Shared\DC\Scripts\Bindings.py, line 252, 
in __call__
     (Object: manage_main)
   File D:\Zope\website\lib\python\Shared\DC\Scripts\Bindings.py, line 283, 
in _bindAndExec
     (Object: manage_main)
   File D:\Zope\website\lib\python\App\special_dtml.py, line 172, in _exec
     (Object: manage_main)
   File D:\Zope\website\lib\python\DocumentTemplate\DT_In.py, line 637, in 
renderwob
     (Object: objectItems)
   File D:\Zope\website\lib\python\DocumentTemplate\DT_In.py, line 763, in 
sort_sequence
     (Object: objectItems)
   File D:\Zope\website\lib\python\ZODB\Connection.py, line 472, in setstate
SystemError: (see above)

I've been able to track the error to the SQLMethods contained in the 
folder. Every folder that had an SQL Method inside can't be accessed.
Any attempt to access a string property (title, meta_type, src, 
arguments_src) of an SQLMethod gives the above error.
Only old SQLMethods are afected (objects converted from 2.4 to 2.5); new 
SQLMethods work fine.


Gabriel Genellina
Softlab SRL