#jython IRC Log (v0.9)

Index

IRC Log for 2010-11-15

Timestamps are in GMT/BST.

[0:02] * nick (~njoyce@124-148-44-28.dyn.iinet.net.au) has joined #jython
[0:02] * nick is now known as Guest96986
[0:04] * njoyce (~njoyce@124-148-59-192.dyn.iinet.net.au) Quit (Ping timeout: 255 seconds)
[0:05] * njoyce (~njoyce@203-214-120-144.dyn.iinet.net.au) has joined #jython
[0:07] * Guest96986 (~njoyce@124-148-44-28.dyn.iinet.net.au) Quit (Ping timeout: 264 seconds)
[0:10] * njoyce (~njoyce@203-214-120-144.dyn.iinet.net.au) Quit (Ping timeout: 245 seconds)
[0:10] * njoyce (~njoyce@124-150-73-142.dyn.iinet.net.au) has joined #jython
[0:39] * adiroiban (~adiroiban@89.137.108.176) Quit (Ping timeout: 240 seconds)
[0:40] * jabley_ (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley_)
[2:32] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[2:53] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[3:09] * raymondh (~raymond@76.89.181.64) has joined #jython
[4:40] * juneau001 (~juneau@pool-72-69-204-203.chi01.dsl-w.verizon.net) Quit (Quit: juneau001)
[4:41] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[4:51] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[5:08] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 240 seconds)
[5:18] * nick (~njoyce@203-217-39-8.dyn.iinet.net.au) has joined #jython
[5:18] * nick is now known as Guest89077
[5:20] * njoyce (~njoyce@124-150-73-142.dyn.iinet.net.au) Quit (Ping timeout: 264 seconds)
[5:36] * Moo^_^ (~quassel@herd37.twinapex.fi) Quit (Read error: Operation timed out)
[5:39] * moo_ (~quassel@herd37.twinapex.fi) has joined #jython
[5:39] * jcp (~jw@bzflag/contributor/javawizard2539) Quit (Ping timeout: 260 seconds)
[5:44] * jcp (~jw@bzflag/contributor/javawizard2539) has joined #jython
[7:52] * cyril_ (~cyril@tal33-1-82-226-197-59.fbx.proxad.net) Quit (Ping timeout: 276 seconds)
[7:54] * cyril_ (~cyril@tal33-1-82-226-197-59.fbx.proxad.net) has joined #jython
[8:09] * thobe (~Adium@83.249.247.186) Quit (Quit: Leaving.)
[8:30] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[8:33] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Ping timeout: 265 seconds)
[9:05] * Imek (~joe@host-195-188-251-108.reversezone.co.uk) has joined #jython
[9:15] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[9:16] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[9:26] * seberg (~sebastian@vpn-3120.gwdg.de) has joined #jython
[10:49] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[10:56] * stakkars (~tismer@89.204.137.108) has joined #jython
[11:03] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[11:04] * stakkars (~tismer@89.204.137.108) Quit (Ping timeout: 240 seconds)
[11:06] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[11:07] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 260 seconds)
[11:07] * jabley_ is now known as jabley
[11:30] * stakkars (~tismer@89.204.137.100) has joined #jython
[11:32] * adiroiban (~adiroiban@89.137.108.176) Quit (Ping timeout: 265 seconds)
[11:42] * stakkars (~tismer@89.204.137.100) Quit (Ping timeout: 240 seconds)
[12:04] * juneau001 (~juneau@FESS-116326-2476264-dp.dhcp.fnal.gov) has joined #jython
[12:08] * juneau001 (~juneau@FESS-116326-2476264-dp.dhcp.fnal.gov) Quit (Client Quit)
[12:10] * adiroiban (~adiroiban@193.226.5.54) has joined #jython
[12:17] * juneau001 (~juneau@131.225.24.113) has joined #jython
[12:41] * adiroiban (~adiroiban@193.226.5.54) Quit (Remote host closed the connection)
[12:41] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) has joined #jython
[12:51] * seberg (~sebastian@vpn-3120.gwdg.de) Quit (Ping timeout: 264 seconds)
[13:05] * seberg (~sebastian@134.76.218.194) has joined #jython
[13:12] * Guest89077 (~njoyce@203-217-39-8.dyn.iinet.net.au) Quit (Quit: Leaving...)
[13:16] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) Quit (Quit: adiroiban)
[13:30] * juneau001_ (~juneau@FESS-116326.dhcp.fnal.gov) has joined #jython
[13:33] * juneau001 (~juneau@131.225.24.113) Quit (Ping timeout: 265 seconds)
[13:33] * juneau001_ is now known as juneau001
[13:38] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) has joined #jython
[13:53] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) Quit (Ping timeout: 260 seconds)
[14:04] <agronholm> for some reason, a Java exception is slipping past a Python try...except clause under Java Web Start
[14:04] <agronholm> trying to figure out why
[14:05] <agronholm> and this was with a generic except clause with no exception type specified
[14:26] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) Quit (Remote host closed the connection)
[14:26] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) has joined #jython
[14:47] * thobe1 (~Adium@212-162-171-110.skbbip.com) has joined #jython
[14:47] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Read error: Connection reset by peer)
[15:49] * stakkars (~tismer@ip-178-203-81-220.unitymediagroup.de) has joined #jython
[16:10] * stakkars (~tismer@ip-178-203-81-220.unitymediagroup.de) Quit (Quit: stakkars)
[16:17] * seberg (~sebastian@134.76.218.194) Quit (Ping timeout: 255 seconds)
[16:22] * headius (~headius@216.160.3.79) has joined #jython
[16:43] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[16:50] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[17:03] * thobe1 (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:35] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 240 seconds)
[17:41] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) has joined #jython
[18:04] * adiroiban (~adiroiban@2001:b30:5000:58:72f1:a1ff:fec3:436a) Quit (Ping timeout: 245 seconds)
[18:54] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[18:56] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Client Quit)
[18:59] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[19:27] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[19:49] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[19:52] * groves (~groves@nat.earth.threerings.net) has joined #jython
[20:13] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) Quit (Quit: juneau001)
[20:15] * shanka1 (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[20:16] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 255 seconds)
[21:10] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[21:20] * whuuu (~whuuu@ip-109-91-110-214.unitymediagroup.de) has joined #jython
[21:27] * Imek (~joe@host-195-188-251-108.reversezone.co.uk) Quit (Quit: Bye)
[21:27] <whuuu> hey, i came up to a strange error using eclipse with jython (2.5.2b2). I created a jythonlib.jar according to http://stackoverflow.com/questions/1252965/distributing-my-python-scripts-as-jars-with-jython and put it into my eclipse projects lib directory. I'm calling the jython script in a java class with the PythonInterpreter object. Somehow I get an exception because the yield statements aren't working (invalid syntax). It only occurs wh
[21:27] <whuuu> run it in eclipse; it works correctly in the console. any ideas?
[21:29] * thobe (~Adium@c83-249-247-186.bredband.comhem.se) has joined #jython
[21:41] <whuuu> whoh, solved it after about 3 hourse...
[21:41] <jimbaker> whuuu: what was the problem?
[21:43] <whuuu> there was org.python.core in the required bundles in manifest.mf which included the (old) pydev libraries instead of those of the jythonlib.jar
[21:43] <whuuu> I noticed it when I removed pydev
[22:00] <jimbaker> whuuu: makes sense in where this might get confused. i wonder if better osgi integration could help here? regardless that's a jython 2.6 issue
[22:23] * dkehn (~dkehn@173-8-249-206-Colorado.hfc.comcastbusiness.net) has left #jython
[22:31] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[22:33] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[22:57] * whuuu (~whuuu@ip-109-91-110-214.unitymediagroup.de) Quit (Quit: whuuu)
[23:22] * r0bby is now known as robbyoconnor
[23:42] <agronholm> jimbaker: should pdb work under java web start?
[23:42] <agronholm> if I have the java console turned on
[23:42] <jimbaker> agronholm: i have never tried. but sure, it should
[23:42] <agronholm> well it doesn't
[23:42] <jimbaker> if not, that's definitely a bug
[23:43] <jimbaker> we definitely need more testing on cases like these
[23:43] <agronholm> I get IOError: The handle is invalid
[23:44] <agronholm> I'm trying to figure out why an exception gets printed on the console despite having set sys.excepthook and setting an uncaught exception handler on the java side as well
[23:44] <agronholm> it only happens under jws
[23:44] <jimbaker> yeah, i don't know specifically what that means. i neither use pdb or web start. but pdb is simple enough that should always work. the challenge is probably seen in the sys setup as you mentioned
[23:45] <agronholm> according to the console message, the exception occurs in MainThread, which should be impossible
[23:46] <agronholm> not only do I have a try...except there, but I have the exception handlers for both Java and Python
[23:46] <agronholm> I'm really at a loss here
[23:46] <jimbaker> hmmm... well if the problem is in the setup for pdb, i could see it being confused like that
[23:47] <agronholm> I only tried pdb just now
[23:47] <agronholm> I was trying to figure out the problem with basic stderr messages
[23:47] <jimbaker> just speculating here - i would have to review the code - but pdb is necessarily tied into exception handling
[23:47] <jimbaker> agronholm: so the problem occurs w/o pdb?
[23:47] <agronholm> yes
[23:48] <agronholm> but I'll remove the exception handlers and see if pdb works then
[23:48] <jimbaker> sounds good
[23:49] <agronholm> nope, still getting the same error, except this time I'm not getting an error dialog for it
[23:49] <agronholm> since the exception handlers have been disabled
[23:51] <agronholm> I'm working with .class files entirely, could that be the cause?
[23:51] <jimbaker> ok, probably the best bet is to create a simple test case, ideally with a unit test for the desired behavior
[23:52] <agronholm> I only deploy compiled classes on jws
[23:52] <jimbaker> agronholm: you mean $py.class? i don't think it matters
[23:52] <agronholm> ok
[23:52] <agronholm> creating an unit test for jws is a veritable nightmare
[23:53] <agronholm> as if the interactive mode swing test wasn't hard enough
[23:53] <jimbaker> agronholm: yeah, i was afraid of something like that. but since i have no idea about jws, we need to help someone like myself out
[23:53] <agronholm> I have no idea how to invoke jws programmatically
[23:55] <agronholm> I may have an idea what is causing this
[23:56] <agronholm> ok, raw_input() gives the same error
[23:56] <jimbaker> agronholm: in the context of jws? or by itself?
[23:56] <agronholm> in jws
[23:57] <agronholm> apparently the java console does not accept input
[23:59] <agronholm> System.console() returns null

Index

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