#jython IRC Log (v0.9)

Index

IRC Log for 2013-09-24

Timestamps are in GMT/BST.

[0:22] * lheuer1 (~Adium@g228135159.adsl.alicedsl.de) has joined #jython
[0:25] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 245 seconds)
[1:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:40] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[3:10] * whg is now known as zz_whg
[4:12] <sinistersnare> https://gist.github.com/sinistersnare/f2af88d29b6351ea6493 hi again, im trying to implement a JythonObjectFactory (with a little bit of chagned code from PlyJy.jar)
[4:12] <sinistersnare> and i keep getting this stacktrace, i dont know why
[4:12] <sinistersnare> all of my files are in the same dir structure
[4:12] <sinistersnare> under com/sinsnare/factories
[4:14] <sinistersnare> how does jython find python modules?
[4:17] <sinistersnare> even when i make my own PytonInterpreter and exec("from employee import Employee") i get a no module named employee
[4:17] <sinistersnare> maybe it has to do with classpath or something i didnt do in PyDev?
[4:18] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[4:46] * sinistersnare is now known as sinsnare|awayyyy
[5:12] <sinsnare|awayyyy> also i dont seem to be able to do a interpreter.exec("import os"); it gives me a "no module named os" error, but i can do a interpreter.exec("import sys"); and it works fine!
[5:25] * paolo (~Paolo@net-2-36-101-40.cust.dsl.vodafone.it) has joined #jython
[5:32] <sinsnare|awayyyy> ok its because i wasnt using the standalone jar...
[5:32] <sinsnare|awayyyy> but i still cant import my own python files...
[5:32] <sinsnare|awayyyy> maybe i could read it in as a string and then execute that?
[5:48] * lheuer1 is now known as lheuer
[5:48] * lheuer (~Adium@g228135159.adsl.alicedsl.de) Quit (Changing host)
[5:48] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[8:23] * purplefox (~purplefox@host-80-43-252-143.as13285.net) has joined #jython
[8:24] * daenney (~daenney@daenney.net) Quit (Ping timeout: 260 seconds)
[8:51] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Max SendQ exceeded)
[8:52] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[9:32] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[9:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[10:11] * daenney (~daenney@daenney.net) has joined #jython
[12:14] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 253 seconds)
[12:40] * zz_whg is now known as whg
[12:47] * verterok (~ggonzalez@unaffiliated/verterok) Quit (*.net *.split)
[13:34] <topi`> sinsnare|awayyyy: place the dir with employee.py in your JYTHONPATH
[13:35] <topi`> or, as the last, desperate measure, put that path into sys.path at startup
[13:37] <topi`> for example, using interpreter.exec("import sys"); interpreter.exec("sys.path.append('/foo/bar')");
[17:22] <jimbaker> topi`, my clamp repo is getting closer to being actually usable. i will add single jar building as part of it, to address maybe the sort of issues that sinsnare ran into
[18:48] * paolo (~Paolo@net-2-36-101-40.cust.dsl.vodafone.it) Quit (Quit: Leaving)
[19:33] * enebo (~enebo@mobile-166-137-187-140.mycingular.net) has joined #jython
[19:35] * enebo (~enebo@mobile-166-137-187-140.mycingular.net) Quit (Client Quit)
[19:35] * enebo (~enebo@mobile-166-137-187-140.mycingular.net) has joined #jython
[21:29] <sinsnare|awayyyy> topi`: its in the same dir as my .java files
[21:29] <sinsnare|awayyyy> and i added a interp.exec("sys.path.append('.')");
[21:29] <sinsnare|awayyyy> and it still doesnt work
[21:32] <sinsnare|awayyyy> ok it works, now that ive used the fully qualified name...
[21:35] <sinsnare|awayyyy> there must be a better way though... the PYTHONPATH thing didnt work, i put it in its own py/ dir, and then added that as a source folder to my PYTHONPATH (and the /bin folder) and it didnt work unless i added the folder to my sys.path
[22:32] * sinsnare|awayyyy is now known as sinsnare|ACTUALL
[22:32] * sinsnare|ACTUALL is now known as sinsnare|GONE
[23:32] <agronholm> JYTHONPATH
[23:32] <agronholm> not PYTHONPATH
[23:48] * whg (whg@nat/ibm/x-zsftisvnlrkcmdms) Quit (*.net *.split)
[23:48] * pjenvey (pjenvey@underboss.org) Quit (*.net *.split)
[23:48] * lazybear (~lazybear@radium.atom.fi) Quit (*.net *.split)
[23:48] * Thev00d00 (~v00d00@gentoo/developer/TheV00d00) Quit (*.net *.split)
[23:48] * mary (~ircfnode@unaffiliated/mary) Quit (*.net *.split)
[23:48] * jimbaker (~jbaker@unaffiliated/jimbaker) Quit (*.net *.split)
[23:55] * jimbaker (~jbaker@unaffiliated/jimbaker) has joined #jython
[23:55] * pjenvey (pjenvey@underboss.org) has joined #jython
[23:55] * whg (whg@nat/ibm/x-zsftisvnlrkcmdms) has joined #jython
[23:55] * lazybear (~lazybear@radium.atom.fi) has joined #jython
[23:55] * mary (~ircfnode@unaffiliated/mary) has joined #jython
[23:55] * Thev00d00 (~v00d00@gentoo/developer/TheV00d00) has joined #jython

Index

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