#jython IRC Log (v0.9)

Index

IRC Log for 2013-07-13

Timestamps are in GMT/BST.

[0:10] <bgrz> ok, now with jython built from source I have different error
[0:11] <bgrz> it finds the package this time, but throws socket.error: [Error 32] Socket closed
[0:14] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[0:15] <jimbaker> bgrz, yeah, well known
[0:16] <bgrz> has workaround? :)
[0:16] <jimbaker> i'm slowly getting myself motivated to wade through the pip code
[0:16] <jimbaker> since lazy web isn't workoing ;)
[0:16] <jimbaker> bgrz, the workaround is i will make it work, since i have to
[0:17] <jimbaker> (for my own project)
[0:17] <bgrz> I don't think it's pip problem, I don't even have pip
[0:17] <jimbaker> bgrz, in a nutshell, it's some sort of http to https redirection, then cannot open the https
[0:17] <jimbaker> or something like that
[0:17] <jimbaker> that's the fundamental change that occurred as far as i can tell
[0:19] <bgrz> by pip you mean command line utility for installing packages?
[0:19] <jimbaker> bgrz, correct
[0:19] <bgrz> ok.. just making sure, it's all pypi, pypy :)
[0:20] <jimbaker> :)
[0:25] <bgrz> before I go
[0:25] <bgrz> I suggest looking into what happens behind error when doing jython ez_setup.py
[0:26] <bgrz> that http request gives 301 moved permanently, that's that redirection you said
[0:26] <bgrz> seems like some of these lib py files mentioned in stack trace doesn't handle it well
[0:26] <jimbaker> bgrz, right, i know of that error
[0:34] <jimbaker> bgrz, looks we need to fix this skipped test in test_urllib2 - test_file (test.test_urllib2.HandlerTests) ... skipped 'FIXME: Currently not working on jython'
[0:34] <jimbaker> fwiw, pip seems to be able to handle in one place, but then fails elsewhere - at least some place to start that might hit a bunch of these issues
[0:39] <bgrz> I think I'll just hardcode "https" somewhere until then :D
[0:42] * lheuer (~Adium@blfd-5d821cb2.pool.mediaWays.net) Quit (Quit: Leaving.)
[0:45] <jimbaker> bgrz, sounds like the right option. anyway, i'm assuming the actual fix is to be done in httplib
[1:01] <bgrz> ok, getting more meaningful error now with setuptools-0.8 - File "/site-packages/setuptools-0.8-py2.7.egg/setuptools/ssl_support.py", line 190, in connect
[1:01] <bgrz> AttributeError: 'module' object has no attribute 'CERT_REQUIRED'
[1:07] <bgrz> seems like Lib/socket.py is the place to look
[1:07] <bgrz> enough digging, gotta sleep, bye
[1:48] * bgrz (~x@93-87-112-9.dynamic.isp.telekom.rs) Quit (Ping timeout: 276 seconds)
[2:20] <jimbaker> using -Djavax.net.debug=all to debug ssl is potentially informative - certainly there's stuff in there :)
[4:23] <jimbaker> may have been disconnected, so repeating this:
[4:23] <jimbaker> fixing client-side ssl seems to be the only option for pip support; digging into this now!
[4:23] <jimbaker> in general, i think we can spend some time improving our socket impl - there seems to be potential for resource leaks for example, eg code like this: _active_sockets = set(), but it's my first time really looking at this code
[4:25] <jimbaker> closing the socket should remove of course but this list, but otherwise it could grow; i will have to review against cpython's impl to see if they have the same issue
[4:25] <jimbaker> from this set
[4:27] <jimbaker> indeed, raised here: http://python.6.x6.nabble.com/How-can-I-shut-down-Jython-cleanly-td4661048.html
[4:44] <jimbaker> more stuff to fix: https://code.google.com/p/guava-libraries/wiki/MapMakerMigration
[4:45] <jimbaker> this impacts defaultdict, which cleverly :) uses MapMaker for the very reasons this support was deprecated (makes sense for a statically typed language, less so for python imho)
[4:52] <jimbaker> ah, never mind: i think i can work around that
[4:52] <jimbaker> since PyDefaultDict simply implements ConcurrentMap - we can keep the autovification as desired
[5:12] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) Quit (Remote host closed the connection)
[5:19] * lheuer (~Adium@blfd-5d8238d4.pool.mediaWays.net) has joined #jython
[7:22] * thereisnospoon (~thereisno@58.171.192.150) has joined #jython
[7:29] * thereisnospoon (~thereisno@58.171.192.150) Quit (Ping timeout: 240 seconds)
[7:45] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[7:47] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[8:16] * srcerer_ (~chatzilla@dns2.klsairexpress.com) has joined #jython
[8:19] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 264 seconds)
[8:26] * paolo (~Paolo@81-174-15-73.v4.ngi.it) has joined #jython
[9:12] * purplefox_ (~purplefox@88-105-146-167.dynamic.dsl.as9105.com) Quit (Ping timeout: 264 seconds)
[9:24] * purplefox_ (~purplefox@88-105-146-167.dynamic.dsl.as9105.com) has joined #jython
[9:53] * purplefox_ (~purplefox@88-105-146-167.dynamic.dsl.as9105.com) Quit (Ping timeout: 245 seconds)
[10:23] * bgrz (~x@93-87-112-9.dynamic.isp.telekom.rs) has joined #jython
[10:30] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 240 seconds)
[10:48] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[11:09] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 276 seconds)
[11:14] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[11:15] * lheuer (~Adium@blfd-5d8238d4.pool.mediaWays.net) Quit (Quit: Leaving.)
[11:19] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 240 seconds)
[11:37] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[11:48] * lheuer (~Adium@blfd-5d8238d4.pool.mediaWays.net) has joined #jython
[13:11] <bgrz> I just bumped into this bug with jython I built from source yesterday
[13:11] <bgrz> http://bugs.python.org/issue15212
[13:12] <bgrz> when invoking py.test-jython
[13:12] <bgrz> works fine with released version 2.7b1 btw
[13:14] <bgrz> seems like typo was fixed and then reverted, I just renamed it in pycodegen.py and it works
[13:39] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 260 seconds)
[13:50] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[14:37] * lheuer (~Adium@blfd-5d8238d4.pool.mediaWays.net) Quit (Quit: Leaving.)
[15:34] * lheuer (~Adium@blfd-5d8238d4.pool.mediaWays.net) has joined #jython
[17:41] * purplefox_ (~purplefox@88-105-145-142.dynamic.dsl.as9105.com) has joined #jython
[17:58] * paolo (~Paolo@81-174-15-73.v4.ngi.it) Quit (Quit: Leaving)
[18:07] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[18:34] * purplefox_ (~purplefox@88-105-145-142.dynamic.dsl.as9105.com) Quit (Ping timeout: 246 seconds)
[19:37] * purplefox_ (~purplefox@88-105-145-142.dynamic.dsl.as9105.com) has joined #jython

Index

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