[Zope] Zope 2.2.2 breaks zdiscussions

Júlio Dinis Silva juliodinis@hotmail.com
Tue, 19 Sep 2000 17:48:10 WEST


Hi,

I'm using version 1.0, and here is the exact traceback from the ZDBASE
Product Folder: ( yes, I recovered my copy+paste mojo :)
---------------------------------------------------------

Traceback (innermost last):
  File "lib\python\OFS\Application.py", line 397, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "lib\python\Products\ZDBase\__init__.py", line 86, in ?
    import ZDiscussions
  File "lib\python\Products\ZDBase\ZDiscussions.py", line 106, in ?
    class ZDItem(OFS.SimpleItem.SimpleItem,
  File "lib\python\App\class_init.py", line 109, in default__class_init__
   AccessControl.Permission.registerPermissions(self.__ac_permissions__)
  File "lib\python\AccessControl\Permission.py", line 204, in 
registerPermissions
    perm, methods, default = setting
ValueError: unpack sequence of wrong size

-----------------------------------------------------------------


And now the traceback from ZDConfera:

----------------------------------------------------------
ZDConfera Import Traceback

Traceback (innermost last):
  File "lib\python\OFS\Application.py", line 397, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "lib\python\Products\ZDConfera\__init__.py", line 3, in ?
    from ZDConfera import *
  File "lib\python\Products\ZDConfera\ZDConfera.py", line 2, in ?
    from Products.ZDBase import ZDiscussions
ImportError: cannot import name ZDiscussions


--------------------------------------------------------

And now for something.... :)  the ZDiscussions Error when trying to add a 
zdiscussion topic:

----------------------------------------------

Error: NameError

Traceback (innermost last):
  File lib\python\ZPublisher\Publish.py, line 222, in publish_module
  File lib\python\ZPublisher\Publish.py, line 187, in publish
  File lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook
    (Object: RoleManager)
  File lib\python\ZPublisher\Publish.py, line 171, in publish
  File lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: ZDTopic_add)
  File lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: ZDTopic_add)
  File lib\python\OFS\DTMLDocument.py, line 177, in __call__
    (Object: ZDTopic_add)
  File lib\python\DocumentTemplate\DT_String.py, line 528, in __call__
    (Object: ZDTopic_add)
  File lib\python\DocumentTemplate\DT_With.py, line 133, in render
    (Object: ZDTopic.createInObjectManager(REQUEST['id'], REQUEST))
  File lib\python\DocumentTemplate\DT_Util.py, line 337, in eval
    (Object: ZDTopic.createInObjectManager(REQUEST['id'], REQUEST))
    (Info: ZDTopic)
  File <string>, line 0, in ?
NameError: (see above)



	-- Julio Dinis Silva


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.