[Zope] upgrade from zope-2.1.6 to zope-2.2.0b1

Brian Lloyd Brian@digicool.com
Wed, 14 Jun 2000 10:47:20 -0400


> Zope starts ok, but i can't get view or manage the site.  
> here's the traceback
> ---
> 
> Traceback (innermost last):
>   File 
> /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/Publish.py, 
> line 222, in publish_module
>   <snip>
>   File 
> /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/BaseRequest.
> py, line 501, in old_validation
>     (Object: broken)
> AttributeError: (see above)
> 
> -----
> 
> i use UserDb for authentication, got a few ZClass of my own, 
> SiteSummary, and a
> few other zope products.
> 
> can anyone shed some light ?

It _looks_ like you have a "broken" object in your top-level 
Folder. "Broken" objects are created when Zope has a problem 
unpickling an object (usually because the add-on product that 
defines the class of the object is missing). Are you sure that 
you got all of your add-on products installed (and any other 
dependencies like external methods) copied to the beta install?

Alternatively, it is possible that one of your add-on products 
is incompatible somehow with the beta (if it can't import 
correctly, for example, then objects created from the product 
would be broken). One way you could probably test this theory:

  o shut down your beta installation

  o cd to your lib/python directory and crank up a Python prompt

  o do 'import Zope'. Look for any tracebacks (though the product 
    import process will likely consume exceptions when trying to 
    import products).

  o for each 3rd party product in lib/python/Products, try to 
    do: 'import Products.xxx' where xxx is the product package 
    name. If a product cant be imported, you should get a 
    traceback for it (please post it if you get one).

Hope this helps!



Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com