#jython IRC Log


IRC Log for 2015-03-16

Timestamps are in GMT/BST.

[1:17] * koo6 (~koo5@236.152.broadband3.iol.cz) has joined #jython
[1:47] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Quit: Leaving)
[4:10] <koo6> hello
[4:11] <koo6> i built some jars from https://github.com/opennars/opennars/
[4:11] <koo6> downloaded jython, sacrificed a goat..
[4:11] <koo6> i want to import some nars class from the jython console
[4:12] <koo6> my question is, what should be my CLASSPATH and PYTHONPATH?
[4:13] <koo6> i alternatingly run into "ImportError: No module named .." and "java.lang.NoClassDefFoundError"
[4:14] <koo6> i dont know much java
[4:14] <koo6> should i sacrifice another goat?
[4:19] <koo6> and no my jython.jar isnt in /usr/lib/jvm/jre/ext or whatever
[4:44] <koo6> the best i can get to is that it seems to begin loading my class, but dies on dependencies, like: >>> from nars.build import Curve
[4:44] <koo6> Traceback (most recent call last):
[4:44] <koo6> File "<stdin>", line 1, in <module>
[4:44] <koo6> java.lang.NoClassDefFoundError: reactor/function/Consumer ...
[4:47] <koo6> copying the classes directory from the jar of the dependency seems to "work"
[4:48] <koo6> to my current path
[4:48] <koo6> next to the nars classes dir
[8:39] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 245 seconds)
[8:51] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[8:51] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[8:51] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[10:01] * srcerer_ (~chatzilla@dns2.klsairexpress.com) has joined #jython
[10:04] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 264 seconds)
[11:46] <agronholm> koo6: what did you put in CLASSPATH/PYTHONPATH?
[13:54] * xemdetia (xemdetia@nat/ibm/x-fjdjjszgzflqgpub) has joined #jython
[13:59] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:25] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[15:24] * gthank (~gthank@unaffiliated/gthank) Quit (Quit: ZNC - http://znc.in)
[15:45] <koo6> agronholm, nothing, i copied the contents of every relevant jar into one directory and ran it from there
[16:20] <agronholm> koo6: that's not enough
[16:20] <agronholm> you have to add your jars to the classpath
[16:20] <agronholm> like /path/to/directory/*
[17:25] * srcerer_ (~chatzilla@dns2.klsairexpress.com) Quit (Quit: ChatZilla [Firefox 36.0/20150222232811])
[20:47] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 265 seconds)
[21:01] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[21:31] * xemdetia (xemdetia@nat/ibm/x-fjdjjszgzflqgpub) Quit (Ping timeout: 240 seconds)
[21:46] * ebarrett (~edd@host-92-23-232-109.as13285.net) Quit (Quit: newsnap)
[22:04] * xemdetia (xemdetia@nat/ibm/x-uzkhtjpbrmqfuuiy) has joined #jython
[22:11] * xemdetia (xemdetia@nat/ibm/x-uzkhtjpbrmqfuuiy) Quit (Remote host closed the connection)
[22:11] * xemdetia (xemdetia@nat/ibm/x-lsopxkturneimkwa) has joined #jython
[22:12] * xemdetia (xemdetia@nat/ibm/x-lsopxkturneimkwa) Quit (Remote host closed the connection)
[22:12] * xemdetia (xemdetia@nat/ibm/x-tknpdfghadagbsiv) has joined #jython
[22:44] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:46] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 252 seconds)
[22:52] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[22:53] * xemdetia (xemdetia@nat/ibm/x-tknpdfghadagbsiv) Quit (Ping timeout: 244 seconds)
[22:58] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[23:22] * Rondom (~rondom@nonmodosedetiam.net) Quit (Remote host closed the connection)
[23:23] * Rondom (~rondom@nonmodosedetiam.net) has joined #jython
[23:58] * FL328K (60f14890@gateway/web/freenode/ip. has joined #jython


These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.