[Zope] Upgrade Difficulties from 1.9 to 1.10.

Shaw, Howard ShawH@STHS.org
Thu, 25 Feb 1999 13:31:40 -0600


No, idea. All I can say is I just went from 1.9 to 1.10.2, and all I did
was copy the Data.bbb* files from 1.9 to 1.10.2, and bring it up. It
came up with no complaints, so it is probably due to something specific
in the contents of your database, and not anything general.

I suggest using 'manageExportHack' or whatever that was in 1.9, then
taking the bbe file and using 1.10's Import facility. As I understand
it, manageExportHack flattens the current state of the database, losing
the old versions and the undo ability. This might be a bad thing in some
cases, but it might make your database more palatable. 

Good luck!


> ----------
> From: 	solberg@platinum.com[SMTP:solberg@platinum.com]
> Sent: 	Thursday, February 25, 1999 1:15 PM
> To: 	zope@zope.org
> Subject: 	[Zope] Upgrade Difficulties from 1.9 to 1.10.
> 
> I am trying to migrate my Data.bbb file from my 1.9 installation to a
> new 1.10
> installation.  I get a "Sorry, a SERIOUS APPLICATION ERROR occurred."
> message.
> In the source of the page, it has the following:
> 
> =========================================================
> <html>
> <head>
> <title>exceptions.ImportError</title>
> </head>
> <body>
> Sorry, a SERIOUS APPLICATION ERROR occurred.<p>
> <!--
> Traceback (innermost last):
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line
> 877, in publish_module
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line
> 325, in publish
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line
> 616, in get_module_info
>   File /usr/local/zope/Zope-1.10.2-src/lib/python/Main.py, line 103,
> in ?
>   File /usr/local/zope/Zope-1.10.2-src/lib/python/OFS/Application.py,
> line
> 326, in open_bobobase
>     (Info: ['/usr/local/zope/Zope-1.10.2-src/lib/python',
> '/usr/local/zope/Zope-1.10.2-src/pcgi',
> '/usr/local/zope/Zope-1.10.2-src/pcgi', '/usr/local/lib/python1.5/',
> '/usr/local/lib/python1.5/test',
> '/usr/local/lib/python1.5/plat-sunos5',
> '/usr/local/lib/python1.5/lib-tk',
> '/usr/local/lib/python1.5/lib-dynload'])
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/BoboPOS/PickleDictionary.py
> ,
>  line 178, in __getitem__
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/BoboPOS/PickleDictionary.py
> ,
>  line 208, in __getitem__
>   File
> /usr/local/zope/Zope-1.10.2-src/lib/python/BoboPOS/PickleJar.py, line
> 271, in setstate
> ImportError: ('cPickle.UnpicklingError', &quot;invalid load key,
> 'G'.&quot;)
> 
> -->
> </body>
> </html>
> =========================================================
> 
> Before this, I shutdown the Zope process on the 1.10 server and copied
> the
> Data.bbb.old file from a Pack operation on the 1.9 server.   I renamed
> it
> to Data.bbb.
> 
> Should this work?
> 
> Does anyone know how to solve this one?
> 
> Thanks,
> John Solberg
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>