[Debichem-devel] Bug#556878: python can't import pymol

Cun Zhang apzc2529 at gmail.com
Wed Nov 18 00:43:29 UTC 2009


Subject: python can't import pymol
Package: pymol
Version: 1.2r1-3
Severity: normal

*** Please type your report below this line ***

I know the reason why this bug come is  the environment variable
"PYMOL_PATH" can't be set rightly.
BUT I can't fix it because of my poor ability of using python. Hope it
fixed as quickly as possible.
Thanks!

The errors are as follows:

cunzhang at Debian:~$ dpkg -l pymol
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  pymol          1.2r1-3        Molecular Graphics System
cunzhang at Debian:~$ python --version
Python 2.5.4
cunzhang at Debian:~$ python
Python 2.5.4 (r254:67916, Sep 26 2009, 10:32:22)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymol
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/pymol/__init__.py", line 255, in <module>
    test_path = os.path.join(os.environ['PYMOL_PATH'],"freemol")
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'PYMOL_PATH'


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pymol depends on:
ii  freeglut3              2.4.0-8           OpenGL Utility Toolkit
ii  libc6                  2.10.1-7          GNU C Library: Shared libraries
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.2-2         GCC support library
ii  libgl1-mesa-glx [libgl 7.6-1             A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 7.6-1             The OpenGL utility library (GLU)
ii  libpng12-0             1.2.40-1          PNG library - runtime
ii  libstdc++6             4.4.2-2           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.4             automated rebuilding support for P
ii  python-tk              2.5.2-1.1         Tkinter - Writing Tk applications
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages pymol recommends:
ii  apbs                          1.1.0-1    Adaptive Poisson Boltzmann Solver

pymol suggests no packages.

-- no debconf information

-- 
Blog: http://blog.4message.net





More information about the Debichem-devel mailing list