-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: pymol
Version: 1.1-1
Severity: important
Tags: patch
Pymol fais to start up with the following error:
$ /usr/bin/pymol
python2.5: can't open file
'/var/lib/python-support/python2.5/pymol//__init__.py': [Errno 2] No
such file or directory
The reason is that the __init__.py script resides in
/usr/share/python-support/pymol/pymol/ instead of
/var/lib/python-support/python2.5/pymol/, which is suggested by the debian
wrapper file /usr/bin/pymol.
A patch that might fix the issue is attached.
Best regards,
Alexander
- -- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pymol depends on:
ii freeglut3 2.4.0-6.1 OpenGL Utility Toolkit
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libfreetype6 2.3.9-4.1 FreeType 2 font engine,
shared lib
ii libgcc1 1:4.4.0-4 GCC support library
ii libgl1-mesa-glx [libgl 7.0.3-7 A free implementation of
the OpenG
ii libglu1-mesa [libglu1] 7.0.3-7 The OpenGL utility library
(GLU)
ii libpng12-0 1.2.35-1 PNG library - runtime
ii libstdc++6 4.4.0-4 The GNU Standard C++ Library v3
ii python 2.5.4-2 An interactive high-level
object-o
ii python-pmw 1.3.2-3 Pmw -- Python MegaWidgets
ii python-support 1.0.2 automated rebuilding
support for P
ii python-tk 2.5.2-1 Tkinter - Writing Tk
applications
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
Versions of packages pymol recommends:
ii apbs 1.0.0-2 Adaptive Poisson Boltzmann
Solver
pymol suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoSfKUACgkQDUm8QWoJBiu9hwCfRI0npWfpmzH8STU5rYNLd6Hn
VrEAoIgSngtbOUjwhRhp7MkDnatKjqK7
=3vCv
-----END PGP SIGNATURE-----
diff -ur a/debian/pymol.launch.in b/debian/pymol.launch.in
--- a/debian/pymol.launch.in 2009-05-19 10:45:25.000000000 +0200
+++ b/debian/pymol.launch.in 2009-05-19 10:55:26.000000000 +0200
@@ -2,7 +2,7 @@
# debian wrapper script for pymol
export PYMOL_DATA=/usr/share/pymol
-export PYMOL_PATH=/var/lib/python-support/pyt...@python_version@/pymol/
+export PYMOL_PATH=/usr/share/python-support/pymol/pymol
export CHEMPY_DATA=/usr/share/chempy
pyt...@python_version@ ${PYMOL_PATH}/__init__.py $*