#jython IRC Log (v0.9)

Index

IRC Log for 2012-06-08

Timestamps are in GMT/BST.

[3:12] * vayer (~vayer@173-164-129-225-SFBA.hfc.comcastbusiness.net) Quit (Quit: Leaving)
[3:18] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[3:21] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[3:32] * r0bby is now known as robbyoconnor
[3:56] * blackorzar (~quassel@69.39.20.106) Quit (Ping timeout: 246 seconds)
[4:22] * blackorzar (~quassel@189.175.228.37) has joined #jython
[4:30] * blackorzar_ (~quassel@189.175.228.37) has joined #jython
[4:30] * ctismer is now known as ctismer_afk
[4:32] * blackorzar (~quassel@189.175.228.37) Quit (Ping timeout: 252 seconds)
[4:51] * ctismer_afk is now known as ctismer
[5:57] * varialus_at_work (cfe0d5b3@gateway/web/freenode/ip.207.224.213.179) has joined #jython
[6:00] <varialus_at_work> I've got a Jython interpreter that I launch from within a Windows program that doesn't have a console. Does anyone know off the top of their head how I would launch a cmd.exe and link my PythonInterpreter instance IO to it?
[6:01] <varialus_at_work> Trying to debug without a console is like pulling teeth.
[6:03] <agronholm> varialus_at_work: no point in launching cmd.exe
[6:03] <agronholm> just launch python.exe
[6:04] <agronholm> that will open a console window for it (unlike pythonw.exe)
[6:07] <varialus_at_work> Hmm, I hadn't thought about that. So I'm actually in a Java environment without a console and I'm creating my PythonInterpreter from within there, but I suppose I might encounter the same bug if launched jython.bat from Java rather than creating the PythonInterpreter, but I'm not sure.
[6:08] <varialus_at_work> The issue is that I'm trying to find a bug that I don't encounter when I run directly from a Jython script. It's something that gets left behind between stopping and starting Jython without stopping and stopping Java.
[6:10] <varialus_at_work> I wish my program would completely shutdown Java between test runs, but it doesn't.
[6:12] <agronholm> varialus_at_work: is this a GUI app then, or why don't you have a console?
[6:14] <varialus_at_work> It's a Delphi GUI QA app called TestComplete. Scripts are written in JScript, which is similar to JavaScript, but they have a JScript to Java bridge which I am using to create and run a Jython instance.
[6:14] <varialus_at_work> I will have Python!
[6:14] <agronholm> you could just turn on the java debug console?
[6:14] <agronholm> that's what I do when debugging gui apps
[6:17] <varialus_at_work> I don't think I have a Java debug console. I'm pretty much trying to create that console. Start up a cmd.exe and connect the IO so that I can poke around with pdb. I suppose a Java debugger might be better, but I'm not familiar with the Java debugger although I suppose it's probably similar.
[6:17] <agronholm> do you know how to access the java control panel?
[6:18] <varialus_at_work> No, not offhand.
[6:18] <agronholm> it's in control panels -> Java
[6:18] <agronholm> can you find it?
[6:20] <varialus_at_work> Ah, I wasn't familiar with this. I haven't done a lot with Java in a long time and am more of a Linux user, but Windows for work.
[6:20] <agronholm> open the advanced tab
[6:20] <agronholm> from there java console -> show console
[6:20] <agronholm> it will launch a console per new VM
[6:24] <varialus_at_work> Big slow sub-par IDE's bug me. It didn't work, but I think something just pointing to the wrong Java. Gonna poke around to see if I can get it to work.
[6:24] <agronholm> do remember that this only affects new VMs
[6:29] <varialus_at_work> TestComplete uses jdk\\jre\bin\server\jvm.dll
[6:30] <varialus_at_work> I can point it to another .dll file but I think it's just going to ignore my Java settings.
[6:30] <agronholm> try pointing it to the client vm?
[6:32] <varialus_at_work> Ok. Got a little meeting at the moment. Will work on it more in a few minutes or tomorrow morning.
[6:55] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Read error: Connection reset by peer)
[6:59] <varialus_at_work> I've tried a few different jvm.dll files and none of them seem to open the console.
[7:05] <varialus_at_work> Just found where to set Java options!
[7:09] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[8:22] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[8:24] * lheuer (~Adium@unaffiliated/lheuer) Quit (Client Quit)
[8:24] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[9:22] * JythonLogBot disconnected - trying to reconnect...
[9:22] -wolfe.freenode.net- *** Looking up your hostname...
[9:22] -wolfe.freenode.net- *** Checking Ident
[9:22] -wolfe.freenode.net- *** Couldn't look up your hostname
[9:22] -wolfe.freenode.net- *** No Ident response

Index

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