#jython IRC Log (v0.9)

Index

IRC Log for 2013-03-04

Timestamps are in GMT/BST.

[1:42] * r0bby is now known as robbyoconnor
[3:57] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[3:58] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 256 seconds)
[4:02] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[4:38] * Juneau001 (~Juneau@50.44.45.110) has joined #jython
[5:23] * Juneau001 (~Juneau@50.44.45.110) Quit (Quit: Juneau001)
[5:54] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[5:55] * Juneau001 (~Juneau@50.44.45.110) has joined #jython
[5:55] * Juneau001 (~Juneau@50.44.45.110) Quit (Client Quit)
[7:18] * purplefox (~purplefox@host-2-99-42-43.as13285.net) has joined #jython
[8:08] * synasius (~syn@95.243.66.19) has joined #jython
[10:30] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) Quit (Quit: No Ping reply in 180 seconds.)
[10:32] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) has joined #jython
[10:39] * r0bby is now known as robbyoconnor
[10:41] * lopex (uid4272@gateway/web/irccloud.com/x-qtiwskztchjwacrp) Quit ()
[10:42] * lopex (uid4272@gateway/web/irccloud.com/x-urzpassphdqszcsw) has joined #jython
[11:34] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[11:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[11:42] * fwierzbicki (~frank@99-106-170-162.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 252 seconds)
[11:55] * fwierzbicki (~frank@99-106-170-162.lightspeed.sntcca.sbcglobal.net) has joined #jython
[11:55] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[12:07] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[12:08] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 256 seconds)
[14:06] * hell_razer (~HellRaise@94.179.213.135.pool.3g.utel.ua) has joined #jython
[14:06] <hell_razer> hello, is any way to check is script running on jython?
[14:07] <agronholm> hell_razer: ?
[14:08] <hell_razer> agronholm, for example for pypy i have if not "__pypy__" in sys.builtin_module_names: i need something like this for jython
[14:24] <agronholm> hell_razer: would sys.platform work for you?
[14:26] <hell_razer> agronholm, yeah, thnx
[14:47] * lheuer1 (~Adium@blfd-5d820327.pool.mediaWays.net) has joined #jython
[14:48] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 252 seconds)
[15:00] * tlecomte (9d63400d@gateway/web/freenode/ip.157.99.64.13) has joined #jython
[17:06] * synasius (~syn@95.243.66.19) Quit (Quit: Sto andando via)
[17:14] * md_5 (md_5@mcdevs/trusted/md-5) Quit (Ping timeout: 255 seconds)
[17:22] * chro (~Magma@unaffiliated/chrome/x-455334) has joined #jython
[17:23] <chro> why am I receiving this error with jython 2.7b1: ImportError: No module named multiprocessing
[17:49] * synasius (~syn@92.245.173.72) has joined #jython
[17:55] * synasius (~syn@92.245.173.72) Quit (Quit: Sto andando via)
[18:42] <fwierzbicki> chro: because there is no multiprocessing module in Jython. It is unlikely that there will ever be one as the threading library works just as well for us. The multiprocessing library was intended to act like threading but allow CPython to use multiple cpu's. Jython doesn't have that problem
[18:42] <fwierzbicki> For us threading does use multiple cpu's.
[18:43] <chro> I see, so I have to change the code
[18:44] <chro> fwierzbicki, can you read this: https://github.com/apavlo/py-tpcc/wiki/HBase-Driver
[18:44] * fwierzbicki looks
[18:44] <chro> in the Driver Dependencies section
[18:45] <fwierzbicki> that sounds reasonable
[18:46] <chro> I don't know what I have to do to make it work
[18:46] <fwierzbicki> oh - you are having trouble getting that to work...
[18:46] <chro> It keeps giving me that error
[18:46] <chro> yeah
[18:47] <fwierzbicki> I see - they say that they replaced multiprocessing - maybe you are using the original version accidentally?
[18:47] <chro> Is it possible that the import line of the mujltiprocessing is automatically commented?
[18:47] <fwierzbicki> Maybe they check for the presence of their code and otherwise import multiprocessing
[18:47] <chro> "When classpath is set properly, tpcc.py is replaced with our version that uses java.util.concurrent instead of multiprocessing module"
[18:48] <fwierzbicki> Do you have "hadoop and HBase jars" on your classpath?
[18:48] <chro> yes I have
[18:48] <fwierzbicki> hmmm
[18:48] <chro> but that shouldn't matter I think
[18:52] <fwierzbicki> weird - do you see in what file it tries to import multiprocessing? It looks like that project is 2 years old, maybe something has drifted?
[18:52] <fwierzbicki> Is the project stand alone or are you running it with something else?
[18:53] <chro> I'm seeing and the import is there, but that py imports another py (which is their driver, hbasedriver.py and maybe this one does some changes, I'm trying to see that)
[18:54] <fwierzbicki> Looking at this https://github.com/apavlo/py-tpcc/blob/master/pytpcc/tpcc.py
[18:54] <fwierzbicki> I see the import - not sure what they mean by "tpcc.py is replaced"
[18:56] <chro> neither do I :\
[18:58] <fwierzbicki> You could try contacting the author: https://github.com/apavlo
[18:58] <fwierzbicki> http://cs.brown.edu/~pavlo/
[18:58] <fwierzbicki> has an email ^^^
[19:00] <chro> that's the author of the benchmark with the abstract driver, but the HBase driver implementation was made by other guys that I can't find their emails
[19:00] <chro> but yes, I think I will contacto pavlo anyway
[19:26] * lheuer1 is now known as lheuer
[20:02] * commandoline (~Thunderbi@ubuntu/member/commandoline) has joined #jython
[20:15] * Juneau001 (~Juneau@131.225.24.178) Quit (Quit: Juneau001)
[20:16] * purplefox (~purplefox@host-2-99-42-43.as13285.net) Quit (Ping timeout: 245 seconds)
[20:27] * commandoline (~Thunderbi@ubuntu/member/commandoline) Quit (Quit: commandoline)
[20:38] * chro (~Magma@unaffiliated/chrome/x-455334) Quit (Quit: Leaving)
[20:54] * md_5 (md_5@mcdevs/trusted/md-5) has joined #jython
[21:15] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[22:11] * Juneau001 (~Juneau@50.44.45.110) has joined #jython
[22:24] * hell_razer (~HellRaise@94.179.213.135.pool.3g.utel.ua) Quit (Quit: Leaving)
[23:02] * Rondom (~rondom@2a01:488:66:1000:b24d:4f2f:0:1) Quit (Quit: No Ping reply in 180 seconds.)
[23:08] * Rondom (~rondom@nonmodosedetiam.net) has joined #jython
[23:17] * Juneau001 (~Juneau@50.44.45.110) Quit (Quit: Juneau001)
[23:57] * Juneau001 (~Juneau@50.44.45.110) 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).