[Zope] Can't edit or delete data records after moving site.

Joel Burton joel@joelburton.com
Fri, 26 Jul 2002 09:14:34 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C23484.DB682C40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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 )
>

------=_NextPart_000_0021_01C23484.DB682C40
Content-Type: text/x-vcard;
	name="Joel Burton.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Joel Burton.vcf"

BEGIN:VCARD
VERSION:2.1
N:Burton;Joel
FN:Joel Burton
ORG:Joel Burton & Associates
TITLE:Principal
TEL;WORK;VOICE:(202) 483-7168
TEL;HOME;VOICE:(202) 483-7168
TEL;CELL;VOICE:(202) 251-4877
ADR;WORK:;;1705 P St NW #43;Washington;DC;20036;United States of America
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:1705 P St NW =
#43=3D0D=3D0AWashington, DC 20036=3D0D=3D0AUnited States of America
ADR;HOME:;;1705 P St NW #43;Washington;DC;20036;United States of America
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:1705 P St NW =
#43=3D0D=3D0AWashington, DC 20036=3D0D=3D0AUnited States of America
URL;WORK:http://joelburton.com
ROLE:Information Technology
BDAY:19721012
EMAIL;PREF;INTERNET:joel@joelburton.com
REV:20011203T044543Z
END:VCARD

------=_NextPart_000_0021_01C23484.DB682C40--