It turns out that I ws missing some stuff in CLASSPATH. After adding xom and jaxen libraries I get a different error, though:
ssorgatem:/tmp$ python Python 2.6.6 (r266:84292, Apr 20 2011, 09:34:38) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from glob import glob >>> import os >>> os.environ['CLASSPATH'] = ":".join(glob("/usr/share/java/cdk*.jar")) + ":" >>> + ":".join(glob("/usr/share/java/xom*.jar"))+ ":" + >>> ":".join(glob("/usr/share/java/jaxen*.jar")) >>> from cinfony import cdk /usr/lib/pymodules/python2.6/jpype/_pykeywords.py:18: DeprecationWarning: the sets module is deprecated import sets Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.6/dist-packages/cinfony/cdk.py", line 13, in <module> from cdkjpype import * File "/usr/local/lib/python2.6/dist-packages/cinfony/cdkjpype.py", line 74, in <module> forcefields = list(cdk.modeling.builder3d.ModelBuilder3D.getInstance().getFfTypes()) File "/usr/lib/pymodules/python2.6/jpype/_jpackage.py", line 53, in __call__ raise TypeError, "Package "+self.__name+" is not Callable" TypeError: Package org.openscience.cdk.modeling.builder3d.ModelBuilder3D.getInstance is not Callable >>> -- Adrià Cereto Massagué Biotechnology student Universitat Rovira i Virgili Languages: Català, Español, English, Français, Deutsch, Português, Esperanto Nota importante | Important Notice -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org