#jython IRC Log (v0.9)

Index

IRC Log for 2013-03-27

Timestamps are in GMT/BST.

[2:44] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) has joined #jython
[2:55] * lheuer1 (~Adium@blfd-4d083d80.pool.mediaWays.net) has joined #jython
[2:58] * lheuer (~Adium@blfd-4d08ec2a.pool.mediaWays.net) Quit (Ping timeout: 264 seconds)
[3:30] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[3:53] * purplefox (~purplefox@65.88.2.2) has joined #jython
[4:10] * purplefox (~purplefox@65.88.2.2) Quit (Ping timeout: 248 seconds)
[4:29] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) has joined #jython
[4:53] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) Quit (Ping timeout: 245 seconds)
[5:18] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) has joined #jython
[5:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[5:22] * lheuer1 (~Adium@blfd-4d083d80.pool.mediaWays.net) Quit (Quit: Leaving.)
[5:24] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[5:24] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[5:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[5:36] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[5:48] * Juneau001 (~Juneau@50-45-108-166.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[5:51] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[5:53] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[6:49] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) has joined #jython
[7:39] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 264 seconds)
[7:44] * verterok (~ggonzalez@91.189.93.88) has joined #jython
[8:10] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) has joined #jython
[9:59] * seletz (~seletz@HSI-KBW-078-042-236-128.hsi3.kabel-badenwuerttemberg.de) has joined #jython
[9:59] * seletz (~seletz@HSI-KBW-078-042-236-128.hsi3.kabel-badenwuerttemberg.de) Quit (Client Quit)
[10:17] * Juneau001 (~Juneau@50-45-114-109.dklb.il.frontiernet.net) has joined #jython
[10:20] * Juneau001 (~Juneau@50-45-114-109.dklb.il.frontiernet.net) Quit (Client Quit)
[11:10] * purplefox (~purplefox@65.88.2.2) has joined #jython
[11:11] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[11:39] * paolo (~Paolo@net-37-117-27-254.cust.dsl.vodafone.it) has joined #jython
[11:41] <paolo> hello, I have a problem. I packaged a Jython app as a jar file. I'm using the jar locally and works as it should.
[11:42] <paolo> then I gave the jar to a friend but there is an import issue
[11:42] <paolo> Traceback (most recent call last):
[11:42] <paolo> File "<string>", line 1, in <module>
[11:42] <paolo> ImportError: No module named Builder
[11:43] <paolo> I wonder why it happens... any opinion?
[12:03] <paolo> Does my friend need to have the jython registry file somewhere to run the jar?
[12:13] <agronholm> paolo: I can't know where "Builder" is and how it's supposed to be imported
[12:21] <paolo> here it is: http://paste.ubuntu.com/5652092/
[12:22] <paolo> but the fact is that it works on my linux box
[12:22] <agronholm> with the exact same classpath?
[12:22] <agronholm> why are some $py.class files included?
[12:23] <agronholm> or is this not exactly how the jar is made?
[12:23] <agronholm> I'd like to know the contents of the jar file, not your local directory
[12:23] <paolo> 1. I'll check, 2. don't know
[12:23] <paolo> ok, just a minute
[12:27] <paolo> the content of the jar looks very similar to the directory tree shown above
[12:27] <paolo> http://paste.ubuntu.com/5652092/
[12:27] <paolo> sorry, this one: http://paste.ubuntu.com/5652105/
[12:28] <agronholm> I still question the practice of packaging both $py.class and .py
[12:29] <agronholm> paolo: does your friend have the same version of jython installed?
[12:29] <paolo> yes, the same stanalone jar 2.7b1
[12:30] <paolo> I don't think it's a problem of class path, because the jar is installed in the /WebContent/WEB-INF/lib dir of a web app in Eclipse
[12:30] <paolo> and Eclipse recognized the jar and should have changed the classpath accordingly
[12:31] <agronholm> have you tried packaging without the $py.class files?
[12:31] <agronholm> ImportError indicates that a class/module was not found
[12:31] <paolo> nope, I'll try that now
[12:32] <paolo> but for example, if I remove Builder$py.class there will be no binary class for the Builder
[12:33] <agronholm> why is that a problem?
[12:33] <agronholm> you still have the .py file
[12:33] <paolo> it will remain only Builder.py, which is not compiled
[12:33] <agronholm> so?
[12:33] <paolo> please explain, I feel I miss some piece...
[12:33] <agronholm> explain what?
[12:33] <paolo> is it enough to have the source file in the jar?
[12:34] <agronholm> should be
[12:34] <paolo> ok
[12:34] <agronholm> for Python that is
[12:35] <paolo> for java I still need .class right?
[12:36] <agronholm> yes
[14:31] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) Quit (Ping timeout: 256 seconds)
[14:45] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) has joined #jython
[14:46] * purplefox (~purplefox@65.88.2.2) Quit (Ping timeout: 248 seconds)
[14:59] * Juneau001 (~Juneau@131.225.24.178) Quit (Quit: Juneau001)
[15:40] * Juneau001 (~Juneau@50-45-114-109.dklb.il.frontiernet.net) has joined #jython
[15:44] * purplefox (~purplefox@65.88.2.3) has joined #jython
[16:06] * purplefox (~purplefox@65.88.2.3) Quit (Ping timeout: 240 seconds)
[16:09] * msavy (~msavy@redhat/jboss/msavy) Quit (Read error: Connection reset by peer)
[16:10] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[16:38] * purplefox (~purplefox@65.88.2.3) has joined #jython
[16:43] * purplefox (~purplefox@65.88.2.3) Quit (Ping timeout: 272 seconds)
[16:53] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) Quit (Quit: Sto andando via)
[18:34] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[18:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[19:22] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[19:25] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 246 seconds)
[19:38] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[19:56] * r0bby_ is now known as robbyoconnor
[19:59] * purplefox (~purplefox@65.88.2.2) has joined #jython
[21:06] * lopex (uid4272@gateway/web/irccloud.com/x-qkxymfmturavpndp) Quit (Remote host closed the connection)
[21:06] * jabley (uid2487@gateway/web/irccloud.com/x-lmtdbhgefkpwafzh) Quit (Remote host closed the connection)
[21:29] * jabley (uid2487@gateway/web/irccloud.com/x-hfztzplgbdugrssx) has joined #jython
[21:33] * lopex (uid4272@gateway/web/irccloud.com/x-nskrgvhctbhbapth) has joined #jython
[22:40] * wmeissner (~wmeissner@210.87.17.202) has joined #jython
[23:31] * Juneau001 (~Juneau@50-45-114-109.dklb.il.frontiernet.net) Quit (Quit: Juneau001)

Index

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