[Zope-dev] Re: Converting ZODB2 to ZODB3 error
Jim Fulton
jim@digicool.com
Mon, 21 Jun 1999 09:26:53 -0400
Martijn Pieters wrote:
>
> > - report any conversion bugs or tracebacks to the list and
> >support@digicool.com. We are interested in your experiences with the
> >script.
> >
> > - we only recomment this for 2.0 alpha users who have a nice fat
> > ZODB2 database they want to convert over. This is *not* stable
> > software. This is the very first revision. It will probably break
> > for some people, we want those people to help us improve it, but
> > please come into the experiment with the intention that something
> > will go wrong, and *send in those bug reports* we do pay attention to
> > them.
>
> Here goes,
>
> Just back from my holiday, I ran it against my Zope 2 Data.bbb file (full
> of little experiments).
>
> After some churning I got the following traceback:
>
> Traceback (innermost last):
> File "../utilities/bbb.py", line 409, in ?
> _read_and_report(file, rpt, fromEnd, both, n, show)
> File "../utilities/bbb.py", line 211, in _read_and_report
> rpt(pos,oid,start,tname,user,t,p,first,tname!=tnamelast)
> File "../utilities/FS.py", line 124, in rpt
> self.store(oid, p)
> File "../utilities/FS.py", line 136, in store
> data=fixpickle(data, oid)
> File "../utilities/FS.py", line 369, in fixpickle
> pickler.dump(unpickler.load())
> File "/usr/local/lib/python1.5/pickle.py", line 495, in load
> dispatch[key](self)
> File "../utilities/FS.py", line 280, in load_global
> klass = _global(module, name)
> File "../utilities/FS.py", line 240, in _global
> raise 'Unexpected BoboPOS class', (m, n)
> Unexpected BoboPOS class: ('BoboPOS.cPickleJar', 'ec')
>
> I am left with a 85833 byte Data.fs file. This file is useable, but
> contains nothing more then the QuickStart folder that I had left intact in
> my ZODB2 install.
>
> Do you need the Data.bbb and resulting Data.fs files? Shall I tarball them
> to Jim?
Nah, the traceback is enough in this case. Thanks!
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.