[Zope] RPM, python scripts, threads

Jens Vagelpohl jens@digicool.com
Sat, 24 Feb 2001 15:49:21 -0500


the standard python-1.5.2 RPM that ships with RH 6.2 has thread support
built in.

jens


on 2/24/01 13:22, Philippe at pouliot@fuelrod.ph.utexas.edu wrote:

> I've got zope 2.3.0 running with python 1.5.2 on RedHat 6.2.
> 
> I'm afraid the threads for python have not been compiled in.
> Is there an RPM that does it? (My system administrator will not let
> me install anything without an RPM. How difficult is it to write an
> RPM?)
> 
> thanks a lot,
> 
> -Philippe
> 
> (Below, I'm including the page source of an error message trying
> the Guest_Book example of the Zope Book, which btw is an excellent
> book :-)
> 
> <!--
> Traceback (innermost last):
> File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line
> 222, in publish_module
> File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line
> 187, in publish
> File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
>   (Object: Traversable)
> File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line
> 171, in publish
> File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line
> 160, in mapply
>   (Object: addEntryAction)
> File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line
> 112, in call_object
>   (Object: addEntryAction)
> File /usr/share/zope/lib/python/OFS/DTMLMethod.py, line 189, in
> __call__
>   (Object: addEntryAction)
> File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py,
> line 538, in __call__
>   (Object: addEntryAction)
> File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_Util.py,
> line 334, in eval
>   (Object: addEntry(guest_name, comments))
>   (Info: guest_name)
> File <string>, line 0, in ?
> File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
> 324, in __call__
>   (Object: addEntry)
> File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
> 353, in _bindAndExec
>   (Object: addEntry)
> File
> /usr/share/zope/lib/python/Products/PythonScripts/PythonScript.py,
> line 330, in _exec
>   (Object: addEntry)
>   (Info: ({'script': <PythonScript instance at 86c6b40>, 'context':
> <Folder instance at 87b3998>, 'container': <Folder instance at
> 87b3998>, 'traverse_subpath': []}, ('Anonymous', 'this is a try'), {},
> None))
> TypeError: (see above)
>