[Zope] Re-Installing Zope

Dieter Maurer dieter@handshake.de
Tue, 18 Feb 2003 22:50:00 +0100


Zope@Stylus wrote at 2003-2-18 10:19 +0530:
 > My machine configuration is Mandrake Linux-8.0 ,Postgresql-7.2
 > I had installed Zope-2.5.1 on my machine and was doing testing when
 > apparently the server crashed.When i try to start Zope now I get an error
 > message.
 > :
 > 
 > 2003-02-18T04:32:13 PANIC(300) z2 Startup exception
 > Traceback (innermost last):
 >   File /Users/zope/Zope-2.5.1/z2.py, line 497, in ?
 >   File <string>, line 1, in ?
 >   File /Users/zope/Zope-2.5.1/lib/python/Zope/__init__.py, line 22, in ?
 >   File /Users/zope/Zope-2.5.1/lib/python/OFS/Application.py, line 18, in ?
 >   File /Users/zope/Zope-2.5.1/lib/python/OFS/Folder.py, line 29, in ?
 > NameError: name 'Role' is not defined

Apparently, the crash destroyed some files.

First step: remove all "*.pyc" files, restart and see whether
your problem disappears.

If not, check "Folder.py".

  In principle, I should have the same version as you,
  but I do not have a reference to "Role" in line 29 of "Folder.py".

  If it was corrupted, restore it from a fresh Zope installation.


Dieter