Importing PythonScript from 2.4.3 to 2.5.0b
hi, played with 2.5.0b (linux bin-dist). when i tried to import python-scripts from 2.4.3 i got IO-Errors. is it a bug, a broken installation (but it was quite fresh) or a new security feature? thank u. maik jablonski. Traceback: Error Type: IOError Error Value: [Errno 5] Input/output error Traceback (innermost last): File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZPublisher/Publish.py, line 151, in publish_module File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZPublisher/Publish.py, line 115, in publish File /home/Zope-2.5.0b3-linux2-x86/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: Zope) File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZPublisher/Publish.py, line 99, in publish File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: manage_importObject) File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZPublisher/Publish.py, line 40, in call_object (Object: manage_importObject) File /home/Zope-2.5.0b3-linux2-x86/lib/python/OFS/ObjectManager.py, line 504, in manage_importObject (Object: Zope) File /home/Zope-2.5.0b3-linux2-x86/lib/python/OFS/ObjectManager.py, line 522, in _importObjectFromFile (Object: Zope) File /home/Zope-2.5.0b3-linux2-x86/lib/python/OFS/CopySupport.py, line 312, in _verifyObjectPaste (Object: Zope) File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZODB/Connection.py, line 493, in setstate File /home/Zope-2.5.0b3-linux2-x86/lib/python/zLOG/__init__.py, line 129, in LOG File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, line 27, in __call__ File /home/Zope-2.5.0b3-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, line 79, in stupid_log_write IOError: (see above)
Maik Jablonski wrote:
Error Type: IOError Error Value: [Errno 5] Input/output error
/home/Zope-2.5.0b3-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, line 79, in stupid_log_write IOError: (see above)
Looks like Zope wanted to log something, and couldn't. If you don't provide a STUPID_LOG_FILE setting and run Zope detached, it doesn't have any place to write log messages. Cheers, Evan @ Zope
participants (2)
-
Evan Simpson -
Maik Jablonski