[Zope-dev] Import I/O error

a32955@pop-server.nc.rr.com a32955@pop-server.nc.rr.com
Thu, 11 Oct 2001 08:59:46 -0400


I've exported a folder from a 2.3.0 Zope installation and am trying to 
import the reulting myfile.zexp into a 2.4.1 installation on a different 
machine.  This causes an IOError as documented below.

The problem seems to have something to do with changing the ownership.

Choosing 'Take ownership of imported objects' before clicking the Import 
button causes the IOError immediately.

Choosing 'Retain existing ownership information' results in an apparently 
successful import, but when I click the imported Folder in the Zope 
management interface, the same IOError results.  In other words, the folder 
gets imported, but I cannot view it, even if I'm logged in as root.

Any idea what's wrong?  Does it have something to do with the differing 
versions on the two machines?

Joe



Error Type: IOError
Error Value: [Errno 5] Input/output error

<snip...>

[]
Traceback (innermost last):
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 223, in publish_module
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 187, in publish
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/Zope/__init__.py, line 
226, in zpublisher_exception_hook
     (Object: ApplicationDefaultPermissions)
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 171, in publish
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
     (Object: manage_importObject)
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 112, in call_object
     (Object: manage_importObject)
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/OFS/ObjectManager.py, 
line 591, in manage_importObject
     (Object: ApplicationDefaultPermissions)
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/OFS/ObjectManager.py, 
line 313, in _setObject
     (Object: ApplicationDefaultPermissions)
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/AccessControl/Owned.py, 
line 286, in manage_fixupOwnershipAfterAdd
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/AccessControl/Owned.py, 
line 187, in changeOwnership
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZODB/Connection.py, 
line 566, in setstate
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/zLOG.py, line 213, in LOG
   File /usr/local/Zope-2.4.1-linux2-x86/lib/python/ZLogger/ZLogger.py, 
line 17, in log_write
   File 
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, 
line 99, in __call__
   File 
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, 
line 151, in stupid_log_write
IOError: (see above)