There is a new KNIME forum. You can still browse and read content from our old forum but if you want to create new posts or join ongoing discussions, please visit our new KNIME forum: https://forum.knime.com

Error with OpenBabel on Mac

Member for

2 years 7 months SigneKlinting

Hey, 

I'm a Mac user (MacOS Sierra v10.12.4) and are working with KNIME 3.3.2. I cannot make OpenBabel work.

I have used "Chemical Identifier Resolver" to generate smiles from chemical names and then I want to generate SDFs from the smiles. But when I connect CIR with OpenBabel and wants to configurate OpenBabel, I get the error "Error while executing '/Applications/KNIME 3.3.2.app/Contents/Eclipse/plugins/org.knime.ext.chem.openbabel.bin.macosx.x66_64_2.3.1.v201409161231/macosx/x86_64/babel':dyd: Library not loaded: url/local/lib/libopenbabel.4.dylib Reference from:  '/Applications/KNIME 3.3.2.app/Contents/Eclipse/plugins/org.knime.ext.chem.openbabel.bin.macosx.x66_64_2.3.1.v201409161231/macosx/x86_64/babel' Reason: image not found"

I found one person with the same problem (https://tech.knime.org/forum/knime-general/issue-with-openbabel-transla…) but the link to ChemSpotlight was no longer available. Instead, I installed OpenBabel 2.0.2 from https://sourceforge.net/projects/openbabel/ as well as iBabel as GUI but that did not solve the problem. I tried to figure out how to change the settings in KNIME so that it would be directed to the correct Babel execution file, but without luck. 

Any suggestions as how to solve this?

/Signe

 

Comments
Tue, 06/27/2017 - 12:06

Member for

4 years 9 months

jonfuller

Hi Signe,

Thanks for the detailed bug description. I verified the issue on my mac and have opened a ticket for our developers to look into.

There is a workaround where you could use the molecule typecast node to convert the smiles to sdf.

Best,

Jon

Thu, 12/14/2017 - 09:45

Member for

7 years

andrea.mauri

Dear Signe,

you should be able to generate SDF from chemical name directly using CIR.

Best,

Andrea

Files
error.png32.79 KB
babelfile.png177.99 KB