[Zope] 2.5b4 Win2k problem - 'module' object has no attribute 'compile'
Barry Pederson
barryp@medicine.nodak.edu
Wed, 16 Jan 2002 21:19:11 -0600
Just did a fresh install of Zope 2.50b4 on a Win2k machine, and when running
z2.py get this:
------
Traceback (most recent call last):
File "C:\Zope\Zope250\z2.py", line 540, in ?
import ZServer
File "C:\Zope\Zope250\ZServer\__init__.py", line 80, in ?
from HTTPServer import zhttp_server, zhttp_handler
File "C:\Zope\Zope250\ZServer\HTTPServer.py", line 43, in ?
from PubCore import handle
File "C:\Zope\Zope250\ZServer\PubCore\__init__.py", line 14, in ?
import ZRendezvous
File "C:\Zope\Zope250\ZServer\PubCore\ZRendezvous.py", line 15, in ?
from ZServerPublisher import ZServerPublisher
File "C:\Zope\Zope250\ZServer\PubCore\ZServerPublisher.py", line 13, in ?
from ZPublisher import publish_module
File "C:\Zope\Zope250\lib\python\ZPublisher\__init__.py", line 23, in ?
from Publish import publish_module, Retry
File "C:\Zope\Zope250\lib\python\ZPublisher\Publish.py", line 19, in ?
from Response import Response
File "C:\Zope\Zope250\lib\python\ZPublisher\Response.py", line 13, in ?
import HTTPResponse
File "C:\Zope\Zope250\lib\python\ZPublisher\HTTPResponse.py", line 91, in ?
start_of_header_search=re.compile('(<head[^>]*>)', re.IGNORECASE).search
AttributeError: 'module' object has no attribute 'compile'
------
(Had this happen on another Win2k machine too. However 2.50 Beta 3 worked fine
on that same machine)
Anybody have a fix?
Barry