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

2000-06-14 Thread Brian Lloyd

 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[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-06-13 Thread Bak @ kedai

hi all,
managed to install zope-2.2.0b1 ok.  default setting works fine, although i
only tested it minimally.  the quickstart barfs a traceback(reported
earlier).

upgraded from 2..1.6, here's what i did:
-tar everything under lib/python/Products; except for modules that comes with
zope 2.2
-untar in the new zope directory
-copied Data.fs to the newdir/var
-start Zope

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
  File /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/Publish.py, line 187, in 
publish
  File /home/kdie/Zope-2.2.0b1-src/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/Publish.py, line 162, in 
publish
  File /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/BaseRequest.py, line 425, in 
traverse
  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 ?
thanks

-- 
--
http://www.kedai.com.my/kk
Am I Evil?


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )