Submitted by : Silvio Schloeffel at: 2006-10-05T11:09:38+00:00 (11 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Today i want to update my sytsme (Zope-2.9.5 + Plone-2.5.1) from Zwiki-0.56 to Zwiki-0.57. I see the new version in the productsdirectory but i can not install it in my plonesite. In the event.log i see the following message:

2006-10-05T19:47:32 WARNING Quick Installer Tool: ZWiki exceptions.ImportError?: cannot import name _addDTMLMethod

Saw this too, on Linux. --drew, Sat, 07 Oct 2006 10:53:12 -0700 reply

I hacked my source to import _addDTMLMethod from Products.ZWiki.Admin and this error went away. Found a related import error in CMFInit?.py too. 'from Wikis import addDTMLMethod, AddZWikiPage?' - Hope this helps

Saw this too, on Linux. --simon, Thu, 12 Oct 2006 13:06:08 -0700 reply

I think drew's reply is referring to #1295. (moving it there)

workaround --simon, Thu, 12 Oct 2006 13:22:50 -0700 reply

I did drop the leading _ from this method in Wikis.py in 0.57. There is also a copy in Admin.py (with the _). I planned to merge Wiki.py with Admin.py but didn't want to do it right before release. I messed up anyway, probably should have gone ahead with it.

I believe the problem is in CMFInit?.py and the workaround is to delete this line:

from Wikis import _addDTMLMethod, _addZWikiPage

This may be the cause of #1291 also.

... --simon, Sun, 15 Oct 2006 01:04:46 -0700 reply

Fixed in CodeRepos, please confirm.

fixed for 0.58 --simon, Sun, 15 Oct 2006 14:04:07 -0700 reply

Status: open => closed