[Zope] ValueError: I/O operation on closed file

Dieter Maurer dieter at handshake.de
Wed May 11 14:40:42 EDT 2005


Brian Hickey wrote at 2005-5-10 21:09 +0100:
>Relative newbie to Zope, trying to install Plone on FreeBSD.  Have run into the following problem:
>- I have followed the instructions as per the guide at http://www.netvironments.org/laurazWiki/InstallingPlone
>- After copying the directories into the lib/python/Products directory, I restart Zope, and it doesn't throw any errors.  However, on visiting my website installation (which had been working fine up to the file copy and subsequent restart), I get the message:
> ...
>Module ZODB.FileStorage, line 620, in _load 
>ValueError: I/O operation on closed file 
>
>My setup is as follows:
>OS - FreeBSD 4.7-RELEASE-p28 (Virtual Private Server setup)
>Python - 2.3.4
>Zope - 2.6.3

Do you really mean Zope 2.6.3?
This would be a bit old. Few of us could look at the code
mentioned in your traceback (as we have much newer versions).

On line 620 of your ".../ZODB/FileStorage.py",
you perform an IO operation on a file which is closed.

Determine which file this is and where it gets closed.

-- 
Dieter


More information about the Zope mailing list