Can't edit or delete data records after moving site.
I built a site with Zope installed inside of my INSTANCE_HOME directory. I then moved it to my ISP's server and they had Zope installed in /usr/local, with INSTANCE_HOME being /home/my_dir/public_html. Everything imported fine except for a python script which I wound up deleting from the .zexp and rebuilding on the new machine. Now that everything is on the new server, I can not edit or delete any of the old test information, I can't delete, cut and paste or rename the entry folders either. Deleting it from the Catalog also does not work . Any ideas? My old environment is Zope 2.4.1, Python 2.0 and Apache1.3.22 My new environment is Zope2.4.4, Python 2.1.3 and Apache 1.3.22 if this makes any difference. Michael
Sorry, I forgot to include the error message and traceback. Site Error An error was encountered 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 /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.4-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: niche) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_delObjects) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_delObjects) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 499, in manage_delObjects (Object: niche) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 366, in _delObject (Object: niche) File /usr/local/zope/lib/python/zLOG.py, line 213, in LOG File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 99, in __call__ File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 151, in stupid_log_write IOError: (see above) On Thursday 25 July 2002 11:49 am, Michael wrote:
I built a site with Zope installed inside of my INSTANCE_HOME directory. I then moved it to my ISP's server and they had Zope installed in /usr/local, with INSTANCE_HOME being /home/my_dir/public_html. Everything imported fine except for a python script which I wound up deleting from the .zexp and rebuilding on the new machine.
Now that everything is on the new server, I can not edit or delete any of the old test information, I can't delete, cut and paste or rename the entry folders either. Deleting it from the Catalog also does not work . Any ideas?
My old environment is Zope 2.4.1, Python 2.0 and Apache1.3.22 My new environment is Zope2.4.4, Python 2.1.3 and Apache 1.3.22 if this makes any difference.
Michael
_______________________________________________ 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 )
Start Zope like this: $ nohup ./start STUPID_LOG_FILE=/some/log/filename & Then try this again. There is a bug in which Zope tries to write to a nonexistent console. Using nohup prevents the problem. I believe this bug is fixed in Zope 2.6 (CVS). - C Michael wrote:
Sorry, I forgot to include the error message and traceback.
Site Error
An error was encountered 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 /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.4-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: niche) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_delObjects) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_delObjects) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 499, in manage_delObjects (Object: niche) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 366, in _delObject (Object: niche) File /usr/local/zope/lib/python/zLOG.py, line 213, in LOG File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 99, in __call__ File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 151, in stupid_log_write IOError: (see above)
On Thursday 25 July 2002 11:49 am, Michael wrote:
I built a site with Zope installed inside of my INSTANCE_HOME directory. I then moved it to my ISP's server and they had Zope installed in /usr/local, with INSTANCE_HOME being /home/my_dir/public_html. Everything imported fine except for a python script which I wound up deleting from the .zexp and rebuilding on the new machine.
Now that everything is on the new server, I can not edit or delete any of the old test information, I can't delete, cut and paste or rename the entry folders either. Deleting it from the Catalog also does not work . Any ideas?
My old environment is Zope 2.4.1, Python 2.0 and Apache1.3.22 My new environment is Zope2.4.4, Python 2.1.3 and Apache 1.3.22 if this makes any difference.
Michael
_______________________________________________ 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 )
_______________________________________________ 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 )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
I was just getting ready to respond back to the list when this message came through. We just fixed the problem and it was actually very simple. I just had to be added to the Zope group, ie: "nobody". Once this was done, everything started working fine. I just wanted to post this again because I was searching Zope and Google and found some other similar occurences, but couldn't find a response. Thanks for responding Chris. Michael On Thursday 25 July 2002 03:57 pm, Chris McDonough wrote:
Start Zope like this:
$ nohup ./start STUPID_LOG_FILE=/some/log/filename &
Then try this again. There is a bug in which Zope tries to write to a nonexistent console. Using nohup prevents the problem. I believe this bug is fixed in Zope 2.6 (CVS).
- C
Michael wrote:
Sorry, I forgot to include the error message and traceback.
Site Error
An error was encountered 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 /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.4-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: niche) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_delObjects) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_delObjects) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 499, in manage_delObjects (Object: niche) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 366, in _delObject (Object: niche) File /usr/local/zope/lib/python/zLOG.py, line 213, in LOG File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 99, in __call__ File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 151, in stupid_log_write IOError: (see above)
On Thursday 25 July 2002 11:49 am, Michael wrote:
I built a site with Zope installed inside of my INSTANCE_HOME directory. I then moved it to my ISP's server and they had Zope installed in /usr/local, with INSTANCE_HOME being /home/my_dir/public_html. Everything imported fine except for a python script which I wound up deleting from the .zexp and rebuilding on the new machine.
Now that everything is on the new server, I can not edit or delete any of the old test information, I can't delete, cut and paste or rename the entry folders either. Deleting it from the Catalog also does not work . Any ideas?
My old environment is Zope 2.4.1, Python 2.0 and Apache1.3.22 My new environment is Zope2.4.4, Python 2.1.3 and Apache 1.3.22 if this makes any difference.
Michael
_______________________________________________ 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 )
_______________________________________________ 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 )
The immediate problem is that stupid_log_write is unable to write its message to the output. Usually this is caused by something like $ su # /usr/local/zope/instance/start -D & # logout $ logout Zope will run, but in many environments, it will no longer be able to write to STDOUT or STDERR, which it does in some cases for warnings or errors. Redirect these into a file or don't run in debug mode. $ su # /usr/local/zope/instance/start 1>/tmp/log 2>/tmp/logerr & # logout $ tail -f /tmp/logerr -- Joel BURTON | joel@joelburton | www.joelburton.com | aim:wjoelburton Information Technology & Knowledge Management Consultant
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Michael Sent: Thursday, July 25, 2002 2:48 PM To: Zope List Subject: Re: [Zope] Can't edit or delete data records after moving site.
Sorry, I forgot to include the error message and traceback.
Site Error
An error was encountered 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 /usr/local/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.4.4-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: niche) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_delObjects) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_delObjects) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 499, in manage_delObjects (Object: niche) File /usr/local/Zope-2.4.4-src/lib/python/OFS/ObjectManager.py, line 366, in _delObject (Object: niche) File /usr/local/zope/lib/python/zLOG.py, line 213, in LOG File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 99, in __call__ File /usr/local/Zope-2.4.4-src/lib/python/ZLogger/stupidFileLogger.py, line 151, in stupid_log_write IOError: (see above)
On Thursday 25 July 2002 11:49 am, Michael wrote:
I built a site with Zope installed inside of my INSTANCE_HOME directory. I then moved it to my ISP's server and they had Zope installed in /usr/local, with INSTANCE_HOME being /home/my_dir/public_html. Everything imported fine except for a python script which I wound up deleting from the .zexp and rebuilding on the new machine.
Now that everything is on the new server, I can not edit or delete any of the old test information, I can't delete, cut and paste or rename the entry folders either. Deleting it from the Catalog also does not work . Any ideas?
My old environment is Zope 2.4.1, Python 2.0 and Apache1.3.22 My new environment is Zope2.4.4, Python 2.1.3 and Apache 1.3.22 if this makes any difference.
Michael
_______________________________________________ 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 )
_______________________________________________ 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 )
participants (4)
-
Chris McDonough -
Joel Burton -
Michael -
Michael