Native library is not initialized with MolConvert under Mac

User dad335ca51

15-09-2014 09:45:15

Dears,


I changed my working station for a mac os 10.9.4 and migrated all my dev envt. When i try to run batch scripts using molconvert, With the line:


molconvert -vv name:cas# -s "[H][C@]1(O[C@H](CO)[C@@H](O)[C@H](O)[C@H]1O)C1=C(O)C2=C(OC3=C(C=C(O)C(O)=C3)C2=O)C=C1"


I catch the following exception :


Reading file 1 (smiles format) ...
 error
chemaxon.marvin.io.MolExportException: Native library is not initialized.
    at chemaxon.marvin.io.formats.inchi.InchikeyExport.convert(InchikeyExport.java:83)
    at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1348)
    at chemaxon.formats.MolExporter.exportToObject(MolExporter.java:1292)
    at chemaxon.formats.MolExporter.exportToFormat(MolExporter.java:1178)
    at chemaxon.marvin.io.formats.name.nameexport.CASNumberFromStructure.get(CASNumberFromStructure.java:32)
    at chemaxon.marvin.io.formats.name.nameexport.NamingCentral.getNameCore(NamingCentral.java:122)
    at chemaxon.marvin.io.formats.name.nameexport.NamingCentral.getName(NamingCentral.java:108)
    at chemaxon.marvin.io.formats.name.nameexport.S2NTask.call(S2NTask.java:147)
    at chemaxon.marvin.io.formats.name.nameexport.S2NTask.call(S2NTask.java:30)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)


I'm using MarvinBeans suite version 14.9.8.0 under mac os, with java : java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)


I read some very similar replies on the forum but without clear (for me) answer.


Thanks for your help, regards


Franck

ChemAxon a202a732bf

16-09-2014 10:14:52

Hi Franck,


I will be able to reach the colleague who might know more about your problem later today, I hope to answer your question in a few hours.


Best regards,


Zsuzsa

ChemAxon a202a732bf

16-09-2014 11:26:33

Hi Franck,


there seems to be a problem with our MarvinBeans MacOS installer, we will fix it, but still your problem can be solved by taking the following steps:


1. copy /Applications/ChemAxon/MarvinBeans/lib/inchi-native-macosx-1.3.1.jar   to
<user home>/.chemaxon/lib/inchi-1.3/


2. unzip inchi-native-macosx-1.3.1.jar in <user home>/.chemaxon/lib/inchi-1.3/


3. After that molconvert should run without problems.


Sorry for the inconvenience.


Best regards,


Zsuzsa