#jython IRC Log (v0.9)

Index

IRC Log for 2012-09-15

Timestamps are in GMT/BST.

[0:03] * catmtking (~catmtking@dhcp-138-23-59-162.dyn.ucr.edu) Quit (Ping timeout: 260 seconds)
[0:47] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[2:51] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) has joined #jython
[3:40] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) Quit (Quit: catmtking)
[4:09] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[5:52] * lheuer (~Adium@blfd-5d823e2a.pool.mediaWays.net) has joined #jython
[6:02] -mrmist- [Global Notice] - Hi everyone. As you may have noticed our services (nickserv, chanserv etc.) have broken again. We're busy running around like headless chickens to get them back for you. freenode staff are around to help if there are emergency channel situations. Thanks for flying freenode!
[6:12] * robbyoconnor (~wakawaka@cpe-24-164-168-201.hvc.res.rr.com) has joined #jython
[6:20] * sera (~sera@gentoo/developer/sera) Quit (Ping timeout: 268 seconds)
[7:01] * robbyoconnor (~wakawaka@cpe-24-164-168-201.hvc.res.rr.com) Quit (Quit: Konversation terminated!)
[7:02] * robbyoconnor (~wakawaka@cpe-24-164-168-201.hvc.res.rr.com) has joined #jython
[7:37] * robbyoconnor (~wakawaka@cpe-24-164-168-201.hvc.res.rr.com) Quit (Quit: Konversation terminated!)
[8:07] * ChanServ (ChanServ@services.) has joined #jython
[8:07] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) has joined #jython
[8:33] * ChanServ (ChanServ@services.) Quit (shutting down)
[8:34] * ChanServ (ChanServ@services.) has joined #jython
[9:47] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) Quit (Quit: catmtking)
[10:01] * Oti (~ohumbel@adsl-89-217-227-32.adslplus.ch) has joined #jython
[12:38] * lheuer (~Adium@blfd-5d823e2a.pool.mediaWays.net) Quit (Quit: Leaving.)
[13:49] * Oti (~ohumbel@adsl-89-217-227-32.adslplus.ch) Quit (Read error: Connection reset by peer)
[14:34] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:39] * juneau001 (~juneau@50-45-108-183.dklb.il.frontiernet.net) has joined #jython
[14:49] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[16:05] * Oti (~ohumbel@adsl-89-217-238-173.adslplus.ch) has joined #jython
[17:39] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[17:41] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) has joined #jython
[18:04] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) Quit (Quit: catmtking)
[18:09] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) has joined #jython
[18:10] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[18:14] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[18:24] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) Quit (Quit: catmtking)
[20:03] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[20:11] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[20:15] * catmtking (~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net) has joined #jython
[22:04] * augustl (~augustl@236.79-160-15.customer.lyse.net) has joined #jython
[22:06] <augustl> hi folks. Trying to invoke closurebuilder.py from Google Closure Compiler using jython, but I'm getting errors about the "logging" module not existing https://www.refheap.com/paste/5095
[22:06] <augustl> I'm a complete python noob so not sure where to start. Anyone got an idea about what's going on?
[22:07] <augustl> my goal is to use jython to do the python part of compiling JavaScript with Google Closure, instead of shelling out to python, so that I can use files on the classpath that might not be directly in the file system.
[22:09] <agronholm> augustl: are you sure you're using the standalone jar?
[22:09] <augustl> agronholm: what's the standalone jar?
[22:10] <agronholm> the one that contains the standard library too
[22:10] <agronholm> of which the logging module is a part
[22:10] <augustl> what should I depend on to get the jar that contains the standard library?
[22:10] <agronholm> not sure, never used maven before
[22:11] <augustl> what have you used? :)
[22:11] <agronholm> what do you mean?
[22:11] <augustl> you know about the other jar, how have you obtained it?
[22:11] <agronholm> downloaded from the website
[22:11] <agronholm> which, btw, seems down atm
[22:11] <augustl> oh, so it's not deployed to repositories?
[22:11] <agronholm> starting from 2.5.3, it's hosted on maven completely
[22:12] <agronholm> but the ones before that were not
[22:12] <augustl> also just realized I probably can't use jython anyway. Seems I can only run it once, since the initialize method that takes the argv is a static method and the docs for it says it should only run once
[22:12] <agronholm> http://search.maven.org/#search|ga|1|g%3A%22org.python%22%20AND%20v%3A%222.5.3%22
[22:12] <agronholm> see the jython-standalone?
[22:13] <agronholm> hard to comment on that run-once thing
[22:13] <augustl> org.python.util.PythonInterpreter has a static method initialize, that takes argv as it's third argument
[22:13] <augustl> and docs say it should only be called once
[22:14] <agronholm> why is that a problem
[22:14] <agronholm> you can just use the PythonInterpreter, why would you need to call initialize() several times anyway?
[22:16] <augustl> agronholm: I need to pass different argv every time I invoke the script
[22:17] <augustl> and I'll invoke the script multiple times per java process
[22:17] <agronholm> ah
[22:17] <agronholm> you're thinking about it the wrong way
[22:17] <agronholm> just load your script once
[22:17] <agronholm> then execute a function in it every time you need something done
[22:17] <augustl> I don't think there's a public API for calling functions, there's just the CLI
[22:17] <augustl> from Google's side, I mean
[22:18] <agronholm> are you sure?
[22:18] <augustl> so I need to actually call it as if I was shelling out to python itself
[22:18] <augustl> agronholm: yes
[22:20] <augustl> I'll probably just shell out. Just gotta learn how classpath stuff works in java first since I need the python scripts to be in the file systems, not contained in a jar ;)
[23:24] * deepy (~deepy@wrongplanet/deepa) Quit (Ping timeout: 252 seconds)
[23:26] * deepy (~deepy@c83-248-153-114.bredband.comhem.se) has joined #jython
[23:33] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)

Index

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