Where Is This I/O Error?
Hi; I've got this traceback from a failed import of a product: Traceback (most recent call last): File "/home/httpd/ZopeInstallation/Zope_software_home/lib/python/OFS/Application.py", line 563, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/__init__.py", line 5, in ? import SQLSession File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/SQLSession.py", line 21, in ? import Globals, App.Undo, socket, regex File "/usr/local/lib/python2.1/warnings.py", line 39, in warn warn_explicit(message, category, filename, lineno, module, registry) File "/usr/local/lib/python2.1/warnings.py", line 92, in warn_explicit showwarning(message, category, filename, lineno) File "/usr/local/lib/python2.1/warnings.py", line 98, in showwarning file.write(formatwarning(message, category, filename, lineno)) IOError: [Errno 5] Input/output error Where's the error? What do I do? TIA, BenO
Probably you are startibg zope without a terminal to output messages to? Then you could just start Zope with "nohup". regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Shipping software is an unnatural act
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ben Ocean Sent: Tuesday, January 01, 2002 10:46 PM To: zope@zope.org Subject: [Zope] Where Is This I/O Error?
Hi; I've got this traceback from a failed import of a product:
Traceback (most recent call last): File "/home/httpd/ZopeInstallation/Zope_software_home/lib/python/OFS/Ap plication.py", line 563, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/__init__.py", line 5, in ? import SQLSession File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/SQLSession. py", line 21, in ? import Globals, App.Undo, socket, regex File "/usr/local/lib/python2.1/warnings.py", line 39, in warn warn_explicit(message, category, filename, lineno, module, registry) File "/usr/local/lib/python2.1/warnings.py", line 92, in warn_explicit showwarning(message, category, filename, lineno) File "/usr/local/lib/python2.1/warnings.py", line 98, in showwarning file.write(formatwarning(message, category, filename, lineno)) IOError: [Errno 5] Input/output error
Where's the error? What do I do? TIA, BenO
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
At 12:23 AM 1/2/02 +0100, you wrote:
Probably you are startibg zope without a terminal to output messages to?
Then you could just start Zope with "nohup".
I'm at a loss how I would do this. I'm using a script in InstanceHome called zctl.py, so I customarily run: ./zctl.py start & from that directory. If I were to also run /usr/bin/nohup how would I do it? Do I edit zctl.py? TIA, BenO
regards Max M
Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Shipping software is an unnatural act
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ben Ocean Sent: Tuesday, January 01, 2002 10:46 PM To: zope@zope.org Subject: [Zope] Where Is This I/O Error?
Hi; I've got this traceback from a failed import of a product:
Traceback (most recent call last): File "/home/httpd/ZopeInstallation/Zope_software_home/lib/python/OFS/Ap plication.py", line 563, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/__init__.py", line 5, in ? import SQLSession File "/home/httpd/ZopeInstallation/OtherProducts/SQLSession/SQLSession. py", line 21, in ? import Globals, App.Undo, socket, regex File "/usr/local/lib/python2.1/warnings.py", line 39, in warn warn_explicit(message, category, filename, lineno, module, registry) File "/usr/local/lib/python2.1/warnings.py", line 92, in warn_explicit showwarning(message, category, filename, lineno) File "/usr/local/lib/python2.1/warnings.py", line 98, in showwarning file.write(formatwarning(message, category, filename, lineno)) IOError: [Errno 5] Input/output error
Where's the error? What do I do? TIA, BenO
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Tue, Jan 01, 2002 at 03:47:24PM -0800, Ben Ocean wrote:
I'm at a loss how I would do this. I'm using a script in InstanceHome called zctl.py, so I customarily run: ./zctl.py start & from that directory. If I were to also run /usr/bin/nohup how would I do it? Do I edit zctl.py?
Most likely, it'd be nohup ./zctl.py start & ; no editing of zctl.py at all. However, I'd grep through any third-party products and see which of them is spewing stuff to the terminal via bare print statements. Comment out the print statements, as they're (a) almost definitely for debugging, and (b) shouldn't be there anyway. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (3)
-
Ben Ocean -
Max M -
Mike Renfro