[Zope3-dev] ZODB 3.3 coming to Zope 3

Jim Fulton jim at zope.com
Fri Feb 20 14:08:19 EST 2004


Jim Fulton wrote:
> Fred Drake wrote:
> 
...

> Update Procedure
> ----------------
> 
> Use this procedure to update the software and convert databases:
> 
> 1. Back up your databases (Data.fs* files).
> 
> 2. Update the software using "cvs up -dP".
> 
> 3. Re-build compiled modules:
> 
>    $ python2.3 setup.py build_ext -i
> 
> 4. Run the conversion script for each FileStorage:
> 
>    $ PYTHONPATH=src python2.3 src/ZODB/zodb4/main.py Data.fs
> 
> This will move the existing ZODB 4 database to a backup file (the .fs
> extension will be changed to .fs4; if the main file doesn't use the
> .fs extension, .fs4 will simply be appended).

We just found another problem.  If your database has records
for object's whos class isn't around anymore, the script will
fail.

We'll fix this in an hour or two.

Jim


-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org




More information about the Zope3-dev mailing list