Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2001 23:55:20 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        "Peter C. Lai" <sirmoo@cowbert.2y.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Zope 2.3.0_1 isn't running out of the box
Message-ID:  <20010305235520.A16837@rapier.smartspace.co.za>
In-Reply-To: <003501c0a5be$332f96e0$1e9e6389@137.99.156.23>; from sirmoo@cowbert.2y.net on Mon, Mar 05, 2001 at 04:49:48PM -0500
References:  <003501c0a5be$332f96e0$1e9e6389@137.99.156.23>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2001-03-05 (16:49), Peter C. Lai wrote:
> i accidently hosed my Zope installation, and it was time to upgrade anyway
> (had been running 2.2.x), so I pkg_deleted and then cleaned out
> /usr/local/www/Zope,  made install Zope 2.3.0_1 from ports, and when I am
> trying to restart it, I get this:
> 
> [root@huskyhype]:/usr/local/www/Zope# ./start -w '' -f '' -m '' -p
> /usr/local/www/cgi-bin.default/Zope.cgi
> Traceback (innermost last):
>   File "/usr/local/www/Zope/z2.py", line 565, in ?
>     exec "import "+MODULE in {}
>   File "<string>", line 1, in ?
>   File "/usr/local/www/Zope/lib/python/Zope/__init__.py", line 95, in ?
>     import Globals, OFS.Application, sys
>   File "/usr/local/www/Zope/lib/python/OFS/Application.py", line 91, in ?
>     import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
>   File "/usr/local/www/Zope/lib/python/App/Product.py", line 111, in ?
>     import ZClasses, ZClasses.ZClass, AccessControl.Owned
>   File "/usr/local/www/Zope/lib/python/ZClasses/__init__.py", line 20, in ?
>     import ZClass
>   File "/usr/local/www/Zope/lib/python/ZClasses/ZClass.py", line 88, in ?
>     import Method, Basic, Property, AccessControl.Role, ts_regex
>   File "/usr/local/www/Zope/lib/python/ZClasses/Method.py", line 97, in ?
>     from Products.PythonScripts.PythonScript import PythonScript
>   File "/usr/local/www/Zope/lib/python/Products/PythonScripts/__init__.py",
> line 89, in ?
>     import PythonScript
>   File
> "/usr/local/www/Zope/lib/python/Products/PythonScripts/PythonScript.py",
> line 96, in ?
>     import AccessControl, OFS, Guarded
>   File "/usr/local/www/Zope/lib/python/Products/PythonScripts/Guarded.py",
> line 88, in ?
>     from zbytecodehacks.VSExec import SafeBlock, GuardedBinaryOps, \
>   File
> "/usr/local/www/Zope/lib/python/Products/PythonScripts/zbytecodehacks/VSExec
> .py", line 42, in ?
>     import ops, code_editor, new
>   File
> "/usr/local/www/Zope/lib/python/Products/PythonScripts/zbytecodehacks/ops.py
> ", line 5, in ?
>     import opbases
>   File
> "/usr/local/www/Zope/lib/python/Products/PythonScripts/zbytecodehacks/opbase
> s.py", line 1, in ?
>     import struct,dis,new
> ImportError: No module named new

You need the 'new' module in your python - upgrade to python 1.5.2_1.

Neil
-- 
Neil Blakey-Milner
nbm@mithrandr.moria.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010305235520.A16837>