Hello everyone! I'am a newbie in Zope and wrote small project - message board. I use Zope-2.5.0 under Debian 2.2.15, MySQLdb - 0.3.5 и ZMySQLDA-2.0.5 When I go to link where my message board is located I get: Zope has encountered an error while publishing this resource. Error Type: IOError Error Value: [Errno 5] Input/output error -------------------------------------------------------------------------------- Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 114, in publish File /home/alienoid/zope/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: expexchange) File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 98, in publish File /home/alienoid/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: index_html) File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: index_html) File /home/alienoid/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call__ (Object: index_html) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: index_html) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_In.py, line 695, in renderwob (Object: list_all_topics) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: isTopicEqualId(topic_id, topic)) (Info: topic) File <string>, line 2, in f File /home/alienoid/zope/lib/python/ZODB/Connection.py, line 493, in setstate File /home/alienoid/zope/lib/python/zLOG/__init__.py, line 129, in LOG File /home/alienoid/zope/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /home/alienoid/zope/lib/python/ZLogger/stupidFileLogger.py, line 27, in __call__ File /home/alienoid/zope/lib/python/ZLogger/stupidFileLogger.py, line 79, in stupid_log_write IOError: (see above) Can anybody help me to understand what's going on? I can't grasp what this output means
looks like something wants to log a message and the log might think it's writing to stdout. start your zope with nohup and see if the problem goes away or explicitly set a logging target (set the STUPID_LOG_FILE variable to a valid file path). jens On Tuesday, February 5, 2002, at 07:35 , Ruslan Spivak wrote:
Hello everyone! I'am a newbie in Zope and wrote small project - message board. I use Zope-2.5.0 under Debian 2.2.15, MySQLdb - 0.3.5 и ZMySQLDA-2.0.5 When I go to link where my message board is located I get:
Zope has encountered an error while publishing this resource.
Error Type: IOError Error Value: [Errno 5] Input/output error
--------------------------------------------------------------------------------
Troubleshooting Suggestions
The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer. Thank you for your patience.
Traceback (innermost last): File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 114, in publish File /home/alienoid/zope/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: expexchange) File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 98, in publish File /home/alienoid/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: index_html) File /home/alienoid/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: index_html) File /home/alienoid/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call__ (Object: index_html) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: index_html) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_In.py, line 695, in renderwob (Object: list_all_topics) File /home/alienoid/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: isTopicEqualId(topic_id, topic)) (Info: topic) File <string>, line 2, in f File /home/alienoid/zope/lib/python/ZODB/Connection.py, line 493, in setstate File /home/alienoid/zope/lib/python/zLOG/__init__.py, line 129, in LOG File /home/alienoid/zope/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /home/alienoid/zope/lib/python/ZLogger/stupidFileLogger.py, line 27, in __call__ File /home/alienoid/zope/lib/python/ZLogger/stupidFileLogger.py, line 79, in stupid_log_write IOError: (see above)
Can anybody help me to understand what's going on? I can't grasp what this output means
Ruslan Spivak wrote:
Can anybody help me to understand what's going on? I can't grasp what this output means
here: http://lists.zope.org/pipermail/zope/2001-June/093702.html or here: http://lists.zope.org/pipermail/zope-dev/2001-December/014505.html or: --------------------- You're starting Zope through something like this: ./start & You then close the terminal window, and Zope's controlling terminal disappears.... Zope is trying to send output to stdout, but stdout is gone. You get the IOError. Instead of starting Zope this way, start Zope from a terminal that doesn't get closed. ------------------------------------------------- OK, thanks Garry... I'm going to treat this as an isolated error, where the solution is to not close the terminal window after you do "./start &" or alternately to use "nohup ./start &". regards Max M
participants (3)
-
Jens Vagelpohl -
Max M -
Ruslan Spivak