[Zope] Database Pack error (Oh NO!)

Gilles Lenfant glenfant@bigfoot.com
Wed, 30 May 2001 17:53:23 +0200


Yes,

I fixed this with this patch in the "start" script:
add this line somewhere before the line exec'ing Z2.py:
...
export STUPID_LOG_FILE=${PYTHONHOME}/var/stupidfile.log
...
Of course, the zope process owner (typically "nobody") should have write
access to STUPID_LOG_FILE.

You could perhaps "export STUPID_LOG_FILE=/dev/null" if you don't care about
it.

Hope I helped

--Gilles
----- Original Message -----
From: "ed colmar" <ecolmar@qwest.net>
To: <zope@zope.org>
Sent: Wednesday, May 30, 2001 5:31 PM
Subject: [Zope] Database Pack error (Oh NO!)


> Hi!
>
>     I just tried to pack my database, and I got this error.  What do I do?
>
> IOError
>
> Sorry, a site error occurred.
>
> 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/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
>     (Object: Fake)
>   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_pack)
>   File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
>     (Object: manage_pack)
>   File /usr/local/zope/lib/python/App/ApplicationManager.py, line 411, in
> manage_pack
>     (Object: Traversable)
>   File /usr/local/zope/lib/python/ZODB/DB.py, line 534, in pack
>   File /usr/local/zope/lib/python/zLOG.py, line 213, in LOG
>   File /usr/local/zope/lib/python/ZLogger/ZLogger.py, line 17, in
log_write
>   File /usr/local/zope/lib/python/ZLogger/stupidFileLogger.py, line 99, in
> __call__
>   File /usr/local/zope/lib/python/ZLogger/stupidFileLogger.py, line 151,
in
> stupid_log_write
> IOError: [Errno 5] Input/output error
>
>
>
>
>
> _______________________________________________
> 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 )
>