[Zope] ZDiscussions and Zope 2.2

Gidon Friedman gidon@friedman.ch
Thu, 20 Jul 2000 12:33:58 +0200


hi

Anybody tried to use ZDiscussion with Zope 2.2 ?
I somehow can't manage to get it to work ....

First I wasn't able to use 'regenerate method' because
of a  TypeError : keyword parameter redefined

then i copied the methods by hand, but each time
i try to view a non-empty Topic (as Manager) it shows:
Zope Error: Unauthorized
I can view the page as superuser without problems.
I can also view an old Topic that i created in Zope 2.1.6
and imported into the new site as Manager. As long as i
don't ad new Items ...

Anybody? I add the tracebacks at the end, my os is aix 4.3.


thankx

gidon

-----
traceback I: regenerate methods:

Traceback (innermost last):
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/gfried/Zope-2.2.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_regenerateDefaultMethods)
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: manage_regenerateDefaultMethods)
  File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__
    (Object: manage_regenerateDefaultMethods)
  File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: manage_regenerateDefaultMethods)
  File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_In.py, line 691, in renderwob
    (Object: default_methods.objectIds())
  File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
    (Object: manage_addProduct['OFSP'].addDTMLMethod(
               this(),
               _['sequence-item'],
               title=_.getattr(default_methods, _['sequence-item']).title,
               file=_.getattr(default_methods, _['sequence-item'])))
    (Info: this)
  File <string>, line 0, in ?
TypeError: (see above)

traceback II: index_html as Manager in non-empty Topic.

Traceback (innermost last):
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: index_html)
  File /home/gfried/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: index_html)
  File /home/gfried/Zope-2.2.0-src/lib/python/OFS/DTMLMethod.py, line 167, in __call__
    (Object: index_html)
  File /home/gfried/Zope-2.2.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: index_html)
  File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 155, in render
    (Object: a tree tag)
  File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 261, in tpRender
    (Object: ElementWithAttributes)
  File /home/gfried/Zope-2.2.0-src/lib/python/TreeDisplay/TreeTag.py, line 337, in tpRenderTABLE
    (Object: ElementWithAttributes)
Unauthorized: [0]