[Zope] Re: How to know what are zope doing now?

Tres Seaver tseaver at palladion.com
Mon Sep 24 12:10:44 EDT 2007



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Garito wrote:
> Sorry! This appear in the event.log:
> 
> 2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler
> Traceback (most recent call last):
>   File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 755, in
> install_product
>     global_dict, global_dict, silly)
>   File "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/__init__.py",
> line 2, in ?
>     from ZopeProfiler import _hookZServerPublisher, _initializeModule, \
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/ZopeProfiler.py",
> line 66, in ?
>     from DMprofile import Stats
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/__init__.py",
> line 9, in ?
>     from DMstats import Stats
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py",
> line 13, in ?
>     from pstats import Stats as pStats
> ImportError: No module named pstats
> 
> How can I install pstats?

Seems like you are running with a distro-packaged version of Python,
which strips out the development packages / tools.  Either build your
own Python for running Zope from source (you will avoid future pain when
your sysadmin upgrades Python without telling you), or get the sysadmin
to add the 'python-dev' or 'python-devel' package.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9+GE+gerLs4ltQ4RAvCfAKDXrHMP5K2usQl/Z6SNj556tEenUwCg0V12
yKJ0/P57A6xjneTbWDCpRPA=
=vjMW
-----END PGP SIGNATURE-----



More information about the Zope mailing list