Re: [Zope] CLIENT_HOME NameError
Try this:
1. cd to the "lib/python" directory of your broken Zope install 2. run python (e.g. just type "python", hit enter, or find the executable and run it) 3. type: import Zope; app=Zope.app()
See if any tracebacks occur. If they do, send them over. If they don't.. well... we need to find out what's going on.
w3east# python Python 2.1.1 (#1, Oct 20 2001, 10:58:02) [GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4 Type "copyright", "credits" or "license" for more information.
import Zope; app=Zope.app() Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/www/Zope/lib/python/Zope/__init__.py", line 90, in ? import sys, os, App.FindHomes File "/usr/local/www/Zope/lib/python/App/FindHomes.py", line 90, in ? import os, sys, Products, string File "/usr/local/www/Zope/lib/python/Products/__init__.py", line 39, in ? from ImageFile import ImageFile File "/usr/local/www/Zope/lib/python/ImageFile.py", line 97, in ? from App.ImageFile import ImageFile File "/usr/local/www/Zope/lib/python/App/ImageFile.py", line 90, in ? from Globals import package_home File "/usr/local/www/Zope/lib/python/Globals.py", line 90, in ? import Acquisition, ComputedAttribute, App.PersistentExtra, os File "/usr/local/www/Zope/lib/python/App/PersistentExtra.py", line 87, in ? from Persistence import Persistent ImportError: cannot import name Persistent
Lee Harr missive@hotmail.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Did you run "python wo_pcgi" to compile Zope? Lee Harr wrote:
Try this:
1. cd to the "lib/python" directory of your broken Zope install 2. run python (e.g. just type "python", hit enter, or find the executable and run it) 3. type: import Zope; app=Zope.app()
See if any tracebacks occur. If they do, send them over. If they don't.. well... we need to find out what's going on.
w3east# python Python 2.1.1 (#1, Oct 20 2001, 10:58:02) [GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4 Type "copyright", "credits" or "license" for more information.
import Zope; app=Zope.app()
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/www/Zope/lib/python/Zope/__init__.py", line 90, in ? import sys, os, App.FindHomes File "/usr/local/www/Zope/lib/python/App/FindHomes.py", line 90, in ? import os, sys, Products, string File "/usr/local/www/Zope/lib/python/Products/__init__.py", line 39, in ? from ImageFile import ImageFile File "/usr/local/www/Zope/lib/python/ImageFile.py", line 97, in ? from App.ImageFile import ImageFile File "/usr/local/www/Zope/lib/python/App/ImageFile.py", line 90, in ? from Globals import package_home File "/usr/local/www/Zope/lib/python/Globals.py", line 90, in ? import Acquisition, ComputedAttribute, App.PersistentExtra, os File "/usr/local/www/Zope/lib/python/App/PersistentExtra.py", line 87, in ? from Persistence import Persistent ImportError: cannot import name Persistent
Lee Harr missive@hotmail.com
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
participants (2)
-
Chris McDonough -
Lee Harr