[Zope] Re: [squishdot] Re: [Zope] CorruptedTransactionError

Jim Fulton jim@digicool.com
Wed, 27 Oct 1999 18:18:57 -0400


John Glossner wrote:
> 
> > > From: John Glossner glossner@hotmail.com
> > > ZODB.FileStorage.CorruptedTransactionError:
> > > /usr/local2/packages/zope/Zope-2.0.1-src/var/Data.fs incorrect previous pointer at 7355907
> > >
> >
> > From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu>
> >
> > I haven't seen this before but try first to trunctate Data.fs at the point
> > where the problem occured. First make a copy of your Data.fs.
> >
> How do I truncate Data.fs at a specific pointer? Is there
> a utility for this?

python -c 'open("Data.fs","r+b").truncate(7355907)'

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.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.