[Zope] Problems when upgrading Zope from 2.2.2 to 2.3.2 on FreeBSD

Alexander A. Chistyakov salmonNOSPAM@reksoft.ru
Thu, 17 May 2001 14:58:32 +0400


Hi!

I've experienced troubles when upgrading Zope from 2.2.2 to 2.3.2 on FreeBSD.

My current production system is (from Zope Control Panel):

---------------------------------------------------------------------------
Zope version: Zope 2.2.2 (source release, python 1.5.2, linux2)
Python version: 1.5.2 (#2, Jul 7 2000, 20:22:51) [GCC 2.7.2.3]
System Platform: freebsd3
---------------------------------------------------------------------------

I've tried to build Zope 2.3.2 from sources. I've got the following output when I started Zope instance after building it:

---------------------------------------------------------------------------
bash-2.03# uname -a
FreeBSD XXX.XXXXXXX.ru 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Tue Jun 20 18:26:23 GMT 2000
XXXX@XXX.XXXXXXX.ru:/usr/src/sys/compile/FIREBALL  i386
bash-2.03#
bash-2.03# python --version
Python 1.5.2 (#2, Jul  7 2000, 20:22:51)  [GCC 2.7.2.3] on freebsd3
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>
bash-2.03# pwd
/home/Zope-2.3.2-src
bash-2.03# ./start
------
2001-05-16T13:55:16 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /usr/home/Zope-2.3.2-src/z2.py, line 566, in ?
  File <string>, line 1, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 95, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/OFS/Application.py, line 91, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/App/Product.py, line 111, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/ZClasses/__init__.py, line 20, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/ZClasses/ZClass.py, line 88, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/ZClasses/Method.py, line 97, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/__init__.py, line 89, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/PythonScript.py, line 96, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/Guarded.py, line 88, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/VSExec.py, line 42, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/ops.py, line 5, in ?
  File /usr/home/Zope-2.3.2-src/lib/python/Products/PythonScripts/zbytecodehacks/opbases.py, line 1, in ?
ImportError: No module named new


bash-2.03#
---------------------------------------------------------------------------

I'm not Python programmer but I think "new" is not module name in this context. I can't locate neither new.py nor new.pyc at my
Python installation.

What is the root of problem and what should I do to fix it?

Thanks in advance.

--
Sincerely yours,
Alexander A. Chistyakov