[Zope] Question about possible Data.fs corruption
Max M
maxm at mxm.dk
Wed Mar 3 18:10:33 EST 2004
Ira Sher wrote:
> If a certain kind of object (a "reader's guide") is added to the
> database, it breaks the site as soon as a person tries to view the new
> object. We have to restart from a previous version of Data.fs (running
> Zope 2.5.1, python 2.1, on Debian). I have a copy of the site on an OS
> 10.3 box with python 2.3 and Zope 2.6.4rc2--on this, the Zope server
> doesn't come down entirely, but does throw this error when I try to nav
> to the index page after an update: File /.../Traversable.py, line 106,
> in unrestrictedTraverse (Object: Zope) (Info: (['105586758764', 'Neela
> Vaswani', 'Authors'], '')) IndexError: string index out of range
A view on an object should not be able to destry the ZODB. The problem
is most certainly in the "readers guide". I suspect it does something
badly. Has this product ever worked. What kind of product is it? a
zClass or a Python product?
Does the cpu go to a full 100%? It could be caused by a recursive
function somewhere in the product.
You could also have a race condition somewhere, where a lock is being
used even though it shouldn't be. The strangest things can happen with
homegrown Products :-)
regards Max M
More information about the Zope
mailing list