#147 pymol 1.7.0.0 fails to run without export PYMOL_PATH='/usr/share/pymol'

v1.7.1.0
closed-fixed
None
5
2014-02-03
2014-02-02
ProzacR
No

pymol 1.7.0.0 fails to run without:
export PYMOL_PATH='/usr/share/pymol'
As I understand https://github.com/evonove/pymol/blob/master/pymol/PACKAGING it should look there automatically.

$ pymol
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/pymol/init.py", line 179, in <module>
import pymol
File "/usr/lib64/python2.7/site-packages/pymol/init.py", line 256, in <module>
test_path = os.path.join(os.environ['PYMOL_PATH'], test_path)
File "/usr/lib64/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'PYMOL_PATH'

Discussion

  • Thomas Holder

    Thomas Holder - 2014-02-03

    Which operation system? Did you install PyMOL from source or is this from a package repository?

    PYMOL_PATH can be guessed if it's in a standard location like "site-packages/pymol/pymol_path". The "pymol" launcher that we create is a shell script which always sets PYMOL_PATH first, so I wonder what launcher you use.

     
  • Thomas Holder

    Thomas Holder - 2014-02-03
    • status: open --> closed-fixed
    • assigned_to: Thomas Holder
    • Group: v1.7.0.0 --> v1.7.1.0
     
  • Thomas Holder

    Thomas Holder - 2014-02-03

    fixed in svn rev 4064.

    (even though I consider this rather a Slackware packaging bug)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks