#jython IRC Log

Index

IRC Log for 2014-09-04

Timestamps are in GMT/BST.

[0:03] * lopex (uid4272@gateway/web/irccloud.com/x-ihrxdneinhtknuqv) Quit (Ping timeout: 272 seconds)
[0:04] * lopex (uid4272@gateway/web/irccloud.com/x-phencpysnzaqayfw) has joined #jython
[0:06] * fwierzbicki (~Adium@2600:1010:b02f:c499:98a2:b72a:5782:b9b) Quit (Quit: Leaving.)
[0:11] * ebarrett_ (~edd@88-105-196-60.dynamic.dsl.as9105.com) has joined #jython
[0:12] * Taylor (~Taylor@unaffiliated/taylor) Quit (Ping timeout: 255 seconds)
[0:12] * lazybear (~lazybear@radium.atom.fi) Quit (Ping timeout: 243 seconds)
[0:12] * ebarrett (~edd@88-105-196-60.dynamic.dsl.as9105.com) Quit (Ping timeout: 255 seconds)
[0:12] * lazybear (~lazybear@radium.atom.fi) has joined #jython
[0:14] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[0:39] * clajo04 (~clajo04@pool-96-232-190-28.nycmny.fios.verizon.net) Quit (Quit: clajo04)
[0:41] * clajo04 (~clajo04@pool-96-232-190-28.nycmny.fios.verizon.net) has joined #jython
[0:52] * lazybear (~lazybear@radium.atom.fi) Quit (Ping timeout: 255 seconds)
[1:43] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[1:47] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Client Quit)
[1:56] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[4:48] * lazybear (~lazybear@radium.atom.fi) has joined #jython
[5:25] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[6:10] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[6:13] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[6:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[7:19] * a42niem (~niem@p5B2C343A.dip0.t-ipconnect.de) has joined #jython
[8:14] * a42niem (~niem@p5B2C343A.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[8:22] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[8:23] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:28] * paolo (~paolo@unaffiliated/paolo) Quit (Read error: Connection reset by peer)
[8:28] * paolo_ (~paolo@unaffiliated/paolo) has joined #jython
[8:34] * paolo_ is now known as paolo
[8:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[8:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:41] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[8:42] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:43] * SylvainM (~SylvainM3@160.92.7.69) has joined #jython
[9:44] <SylvainM> i have a problem with jython jython-standalone-2.5.4-rc1.jar
[9:44] <SylvainM> in one server when i run os.mkdir("/folder") i get "OSError: [Errno 17] File exists:"
[9:45] <SylvainM> and in another i get "OSError: [Errno 20000] Unknown e"
[9:45] <SylvainM> the strace
[9:45] <SylvainM> 15494 stat("/DATA/cache/maven/repository/org/python/jython-standalone/2.5.4-rc1/<stdin>", 0x7f5195517fb0) = -1 ENOENT (No such file or directory)
[9:45] <SylvainM> 15494 write(2, "Traceback (most recent call last"..., 73) = 73
[9:45] <SylvainM> 15494 write(2, "OSError: [Errno 17] File exists:"..., 111) = 111
[9:46] <SylvainM> 32997 stat("/DATA/cache/maven/repository/org/python/jython-standalone/2.5.4-rc1/<stdin>", 0x7ff130d0efb0) = -1 ENOENT (No such file or directory)
[9:46] <SylvainM> 32997 write(2, "Traceback (most recent call last"..., 73) = 73
[9:46] <SylvainM> 32997 write(2, "OSError: [Errno 20000] Unknown e"..., 123) = 123
[9:58] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[9:58] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[10:53] <agronholm> SylvainM: I'm not convinced there will ever be a 2.5.4 final
[10:53] <agronholm> all the development happens in the 2.7 branch now
[10:53] <agronholm> (well, "default" in the repository, but anyway)
[11:21] * xemdetia (xemdetia@nat/ibm/x-koljywpwwwnwlaju) has joined #jython
[11:36] <xemdetia> g
[11:45] * SylvainM (~SylvainM3@160.92.7.69) Quit (Ping timeout: 272 seconds)
[11:51] * agronholm (~agronholm@2001:1bc8:102:6f29:468:49eb:462e:3556) Quit (Ping timeout: 260 seconds)
[11:51] * agronholm (~agronholm@2001:1bc8:102:6f29:891e:4ba3:ffc:87a3) has joined #jython
[11:51] * ChanServ sets mode +o agronholm
[12:14] * SylvainM (~SylvainM3@160.92.7.69) has joined #jython
[12:25] <SylvainM> agronholm i test with version 2.7.beta3 for looking if i have the same problem
[12:28] <SylvainM> same error with the version 2.7b3
[12:31] <SylvainM> the OS is centos (not the same kernel of the two) the filesystem is EXT3 for the two
[12:32] <agronholm> so what does cpython do on that system that says errno 20000
[12:32] <agronholm> I doubt there's such an errno in the tables
[12:47] <SylvainM> on the bad server when i run
[12:47] <SylvainM> python 2.6.6 import os os.mkdir("/tmp/test") i obtain "[Errno 17] File exists"
[12:48] <agronholm> so this is a centos box?
[12:48] <agronholm> which version?
[12:48] <SylvainM> CentOS release 6.4 (Final)
[12:49] <SylvainM> i have not the bug on another with the same centos version and same kernel
[12:49] <agronholm> thats' odd
[12:51] <SylvainM> i test with the same java version 1.7.0_65-b17
[12:51] <agronholm> you are testing now, or tested earlier?
[12:52] <SylvainM> i test in live
[12:52] <agronholm> is this present or past? you're using the inifinite form here so it's hard to tell
[12:52] <agronholm> present I suppose?
[12:53] <SylvainM> yes present
[12:53] <SylvainM> i am testing
[13:01] <SylvainM> the constant 17 exists os.strerror(17)
[13:01] <SylvainM> 'File exists'
[13:04] <agronholm> but the constant 20000 doesn't exist
[13:04] <agronholm> and that's what jython is getting from the OS
[13:18] <SylvainM> jython use a nested version of python ? how could i get the python versus used by jython ?
[13:18] <agronholm> huh?
[13:19] <agronholm> what nested version are you talking about
[13:19] <SylvainM> I say aberrations ?
[13:19] <agronholm> ...what?
[13:21] <agronholm> I'm not understanding you
[13:22] <SylvainM> i am wondering how jython interract with the system
[13:22] <agronholm> through the java virtual machine, using the java foundation classes
[13:25] <SylvainM> ok
[13:26] <SylvainM> python <=> os | jython <=> jni?? <=> os
[13:27] <xemdetia> SylvainM, jython just works on the jvm
[13:29] <SylvainM> jython transform the python source code to java source code and compile and run it on the jvm ?
[13:50] <xemdetia> SylvainM, no
[13:50] <xemdetia> the JVM provides an architecture like an x86 that you can 'compile to'
[13:51] <xemdetia> and then JVM does the work of converting it's jvm bytecode into something it can run via JIT compiliation
[13:51] <xemdetia> a java '.class' is bytecode that runs on the JVM, it's not compiled every time you start java
[13:52] <SylvainM> ok jython is like groovy ?
[13:53] <SylvainM> a dynamic language?
[13:54] <xemdetia> 'dynamic language' means something else
[13:54] <xemdetia> the real thing is 'JVM is a platform you can compile for'
[13:55] <xemdetia> 'and since that is possible you can have dynamic languages to run on the JVM'
[13:55] <xemdetia> so yes jython, groovy are all languages that target the JVM
[13:55] <xemdetia> just like java
[14:17] * whg (whg@nat/ibm/x-zrwnsvndgkozpbwz) Quit (*.net *.split)
[14:33] * zz_whg (whg@nat/ibm/session) has joined #jython
[14:33] * zz_whg is now known as whg
[14:33] * whg (whg@nat/ibm/session) Quit (Changing host)
[14:33] * whg (whg@nat/ibm/x-azsdurxohvrhxnvu) has joined #jython
[14:34] * whg (whg@nat/ibm/x-azsdurxohvrhxnvu) Quit (Changing host)
[14:34] * whg (whg@unaffiliated/whg) has joined #jython
[14:38] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[15:12] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) has joined #jython
[15:12] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) Quit (Changing host)
[15:12] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) has joined #jython
[15:34] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 252 seconds)
[15:34] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[15:34] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[15:34] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[15:45] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 255 seconds)
[15:52] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[15:52] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[15:52] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[15:57] <SylvainM> ok
[16:01] <SylvainM> i have run lot of tests in my servers
[16:02] <SylvainM> the problem with os.mkdir which return 20000
[16:02] <SylvainM> is not present on my VM servers and on 2 physic servers
[16:03] <SylvainM> but is present on 6 physic servers
[16:13] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 260 seconds)
[16:16] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[16:16] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[16:16] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[16:17] * SylvainM (~SylvainM3@160.92.7.69) Quit (Quit: Leaving)
[16:47] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 246 seconds)
[16:59] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[16:59] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[16:59] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[17:31] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[17:42] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[17:42] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[17:48] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[18:18] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[18:52] * Taylor (~Taylor@unaffiliated/taylor) Quit (Excess Flood)
[18:55] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 272 seconds)
[18:55] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[19:02] * Taylor (~Taylor@unaffiliated/taylor) Quit (Excess Flood)
[19:04] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[19:38] * syl20bnr (d8623829@gateway/web/freenode/ip.216.98.56.41) has joined #jython
[19:39] <syl20bnr> Hey guys
[19:40] <syl20bnr> I've been using Jython in a project for 2 years now
[19:41] <syl20bnr> I started with the 2.7 alpha. I update the dependencies when a new alpha or beta comes out
[19:42] <syl20bnr> with 2.7b3, in the exact same working with 2.7b2, I've got the error
[19:42] <syl20bnr> ImportError: No module named site at org.python.core.Py.ImportError(Py.java:300) at org.python.core.imp.import_first(imp.java:760) at org.python.core.imp.load(imp.java:633) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:126) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:104)
[19:42] <syl20bnr> ImportError: No module named site
[19:43] <syl20bnr> at org.python.core.Py.ImportError(Py.java:300)
[19:43] <syl20bnr> at org.python.core.imp.import_first(imp.java:760)
[19:43] <syl20bnr> at org.python.core.imp.load(imp.java:633)
[19:43] <syl20bnr> at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:126)
[19:43] <syl20bnr> at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:104)
[19:43] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 246 seconds)
[19:44] <syl20bnr> Do you have any clue why the module cannot be found in this version ?
[19:44] <syl20bnr> Here is the code I use to initialize the interpreter:
[19:45] <syl20bnr> Properties props = new Properties();
[19:45] <syl20bnr> PythonInterpreter.initialize(System.getProperties(),
[19:45] <syl20bnr> props, new String[] {""});
[19:45] <syl20bnr> this.interpreter = new PythonInterpreter(null, new PySystemState());
[20:41] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[20:45] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[20:51] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[21:18] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[21:19] * r0bby (~wakawaka@2600:1001:b108:51a4:2045:5542:6612:2ace) has joined #jython
[21:19] * r0bby (~wakawaka@2600:1001:b108:51a4:2045:5542:6612:2ace) Quit (Changing host)
[21:19] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[21:19] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Client Quit)
[21:55] * Taylor (~Taylor@unaffiliated/taylor) Quit (Excess Flood)
[21:57] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[22:00] * fwierzbicki (~Adium@2600:1010:b020:65c1:3cad:4119:2221:98b8) has joined #jython
[22:09] * fwierzbicki (~Adium@2600:1010:b020:65c1:3cad:4119:2221:98b8) Quit (Quit: Leaving.)
[22:17] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 245 seconds)
[22:21] * xemdetia (xemdetia@nat/ibm/x-koljywpwwwnwlaju) Quit (Ping timeout: 255 seconds)
[22:45] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) Quit (Quit: Leaving...)
[23:07] <agronholm> syl20bnr: I just do new PythonInterpreter()
[23:07] <agronholm> also, are you sure you grabbed the right jar?
[23:43] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) 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.