[Zope] 2.2.1 and zdiscussion

Chris McDonough chrism@digicool.com
Sat, 26 Aug 2000 08:41:22 -0400


It looks like there may be a problem with an __ac_permissions__ tuple
(or a __roles__ definition) in a class within the product.  It's hard to
tell what the problem actually is, but you may want to try to narrow the
problem down by figuring out which class and which data structures are
causing the problem.  You can figure out which class might be causing
the problem by exempting classes from being processed by
Globals.default__class_init__() one-by-one until the error stops.  Then
post that class' security definitions here and maybe we'll spot
something weird.

"Bak @ kedai" wrote:
> 
> hi
> a clean install won't start properly  with ZDiscussion product install.  the
> same thing also with ZDiscussion based classes created.
> 
> tracebacks when starting
> 2000-08-26T04:13:44 ERROR(200) Zope Couldn't import Products.ZDBase
> Traceback (innermost last):
>   File /tmp/Zope/lib/python/OFS/Application.py, line 396, in import_products
>     (Object: string)
>   File /tmp/Zope/lib/python/Products/ZDBase/__init__.py, line 86, in ?
>   File /tmp/Zope/lib/python/Products/ZDBase/ZDiscussions.py, line 106, in ?
>   File /tmp/Zope/lib/python/App/class_init.py, line 109, in
> default__class_init__
>     (Object: ZDItem)
>   File /tmp/Zope/lib/python/AccessControl/Permission.py, line 204, in
> registerPermissions
> ValueError: unpack sequence of wrong size
> 
> 
> ------
> 2000-08-26T04:13:44 ERROR(200) Zope Couldn't import Products.ZDConfera
> Traceback (innermost last):
>   File /tmp/Zope/lib/python/OFS/Application.py, line 396, in import_products
>     (Object: string)
>   File /tmp/Zope/lib/python/Products/ZDConfera/__init__.py, line 3, in ?
>   File /tmp/Zope/lib/python/Products/ZDConfera/ZDConfera.py, line 2, in ?
> ImportError: cannot import name ZDiscussions
> 
> this is a bit frightening since i have a zclass subclass on zdbase in
> production server  and this prevents me from being on the latest stable
> release.  can anything be done?
> 
> this on rh linux, 2.2.1 final
> 
> thanks
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )