[Zope-dev] Converting ZODB2 to ZODB3 error
Martijn Pieters
mj@antraciet.nl
Mon, 21 Jun 1999 11:58:17 +0200
> - 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?
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------