Submitted by : pirboazo at: 2011-03-01T12:53:22-08:00 (6 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

2011-03-01T18:39:57 ERROR Zope.SiteErrorLog? 1299001197.020.385611780283 http://www.boazo.net:8880/manage_addProduct/ZWiki/addwikiform Traceback (innermost last):

Module ZPublisher?.Publish, line 126, in publish Module ZPublisher?.mapply, line 77, in mapply Module ZPublisher?.Publish, line 46, in call_object Module Shared.DC.Scripts.Bindings, line 322, in __call__ Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec Module App.special_dtml, line 185, in _exec Module DocumentTemplate?.DT_In, line 627, in renderwob Module Products.ZWiki, line 417, in listWikis Module Products.ZWiki, line 426, in listZodbWikis

AttributeError?: ZWiki

Info on config --pirboazo, Tue, 01 Mar 2011 12:57:51 -0800 reply

Ubuntu : 10.10 zopeserver: Zope2-2.13.5 Zwiki : ZWiki-2.0b1

... --don dondakowski, Thu, 14 Apr 2011 04:11:06 -0700 reply

hi,

this solved it for me, you might even call it a patch

Modified: ZWiki/__init__.py

26,427c426,431
<     list = self.getPhysicalRoot().Control_Panel.Products.ZWiki.objectIds()
<     list.remove('Help')
---
>     try:
>        list = self.getPhysicalRoot().Control_Panel.Products.ZWiki.objectIds()
>        list.remove('Help')
>     except AttributeError:
>        list = []