#jython IRC Log (v0.9)

Index

IRC Log for 2013-07-08

Timestamps are in GMT/BST.

[2:22] * thereisnospoon (~thereisno@110.140.182.121) has joined #jython
[3:12] * thereisnospoon (~thereisno@110.140.182.121) Quit (Remote host closed the connection)
[3:32] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) Quit (Ping timeout: 264 seconds)
[3:46] * purplefox_ (~purplefox@80-42-95-114.dynamic.dsl.as9105.com) has joined #jython
[5:39] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) has joined #jython
[6:11] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[6:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 248 seconds)
[6:17] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: Ex??re)
[6:26] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[6:30] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[6:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[6:39] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 246 seconds)
[7:17] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[8:01] * seletz (~seletz@HSI-KBW-078-042-237-159.hsi3.kabel-badenwuerttemberg.de) has joined #jython
[8:02] * seletz (~seletz@HSI-KBW-078-042-237-159.hsi3.kabel-badenwuerttemberg.de) Quit (Client Quit)
[8:02] * seletz (~seletz@HSI-KBW-078-042-237-159.hsi3.kabel-badenwuerttemberg.de) has joined #jython
[8:22] * Thev00d00 (~v00d00@pegasus.v00d00.net) has joined #jython
[8:22] * Thev00d00 (~v00d00@pegasus.v00d00.net) Quit (Changing host)
[8:22] * Thev00d00 (~v00d00@gentoo/developer/TheV00d00) has joined #jython
[9:20] * qba73 (~Jakub@193.120.208.221) has joined #jython
[16:09] * lopex (uid4272@gateway/web/irccloud.com/x-bxbzssdzalgkruzi) Quit (Ping timeout: 264 seconds)
[16:34] * qba73 (~Jakub@193.120.208.221) Quit (Quit: Leaving)
[17:07] <jimbaker> tjb1982, the problem with pip is well known. i plan to work on it. however there's a workaround: http://markmail.org/message/67kmy7kcfc5dibps#query:+page:1+mid:zrfv3mrzaa2gsjo5+state:results
[17:08] <jimbaker> (the other workaround is easy_install fwiw)
[18:06] * lopex (uid4272@gateway/web/irccloud.com/x-oznmyymqjooylicm) has joined #jython
[18:23] * jyc (~jyc@173.245.6.163) Quit (Quit: ZNC - http://znc.in)
[18:23] * jyc (~jyc@173.245.6.163) has joined #jython
[18:58] * seletz (~seletz@HSI-KBW-078-042-237-159.hsi3.kabel-badenwuerttemberg.de) Quit (Quit: seletz)
[19:18] * lheuer (~Adium@blfd-4d086fdd.pool.mediaWays.net) has joined #jython
[20:03] <tjb1982> jimbaker: my problem is that I can't use easy_install to install anything, pip included
[20:08] * tjb1982 (~quassel@c-98-204-53-98.hsd1.dc.comcast.net) Quit (Read error: Operation timed out)
[20:20] * tjb1982 (~quassel@c-98-204-53-98.hsd1.dc.comcast.net) has joined #jython
[21:11] <jimbaker> tjb1982, hmmm, i have no problem using easy_install w/ latest trunk
[21:15] <tjb1982> jimbaker: I'm not sure how to find the 2.7 latest. We were just using the download page to get it with the installer. When I did that and fired up the repl, imported ssl and it doesn't have 'CERT_REQUIRED'
[21:16] <tjb1982> which is just equal to 2, so I tried that, but the whole thing is just different, so it crashed somewhere else
[21:16] <tjb1982> how do I get the latest trunk for 2.7?
[21:19] <jimbaker> tjb1982, you can build it from here: https://bitbucket.org/jython/jython
[21:19] <jimbaker> you will need standard java tools, including ant
[21:20] <jimbaker> ant all-jars will build the complete set of jars, including installer/standalone
[21:20] <tjb1982> that's great. Thank you. I was looking for a link to that on the download page
[21:26] <jimbaker> tjb1982, that really should be in that readme at this point, agreed
[21:26] <jimbaker> tjb1982, i will make that so :)
[21:28] <tjb1982> weird how it doesn't show up on google either, page 2 with just "jython", not at all with "jython 2.7"
[21:29] <tjb1982> thanks again
[21:31] <jimbaker> tjb1982, thanks for stopping by! keep us posted if you have any more issues
[21:36] <tjb1982> jimbaker: np, the build failed, though, saying NoSuchMethodError in org.objectweb.asm.ClassWriter.<init>
[21:38] <jimbaker> tjb1982, interesting. what does java -version report?
[21:40] <tjb1982> java version 1.7.0_21; openJDK Iced Tea 2.3.9 on Arch Linux
[21:40] <tjb1982> jimbaker: ^
[21:42] <jimbaker> tjb1982, got it. talking with shashank off chanel who has a branch open for this kind of issue
[21:50] <jimbaker> tjb1982, shashank has a potential fix for the asm issue. but he hasn't pushed it up to a publicly accessible branch - bits are on his home laptop right now. in the next few hours he can push it up and will be online here to discuss
[21:50] <tjb1982> jimbaker: excellent
[21:50] <tjb1982> thanks a ton
[21:50] <jimbaker> tjb1982, np
[21:52] * shashank1 (~sbharadwa@208.91.2.2) has joined #jython
[21:58] <jimbaker> shashank1, tjb1982 - just wanted to intro you guys
[21:58] <shashank1> tjb1982: hi there!
[21:58] <jimbaker> shashank1 has been working on reworking our usage of asm
[21:58] <tjb1982> hey! Thanks for your help
[22:00] <shashank1> tjb1982: no problem.. so jimbaker was telling me you were had a problem with applying my changes and building Jython
[22:01] <tjb1982> shashank1: I just a moment ago downloaded the latest trunk and tried to `ant all-jars` and I got a NoSuchMethodError in org.objectweb.asm.ClassWriter.<init>
[22:02] <shashank1> tjb1982: where did you get the source from? I could try reproducing the problem on my end
[22:02] <jimbaker> shashank1, tjb1982 started with trunk jython
[22:02] <jimbaker> that caused the above issue
[22:02] <shashank1> ah I see
[22:02] <jimbaker> he hasn't yet looked at your asm branch
[22:02] <tjb1982> brb
[22:05] <shashank1> tjb1982: you could try just 'ant' or 'ant developer-builds' to get a little more details on the errors I think
[22:06] <shashank1> jimbaker: ah ok, I was a little confused there, sorry
[22:11] <shashank1> I just tried to do build trunk from ant, and I found it to be working fine ??? ??? java -version
[22:11] <shashank1> java version "1.7.0_21"
[22:11] <shashank1> OpenJDK Runtime Environment (IcedTea 2.3.9)
[22:12] <jimbaker> shashank1, yeah, that's my result too, but for os x 10.8.3/sun jdk 1.7.0_21-b12
[22:12] <jimbaker> we of course bundle asm here
[22:14] <shashank1> right, so I don't know where the problem could be
[22:14] * lheuer (~Adium@blfd-4d086fdd.pool.mediaWays.net) Quit (Quit: Leaving.)
[22:15] * shashank1 (~sbharadwa@208.91.2.2) Quit (Quit: Leaving.)
[22:15] * shashank1 (~shashank@208.91.2.2) has joined #jython
[22:17] <tjb1982> shashank1: jimbaker, back
[22:18] <tjb1982> developer-builds does not exist in project "jython"
[22:18] <shashank1> tjb1982: so I tried the latest source from https://bitbucket.org/jython/jython
[22:18] <tjb1982> I must not have the latest
[22:18] <shashank1> tjb1982: I'm sorry it should have been 'ant developer-build'
[22:18] <tjb1982> ah
[22:19] <tjb1982> same result
[22:19] <tjb1982> I mean, it found it, but still the Method not found
[22:20] <shashank1> interesting.. and you have the same version of Java as me right?
[22:21] <shashank1> also do you have any env settings that would point JAVA_HOME to somewhere else?
[22:22] <tjb1982> I did. But I just upgraded to Iced Tea 2.4.1
[22:22] <tjb1982> re: JAVA_HOME, don't think so
[22:22] <tjb1982> nope
[22:23] <tjb1982> I just installed mercurial so I could clone it instead of clicking download
[22:23] * lheuer (~Adium@blfd-4d086fdd.pool.mediaWays.net) has joined #jython
[22:24] <shashank1> funny, I can't think of any reason why it'd not build.. could you do 'ant dump-env'
[22:24] <tjb1982> sure
[22:25] <tjb1982> how should I deliver this to you?
[22:25] <shashank1> ensure that " jython.use.invokedynamic = '${jython.use.invokedynamic}' " and "build.compiler = 'modern'"
[22:25] <shashank1> or you could just pastbin it
[22:27] <tjb1982> that is what it says, but http://pastebin.com/ySQ4edxE
[22:28] <tjb1982> it's saying target/source jdk version = 6?
[22:29] <shashank1> that sounds right
[22:29] <tjb1982> I'm going to pastebin the error output, too
[22:30] <shashank1> thanks, meanwhile can could do a clean and then a build again? 'ant clean && ant'
[22:30] <shashank1> cause I'm lost as to what the error could be
[22:30] <tjb1982> sure.
[22:31] <tjb1982> http://pastebin.com/BdmN9YjT
[22:31] <tjb1982> look under the dump-env
[22:32] <tjb1982> oops
[22:32] <tjb1982> forgot to sudo, let me try again
[22:33] <shashank1> ah different error.. that's progress :) btw why do you need special permissions to create a file in your workspace?
[22:34] <shashank1> brb
[22:34] <tjb1982> http://pastebin.com/HZjEQzT1
[22:35] <tjb1982> shashank1: that is a very good question
[22:35] <tjb1982> I'm not sure. I'm clearly the owner
[22:37] <tjb1982> but for some reason root was the owner of the build directory
[22:38] <tjb1982> and the dist
[22:39] <tjb1982> okay, reinstalled and ownership issues seem to be resolved
[22:41] <tjb1982> and another http://pastebin.com/DrLWXkkq
[22:45] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[22:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 260 seconds)
[22:57] <shashank1> tjb1982: at the very least, we know that the compile completed successfully, the problem seems to be during 'expose'
[22:58] <shashank1> the only piece of software that is required here is again ant
[22:59] <shashank1> I don't know of anything special in ant 1.8 but fwiw I'm using ant 1.8.2
[23:01] <tjb1982> I'm on 1.9.1
[23:13] * r0bby is now known as robbyoconnor
[23:14] <tjb1982> shashank1: that did it
[23:14] <shashank1> really? just building on ant 1.8?
[23:14] <tjb1982> I didn't try anything in between, I went straight to 1.8.2
[23:14] <tjb1982> yes
[23:14] <tjb1982> strange
[23:14] <shashank1> we should put this up in our Readme
[23:14] <shashank1> or see what goes wrong with 1.9
[23:15] <tjb1982> how do we find what is going wrong with 1.9?
[23:16] <shashank1> I'm not too sure.. from looking at http://ant.apache.org/antnews.html I can't figure out what changed in Ant to be causing this
[23:24] <shashank1> at this point I'd suggest you file a bug so that we remember
[23:25] <shashank1> I'll try to take a look at it later
[23:25] <tjb1982> okay. Thanks again for your help
[23:28] <tjb1982> shashank1: jimbaker: oh wow, the whole reason I did this was to use setuptools easy_install, and I'm getting the same error ssl.CERT_REQUIRED not found
[23:29] <tjb1982> setuptools version 1.8
[23:30] <jimbaker> tjb1982, hmmm??? easy_install has been working for me; and did you try that flag for turning off cert checking in pip?
[23:30] <tjb1982> not sure what you mean
[23:30] <jimbaker> (the ironic thing: jython actually does the cert checking because of the underlying java platform)
[23:31] <jimbaker> (so it's just a false problem, but one we still have to fix in pip)
[23:32] <tjb1982> no doubt. What flag is it that turns off the cert checking in pip? Also, I'm confused about the relationship of pip and easy_install
[23:32] <tjb1982> jimbaker: ^
[23:33] <jimbaker> tjb1982, i don't know this exactly, but i believe pip reimplements the easy_install protocol in terms of how it uses setuptools
[23:34] <jimbaker> tjb1982, here's the relevant link: http://markmail.org/message/67kmy7kcfc5dibps#query:+page:1+mid:zrfv3mrzaa2gsjo5+state:results
[23:34] <jimbaker> in terms of the pip flag
[23:34] <tjb1982> Oh, I don't even have pip installed. I'm just trying to use easy_install and coming up with the error there
[23:35] <tjb1982> jimbaker: ^
[23:35] <jimbaker> tjb1982, yeah, that is interesting. was there a recent update to easy_install? looking???.
[23:36] <jimbaker> supposedly as of 0.7
[23:37] <tjb1982> jimbaker: I'm using setuptools 0.8, should I try an earlier version?
[23:38] <jimbaker> tjb1982, not certain??? looks like i have blown away easy_install??? problem w/ also doing dev there :)
[23:38] <jimbaker> will reconfirm this path on my side however
[23:38] <jimbaker> :)
[23:38] <tjb1982> :)
[23:44] <tjb1982> tried 0.6c11. "error: socket closed"
[23:47] <jimbaker> tjb1982, i wonder if there's been infrastructure change??? i'm getting the same thing by going against the old directions; http://www.jython.org/jythonbook/en/1.0/appendixA.html
[23:48] <jimbaker> there's a reason for the cert changes??? understandable concerns about exploits using man-in-the-middle attacks
[23:48] <jimbaker> let me take a look at pip again...
[23:48] <tjb1982> well, let me ask you this:
[23:50] <tjb1982> I have a django project I'm doing for a client I wanted to port over to Jython, because we'd like to eventually port everything over to JVM so we can use Jython, Clojure, Scala, et al. interop
[23:50] <tjb1982> Should we just wait on this?
[23:51] <jimbaker> tjb1982, i personally have started to rework on jython because we are using at rackspace for a trial project
[23:51] <jimbaker> in particular, i've fixed interop with clojure in trunk
[23:51] <jimbaker> (there was a complex diamond inheritance edge case)
[23:53] <jimbaker> so it depends on how comfortable with beta you are??? i cannot guarantee a specific final date for 2.7??? but i can guarantee that i can work with you to solve problems, since that's the best way to get this to the desired state of completion
[23:54] <jimbaker> there are a number of us using django w/ jython, including frank wierzbicki; my project is using it with storm fwiw
[23:54] <jimbaker> tjb1982, ^
[23:55] <tjb1982> jimbaker: I think it should be fine as long as I can get over this setuptools hurdle. And you all seem to be working with it fine, so I just need to find the right combination, I think
[23:56] <jimbaker> tjb1982, sounds good. i need the exact same stuff working too :)
[23:56] <tjb1982> I'm happy to help as much as I can
[23:56] <tjb1982> I think you'll find that's not too much. Just reporting bugs
[23:57] <jimbaker> tjb1982, that's still awesome

Index

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