Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304259 - sci-chemistry/pymol looks for Wizard-> Mutagenesis file in the wrong location
Summary: sci-chemistry/pymol looks for Wizard-> Mutagenesis file in the wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Lecher (RETIRED)
URL: http://www.pymolwiki.org/index.php/Mu...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-02-10 09:18 UTC by urcindalo
Modified: 2010-02-10 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2010-02-10 09:18:54 UTC
I have just tried to follow the tutorial in the URL I provide, but whenever I load a protein pdb and select Wizard -> Mutagenesis I get this:

===
 CmdLoad: "/home/user/DOCKING/galectin-3 1KJL/protein.pdb" loaded as "protein".
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/pymol/parser.py", line 254, in parse
    self.result=apply(layer.kw[0],layer.args,layer.kw_args)
  File "/usr/lib64/python2.6/site-packages/pymol/wizarding.py", line 86, in wizard
    r = _wizard(name,arg,kwd,0,_self=_self)
  File "/usr/lib64/python2.6/site-packages/pymol/wizarding.py", line 45, in _wizard
    wiz = apply(getattr(mod_obj,oname),arg,kwd)
  File "/usr/lib64/python2.6/site-packages/pymol/wizard/mutagenesis.py", line 57, in __init__
    "/data/chempy/sidechains/sc_bb_ind.pkl")
  File "/usr/lib64/python2.6/site-packages/chempy/pkl.py", line 23, in fromFile
    fp = self.my_open(fname,'rb')
  File "/usr/lib64/python2.6/site-packages/chempy/__init__.py", line 167, in my_open
    return open(fname,mode)
IOError: [Errno 2] No such file or directory: '/usr/lib64/python2.6/site-packages/pymol/data/chempy/sidechains/sc_bb_ind.pkl'
===

It seems pymol is looking for the file in the wrong location. In my amd64 box the correct one is /usr/share/pymol/data/chempy/sidechains/sc_bb_ind.pkl

How can I fix that manually?
Can it be fixed in the ebuild?

Thanks.

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-02-10 11:25:58 UTC
Thanks for reporting.
Comment 2 urcindalo 2010-02-10 12:06:33 UTC
No, thanks to you for solving it blazingly fast.

It is a pleasure to have people like you working on Gentoo. As a regular user I can't thank you enough all of your efforts.