I just read the devshed article on Zope and thought I would give it a try on my machine. I'm running: FreeBSD 2.1 Stable Python 1.5.2 Apache 1.3.6 Zope 2b3 I did not see any errors when I ran "python w_pcgi.py" but when "./start" was run I recieved the following errors: Traceback (innermost last): File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/z2.py", line 366, in ? import ZServer File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/__init__.py", line 123, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/HTTPServer.py", line 111 , in ? import thread ImportError: No module named thread If someone could point me in the right direction I would be very happy. /Paul - ________________________________________________________________ Paul Wolstenholme Simon Fraser University Centre for Experimental and Constructive Mathematics (CECM) Vancouver, BC Canada
I did not see any errors when I ran "python w_pcgi.py" but when "./start" was run I recieved the following errors:
Traceback (innermost last): File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/z2.py", line 366, in ? import ZServer File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/__init__.py", line 123, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/HTTPServer.py", line 111 , in ? import thread ImportError: No module named thread
You need to compile Python with threads enabled to run the Zope2 ZServer stuff. Something like ./configure --with-thread in the source tree of your Python distribution. Note that you can get binaries of the Zope distribution which have Python correctly compiled up (it's in the directory bin/python and lib/python1.5 under the Zope src tree). hth tone.
On Sun, 8 Aug 1999, Paul Wolstenholme wrote:
I just read the devshed article on Zope and thought I would give it a try on my machine. I'm running:
FreeBSD 2.1 Stable Python 1.5.2 Apache 1.3.6
Zope 2b3
I did not see any errors when I ran "python w_pcgi.py" but when "./start" was run I recieved the following errors:
Traceback (innermost last): File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/z2.py", line 366, in ? import ZServer File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/__init__.py", line 123, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/HTTPServer.py", line 111 , in ? import thread ImportError: No module named thread
Well, you need to have a POSIX thread supporting libc (glibc2 in the Linux world), and python compiled with "--with-threads". :) Andreas -- Andreas Kostyrka | andreas@mtg.co.at phone: +43/1/7070750 | phone: +43/676/4091256 MTG Handelsges.m.b.H. | fax: +43/1/7065299 Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA
The python that gets compiled out of the ports directory does not compile in threading support. You need to recompile python with threading support into it for zope to work. On Sun, 8 Aug 1999, Paul Wolstenholme wrote:
I just read the devshed article on Zope and thought I would give it a try on my machine. I'm running:
FreeBSD 2.1 Stable Python 1.5.2 Apache 1.3.6
Zope 2b3
I did not see any errors when I ran "python w_pcgi.py" but when "./start" was run I recieved the following errors:
Traceback (innermost last): File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/z2.py", line 366, in ? import ZServer File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/__init__.py", line 123, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/www/cgi-bin/Zope-2.0.0b3-src/ZServer/HTTPServer.py", line 111 , in ? import thread ImportError: No module named thread
If someone could point me in the right direction I would be very happy.
/Paul
- ________________________________________________________________ Paul Wolstenholme Simon Fraser University Centre for Experimental and Constructive Mathematics (CECM) Vancouver, BC Canada
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
--------========================================================-------- Phone: (949) 581-1700 Will Fife http://www.techfuel.com Pager: (949) 451-9443 System Engineer will@techfuel.com --------========================================================--------
participants (4)
-
Andreas Kostyrka -
Paul Wolstenholme -
Tony.McDonald@newcastle.ac.uk -
Will Fife