Hi all, 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 How do u suggest I go about resolving this problem?It looks like Zope is not able to find its startup files. Is there some error here.Could you please help me in resolving this issue. If I wanted to reinstall zope without losing the work that has been done so far how would u suggest I go about it. Please advice.I know that the Data.fs file contains all the data .Is it enough that I copy the Data.fs file into a separate location and re-install Zope and then replace the Data.fs file in Zope-2.5.1 . Please advice me how I should go about it. Thanks for all help in advance. Best regards John Kunchandy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.454 / Virus Database: 253 - Release Date: 2/10/2003
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
participants (2)
-
Dieter Maurer -
Zope@Stylus