[Zope] Re: Installation bug? ZSanity!

Alexander Staubo alex@mop.no
Fri, 20 Aug 1999 18:13:16 +0200


> From: Andrew Lahser [mailto:andrew@eventera.com]
> Sent: 20. august 1999 18:02
> To: Svante Kleist
> Cc: zope@zope.org
> Subject: Re: [Zope] Re: Installation bug? ZSanity!
 
> Svante Kleist <svante+zope@nemesis.se> said: 
> 
> > 
> > 
> > -- Evan Simpson <evan@tokenexchange.com> wrote:
> > 
> > : I've been thinking that it might be a Good Thing to have 
> a zsanity.py
> > : script which asks some pertinent questions about how you 
> will be running
> > : Zope, and checks for FFECs (Frequently Failed Environment 
> Conditions)
> > : such as 'var' permissions, Python version/threading, unset master
> > : password, and so on.
> > 
> > As for Python threading:
> > 
> > I'm using "python-1.5.2-2.rpm" as in Red Hat 6.0.
> > 
> > Is there a way to detect whether it has been compiled
> > with threading or not? Is the fact that Zope starts evidence enough?

If Python has not been compiled with threads, you will have no thread
module installed. Try something like (on the Python prompt):

	import threads

and see if Python raises an import exception.

> > / Svante Kleist - NEMESIS systemDesign, Stockholm

-- 
Alexander Staubo             http://www.mop.no/~alex/
"QED?" said Russell.
"It's Latin," said Morgan. "It means, 'So there you bastard'."
--Robert Rankin, _Nostramadus Ate My Hamster_