Re: [Zope] 2.2.1 and zdiscussion

2000-08-28 Thread J. Atwood

 By the way, if I now create a forum with ZUBB, are there any expected
 migration problems when I upgrade it to your next release?

Ummm... ahem no? That is actually one of the things keeping the release
back. Mr. Harris did some fine work but it does not upgrade very easily so I
am trying to figure out how to include all / some of his functionality as
well as be able to upgrade (since I am running a lot of production boards
that I do not want to wipe out).

I would say to play with the current release, get to know it and I will
figure out how to make a mostly painless upgrade path.

J


 
 Thanks again for your work on this.
 
 Best regards
 J Esteves
 
 -- 
 jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/
 


___
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 )




Re: [Zope] 2.2.1 and zdiscussion

2000-08-26 Thread Chris McDonough

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  -  [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 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 )




Re: [Zope] 2.2.1 and zdiscussion

2000-08-26 Thread J M Cerqueira Esteves

Hi

On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
 hi
 a clean install won't start properly  with ZDiscussion product install.  the 
 same thing also with ZDiscussion based classes created.

There is a missing comma in the definition of __ac_permissions__ in class
ZDItem (file ZDiscussions.py):

__ac_permissions__ = ( 
('Manage properties', ('manage_addProperty',
   'manage_editProperties',
   'manage_delProperties',
   'manage_changeProperties',))
)


Just add a comma before the last parenthesis:

__ac_permissions__ = ( 
('Manage properties', ('manage_addProperty',
   'manage_editProperties',
   'manage_delProperties',
   'manage_changeProperties',)),
)

In this way, __ac_permissions__ becomes a tuple of permissions (one, in
this case), as it should be.

-- 
 jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/

___
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 )




Re: [Zope] 2.2.1 and zdiscussion

2000-08-26 Thread J. Atwood

It is a known bug and will be squashed in the next release (pretty 
major thanks to Mr. Harris). Stay tuned.

J-

At 2:58 PM +0100 8/26/2000, J M Cerqueira Esteves wrote:
Hi

On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
  hi
  a clean install won't start properly  with ZDiscussion product install.  the
  same thing also with ZDiscussion based classes created.

There is a missing comma in the definition of __ac_permissions__ in class
ZDItem (file ZDiscussions.py):

 __ac_permissions__ = (
 ('Manage properties', ('manage_addProperty',
'manage_editProperties',
'manage_delProperties',
'manage_changeProperties',))
 )


Just add a comma before the last parenthesis:

 __ac_permissions__ = (
 ('Manage properties', ('manage_addProperty',
'manage_editProperties',
'manage_delProperties',
'manage_changeProperties',)),
 )

In this way, __ac_permissions__ becomes a tuple of permissions (one, in
this case), as it should be.

--
  jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/

___
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 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 )