Hi all, We have a web site developed on our Intranet for internal use. It is mainly to organise documents. The engine is running on a HP-UX 10.20 on a 800 series server. We have decided to migrate the server to a 700 series server running HP-UX 10.20 as well. The initial installation was done by someone who is no longer with the company so I have been asked to take care of the migration. I firstly tarred Zope & Python directories and transferred them across to the new server but when trying to run 'python z2.py" I get an error message saying the executable is incompatible with the hardware (obviously!!). So I tried to recompile the python source on the new machine and everything seemed to go through fine. However when trying to run the new executable here is the error message I get. ######################################################################## ##### Traceback (innermost last): File /opt/Zope-2.1.4-src/z2.py. line 427, in ? import Zserver File /opt/Zope-2.1.4-src/Zserver/_init_.py, line 123, in ? from HTTPServer import zhttp_server, zhttp_handler File "/optZope-2.1.4-src/Zserver/HTTPServer.py, line 111, in ? import thread Import Error: No module named thread ######################################################################## ###### Has anyone come across this problem before. Any help is very much appreciated. regards, Fardin Habibi __________________________________________________________________ ____ _/ | Fardin Habibi _/ | HP Operations Delivery _/_/_/ _/_/_/ | Asia Pacific _/ _/ _/ _/ | E-mail: fardin_habibi@aus.hp.com _/ _/ _/_/_/ | Phone : +61 3 8877 5415 _/ | Fax : +61 3 8877 5584 _/ | Postal: 31-41 Joseph Street | Blackburn, VIC, 3130 i n v e n t | AUSTRALIA __________________________________________________________________ ____
On Fri, 11 Aug 2000 fardin_habibi@non.hp.com wrote:
trying to run 'python z2.py" I get an error message saying the executable is incompatible with the hardware (obviously!!). So I tried to recompile the python source on the new machine and everything seemed
Note that you will also have to recompile the Zope source, since it does contain some C code as well as a lot of Python code.
to go through fine. However when trying to run the new executable here is the error message I get. [...] File "/optZope-2.1.4-src/Zserver/HTTPServer.py, line 111, in ? import thread Import Error: No module named thread
Zope requires python to be compiled with thread support. Rerun the python configure with --with-threads, redo the make/install, and see if things work better. --RDM
participants (2)
-
fardin_habibi@non.hp.com -
R. David Murray