Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with taladraw in tangram 0.0.8 #16

Open
JeanDidier opened this issue Mar 26, 2019 · 4 comments
Open

Problem with taladraw in tangram 0.0.8 #16

JeanDidier opened this issue Mar 26, 2019 · 4 comments

Comments

@JeanDidier
Copy link

Hello,

I just installed tangram on my ubuntu box. Everything fine but the subalign sel #1 #2 methods best,com does not work in the command line when selecting two ligand for superposition. I have the following message in the reply log:

Error fixing styles: <type 'exceptions.KeyError'> <class Tkinter.Label at 0x7fb30b68d808>
Error fixing styles: <type 'exceptions.KeyError'> <class Tkinter.LabelFrame at 0x7fb30b68de20>
Error fixing styles: <type 'exceptions.AttributeError'> 'dict' object has no attribute 'configure'
Error fixing styles: <type 'exceptions.KeyError'> <class Tkinter.Frame at 0x7fb30b68d7a0>
! Could not obtain version info from https://api.github.com/repos/insilichem/tangram_taladraw/releases/latest
Reason: HTTP Error 404: Not Found
RDKit must be installed to use this extension.

RDKit must be installed to use this extension.

@jaimergp
Copy link
Member

(Please, try to use the issue template for bug reports, otherwise I will have to ask the same questions over and over again).

Installation method?

Also, open Tangram, then the IDLE, and try to import rdkit there. Let's see what is missing. You might also need to review the paths that are added in "Favorites-Add to favorites/toolbar".

@JeanDidier
Copy link
Author

Re. (Please, try to use the issue template for bug reports, otherwise I will have to ask the same questions over and over again).

OK, I'll do this (on the next one? or I resend you the thingy?)

The paths are fine.

Regards

import rdkit
Traceback (most recent call last):
File "<pyshell#1>", line 1, in
import rdkit
File "/home/jeandi/miniconda3/envs/tangram/lib/python2.7/site-packages/rdkit/init.py", line 2, in
from .rdBase import rdkitVersion as version
ImportError: libboost_python27.so.1.68.0: cannot open shared object file: No such file or directory

@jaimergp
Copy link
Member

I managed to reproduce the bug!

Apparently, rdkit is being installed off of conda-forge (and not the rdkit channel itself), which causes some problems.

I solved it by forcing it to use the rdkit channel. So in a nutshell (I see you are using the metapackage, nice!):

conda activate tangram
conda install -c rdkit rdkit

This should fix it :)

@jaimergp
Copy link
Member

Btw, I have updated the docs to fix this bug (thanks!) and checked with a bare installation. Confirmed and fixed! Feel free to close this when you confirm it on your side, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants