[Zope] Zope 2.4.1 and Python

mixo mixo@beth.uniforum.org.za
Thu, 13 Sep 2001 12:26:31 +0200


This is a multi-part message in MIME format.
--------------671621C27AB5ED8924658C49
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Does Zope 2.4.1 require 2.4.1 require python 2.1  or 1.5.2? I just
installed
Zope 2.4..1 and I get the follwing error
++++++++++++++++++++++++++++++++++++++++++++++++++++
Zope Error

               Zope has encountered an error while publishing this
resource.

               Error Type: SystemError
               Error Value: Failed to import class RegexObject from
module re


+++++++++++++++++++++++++++++++++++++++++++++++++++

I have python 2.1.1 installed and from the shell I get the following
result  from "dir(re)"
________________________________________________________
['DOTALL', 'I', 'IGNORECASE', 'L', 'LOCALE', 'M', 'MULTILINE', 'S', 'U',
'UNICODE', 'VERBOSE',
'X', '__all__', '__builtins__', '__doc__', '__file__', '__name__',
'compile', 'engine', 'error', 'escape', 'findall', 'match', 'purge',
'search', 'split', 'sub', 'subn', 'template']
________________________________________________________

There is no class name "RegexObject" in "re".  What am I missing here?

P.S. I have attached a python 2 shell session.

--------------671621C27AB5ED8924658C49
Content-Type: text/plain; charset=us-ascii;
 name="2.4.1-error"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="2.4.1-error"

Python 2.1.1 (#1, Aug 28 2001, 19:51:39) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import re
>>> dir(re) 
['DOTALL', 'I', 'IGNORECASE', 'L', 'LOCALE', 'M', 'MULTILINE', 'S', 'U', 'UNICODE', 'VERBOSE', 'X', '__all__', '__builtins__', '__doc__', '__file__', '__name__', 'compile', 'engine', 'error', 'escape', 'findall', 'match', 'purge', 'search', 'split', 'sub', 'subn', 'template']
>>> 


--------------671621C27AB5ED8924658C49--