#jython IRC Log (v0.9)

Index

IRC Log for 2014-09-08

Timestamps are in GMT/BST.

[3:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[3:19] * robbyoconnor (~wakawaka@cpe-68-174-63-155.hvc.res.rr.com) has joined #jython
[3:19] * robbyoconnor (~wakawaka@cpe-68-174-63-155.hvc.res.rr.com) Quit (Changing host)
[3:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:30] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[3:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:35] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[3:36] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[3:45] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:55] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[4:28] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[4:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[4:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[8:59] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 260 seconds)
[12:48] * xemdetia (xemdetia@nat/ibm/x-hbbfoutiesoyjsoi) has joined #jython
[17:06] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) has joined #jython
[17:16] <agronholm> hey, anyone here with a mac? I'm trying to get java 7 installed but java -version keeps telling me it's 1.6.0
[17:16] <agronholm> this is OSX maverick so there is no way there could be some apple provided java here
[17:28] <xemdetia> agronholm, I would check your paths
[17:28] <xemdetia> it's not improbable in the slightest to have multiple JRE's installed
[17:29] <xemdetia> I think right now just on this computer I have 4 installed
[17:31] <agronholm> xemdetia: I have no clue where the official oracle jre 7 is located
[17:31] <xemdetia> well does 'which' work?
[17:31] <agronholm> yes, and it points to a java 1.6.0
[17:32] <agronholm> at /usr/bin/java
[17:32] <xemdetia> is that a symlink
[17:32] <agronholm> yes
[17:33] <xemdetia> where does that point
[17:33] <xemdetia> probably would give you a clue
[17:33] <agronholm> to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
[17:34] <xemdetia> ah so look in /System/Library/Frameworks/JavaVM.framework/Versions
[17:34] <xemdetia> imo
[17:34] <agronholm> I did
[17:34] <xemdetia> no luck?
[17:34] <agronholm> it shows 1.4, 1.5, 1.6
[17:34] <agronholm> 1.4.2, 1.5.0, 1.6.0
[17:35] <agronholm> no 7
[17:35] <agronholm> or 1.7
[17:35] <agronholm> but it exists
[17:35] <agronholm> because if I launch a java app, it shows as using java 7
[17:36] <agronholm> and the control panel says so too
[17:45] <xemdetia> hrm
[17:45] <xemdetia> sorry
[17:45] <xemdetia> I'm out of ideas
[17:57] <agronholm> xemdetia: thanks anyway
[18:02] * syl20bnr (d8623829@gateway/web/freenode/ip.216.98.56.41) has joined #jython
[18:02] <syl20bnr> hey guys
[18:02] <syl20bnr> I have a behavior I don't understand with jython 2.7
[18:05] <syl20bnr> I initialize an interpreter in a new thread and I'm kicked back on the main thread after a call to interpreter.exec("from x.y.z import X")
[18:06] <syl20bnr> is there another better way to import a module ?
[18:07] <syl20bnr> I traced the sources and it happens PyTableCode [line: 165] - call(ThreadState, PyFrame, PyObject)
[18:13] <agronholm> PyModule logging = (PyModule) imp.load("logging");
[18:13] <agronholm> that's how I import python stuff in Java
[18:13] <agronholm> you'll need: import org.python.core.imp;
[19:06] * xemdetia_ (xemdetia@nat/ibm/x-byclrboclopuvunx) has joined #jython
[19:08] * xemdetia (xemdetia@nat/ibm/x-hbbfoutiesoyjsoi) Quit (Ping timeout: 240 seconds)
[19:51] <syl20bnr> agronholm: thank you
[19:56] * xemdetia__ (xemdetia@nat/ibm/x-kqwpayqmpwffpgkq) has joined #jython
[20:00] * xemdetia_ (xemdetia@nat/ibm/x-byclrboclopuvunx) Quit (Ping timeout: 260 seconds)
[20:00] * acharis (~acharis@173-9-45-73-NewEngland.hfc.comcastbusiness.net) has joined #jython
[20:01] <acharis> preferred multiline paste method?
[20:04] * xemdetia__ is now known as xemdetia
[20:04] <acharis> cool, well, here goes:
[20:05] <acharis> File "jython27/jython-standalone-2.7-b3.jar/Lib/subprocess.py", line 500, in call<br>return Popen(*popenargs, **kwargs).wait()<br>NameError: global name 'Popen' is not defined
[20:05] <acharis> i'm in eastern timezone and will be AFK for some hours, but i'll check logs. ttyl
[20:06] <jimbaker> acharis, that's interesting - Popen is the key class in subprocess, and subprocess tests certainly exercise this
[20:12] <acharis> hi jim. i agree. i'll also say that this is happening in a multithreadded application and happens one out of 4 or 5 executions
[20:14] <acharis> and for a little context about myself, i've used python and java, but this is my first exposure to jython. this also happened in jython 2.5.4rc1
[20:16] <jimbaker> hmmm, certainly interesting. trying to think of some mechanism that could account for this...
[20:17] <acharis> what do we have access to here? pdb?
[20:17] <jimbaker> acharis, you could certainly use pdb
[20:17] <jimbaker> but what i need is a reproducible test case
[20:20] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 250 seconds)
[20:20] <acharis> that'll be some work on my part to extract this. i'll try to do so tomorrow. shall i also file a bug for tracking purposes?
[20:24] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[20:28] <jimbaker> acharis, +1
[22:23] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) Quit (Quit: Leaving...)
[22:25] * xemdetia (xemdetia@nat/ibm/x-kqwpayqmpwffpgkq) Quit (Ping timeout: 264 seconds)

Index

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