[Pkg-utopia-maintainers] Bug#546285: coherence: python modules not in python search path
Philipp Matthias Hahn
pmhahn at debian.org
Sat Sep 12 07:51:04 UTC 2009
Package: coherence
Version: 0.6.4-3
Severity: grave
Justification: renders package unusable
Looks like the coherence Python files are not found by python, because
they are in the private directory /usr/share/coherence:
$ coherence
Traceback (most recent call last):
File "/usr/bin/coherence", line 21, in <module>
from coherence import __version__
ImportError: No module named coherence
Fix:
--- /tmp/coherence 2009-09-12 09:48:44.726859850 +0200
+++ /usr/bin/coherence 2009-09-12 09:47:11.000000000 +0200
@@ -17,6 +17,9 @@
from twisted.python import usage, text
+pycoherencelibdir = os.path.join("/usr/share", "coherence")
+sys.path.insert(0, pycoherencelibdir)
+
from coherence import __version__
from coherence.extern.simple_config import Config,ConfigItem
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages coherence depends on:
ii python [python-ctypes] 2.5.4-2 An interactive high-level object-o
ii python-axiom 0.5.31-2 Python object database
ii python-celementtree 1.0.5-10 Light-weight toolkit for XML proce
ii python-configobj 4.5.2-2 a simple but powerful config file
ii python-elementtree 1.2.6-14 Light-weight toolkit for XML proce
ii python-gst0.10 0.10.16-1 generic media-playing framework (P
ii python-louie 1.1-1.1 Python signal dispatching mechanis
ii python-nose 0.11.1-1 test discovery and running for Pyt
ii python-pkg-resources 0.6c9-2 Package Discovery and Resource Acc
ii python-support 1.0.3 automated rebuilding support for P
ii python-tagpy 0.94.7-1 Python module for manipulating tag
ii python-twisted-core 8.2.0-3 Event-based framework for internet
ii python-twisted-web 8.2.0-2 An HTTP protocol implementation to
ii python-zopeinterface 3.4.0-1 The implementation of interface de
coherence recommends no packages.
coherence suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list