Submitted by : simon at: 2003-10-26T21:31:52+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

I've just tried installing 0.17.0rc1, as well as the very latest from CVS with the same result (product is broken in ZMI Control Panel) ---

Traceback (innermost last):

  File /home/zope/lib/python/App/, line 182, in performSafeRefresh
  File /home/zope/lib/python/App/, line 169, in performRefresh
  File /home/zope/lib/python/OFS/, line 772, in reimport_product
  File /home/zope/lib/python/OFS/, line 541, in import_product
  File /home/zope/lib/python/Products/newZWiki/, line 12, in ?
  File /home/zope/lib/python/Products/newZWiki/, line 61, in ?
  File /home/zope/lib/python/Products/newZWiki/, line 131, in ?
  File /home/zope/lib/python/Products/newZWiki/, line 132, in FitSupport
  NameError: name security is not defined
I'm running Zope 2.6.1 on RH Linux 7.2

I've been using ZWiki (earlier versions) for months now with no problem, so I suspect there's some minor bug in the latest release.

good catch! --SimonMichael, 2003/03/26 19:46 GMT
I believe this will fix :

 except ImportError:
    class FitSupport:
        security = ClassSecurityInfo() # add this


LarryP?, 2003/03/26 19:51 GMT
That did it! Thanks for the quick fix...