#jython IRC Log

Index

IRC Log for 2015-01-22

Timestamps are in GMT/BST.

[0:17] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:14] * xemdetia (xemdetia@nat/ibm/x-akhzgxrrjlobpjtn) Quit (Ping timeout: 272 seconds)
[1:23] <Arfrever> jimbaker: ping
[1:38] <jimbaker> Arfrever, hi
[1:42] <Arfrever> jimbaker: Does this command work for you?: jython2.7 -c 'import datetime; print(datetime.datetime.strptime("2015-01-22", "%Y-%m-%d"))'
[1:43] <agronholm> does for me
[1:44] <Arfrever> Apparently failure is locale-dependant. It works with C locale.
[1:45] <agronholm> works with my (non-C) locale
[1:46] <Arfrever> agronholm: Swedish?
[1:46] <agronholm> Finnish
[1:48] <Arfrever> So I was testing other locales. Apparently there is another failure with Turkish locale :) .
[1:49] <agronholm> how does it fail for you?
[1:49] <Arfrever> Try LC_ALL="tr_TR.UTF-8" jython2.7 -c 'pass'
[1:51] <Arfrever> It might be necessary to firstly add 'tr_TR.UTF-8 UTF-8' line to /etc/locale.gen and run locale-gen
[1:52] <agronholm> I'm too tired right now...maybe I'll try later
[1:53] <Arfrever> agronholm: What locales do you have installed?
[1:54] <agronholm> fi, en
[1:55] <Arfrever> Does Jython trunk fail to build now?
[1:59] * [Arfreve1] (~Arfrever@minotaur.apache.org) has joined #jython
[2:06] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 264 seconds)
[2:11] <Arfrever> I filed http://bugs.jython.org/issue2260 and http://bugs.jython.org/issue2261
[2:37] * [Arfreve1] (~Arfrever@minotaur.apache.org) Quit (Quit: leaving)
[2:42] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[3:10] * fwierzbicki1 (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (*.net *.split)
[3:13] * fwierzbicki1 (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[3:22] * xemdetia (~xemdetia@pool-96-230-53-223.bstnma.fios.verizon.net) has joined #jython
[3:23] * fwierzbicki1 (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 264 seconds)
[3:23] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[3:37] * xemdetia (~xemdetia@pool-96-230-53-223.bstnma.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[3:41] * xemdetia (~xemdetia@pool-96-230-53-223.bstnma.fios.verizon.net) has joined #jython
[4:25] <jimbaker> Arfrever, i will take a look, thanks!
[4:42] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) has joined #jython
[5:24] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) Quit (Remote host closed the connection)
[5:42] * xemdetia (~xemdetia@pool-96-230-53-223.bstnma.fios.verizon.net) Quit (Read error: Connection reset by peer)
[8:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[8:28] * agronholm (~agronholm@2001:1bc8:102:6f29:51be:60a4:839b:4c0f) Quit (Ping timeout: 265 seconds)
[8:32] * agronholm (~agronholm@nblzone-211-20.nblnetworks.fi) has joined #jython
[8:32] * ChanServ sets mode +o agronholm
[8:51] * chrisseaton (sid38584@gateway/web/irccloud.com/x-yxfipufjipbrrkjg) Quit (Ping timeout: 276 seconds)
[9:03] * chrisseaton (sid38584@gateway/web/irccloud.com/x-zbkenlpernqnjeum) has joined #jython
[9:19] * deepy (deepy@wrongplanet/deepa) Quit (Quit: ZNC - http://znc.in)
[9:25] * deepa (deepy@acehack.de) has joined #jython
[9:26] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 244 seconds)
[9:31] * deepa (deepy@acehack.de) Quit (Changing host)
[9:31] * deepa (deepy@wrongplanet/deepa) has joined #jython
[9:50] * mbooth (~mbooth@42.148.189.80.dyn.plus.net) has joined #jython
[9:50] * mbooth (~mbooth@42.148.189.80.dyn.plus.net) Quit (Changing host)
[9:50] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[9:53] * ebarrett (~edd@88-106-247-216.dynamic.dsl.as9105.com) Quit (Quit: bbl)
[9:53] * ebarrett (~edd@88-106-247-216.dynamic.dsl.as9105.com) has joined #jython
[10:21] * deepa is now known as deepy
[11:15] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) has joined #jython
[12:03] * verterok (~ggonzalez@162.213.35.11) Quit (Ping timeout: 256 seconds)
[12:06] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[12:31] * mbooth_ (~mbooth@redhat/mbooth) has joined #jython
[12:35] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 244 seconds)
[12:35] * deepy (deepy@wrongplanet/deepa) Quit (Write error: Connection reset by peer)
[12:43] * deepy (deepy@acehack.de) has joined #jython
[12:44] * deepy (deepy@acehack.de) Quit (Quit: ZNC - http://znc.in)
[12:47] * deepa (deepy@acehack.de) has joined #jython
[14:08] * mbooth_ is now known as mbooth
[14:21] * lheuer1 (~Adium@f049148001.adsl.alicedsl.de) has joined #jython
[14:26] * xemdetia (xemdetia@nat/ibm/x-oefhmlyykegwuwgf) has joined #jython
[14:27] * lheuer1 (~Adium@f049148001.adsl.alicedsl.de) Quit (Quit: Leaving.)
[14:30] * lheuer1 (~Adium@f049148001.adsl.alicedsl.de) has joined #jython
[14:31] * lheuer1 (~Adium@f049148001.adsl.alicedsl.de) Quit (Client Quit)
[14:41] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:46] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) has joined #jython
[15:13] <jimbaker> Arfrever, i have installed some of the languages and corresponding locales on my ubuntu 14.10 desktop, including turkish (which is perhaps not surprisingly, is very easy)
[15:14] <jimbaker> i can reproduce your bug and i will take a look at resolving it
[15:14] <jimbaker> fwierzbicki, another blocker before we do another round of the beta 4
[16:01] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 246 seconds)
[16:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[17:32] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 264 seconds)
[17:41] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[19:19] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 245 seconds)
[19:19] <jimbaker> Arfrever, so i found out the issue with http://bugs.jython.org/issue2260, apparently the turkish locale uses U+0131 for "i" and this is causing problems in loading the posix module
[19:21] <jimbaker> not certain why this doesn't impact other builtin modules also with an embedded letter i, such as zipimport...
[19:21] <jimbaker> so posix is loaded as pos\u0131x
[19:21] <jimbaker> the rest are fine
[19:23] <jimbaker> ahh, i see the posix module name is computed, the rest are not. i'll dig in more
[19:24] <jimbaker> http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#toLowerCase()
[19:26] <jimbaker> looks like we need to do toLowerCase(Locale.ENGLISH) in org.python.modules.posix.OS, otherwise "i" gets converted to u+0131
[19:33] <chrisseaton> jimbaker: you should always use an explicit Locale there - otherwise it's a source of bewildering bugs on other people's machines that you can't reproduce locally!
[19:33] <jimbaker> chrisseaton, indeed!
[19:36] <jimbaker> i'm just surprised this hasn't been raised before, that's all - this is in code that hasn't changed since 2.5, which is in wide use. but in this particular case, it only impacts turkish
[19:36] <chrisseaton> we recently started using find bugs and it was one of the things it pointed out
[19:37] <jimbaker> chrisseaton, ahh, good idea. i think we used it before. we should revisit
[19:37] <jimbaker> a good thing to integrate into our ant build
[19:38] <jimbaker> there's also some good tooling now for memory leak detection, especially around classloaders
[19:38] <jimbaker> it was mentioned in a bug report we had, but i don't recall the name
[20:09] * wstamp_ (47b73702@gateway/web/freenode/ip.71.183.55.2) has joined #jython
[20:10] <wstamp_> running Pylint on Jython 2.7b3 standalone produces too many `Unable to import <module>` errors even though these modules can be imported in the Jython standalone shell
[20:11] <wstamp_> Jython 2.7b3, Java 1.8.0_25, Pylint 1.4.1
[20:14] <wstamp_> Jython is the standalone version running on Windows 7, and the installed Pylint is in a directory Lib/site-packages which is in the same directory as the jython-standalone.jar file
[20:15] <wstamp_> Python 2.7.8 doesn't exhibit this behavior
[20:15] <wstamp_> Python is 2.7.8 from Anaconda 2.1.0 distribution
[20:22] <jimbaker> wstamp_, how are you invoking? i really haven't looked at pylint for a while, but it would be certainly nice to support
[20:23] <Arfrever> jimbaker: Apparently there is also http://bugs.jython.org/issue1874
[20:24] <jimbaker> Arfrever, ahh, thanks for catching that. with a patch!
[20:25] <wstamp_> jimbaker: running this command:
[20:25] <jimbaker> there really is too much stuff here. i think we made some progress on the open bug count in the last few betas, but still there are 275 open bugs
[20:25] <wstamp_> java -jar jython-standalone-2.7-b3.jar -Dpython.path=%PYTHONPATH% -m pylint <pylint-dir>
[20:26] <wstamp_> where PYTHONPATH contains the topmost directory (where the jar and Lib dir are located), Lib, and Lib/site-packages
[20:27] <jimbaker> wstamp_, i see. does it work if you tried using the regular jython install?
[20:28] <wstamp_> I'll give it a try
[20:29] <Arfrever> jimbaker: So maybe my bug should be closed as duplicate.
[20:29] <jimbaker> Arfrever, yeah
[20:35] <wstamp_> jimbaker: Jython installed works properly
[20:36] <wstamp_> as in, Pylint doesn't display error messages saying that the modules cannot be imported (F0401 in Pylint)
[20:36] <jimbaker> wstamp_, no surprises there then. standalone has issues that keep coming up
[20:43] <jimbaker> wstamp_, please file a bug, but i don't know if we can readily fix. there's a related bug here: http://bugs.jython.org/issue2143
[20:43] <jimbaker> that's probably the right approach for most users of standalone support
[20:50] <wstamp_> jimbaker: okay, will do
[20:50] <wstamp_> jimbaker: specifically for pylint compatibility or a more general bug than that?
[21:20] <jimbaker> wstamp_, we can always widen the bug
[21:20] <jimbaker> so just report the pylint issue for now
[21:20] <wstamp_> okay
[21:26] * DavidPS (~dps@cpc73107-shef13-2-0-cust180.17-1.cable.virginm.net) Quit (Ping timeout: 256 seconds)
[21:31] * DavidPS (~dps@cpc73107-shef13-2-0-cust180.17-1.cable.virginm.net) has joined #jython
[21:32] <Arfrever> jimbaker: Does Jython trunk build for you?
[21:38] <Arfrever> jimbaker: http://dpaste.com/3KTYYWZ
[21:58] * wstamp_ (47b73702@gateway/web/freenode/ip.71.183.55.2) Quit (Quit: Page closed)
[22:11] <jimbaker> Arfrever, are you building on java 8? this occasionally just randomly fails
[22:11] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[22:11] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[22:11] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[22:11] <jimbaker> but we have java 7 to build on, so we are not pushing this issue
[22:12] <jimbaker> however the java 8 problem seems to be confined to antlr
[22:12] <Arfrever> jimbaker: 1.7.0_71
[22:12] <jimbaker> in any event, on java 7, on my targets - windows 8.1, ubuntu 14.10, os x 10.10.1, i build jython pretty much every day from scratch, and i haven't seen this problem
[22:13] <jimbaker> (scratch = ant clean && ant regrtest)
[22:15] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) has joined #jython
[22:17] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[22:21] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) Quit (Quit: Leaving...)
[22:31] <agronholm> Arfrever: have you checked that the method it complains about actually exists there?
[22:31] <agronholm> which version of ant are you using?
[22:33] <Arfrever> 1.9.2
[22:33] <agronholm> 1.9.4 here, but shouldn't matter
[22:38] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 245 seconds)
[23:39] <jimbaker> i'm also running ant 1.9.4. 1.9.2 should be recent enough
[23:44] * xemdetia (xemdetia@nat/ibm/x-oefhmlyykegwuwgf) Quit (Ping timeout: 245 seconds)
[23:45] <agronholm> Arfrever: I can also confirm that jython's tip version builds fine here
[23:46] <agronholm> Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
[23:54] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)

Index

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