RE: [Zope] Zope under Linux -- duh?
And with 1.5.1 I still get the thread module error: tradecenter:/usr/local/zope# Traceback (innermost last): File "/usr/local/zope/ZServer/start.py", line 94, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/zope/ZServer/HTTPServer.py", line 111, in ? tradecenter:/usr/local/zope# import thread ImportError: No module named thread Possibly because my Linux installation doesn't have a thread.h. I don't know Linux well enough to say if this is correct. Afaik, the machine is running glibc 1.x (libc5), not 2.x, and the Python installation info speaks of thread support in glibc 2.x. I don't know. Alexander Staubo http://www.mop.no/~alex/ mailto:redhand@mop.no
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Christopher Petrilli Sent: 14. mai 1999 05:21 To: Alexander Staubo; Zope Mailing List (E-mail) Subject: Re: [Zope] Zope under Linux -- duh?
Have you guys ran Zope 1.11 under Linux 2.0.x with Python 1.5.2? I can't get the thing to work.
As of today, we're still only "certifying" 1.5.1, not 1.5.2, simply because we haven't had the time to really beat 1.5.2 enough to make sure it works. This will definitely happen after we get back from Linux Expo next week.
Problem 1: If I try running the version of Python that comes with the Zope sources, I get "bash: ./python: No such file or directory". None of our resident Linux experts could explain this, as the file was seemingly not corrupted. Naturally the install script does not work because of this, and neither does Zope.
Check your #! header in the files, this can cause that problem all over the place ;-) It's another one of UNIX's features!
So, what's the deal here? Surely a _lot_ of people are running Zope on Linux.
Yup, we do most of our development on Linux of some form (I run FreeBSD, some people use NT), but like I said, we're all still frozen on 1.5.1 for now. We'll get this settled in the next week or two I think. Definitely 2.0 will be 1.5.2 compatible :-)
Hopefully I'm not speaking out of turn, but 1.11 is "dead" in that we're not going to release any more versions of it. We've decided that ZClasses and everything else will come with 2.0, it's just too big an overhaul to call it a minor release. This will be the May 19th alpha that is released.
Chris -- Christopher Petrilli Digital Creations petrilli@digicool.com
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Hello, When I was trying to get Zope running on my LinuxPPC machine at home I ran into the same problem. The default was Python 1.5.1 is installed/compiled at least on my machine and rpms is without threads. In order for my Python to have threads I had to compile it with the --with thread switch. Read the Python source docs for the exactly how to do it. On LinuxPPC R4.1 there is no thread.h, Python when compiled with thread will build in thread support. Hope this helps. Jimmie Houchin At 06:03 AM 5/14/99 +0200, you wrote:
And with 1.5.1 I still get the thread module error:
tradecenter:/usr/local/zope# Traceback (innermost last): File "/usr/local/zope/ZServer/start.py", line 94, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/zope/ZServer/HTTPServer.py", line 111, in ?
tradecenter:/usr/local/zope# import thread ImportError: No module named thread
Possibly because my Linux installation doesn't have a thread.h. I don't know Linux well enough to say if this is correct. Afaik, the machine is running glibc 1.x (libc5), not 2.x, and the Python installation info speaks of thread support in glibc 2.x. I don't know.
Alexander Staubo http://www.mop.no/~alex/ mailto:redhand@mop.no
[snip]
I have ZServer up and running on both Solaris 2.6 and Linux. I can get it to serve pages doing http and pcgi through Netscape Enterprise Server. WebDAV works when done through ZServer, but not Enterprise Server. I thought I had read somewhere that this would work regardless of the web server being used (but I have not the slightest idea why it should). I have noticed that both on Solaris and Linux, I can ftp to the ZServer and create folders, but I cannot change to nor see the folders and files already there. What am I missing? -- Tim Hawes tim.hawes@ncmail.net
At 12:03 PM 5/14/99 -0400, Tim Hawes wrote:
I have ZServer up and running on both Solaris 2.6 and Linux. ... I have noticed that both on Solaris and Linux, I can ftp to the ZServer and create folders, but I cannot change to nor see the folders and files already there.
Hmm. This is pretty odd. I've never encountered invisible items before. As a basic recipe for figuring out what's going on I suggest: * Make sure you have the latest ZServer from CVS * Make sure that the permissions are set reasonably, ie 'FTP access' is enabled for the user you are logging in as. If things still don't work please file as complete a bug report as possible in the collector (http://www.zope.org/Collector/) Thanks! -Amos
Amos Latteier wrote:
At 12:03 PM 5/14/99 -0400, Tim Hawes wrote:
I have ZServer up and running on both Solaris 2.6 and Linux. ... I have noticed that both on Solaris and Linux, I can ftp to the ZServer and create folders, but I cannot change to nor see the folders and files already there.
Hmm. This is pretty odd. I've never encountered invisible items before. As a basic recipe for figuring out what's going on I suggest:
* Make sure you have the latest ZServer from CVS * Make sure that the permissions are set reasonably, ie 'FTP access' is enabled for the user you are logging in as.
I tried the most recent CVS version of ZServer this morning. I can FTP, see and move around objects, but the server dies after I disconnect. WebDAV no longer works properly, either. I will wait some more before taking it on, again, given that it is not a production release, yet.
If things still don't work please file as complete a bug report as possible in the collector (http://www.zope.org/Collector/)
Would love to, but I am also busy managing a current release of Zope (among my other jobs here at work). I do have an issue here with trying to use Netscape Composer to publish data to Zope v. 1.10.2. I either get a network error from my browser, or Zope tells me the service is temporarily unavailable. All I find in the pcgi log file is: Mon May 17 10:44:37 1999 pcgi-wrapper: Error reading stdin My web server is Netscape Enterprise v. 3.6.1. Platform is a Sparc Solaris 2.6, and publishing to 'non-Zope' directories on the server is no problem. Any ideas? I suspect it may be an Enterprise issue, but not sure. This is one I would make time to enter into the collector.
Thanks!
-Amos
-- Tim Hawes tim.hawes@ncmail.net
participants (4)
-
Alexander Staubo -
Amos Latteier -
Jimmie Houchin -
Tim Hawes