Re: [Open Babel] Java API: Can't use OB anymore due to UnsatisfiedLinkError

2014-03-20 Thread Joos Kiener
Found the issue:

I recently installed Avogadro which ships with a different version of
openbabel-2.dll. Because Avogadro adds PATH information to System variables
in contrast to OpenBabel which uses user variables for PATH, the
openbabel-2.dll in Avogadro is picked up first.

My solution is to manually add the path to the openbabel installation to
System PATH BEFORE Avogadro.



--
View this message in context: 
http://forums.openbabel.org/Java-API-Can-t-use-OB-anymore-due-to-UnsatisfiedLinkError-tp4657311p4657313.html
Sent from the General discussion mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] Java API: Can't use OB anymore due to UnsatisfiedLinkError

2014-03-19 Thread Joos Kiener
I just realized that the python extensions fails with the same error:

>>> import pybel
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Python27\lib\site-packages\pybel.py", line 52, in 
import openbabel as ob
  File "C:\Python27\lib\site-packages\openbabel.py", line 37, in 
_openbabel = swig_import_helper()
  File "C:\Python27\lib\site-packages\openbabel.py", line 33, in
swig_import_helper
_mod = imp.load_module('_openbabel', fp, pathname, description)
*ImportError: DLL load failed: The specified procedure could not be found.*



--
View this message in context: 
http://forums.openbabel.org/Java-API-Can-t-use-OB-anymore-due-to-UnsatisfiedLinkError-tp4657311p4657312.html
Sent from the General discussion mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss