Submitted by : 127.0.0.1 at: 2004-05-27T04:08:30+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

I had ZWiki-0-30 before and upgraded today to ZWiki-0-31-0rc2 but the Mail.py file now imports from CMF:

 from Products.CMFCore.utils import getToolByName

I don't have CMF installed and I don't want to install it either.


comments:

Solution -- Thu, 27 May 2004 04:10:57 -0700 reply
Here's the solution to Mail.py:

 try:
    from Products.CMFCore.utils import getToolByName
 except ImportError:
    from zLOG import LOG, ERROR
    LOG("ZWiki.Mail", ERROR, "CMFCore not installed")

thanks, fixed for rc3 --simon, Thu, 27 May 2004 08:20:05 -0700 reply
Status: open => closed