#jython IRC Log (v0.9)

Index

IRC Log for 2012-05-13

Timestamps are in GMT/BST.

[1:10] * nassio (~carlo@nat.wosa.cz) has joined #jython
[1:11] <nassio> Hello All, I m a new comer
[1:54] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[2:11] * lheuer1 (~Adium@blfd-4db0e246.pool.mediaWays.net) has joined #jython
[2:12] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 252 seconds)
[2:14] * lheuer (~Adium@blfd-5d82099f.pool.mediaWays.net) Quit (Ping timeout: 244 seconds)
[2:54] * nassio (~carlo@nat.wosa.cz) has left #jython
[5:47] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[5:51] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[5:52] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[5:52] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[5:52] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[5:55] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[5:56] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[5:56] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[5:56] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[6:01] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[6:02] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[6:02] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[6:02] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[6:13] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[6:14] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[6:14] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[6:14] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[6:16] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[6:17] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[6:17] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[6:17] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[6:18] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[6:19] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[6:49] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[6:49] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[6:49] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[6:49] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:14] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:15] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[7:15] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[7:15] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:19] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:20] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:26] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:26] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[7:26] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[7:26] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:31] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:32] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:38] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:38] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[7:38] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[7:38] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[7:49] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[7:50] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[7:50] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[7:50] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[8:08] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[8:08] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[8:18] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[8:18] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[8:19] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[8:19] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[8:24] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[8:25] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[8:25] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[8:25] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[8:42] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[8:43] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[8:43] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[8:43] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[8:43] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Client Quit)
[8:56] * lheuer1 is now known as lheuer
[9:06] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[9:06] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[9:06] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[9:19] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[9:20] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[9:22] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[9:24] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[9:24] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[9:24] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[9:29] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Read error: Connection reset by peer)
[9:30] * shantanoo (~shantanoo@117.219.115.127) has joined #jython
[9:30] * shantanoo (~shantanoo@117.219.115.127) Quit (Changing host)
[9:30] * shantanoo (~shantanoo@p3m/member/shantanoo) has joined #jython
[9:30] * shantanoo (~shantanoo@p3m/member/shantanoo) Quit (Client Quit)
[12:43] * robbyoconnor (~wakawaka@cpe-68-174-55-169.hvc.res.rr.com) has joined #jython
[12:43] * robbyoconnor (~wakawaka@cpe-68-174-55-169.hvc.res.rr.com) Quit (Changing host)
[12:43] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[15:13] * enebo (~enebo@174-20-162-73.mpls.qwest.net) has joined #jython
[15:33] * MoreCoffee (~Muggins@203-214-28-16.dyn.iinet.net.au) has joined #jython
[15:39] * MoreCoffee (~Muggins@203-214-28-16.dyn.iinet.net.au) Quit (Quit: Gloria Patri, et Filio, et Spiritui Sancto.)
[16:20] * nassio (~carlo@nat.wosa.cz) has joined #jython
[16:20] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:20] * nassio (~carlo@nat.wosa.cz) has left #jython
[16:22] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Read error: Connection reset by peer)
[16:23] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[17:08] * enebo (~enebo@174-20-162-73.mpls.qwest.net) Quit (Quit: enebo)
[17:35] * shashank (~shashank@117.216.153.101) has joined #jython
[18:26] * nassio1985 (~carlo@nat.wosa.cz) has joined #jython
[18:36] <nassio1985> Hello All
[18:36] <saper> cze???? nassio1985
[18:37] <nassio1985> hello saper can I ask you one thing about the swing library?
[18:42] <nassio1985> hey guys can anyone tell me how to pass an argument when I call a JButton?
[18:43] <nassio1985> I wrote this piece of code but I need to pass a argument to this function
[18:43] <nassio1985> button1 = JButton('runthread', actionPerformed=multi)
[18:48] <agronholm> pass what argument to what function
[18:50] <agronholm> nassio1985: ?
[18:51] <nassio1985> when I call actionPerformed , I m assigning to it a function called multi that takes arguments
[18:52] <agronholm> you're not calling actionPerformed here
[18:53] <nassio1985> can you be more precise? why I m not calling it?
[18:53] <nassio1985> please :)
[18:53] <agronholm> you're just giving JButton() a keyword argument
[18:53] <agronholm> called 'actionPerformed'
[18:54] <agronholm> are you trying to say that when multi() is called due to an ActionEvent being sent, you want to pass it some parameters?
[18:55] <nassio1985> :), yes
[18:55] <agronholm> functools.partial() is your friend then'
[18:55] <agronholm> how does the definition of multi() look like
[18:57] <nassio1985> that's the whole script
[18:57] <nassio1985> http://bpaste.net/show/JfCkuAY2hRP8bQzOXz3J/
[18:58] <agronholm> your multi() is missing the required argument
[18:58] <agronholm> the handler gets the event object as the argument
[18:58] <agronholm> by "coloumn" did you really mean to write "column"?
[18:59] <nassio1985> yes
[19:01] <nassio1985> def coloumnR() reads the csv file whereas coloumnAdd takes the result of coloumnR and it concatenate the result of gettxt
[19:02] <nassio1985> gettxt is an input from the small gui, and then with the multi() I want to to do all the work and multithread the DirGetSize
[19:05] * shashank (~shashank@117.216.153.101) Quit (Ping timeout: 250 seconds)
[19:05] <nassio1985> sorry take a look at this http://bpaste.net/show/k0XgrA4dPOTiUtbRWNnF/
[19:05] <nassio1985> I pasted also the traceback
[19:07] <agronholm> why did you add an "event" argument to gettxt()?
[19:09] <nassio1985> Becuase I suppose otherwise I could not use it in line 59 http://bpaste.net/show/LSCkzpEkLVswoJRIxgbX/
[19:10] <agronholm> then make the argument optional at least
[19:10] <agronholm> otherwise line 18 will fail
[19:10] <nassio1985> which argument? line?
[19:13] <agronholm> event
[19:13] <agronholm> that function only has one argument, is it not obvious I meant that?
[19:19] <nassio1985> sorry I don't mean to waist your time, but I m still quite a beginner
[19:20] <nassio1985> I don't really know how to make it optional
[19:20] <nassio1985> :(
[19:20] <agronholm> event=None
[19:20] <agronholm> def gettext(event=None):
[19:20] <agronholm> and it's "waste"
[19:21] <nassio1985> that was a typo :)
[19:21] <agronholm> a typo is when you accidentally hit the wrong key
[19:21] <agronholm> that was a spelling error
[19:22] <nassio1985> yes :)
[19:22] <nassio1985> as you might have noticed english is not my first language :)
[19:23] <nassio1985> this is tha new traceback http://bpaste.net/show/8GnkaepPLKPFSW6yqwW0/
[19:23] <agronholm> it's not mine either...
[19:23] <agronholm> looking
[19:23] <nassio1985> after I made the argument optional
[19:23] <agronholm> well, that looks rather straightforward
[19:23] <agronholm> you need to set an escape character
[19:24] <agronholm> see the documentation of the csv module for that
[19:35] <nassio1985> ok thanks a lot for your time, and one last question. is there anyother GUI library for Jython?(I mean a python like library)
[19:40] <agronholm> no, but you may want to lookup jython-swingutils
[19:49] <nassio1985> thank you again for you patience and have a nice day
[22:36] * sabi (~nriley@osric.zoiks.net) Quit (Quit: rebooting, hopefully)
[22:43] * sabi (~nriley@osric.zoiks.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 (github).