[Zope-dev] Pack error and corruption

Jim Fulton jim@digicool.com
Sat, 16 Oct 1999 19:25:16 +0000


Pavlos Christoforou wrote:
> 
> Hello Zopistas -
> 
> While I was attempting to perform a pack operation I got the following
> error:
> 
> <!--
> Traceback (innermost last):
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line
> 256, in publish_module
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line
> 161, in publish
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZPublisher/mapply.py, line
> 154, in mapply
>     (Object: manage_pack)
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line
> 98, in call_object
>     (Object: manage_pack)
>   File /usr/local/Zope-2.0.0b1-src/lib/python/App/ApplicationManager.py,
> line 333, in manage_pack
>     (Object: ElementWithAttributes)
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZODB/DB.py, line 442, in
> pack
>   File /usr/local/Zope-2.0.0b1-src/lib/python/ZODB/FileStorage.py, line
> 844, in pack
>     (Object: /usr/local/Zope-2.0.0b1-src/var/Data.fs)
> Pack Error: 8984226
> 
> It also corrupted the database and I had to manually truncate Data.fs
> 
> I could not reproduce the error but I kept a copy of the corrupted Data.fs
> in case someone from DC wants to take a look.

This is due to a bug that was fixed in Zope 2.0 beta 5. I
suggest upgrading to Zope 2.0 final.

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (888) 344-4332              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.