[01:49] thisfred, it is the shortcut group in the .desktop file [01:49] X-Ayatana-Desktop-Shortcuts=U1 [01:50] kenvandine: so we should get rid of that, and we'll be good? [01:50] yes [01:50] awesome, thanks once again! [01:50] and the last couple lines [01:51] thisfred, http://pastebin.ubuntu.com/586682/ [01:52] something like that [01:52] thisfred, you want to leave X-Ayatana-Appmenu-Show-Stubs=False [01:52] that keeps you from getting that place holder "File" menu in the appmenu [02:31] I tried to buy songs in rhythymbox(via ubuntuone) and it's stuck at "transferring to your Ubuntu One storage". Has this been resolved yet? === jamesh_ is now known as jamesh === mattgriffin_ is now known as mattgriffin [05:53] hi,. === Guest1151 is now known as Stupid_Bot [05:55] hello [05:55] where am i now >? [05:55] hello duanede === Stecchino_ is now known as Stecchino [08:01] morning all [08:01] o/ [08:12] morning! [08:15] hate spending time on something that does not work out [08:15] i feel like, I got an hour in this I can not stop now! :P [08:15] duanedesign: what doesnt work? [08:16] certain BASH built-in commands do not run in python using subprocess.Popen [08:17] strange. subprocess.Popen(["bash", "-c", "type type"]) [08:17] works [08:17] subprocess.Popen(["bash", "-c", "history"]) [08:18] does not :( [08:19] duanedesign: are you sure thats not a feature and not a bug [08:20] and there is a file you can poke to get that info too [08:21] yeah i was trying to avoid ising .bash_history [08:21] or .zhistory [08:21] but i might have to [08:21] well its 3 lines of code to get it [08:21] so its not that bad [08:22] brb food [08:22] yeah. i would also need to pull the command out of any cruft in the file [08:23] depending on the settings they have each line could look like :1301370701:0;update [08:25] could of already done it with the time i spent messing with subprocess :) [08:28] where /32 [08:28] oops [08:34] * fagan back [08:40] fagan: have you finished what you started yesterday? What are you doing atm? [08:40] mandel: looking at it now trying to figure what is left to do with it [08:40] ill try run it and see if it works [08:45] ok, let me know if you have any issues [08:46] mandel: yep I just wrote most of the code without testing it so im going to presume that there is going to be some failure somewhere in there [08:46] but the logic is fine so its just syntax is probably off [08:46] * fagan hasnt done a lot of python in the past year so is a little rusty [09:30] mandel: cant figure out whats wrong here [09:31] lp:~shanepatrickfagan/+junk/valid_email [09:31] * mandel looks [09:32] its not seeing the submitbutton [09:32] morning [09:33] morning karni [09:36] mandel: I tried using the name of the object too and all that but it still doesnt know about the submitbutton [09:37] fagan: try self.connect(selg.ui.SubmitButton, blah blah blah [09:38] sorry I meant to say selg.ui.SubmitButton [09:38] self :) [09:38] haha what a bad day with the F [09:38] :P [09:40] mandel: worked but there is a little error its saying that im passing an arg to submit [09:41] is there a default value passed into methods when the signal is connected [09:41] Id probably guess its the origin of the event [09:41] fagan: ok, this is the trick, you see the signature of the signals, well if it the signals has a parameter, it mean you get one, if it does not, then you do not get it [09:42] fagan: give me a sec, I just look at how you connected the button :P [09:42] I did not eve try the code yet (mandel should try the code before replying) [09:43] mandel: pull before you fo [09:43] do [09:43] there was a few more errors [09:44] fagan: yes, I just noticed, you forgot self in the method :) [09:46] fagan: self, is like this in gobject or in js, if you call it x, then use x, although there is a reason why is called self [09:46] :) [09:46] so, in the submit method you defined [09:46] def submit(x): [09:47] mandel: I did that to take out the error :) [09:47] so instead of using self, you have to use x because you called like that, the best way to fix it is calling x self :) [09:47] ouch :) [09:47] fagan: by the way, which editor are you using? [09:47] there is some weird indentation [09:48] mandel: I did a bit of it in wordpad and a bit in gedit [09:48] so some of it was fine and some of it is funny [09:48] mandel: the only thing wrong now is getText() isnt working [09:52] text() [09:52] :P [09:52] I think getText is a gtk thing [09:53] mandel: ah ok [09:53] and its in swing as well and vb if I remember too [09:54] fagan: use notepad++ on windows, is free and will handle the move from gedit to notepad++ easily [09:55] you probably have to fix how your tabbing si done, in vim (which I'm not telling you to use, but would be the best choice wink wink) you would do: [09:55] set: ts=4 [09:55] :set expandtab [09:55] you have to do the same in your editor of choice [09:57] Infinite loop oh yeah :P [09:58] mandel: I have it working now perfect other than the css not doing the change [09:58] And it's good morning from me. :) [09:58] JamesTait: morning [09:59] fagan: how do you know the button works as expected? have you added soem debugging? [09:59] mandel: I tested it [10:00] but ill make sure [10:00] yep definitely working [10:01] Hey fagan. :) [10:02] fagan: can you push the changes then? [10:02] fagan: I'd like to see the logic [10:02] mandel: give me 1 sec just getting the css fixed [10:09] mandel: pushed [10:09] I still cant get the css thing working [10:10] it says in the book that you have to set a property and it should work but its not [10:10] so there must be something missing [10:11] * mandel looks [10:12] fagan: if any python developer sees that you have used x instead of self, the might chop off your balls, I'm not joking ;) [10:12] hehe [10:13] mandel: yeah I just fixed that [10:14] * fagan was just being lazy [10:15] And seeing the word self so much instead of this makes me feel strange [10:19] mandel: should I be referencing the specific LineEdit with the wrong var? [10:19] or is that whats going wrong? [10:20] one sec, I've got to fix on thing in the wiki and I'm back with you [10:20] multitasking is hard... [10:20] fagan: do you have your flight tickets to london? [10:21] mandel: I emailed the travel company and they got back to me asking for some more info so I sent it on havent heard back yet [10:21] * fagan follows up [10:22] oh I missed one of their emails crap [10:26] mandel: ok done with that [10:27] fagan: what do you mean? you have the flight? [10:27] mandel: I replied so im going to probably get it sorted in a few hours when they get back [10:27] I just picked my option [10:29] fagan: ok, I'm back with you, looking at the code [10:30] Oh I had a mistake [10:31] fagan: yes, the sintax in the css is wrong: http://doc.trolltech.com/4.3/stylesheet-syntax.html#selector-types [10:31] the selector should have the value quoted [10:31] mandel: yeah thats what I figured too [10:32] fagan: reply to marianna, she needs to talk with you [10:32] mandel: yeah just did [10:34] fagan: and there is another hint int he link I sent you [10:35] with bold letters under the selector :) [10:38] mandel: so I need to remove it and add it again? [10:40] yes [10:45] pyuic4 isnt working right [10:45] its giving me a syntax error [10:46] fagan: may I see the output? [10:46] good morning people! [10:46] mandel: just says error line 1 syntax error [10:47] fagan: and how did you ran the script? [10:47] pyuic4 style.css > style.py [10:48] * fagan feels he probably used the wrong thing [10:48] yes [10:48] you did :) [10:48] you need to use the pyrc to wards the resources file, not the css :) [10:49] oh crap [10:49] yeah my bad [10:49] forgot that from yesterday [10:52] ok I removed the css bit and re-added it but its not working [10:56] fagan: what did you understand from the warning in the docs? [10:58] mandel: yeah I did but I mean the css isnt working at all not just that bit [10:59] fagan: but tell me what you understood? you updated the css, cool, but there is some extra code you have to change [10:59] fagan: please push the changes you made, I'll take a look [10:59] mandel: I added the bit to set the style sheet again because it has to reload it when you change the var [11:00] so in submit down at the bottom I re-add the style sheet [11:00] I understood that its just the sheet isnt working for some reason [11:01] ok, and you regenerated the resource.py file so that the new css is used, right? [11:01] mandel: yep [11:01] please push the changes [11:01] I'd like to see the code [11:03] fagan: in the mean time, this version works: lp:~mandel/+junk/fagan_valid_email [11:04] so, anybody here on maverick experiences the crashes of gnome-settings-daemon? [11:05] mandel: pushed [11:11] yeah your one is working [11:12] mandel: your one is definitely a lot cleaner [11:13] since its properly indented. wordpad ftw [11:14] but I did make it look better by changing the px to 2 [11:14] wait what? use notepad++ no notepad, and definetly not worpad [11:14] qordpad brings a lot of problems... [11:14] mandel: yeah im in gedit [11:15] im going to just use my linux machine for development and use my windows machine for testing [11:15] its what I know so it just works better [11:17] fagan: switching back and forth between linux and windows is not going to be efficient but try it anyway if you want. [11:17] ralsina: ubuntu boots in 8 seconds and windows boots in 20 [11:17] not really too bad [11:18] * fagan has a nice machine [11:18] fagan: s I said, terribly inefficient [11:18] ralsina: yeah but if its more comfortable I dont mind too much [11:18] fagan: if you have a nice machine, at least run one or the other in a VM so you can just switch [11:18] I havent been on the windows side of my machine all day [11:19] fagan: has anyone told you you are argumentative? ;-) [11:19] ralsina: yeah they have :) [11:19] and on the VM thing it takes 40 secs for the VM to boot [11:19] so its nearly easier just to restart [11:19] fagan: but you only boot it once a day. [11:20] fagan: where were you testing your branch? [11:20] mandel: ubuntu [11:20] but I did test it on windows yesterday for the css [11:20] fagan: did it work on ubuntu, I mean your branch? [11:20] mandel: my branch nope [11:20] fagan: I am not interested in arguing. I am interested in helping you code. If you prefer not listening to us who have about 25 years combined experience, that's ok, of course. [11:21] ralsina: its cool ill give it a try [11:21] fagan: well, your code will not work on windows as it is due to the resources.py, it has to be generated on windows to work on windows [11:22] mandel: ah that was it [11:22] I'm going to guess you have a 64 machine, right? [11:22] mandel: yep [11:22] so I have to recompile it each time for windows [11:22] thats ok [11:22] dont add autogenerated code to a trunk, it does not make sense, is better to automate the generation like I did with the setup.py [11:23] mandel: ok I can do that [11:23] I was just doing this up fast so didnt do that [11:24] fagan: I was not asking you to add the auto-generation bit, I was more saying, dont add autogenerated code [11:24] mandel: yeah I know [11:24] I have gotten 1 thing weird [11:25] hmmm its gone now [11:25] fagan, I will take my son to school in a bit, but in 60 minutes from now, we are going to have a training session :-) [11:25] the text box wasnt letting me edit it [11:25] ralsina: cooll [11:25] *cool [11:26] fagan: in the meantime, I would like it if you could read PEP8, the document that talks about python style [11:26] ralsina: will do [11:26] naming conventions and such. It's not long, and you should have time to do it. [11:28] fagan: here's how we'll work from now forwards [11:28] fagan: mandel will give you some exercises, it may be testing or trying to do something we want in the app, early in the morning [11:29] fagan: then you spend the morning working on it, and I review it after your lunch [11:29] ralsina: ok cool [11:29] That way mandel doesn't get too stuck and I can help you get up to speed on pyqt [11:30] ralsina: good plan [11:31] fagan: cool, let's do that then. Remember that Qt has great docs, and for most things, it is there ;) [11:31] ralsina: google like a pro [11:32] fagan: cool, because that's what I do ;) PyQt is large enough that noone knows it by memory, you just need a vague memory on where to look. [11:32] ralsina: well I read the book a little more after work yesterday and know some of it a little better [11:33] and I did get mixed up with gtk anyway :) [11:33] that's good [11:33] not the getting mixed up, of course ;-) [11:34] ralsina: well most gui toolkits use gettext rather than text [11:34] so it was a little bit of a oh they do that differently [11:34] well, Qt is consistent. You always have property() and setProperty() [11:35] ralsina: yeah I looked at the notes after mandel said it was text() [11:35] and I knew where to look to check [11:36] so at least ill know for next time [11:36] cool. Now I'll go make breakfast and ship the kid to school, be back in one hour, and then we'll go over your code. Ok? [11:36] sure [12:47] good morning everyone! [12:47] morning nessita [12:47] hi fagan, how are you? [12:48] good good learning more today [12:48] :) [12:49] My empathy crashed, I removed all passwords from the keyring and next restart of empathy brought it online [12:49] not something I was expecting :) [12:49] rye: on 11.04? [12:49] fagan, yes [12:49] the password system was changed [12:50] fagan, yes, but it keeps using both passwords [12:50] rye: yeah well there is an issue with the old passwords if you updated earier [12:50] (in the release) [12:50] .me walking dog [12:51] fagan, so e.g. on startup it will use the old entry, and fail if password has changed. Going to the accounts allows me to click that funny switch one does not know which state it is now in and I can go online [12:51] but now i removed the passwords completely and it succeeded at connecting to all the accounts... probably mission-control is caching something [12:51] rye: interesting === teknico is now known as teknico_away [13:09] ralsina: you back? [13:25] https://code.launchpad.net/~thisfred/ubuntuone-control-panel/lp-721525/+merge/55327 [13:27] is what I could use reviews on :) good morning also [13:29] thisfred: I can give it a review and test [13:29] * fagan just finished reading pep8 anyway and is waiting for ralsina [13:29] fagan, awesome. 1 sec I forgot to list test instructions :) [13:30] thisfred: cool [13:30] looks pretty trivial anyway [13:34] fagan: the fix is trivial yeah, once ken told me how to do it. Never in a million years would I have come up with it :) [13:35] fagan: instructions to test are added [13:38] thisfred: yeah just doing it [13:39] thisfred: yep working [13:39] +1 [13:39] tests pass too [13:39] fagan: awesome thx [13:39] (I knew there was nothing in the tests that would fail but worth a try to see) [13:43] * mandel back [13:56] * nessita will be offline to do some testing with the control panel [13:57] nessita: need any help with the testing? [13:58] (im not doing much at the moment) === nessita1 is now known as nessita [13:59] all: ralsina has the telephone company fixing something at his place, so he wont be here for the standup [13:59] I dont know how long he will be off [13:59] mandel: ok [14:00] I have the phone compay working on my building, so my internet connection oscilates between miserable and none [14:00] Hey, they fixed it! [14:00] Maybe! [14:01] Ill go on break and stay till 5 if needs be === nessita1 is now known as nessita [14:01] (I mean ill go on break for an hour and stay on till 5) [14:02] fagan is now a good time for your lunch break? [14:02] ralsina: could use a review if you're not busy with 10 other things already [14:02] ralsina: its 2 so its ok [14:02] If yes, then come back for standup and after that we'll have our review, ok? [14:02] thats cool [14:03] thisfred: I can try, as long as the phone guy doesn't cut the RED wire again [14:03] ralsina: https://code.launchpad.net/~thisfred/ubuntuone-control-panel/lp-721525/+merge/55327 and good luck ;) [14:04] me [14:04] * ralsina should get one of those 3g thingies just as a backup [14:04] mandel: thats not for an hour isnt it? [14:04] mandel: get your clock straight :-) [14:05] thisfred: that is merged already! [14:05] yay I was right :) [14:05] mandel: 1 hour early :-) [14:05] thisfred: you already have +2 in that branch! [14:05] ralsina: oh wow :) [14:05] I think ralsina is lagging [14:06] thanks nessita! [14:06] prego :-) [14:07] I am lagging between 2 and 14 seconds. Usually it's 87 milliseconds :-( [14:07] fagan: is it? dammed dont tell me they changes the time in spain and nowhere else.... === teknico_away is now known as teknico [14:08] mandel: I think all of europe (minus the UK, but that's an island anyway) [14:08] mandel: amazingly, it's not spring here [14:08] ralsina: well, there I'm not surprised... [14:09] * mandel puto govierno de los huevos cambiando la hora [14:09] then, I'm goign to microwave my lunch :) === m_conley_away is now known as m_conley [14:09] mandel: and the standup is set on MY TZ ;) [14:11] he, check this out: http://www.cadw.wales.gov.uk/ [14:11] view the source and tell me where the WTF is :) [14:13] mandel: client side validation ftw! :) [14:13] hahaha [14:13] always I great thins to do hahahaha [14:13] that I was an a [14:13] my brain is fucked after reading that :P [14:14] mandel: do you suppose the search box is able to empty the db? [14:14] thisfred: I dont know…. is hard to guess with those clues [14:14] I'm really tempted to give it a shoot [14:15] http://www.cadw.wales.gov.uk/default.asp?id=7&lang=events is also great: To see what’s on, go to www.cadwevents.co.uk [14:15] PLEASE DO NOT USE THE DROP-DOWN BOXES BELOW TO SEARCH FOR EVENTS. [14:15] hahah [14:15] how can putting that in be less work than taking the search out? [14:16] although, it *is* asp [14:16] come on guys. Don't break the wales govmt, ok? [14:16] ralsina: maybe that is how the language came into being in the first place [14:17] DROP TABLE vowels; [14:17] hahahahaha [14:17] No, welsh was invented by cats on typewriters [14:17] gaaaaakh lag [14:18] ralsina: I read somewhere that the Welsh pretty much colonized Patagonia, so you better be careful ;) [14:19] They might come for you [14:19] thisfred: well, a few towns. You can still eat welsh cake there. And the young people (even not welsh-descendent) learn welsh for fun. [14:19] I've been there (Gaiman). Pretty. [14:20] I'd like to go some day [14:20] thisfred: ireland!=UK [14:20] ok, true story: when I arrived to england, like while back, I share a flat with some brits that though it would be funny just to have welsh tv channels and see what the spaniard would do. Got to tell you I spent house watching TV really worried of how would I finish my degree if I could not even understand a soap opera [14:20] well, you can go in 2 weeks if you want :-) [14:20] * fagan just read the scrollback :P [14:20] fagan: oh Ireland is also still not on DST? [14:21] well, it is another island. Island folk are peculiar ;) [14:21] darn, the management call moved one hour earlier and overlaps the standup now! [14:21] thisfred: Ireland is on the UK time for the moment but we are going to be sticking to UTC probably this year and not doing the daylight savings time like the UK [14:21] thisfred: Ireland is too protestant to follow the UK :) [14:21] fagan: I hate daylight savings, so good for you [14:22] dobey: let's not go there :) [14:22] alecu: ping [14:22] heh [14:22] nessita, pong [14:22] DST is just more proof that time doesn't really exist [14:22] thisfred: yeah its going to be sweet when they stop using it since then I wont be going crazy when the clocks go forward like this week [14:22] alecu: question. Should the webclient request (in the control panel) timeout by their own if there is not network connection? [14:22] yeah, and nobody [14:23] s ever been able to explain how it saves anything [14:23] everyone should just use UTC [14:23] thisfred: its there so farmers wont miss out of everything in life [14:23] the hour you get at one end of the day, you lose at the other [14:23] it was created because they get up at 4 am and sleep at 8 in the winter [14:23] nessita, yes, if there's no local network connection it should fail immediately. [14:24] fagan: farmers get up at 4, they're pretty much screwed anyway [14:24] thisfred: DST is for farmers [14:24] then let them use it :) [14:24] but since Ireland has like 4 farmers now they dont need DST [14:24] no, they should use UTC [14:24] nessita, if the problem is not local (it's from the router to our server) then it will take a bit to timeout. [14:24] so its all cool [14:24] I have no problem with them getting up later [14:24] alecu: it does not, as per my test: I had the control panel working, and I disable networking using the NM applet. Any ideas? [14:24] they can adjust their alarms [14:25] which happens anyway, because roosters don't have digital watches [14:26] ralsina: hmmm so during standup you have a management call so does that mean the other thing is pushed back too or would the management call be over quickly enough? [14:26] * fagan just realised that quickly and management dont mix [14:27] fagan: I have the standup in the middle of the call. I will do both [14:27] cool [14:27] http://www.revbeergoggles.com/beergoggles/clock-n-dagger-sm.jpeg [14:28] thisfred: thats the symbol for killing time [14:28] Let's do it! :) [14:28] slack! [14:31] thisfred: I am already doing that [14:32] * fagan is at lunch for 30 minutes now :) [14:32] * alecu will turn off the network connection to test what nessita just found [14:32] alecu: thanks! [14:41] nessita, I've started the u1cp backend from trunk with DEBUG=True [14:42] nessita, then I logged in, disconnected the wi-fi, then I tried clicking both the cloud folders and the devices tab [14:42] nessita, in both cases the error message (Value could not be retrieved) shows in about 5 seconds [14:42] nessita, the log shows this: http://pastebin.ubuntu.com/586863/ [14:42] nessita, so I think that perhaps I'm not understanding the issue [14:45] alecu: how did you disconnect your wifi? [14:45] in the mean time I'll retry [14:46] nessita, left click on network icon, unchecked "Enable wireless" [14:46] nessita, left click on network icon, unchecked "Enable wireless" [14:46] that's how I disconnected. [14:47] alecu: my backend gets stuck in 2011-03-29 10:46:09,265 - ubuntuone.controlpanel.webclient - DEBUG - WebClient: getting url: GET, https://one.ubuntu.com/api/1.0/devices/ [14:47] and nothing else happens (weird! [14:47] ) [14:47] I'll try with trunk [14:48] alecu: what's response "4"? [14:48] nessita, 'error_msg': u'(4L, None)' [14:48] I'm looking it up in the code and Soup docs. === nessita1 is now known as nessita [14:49] alecu: nopes, is not working. Could you please try unchecking "Enable Networking"? [14:49] since I don't have wifi here [14:49] nessita, sure. [14:49] nessita, where are you? in 1995? [14:49] my backend (trunk) hangs showing this line: 2011-03-29 10:48:32,813 - ubuntuone.controlpanel.webclient - DEBUG - WebClient: getting url: GET, https://one.ubuntu.com/api/1.0/devices/ [14:49] * fagan was in 2005 a week ago [14:49] alecu: :-) (desktop station, I'm wired!) [14:50] nessita, I'll pull trunk as well first [14:50] alecu: thanks! [14:51] I'll be back [14:53] all: stand up in 8 minutes! [14:53] ack [14:56] alecu: how did it go? [14:56] nessita, pulled trunk, disconnected by unchecking "Enable Networking", but I still get the same behaviour. [14:56] alecu: are you running natty with all the updates? [14:56] nessita, perhaps I should try updating the system; Libsoup may be out of date. [14:56] maybe [14:56] nessita, I'll try that after the standup. [14:57] perfect (I mat record a video as well) [14:57] alecu, nessita: what are you trying to do? [14:58] dobey, debug a weird behaviour that only nessita is experiencing. [14:58] dobey: I need to test some behaviors when there is no network connection, and in my case the libsoup request hangs, and in alecu's case libsoup fails immediatly (like I would need/expect) [14:58] dobey, it looks like libsoup is not timeouting immediately for her when no network connection is available. [14:58] ditto [14:59] nessita, "Need to get 414 MB of archives." [14:59] :P [15:00] alecu: duuuuuuuuuuuuuuuude [15:00] * nessita thinks seeeeeeeeet [15:00] me [15:00] me [15:00] me [15:00] me [15:00] alecu: nessita: httplib has a global timeout, that some applications set... [15:00] dunno if that's related [15:00] me [15:01] ralsina: ? [15:02] ok, let's start, the boss is busy [15:02] DONE: almost done with bug #704434, started fix bug #726867 while I was at it. Had a long debugging session with facundobatista re: syncdaemon. [15:02] TODO: land branch for the aforementioned bugs, kick more bugs down [15:02] BLOCKED: nopes [15:02] NEXT: thisfred [15:02] Launchpad bug 704434 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "Stop the backend service when UI is done (affects: 1) (heat: 6)" [Medium,Triaged] https://launchpad.net/bugs/704434 [15:02] Launchpad bug 726867 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "Devices tab shows nothing when syncdaemon is not responsive (affects: 2) (heat: 10)" [High,Triaged] https://launchpad.net/bugs/726867 [15:02] * DONE peer review for James H. [15:02] * DONE review lp:~nataliabidart/ubuntuone-control-panel/stop-backend [15:02] * DONE two icons in messaging menu when syncdaemon's not running http://pad.lv/721525 https://code.launchpad.net/~thisfred/ubuntuone-control-panel/lp-721525/+merge/55327 [15:02] * INPROGRESS desktopcouch-service 'file_exists' crashes http://pad.lv/707321 [15:02] NEXT: fagan [15:02] DONE [15:02] * Did more python/pyqt polishing: - Finished off the valid email example I started yesterday - Read pep8 since I dont follow it too great :) [15:02] * Got fights sorted [15:02] me [15:02] * Did a review and test for thisfred's double ubuntu one indicator branch [15:02] TODO [15:02] * More pyqt stuff [15:02] * update wiki for the sprint [15:02] BLOCKED [15:02] * nope [15:02] mandel gogo [15:03] DONE: Added tests for windows UI. Create a branch of ubuntuone-dev-tools that installs the qtreactor on windows for 2 reasons: run tests with the reactor used in some windows projects and so that the UI can be instantiated (the reactor creates a QApplication) [15:03] TODO: Propose merge for the above. Some more sso testing on windows. Package first windows version. [15:03] BLOCKED: no [15:03] dobey: please [15:03] λ DONE: nearly completed #733327 [15:03] λ TODO: peer evals, UIFE request, finish bug #733327, libu1 release [15:03] λ BLCK: aptdaemon/policykit are teaming up against me. [15:03] Launchpad bug 733327 in libubuntuone (Ubuntu) (and 1 other project) "Notify user of missing MP3 support (affects: 1) (heat: 208)" [Medium,Confirmed] https://launchpad.net/bugs/733327 [15:03] thisfred: the httplib stuff doesn't matter for soup [15:03] dobey: ok, don't know libsoup [15:04] alecu: go! [15:04] DONE: worked on a branch to fix bug #739688 [15:04] TODO: finish said branch, fix the client-server tests that the zeitgeist fixes broke [15:04] BLOCKED: no [15:04] HATE: amazon [15:04] Launchpad bug 739688 in ubuntuone-client "Broken node Exceptions raised after metadata is deleted from a move. (affects: 1) (heat: 52)" [High,New] https://launchpad.net/bugs/739688 [15:04] ralsina: go? [15:04] any comments anyone? [15:05] nessita: yes, I do [15:05] just updated the wiki so thats done now [15:05] mandel: shoot [15:05] alecu: why amazon? [15:06] there seems that a branch proposed for ubuntu-sso-client is not landing, and I not quite know why [15:06] let me find the exact merge proposal [15:06] yes, go [15:06] ralsina: you go [15:06] mandel: does it have a commit message set? [15:06] https://code.launchpad.net/~mandel/ubuntu-sso-client/fix_732057/+merge/54722 [15:07] ha, no jodas! [15:07] no tid does no have a commit message... [15:07] mandel: buuuuuuuuuuuuuuuuuuuuuu [15:07] mandel: bu! BU! :-) [15:07] * mandel hides [15:07] mandel: and please set a better message than "Fixed bug by using the os module." :-D [15:07] sorry I am speaking on the call right now, bad timing :-( [15:08] ralsina: we forgive you ;-) [15:08] ok, eom! [15:08] maybe we should move the standup 1 hour earlier [15:09] because now all my other calls overlap [15:09] yeah DST is confusing all the EU crowd [15:10] they should have thought about that before colonizing the world [15:10] thisfred: yeah its the English and Spanish's fault [15:11] just you wait until *we* do DST [15:12] last year we cancelled it 12 hours before it was scheduled. [15:12] ralsina: we usually do that, since we're the weirdos that do not change time [15:12] ralsina: shall I change the time in our calendars? [15:12] I wish the whole world gave up on this crazy idea [15:12] well Ireland are more than likely dropping it :) [15:12] we could just not have the standup :) [15:13] dobey: madness [15:13] Lets just have more standups [15:14] one for every time zone [15:14] * fagan thinks we should have some sitdowns as well [15:14] even the newfoundland tz? [15:14] alecu, thisfred, dobey, mandel, fagan, ralsina: let's have the stand up at 1300 UTC, shall we? [15:14] is that the weird one that's 43 mins off? [15:14] sounds good nessita [15:15] nessita: it's all fine by me, as long as we don't keep changing it every week [15:15] oh nessita thats when mandel's dog is walking him :) [15:15] fagan: nopes, mandel is walking beast at 1200 UTC [15:16] * fagan wonders which timezone he is in now [15:16] well, is not a big deal standups are short and the dog can handle it [15:16] thisfred: i think it's 30 min, but yes it's weird [15:16] fagan, everybody: timeanddate.com [15:16] nessita: +1 from me. But I don't know if someone other than chipaca can change it [15:17] I can, doing it right now [15:17] hahaha [15:17] toma jefa! [15:17] :P [15:17] done [15:17] dobey: Saudi Arabia changes daily, based on sunset :) [15:17] ralsina: I've set the event so guest can modify it ;-) [15:18] Ah ok I keep forgetting that I move to UTC +1 in DST [15:18] * ralsina is tempted to just declare UTC the oficial timezone of #ubuntuone and punish anyone that mentions another timezone [15:18] ralsina +1 [15:18] ralsina: fagan mentioned +1! [15:18] ;) [15:18] * fagan suggests the person has to listen to rebecca black "friday for the rest of the day [15:19] ralsina: just so you know, .ar is not utc [15:20] can I have a couple of reviews for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/decouple-devices/+merge/55345? [15:20] alecu: I would love if you can do one (requires your network connection magic) [15:22] nessita, looking [15:22] thanks [15:23] nessita, what magic? [15:23] nessita, you mean I should do it before all the packages are updated? [15:23] alecu: being able to disable your net conn and having the web client timeouting [15:24] alecu: yeah... [15:24] ack [15:27] nessita, "indo" in "The devices_info returns local indo if webclient error" [15:28] dobey: and I never mention times in ART ;-) [15:28] * ralsina punishes ralsina [15:29] Lol [15:29] yes, mentioning times is an art [15:30] alecu: nice pun [15:32] yup, but since I didn't mention any bad words nor did any scatologic references, mandel would have probably said "your jokes suck!" [15:33] alecu: Ill give a polite laugh even for the bad ones [15:33] hahahah [15:33] * fagan is nice that way [15:34] alecu: no, I would have not said it sucked… [15:34] but I would have mentioned it is a girly one [15:34] :P [15:35] nah nah nah [15:35] alecu: fixing! [15:35] For those coming to BA next week,Marianna is sending an email later today [15:36] dobey, ralsina, fagan: please take a look at the following: https://code.launchpad.net/~mandel/ubuntuone-dev-tools/qtreactor/+merge/55349 [15:36] we need to install the qtreactor in windows, otherwhise trial plus Qt testing is very hard [15:36] and ugly [15:36] mandel: want a windows test from me? [15:37] * fagan just thought duh [15:37] mandel: are you doing a QCoreApp when in no-ui mode? (I can't see the diff yet) [15:37] fagan: is more for information purposes, since you will need to install the qtreactor to test some things on windows [15:37] mandel: ah ok [15:38] ralsina: no need, qtreactor uses QCoreApp as the default, so I just need to do a QApplication when ui [15:38] ugh [15:38] it instantiates QCoreApp? Really? weird what things I don't know. [15:39] ralsina: email with details? [15:40] ralsina: https://github.com/ghtdak/qtreactor/blob/master/qt4reactor.py [15:40] nessita: hopefully :) [15:40] mandel: ok, cool [15:41] ralsina: I mentioned this yesterday, but I'll repeat myself: tomorrow I'll be in the university sorting paperwork for my future absences [15:41] nessita: are you planning your sick days? ;) [15:42] mandel: asymetric as all hell, but cool ;) [15:42] mandel: jajaja. Nopes, I'll be absent from my teaching duties on May (UDS) and on June (team sprint( [15:42] )) [15:42] nessita: what do you teach in uni? [15:43] fagan: any Computer Science subject, this year and last year I was assigned to Algorithms and Data Structures, I and II [15:44] fagan: but I've been also teaching Operating Systems, Network and Distributed Systems, Languages and Compilers [15:44] nessita: I did data structures this year was pretty fun [15:44] * dobey needs to write a compiler [15:44] dobey: I'll take you on that one, I'd love to :) [15:44] i did all the other ones except distributed systems and languages and compilers but they are bumped into other subjects [15:44] fagan: did you have to program in any language? if so, which one? [15:44] nessita, hmmm. bug #744731 - ubuntuone-control-panel starts syncdaemon even if the user does not have the credentials, syncdaemon creates Ubuntu One folder and therefore will be started on every subsequent login [15:44] Launchpad bug 744731 in ubuntuone-client (Ubuntu) "ubuntuone-syncdaemon running although I have no account (affects: 1) (heat: 6)" [Undecided,Incomplete] https://launchpad.net/bugs/744731 [15:44] dobey: by the way, branch fixed :) [15:45] nessita: C++ [15:45] rye: I disagree! :-) but let me confirm before putting a battle [15:45] fagan: oh, my condolences [15:45] nessita: I love C and C++ [15:45] hehe [15:45] fagan: oh, my condolences**2 [15:45] mandel: you'd love to write a compiler? [15:46] nessita: it's ok, have you putit oncanonicaladmin? [15:46] or is it just a few hours? [15:46] after 3 years of java C++ was a dream [15:46] ralsina: nopes, since is a paperwork for canonical. Shall I? [15:46] dobey: me, yes, I started a phd in compiler optimization regarding graph theory and specific improvements in that area related to the grammar used :) [15:47] then left it for money :P [15:47] mandel: oh, so you *are* insane :) [15:47] mandel: wow that sounds like a lot of work :) [15:48] * fagan slept through most of graph theory so knows how much work it is :P [15:48] I suppose not [15:48] well, my final year project was about genetic analysis of DNA… some cows were dying in africa and we wanted to cure them from manchester :) [15:49] mandel: lol did you actually do it? [15:49] fagan: he probably ate them before they got sick [15:49] save the cows, no, but I did the software for the DNA clustering [15:49] alecu: typo fixed and pushed [15:50] dobey: thats the only way [15:50] I spent 2 years studying Hardy-Littlewood's Maximal Operator and implications on differentiation theory. So much FUN [15:50] well, when I left we had a problem because the mice were dying and we did not kow if they were depressed [15:50] I didnt know mice got depressed [15:51] yes, funny story,there are machine to test that, but are illegal in europe [15:51] * fagan realises this conversation is very quote worthy [15:51] Me neither. Mice do get *compressed* though [15:52] ralsina: haha [15:52] the idea is to hang the mouse upside down for 30 min, if they dont give a crap, they are depressed, but doing it is against their rights [15:52] * fagan gets the campaign started for mouse rights [15:52] (starting with the right to marry) [15:52] so they were thinking of doing it in africa, but then, we had to have the mice there… which as problematic [15:52] s/as/was [15:52] ok where was i with this installer insanity [15:52] stuff yo are legally allowed to eat doesn't have toomuch rights, IMHO [15:53] ralsina: so you still in calls? [15:53] let's get back to business [15:53] * mandel goes back to qt testing [15:53] ralsina: don't know about you, but i'd like my meat to be good and healthy when it gets cut up to go on my plate :) [15:55] fagan: just hangup 20 seconds ago [15:55] ralsina: cool [15:57] damn you phone guy! [15:58] stop cutting the wrong wire! [15:58] hah [15:58] ralsina: would you have a slot to review https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/decouple-devices/+merge/55345 ? [16:01] nessita: want me to take a look? [16:01] mandel: I would love to! IRL tets instructions are detailed as merge proposal description [16:01] alecu: did you manage to IRL test the branch re: net conn? [16:01] nessita: ok, mine it is then [16:02] nessita: sure [16:02] nessita: but in about 1 hour after I am done with fagan [16:02] ralsina: no problem, mandel and alecu are taking care of that [16:03] cool [16:07] alecu: I've factored out two methods, http://pastebin.ubuntu.com/586909/ draw_attention and switch_to in the controlpanelwindow. If I want to be able to call those through dbus, is the easiest way to make the window a dbus object, and decorate those two methods? [16:09] as it turns out, testing the install of packages is hard when there are 1GB of packages being upgraded at the same time [16:12] Is it possible to search within the notes using the web interface? [16:17] vadi, not at the moment, no [16:17] mm, unfortunate. Doesn't seem like Tomboy is too xp-friendly at this point either [16:19] nessita, ping [16:20] nessita, the branch looks ok, and it seems to be working fine. [16:20] alecu: great! [16:20] but... ? [16:20] nessita, but I think I've met the issue you mentioned. [16:21] nessita, if I click on the device tab, it will not timeout immediately. [16:21] nessita, but [16:21] nessita, when the wheel is spinning, I try to click on other tabs, and then return to the devices tab [16:21] nessita, then it looks like it's fixed. [16:21] grm [16:21] *weird* [16:21] * nessita tries [16:22] nessita, so, I'm thinking that it has to do with soup not failing immediately. Or caching the name resolution. Or some other soup issue. [16:22] i doubt it's a soup issue [16:22] but let's try a bit more. It's very annoying to have to disable networking :P [16:23] alecu: sounds like it :-/ [16:23] dobey, why? [16:23] alecu: well for one, nessita seems to be the only person with the problem? [16:24] dobey, I'm experiencing it as well [16:24] * alecu stops his network connection. [16:24] alecu: and the problem is that it takes about 5-10 seconds for the connection attempts to fail? [16:25] alecu: or 10 minutes or what? [16:26] alecu: are you testing other things, or only control panel? [16:26] dobey: the control panel backend [16:27] * nessita goes offline as well === nessita1 is now known as nessita [16:29] more dbus questions: When a service exposes a single interface, the bus name and the interface name are/can be/should be the same? [16:29] can be [16:29] and for methods that have no arguments, I simply don't provide an in_signature? [16:29] aren't always, and shouldn't necessarily be [16:29] thisfred: yes to the second question [16:30] thisfred: in_signature defaults to '', which is no params [16:30] dobey: good enough, nessita: thx [16:30] anywya [16:30] must get some lunch. bbiab [16:36] wow mass time outs [16:37] anyone here? [16:37] stupid_bot: yep [16:39] nessita, so, I can reproduce your issue, when clicking on the "Devices" tab very soon after disconnecting. [16:39] hallo.... [16:39] nessita, the spinner keeps on going three minutes after the web call is made. [16:39] alecu: any ideas? I wouldn't put too much effort on this due to other priorities that we have [16:39] can you help me fagan>? [16:39] argh [16:40] stupid_bot: well probably not me but somebody [16:40] stupid_bot: just ask your question in the channel and people will answer when they are available (usually soon) [16:40] nessita, and the libsoup callback is never called (_handler) [16:41] nessita, so, I guess it might be a libsoup issue. [16:41] alecu: is there any way to enable some debug on libsoup? [16:41] nessita, don't know. [16:42] alecu: ok, do not worry, we'll gave to use this as is :-/ [16:42] alecu: thanks a lot for your debugging time [16:42] nessita: ping [16:42] mandel: pong [16:42] nessita, and the 4L error we see is SOUP_STATUS_CANT_CONNECT from here: http://library.gnome.org/devel/libsoup/stable/libsoup-2.4-soup-status.html#SOUP-STATUS-OK:CAPS [16:42] alecu: groso [16:42] why firefox wont popup after i click manage account [16:42] nessita, perhaps we should let it go a much longer time and see what happens. [16:43] stupid_bot: where are you clicking "manage account"? is the ubuntu one preferences? [16:43] nessita: question, probably due to my ignorance, why do you have a yield self.assertFailure in one of the tests? [16:43] nessita, also, it's very easy for the user to work around: he'll probably start clicking on other tabs and the spinner will go away. [16:43] yup nessita [16:43] mandel: becasue assertFailure returns a deferred [16:43] nessita, and I believe it only happens in a short period of time since the network is disconnected. A few seconds later it will not show up. [16:44] does it? is that from trial? [16:44] nessita, so I believe we should mark this as low priority, unless more people start finding it. [16:44] mandel, yes, it's from trial [16:44] stupid_bot: what version do you have? please paste in pastebin.ubuntu.com the output of running this command in a terminal: apt-cache policy ubuntuone-client-gnome [16:45] mandel: please note that you can run things that returns a deferred within the addertFailure call [16:45] assertFailure* [16:45] alecu: I will not even report the bug, is very unlikely we will be able to do anything about it [16:45] alecu: +1 to your opinion [16:47] nessita: yes, it was just that I founded odd too see it [16:47] mandel: that method is awesome :-) [16:48] nessita, mandel: you always pass a deferred as the first arg of assertFailure. It returns a second deferred that will callback if the first deferred errbacks with one of the exceptions passed as 2nd, 3rd, etc args, or it will errback otherwised. [16:48] mandel: it asserts that a method that returns a deferred, fails [16:49] mandel, that's why you need to either yield on that second deferred, or return it from your test so trial can wait on it. [16:49] alecu: yes, I've always returned those, I just wondered why the yield, since you are doing nothing with the result and trial should take care of that [16:50] but I dont see any harm on using it like that [16:50] ralsina: your internet back working? [16:51] * fagan got the program to pass pep8 with the time [16:51] nessita: when testing your branch, it has to be in natty, right? [16:51] fagan: maybe, maybe not, it's driving me crazy [16:51] mandel: oh, it's not a second deferred, but the first deferred with some callbacks added: http://twistedmatrix.com/documents/10.0.0/api/twisted.trial.unittest._Assertions.html#failUnlessFailure [16:51] ralsina: you can review the branch anyway and get back to me. It passes the tests and all now. [16:51] and its running nicely [16:52] mandel, and yes, it should work, but perhaps trial reports it in a nicer way. Or perhaps not, since trial won't have the line number, but doing a yield there will. [16:53] mandel, hmmm... yes, I think a yield there should produce more meaningful errors [16:53] fagan: I will try now, if nothing goes mad again [16:53] mandel: yes sir [16:53] but I don't think anybody did that on purpose yet :P [16:54] WOOHOO, I just switched panels from d-feet. Victory! [16:54] fagan: what time is it for you, and when's your EOD? [16:54] what happened with stupid_bot? [16:54] thisfred: YEAH [16:54] ralsina: just before 5 [16:54] nessita, approved. [16:54] and my day is finished at 5 [16:54] nessita: now to throw it all away and come up with tests... [16:54] thisfred, coool!!! [16:55] it is :) [16:55] ralsina: I can hang on though for a few minutes since I did spend a bit of time waiting around [16:55] thisfred, but was it d-feet or victory? [16:55] fagan, ok, I'll do the review and send you an email [16:55] I might get the hang of this yet [16:55] alecu: :) [16:55] thisfred: I wasn't expecting anything less from you [16:55] or paste everything on private [16:55] ralsina: you can paste everything if you want [16:56] fagan: sorry, in the hour I was without internet things piled up. We'll do it better tomorrow [16:56] ralsina: cool ill get a fresh task from mandel tomorrow and we can do one big review [16:56] alecu: yes, trial just returns a very ugly message :P [16:57] or rather, I'll do it better even if I have to go to a freaking bar to do it [16:57] fagan: yeah [16:58] ralsina: well I did learn a lot regardless today :) [16:58] so it was progress [16:58] i allready paste it .. [16:58] fagan: cool [16:59] dobey, ralsina: are we doing any releases today or tomorrow? [17:02] joshuahoover: you might be waiting for an answer from ralsina :) [17:02] fagan: k, thanks for the heads up :) [17:04] joshuahoover: maybe tomorrow [17:04] ralsina: k, thanks [17:04] joshuahoover: my internet is completely wonky today and doesn't seem to be improving [17:05] ralsina: ah, sorry to hear that...makes communicating here a little difficult, huh? ;) [17:06] joshuahoover: oh, yes [17:06] I am lagged to hell and back, and it drops every 5 minutes [17:06] nessita: approved with a small stupid comment that you are free to ignore :) [17:07] thisfred, sorry I didn't answer about your refactoring+dbus question... I'm looking at it right now. [17:07] alecu: nm, I got that to work, so I think it's ok :) [17:07] ok, I am going to take a lunch break, buy the phone company guy a beer to see if he works better with alcohol :-( [17:08] (I was in the middle of shutting down the network connection and restoring it for testing naty's branch) [17:08] thisfred, did you end up decorating with dbus that class, or making a different one? [17:08] alecu: yeah, np, I figured you were busy, I just forged ahead [17:08] thisfred: ping [17:08] alecu: I had to make a new class [17:08] joshuahoover: pong [17:08] thisfred, I would recommend making a different one, because dbus is sometimes weird. [17:08] brb [17:09] thisfred: do you know if these 2 desktopcouch bugs are still set to be fixed for natty? bug #675557 and bug #474170 [17:09] yeah I found that out :) [17:09] Launchpad bug 675557 in desktopcouch (Ubuntu) (and 1 other project) "Incorrect encoding of slashes in paths (affects: 1) (heat: 30)" [Medium,In progress] https://launchpad.net/bugs/675557 [17:09] Launchpad bug 474170 in desktopcouch (Ubuntu) (and 1 other project) "Deleted synchronized database always come back with the next sync (affects: 4) (heat: 17)" [Medium,Confirmed] https://launchpad.net/bugs/474170 [17:10] joshuahoover: The first one I want to look at at the sprint. The second one is unlikely, since we've not thought of a way it can be solved yet. (It would mean significant new code even if we did) [17:10] thisfred: cool, thanks! i'll mark the first for beta2 and update the 2nd [17:10] shiny [17:13] back. [17:14] ralsina, nessita: if you review this, you will be my heros: https://code.launchpad.net/~mandel/ubuntu-sso-client/add_windows_startup_script/+merge/54888 [17:14] thisfred, I mean, dbus decorators do weird stuff to python methods, so it's always better to make dbus decorated method be just stubs that call other methods in other classes. [17:15] alecu: yep, that's exactly what I ended up doing, when I got all kinds of weird metaclass errors ;) [17:15] thisfred, so... sorry I didn't warn about this earlier :-( [17:16] alecu: no problem, I would have repinged if I'd gotten stuck, but I didn't :) [17:16] mandel: I'll do it if I become an heroína, not a hero [17:16] I'm having a smart day [17:16] thisfred: please share some! [17:16] * nessita is not [17:16] mandel: let me take a look [17:16] nessita: sorry, but you are not going to reach the level of a drug :) [17:17] ralsina, nessita: give me a sec to fix the conflict, it looks like another branhc landed first [17:17] nessita: if you are heroína, at 55Kg you are worth about a million dollars (and I agree!) [17:17] * mandel is willing to change his sex 100kg == lots of money! [17:18] nessita: and I'd have some neighbours that would be interested in meeting you [17:21] :-) [17:21] alecu: one more question: If I want to make an asynchronous dbus call, but am not interested in the result, should I pass lambda X:pass or something as the reply handler? [17:22] I don't know why I used a capital X there. Prolog flashback? [17:22] thisfred: yes sir, I can point you to tons of code that do that [17:22] thisfred: are you coding a test or a production code? [17:22] nessita: thx! [17:22] nessita: production code. [17:22] thisfred: I have examples for both [17:22] awesome, love to see them [17:23] ok, so, for instance: ubuntuone/controlpanel/gtk/gui.py, search for "self.backend(" [17:23] nessita: yep, got that [17:23] thisfred: ^ that is production code that accesses to the backend dbus service [17:23] thisfred, btw: make sure all your dbus calls are async or bad things will happen :-) [17:24] alecu: I intend to [17:24] thisfred: for tests, tou can check ubuntuone/controlpanel/gtk/test/test_gui.py, look for self.assert_backend_called [17:24] nessita: obrigado [17:24] thisfred: that test *also* tests that the call was async, which rocks, becasue otherwise I always forget [17:26] nessita: looks like the test on sso work as expected, the branch I asked you to take a look fails the register_user on windows because I'm missing the name, first tiem I'm happy because I see a test failing :) [17:27] mandel: so, one thing about that: [17:28] mandel: ah no, nothing. On natty we're adding the new param displayname, so you should add that when you work on that feature [17:28] yes, doing it right now :) [17:30] awesome [17:30] mandel: so, your branch is ready for review, right? [17:31] nessita: let me push it, one min [17:36] sure [17:36] * alecu goes to have lunch === alecu is now known as alecu-lunch [17:40] joshuahoover: ubuntu is in beta freeze right now, so probably not unless there are urgent fixes we need to get in; and they would probably have to be today [17:40] UbuntuOne client keeps uploading the same file over and over [17:42] It's been doing it all night [17:42] Won't stop uploading the same 3 files [17:45] <__lucio__> Doughy, can i see the log files on ~/.cache/ubuntuone/log/syncdaemon.log? [17:45] hang on [17:48] ok [17:48] shows repeated entries for the files in question [17:48] I can send you the file [17:52] alecu-lunch: I'm assigning bug #734671 so you can work on that when you have a slot [17:52] Launchpad bug 734671 in ubuntu-sso-client (Ubuntu) (and 1 other project) "ubuntu-sso-login crashed with ValueError in getsecret_handler(): too many values to unpack (affects: 9) (dups: 2) (heat: 284)" [Undecided,Confirmed] https://launchpad.net/bugs/734671 [17:55] nessita, ralsina: I'v found a nice error when merging with trunk in the branch I told you, I'm going to walk the dog to see if a muse appears and lets me fixed, I'll ping you when I'm sure it works [17:55] mandel: good luck! [17:55] mandel: cool [18:17] mandel: what exactly provides qtreactor? [18:18] grr, aptdaemon hates me === beuno is now known as beuno-lunch === beuno-lunch is now known as beuno [18:45] thisfred: uhm [18:45] thisfred: where is that fix you said landed in trunk? [18:46] oh, in u1cp [18:47] dobey: yep [18:47] huh [18:48] dobey: https://code.launchpad.net/~thisfred/ubuntuone-control-panel/lp-721525/+merge/55327 [18:48] ah nightlies haven't built yet [18:48] dobey: and needs a new .desktop file build [18:55] dobey: qreactor is a reactor that uses QEvents rather than the normal select methods. In terms of the tests, it creates a QApplicatio mainloop similar to the glib based one) that simplifies the testing with Qt and trial [18:56] mandel: i didn't ask what it was, i asked provided it :) [18:58] dobey: the fact that there is a main QApp running the twisted reactor which makes life very easy for test with Qt in it [18:59] need to go now, we can talk more about it later :) [19:00] later then === alecu-lunch is now known as alecu [20:22] dobey: ping [20:23] mandel: hi [20:24] helo [20:24] ups, where did the l go? [20:25] it fell down and the helo's about to crash? [20:25] anyways, I was saying, the qtreactor allows to write twistted applications that use the Qt main loop, so adding it to the u1trial allows to fully test the windows port because we have a qt app that uses twittted [20:26] mandel: i wasn't asking you *why* you want it there, or *what* it does [20:26] mandel: i was asking *where* does the module come from? [20:26] ah! [20:27] that is an easy question http://twistedmatrix.com/trac/wiki/QTReactor [20:27] but the git link is broken, the correct one is https://github.com/ghtdak/qtreactor [20:28] ideally, if it is ported to pyside, which I'm tempted to do, it could be added to twisted itself [20:30] some thing in the qt licese is problematic [20:31] mandel: and we're shipping it in the windows installer? [20:32] mandel: what's problematic on the qt license? [20:33] ralsina: twistted is MIT, pyqt is GPL, that is why they don't include it, we can, we are gpl [20:33] ralsina: well it was GPL [20:33] qt 4.5+ is LGPL though [20:33] dobey: yes, do you think there is a problem? [20:33] so it shouldn't be a problem to include a reactor for that in twisted [20:33] dobey: that's why I asked "what is". PyQt is still GPL though, but so is our code [20:34] mandel: there is a problem for the qt3reactor, but i think the qt4reactor could be shipped by default, same as the glib one [20:34] dobey: superb :) we are not using the qt3 one [20:34] ralsina: it's not our code that's problem. it's including the reactor in twisted by default upstream [20:34] yes, that is why I'm tempted to port it as a pet project [20:34] mandel: hrmm, but if it uses PyQT then it's still an issue, if PyQT is still GPL as ralsina says [20:35] dobey: for us to ship it? really? I though that since we are GPL, there is no problem, but I can port it, is not too hard [20:35] can we just fix all our stuff to not use twisted? :) [20:36] dobey: well, including qt-reactor in twisted is not exactly an urgent concern for us, unless it's making things very hard for you mandel? [20:36] mandel: we can ship and install it by default in our installer, sure. [20:36] cool :) [20:36] mandel: we can't include it as part of twisted itself. exactly [20:36] dobey: and I dont think we can get twisted out, not at this level :) [20:36] oh, ok, pet project! that's a cool idea ;-) [20:36] ralsina: i wasn't saying it was. i was explaining the license issue mentioned on the twisted qtreactor web page [20:36] mandel: well, rewrite in vala :) [20:37] but you know my evil plan, replace all classes by gobject ones and use instronspection to use the in python, and one day realize everything is gobject :P [20:42] * fagan likes vala [20:43] dobey: only thin I can see a problem with is the protobuffers part [20:44] mandel: how is that a problem? [20:45] dobey: is there a compiler for gobject? [20:45] gobject isn't a language [20:45] or you mean, to generate gobjects out of protobuf descriptions? [20:46] mandel: we could just move away from protobuf [20:46] dobey: well, then we have to touch the server side, and that is not an area I wan to play with [20:47] mandel: not really, we just have to use the same protocol on the client in a different way [20:47] oh, well.. since they wont let us, It think I should call it a day :) [20:48] I need energy fight with qt/windows/world [20:48] and the gf already yelled at be for being here too long [20:48] heh [20:48] mandel: how many hours do you work? [20:48] * fagan is wondering [20:49] "too many" [20:49] just seems like a lot of hours [20:49] well dobey we started at the same time this morning :) [20:49] and he is just finished now [20:49] :) [20:50] fagan: I do stop to go to the gym and walk the dog and those things, and this time of the day is good to talk with dobey, he is not trying to covince everyone to change the world :) [20:51] hah [20:51] so you do the lots of breaks kind of day thats cool [20:52] well, not lots, I wake up at 7 walk the dog for 1 hour, then breakfast, work til 130 walk the dog, work, walk the dog and 6:30 and maybe gym and the 2 or 3 hours more if I'm having fun with the code of the day :) [20:53] wow lucky dog [20:53] * fagan likes cats (no walking) [20:53] yes, he is a lucky bastard :) [20:53] <3 cats [20:54] well, need to go, gf calling and she is a spaniard (dangerous women) [20:54] laters! [20:54] later mandel [20:54] * fagan dreams of a woman with a nice accent :) [20:55] But maybe not spanish I like English or Australian [20:56] i think i need a break myself [20:56] dobey: do breaks are always good [20:57] plus slacking off is always to be encouraged [20:57] am feeling hungry again, and need to figure out how to tell when aptdaemon is *really* done [20:57] dobey: cant you not ask it? [20:57] * fagan thought there was some dbus signal for that [20:58] it's not a very well designed API, no :) [20:58] :) [21:00] dobey: if I can help ill be checking on IRC periodically [21:00] I dont mind :) [21:01] dobey, ping. I was wondering about: [21:01] ubuntuone/platform/linux/unity.py:import gio [21:01] dobey, do we include gio as a dependency? [21:01] alecu: it's part of python-gobject [21:01] dobey, facundobatista wants to use it to make syncdaemon move files to the trash [21:02] dobey, great, thanks. [21:02] alecu: i want us to use the file change monitoring it has :) [21:02] so we can get rid of pyinotify [21:02] alecu: nessita: so when I switch to async calls, my dbus methods stop working. Do I need to do something to the service itself to make async work? http://bazaar.launchpad.net/~thisfred/ubuntuone-control-panel/gui-service/revision/119 [21:03] thisfred, looking [21:04] I think I may be doing the mainloop thing wrong [21:04] thisfred: looking [21:04] dobey, how can I check if that python-gobject is in the natty CD's (I want to learn this for any package :) ) [21:05] facundobatista: we already require it [21:05] dobey, ok, but I want to learn the generics... how can I check if the XYZ package is in an Ubuntu CD? [21:05] thisfred: you have to provide both, reply_handler and error_handler. And why did you moved the DBusGMainLoop(set_as_default=True)? [21:05] facundobatista: but you can look on http://cdimage.ubuntu.com/ at the .manifest file for each cd image [21:05] thisfred, do you have that same problem if you uncomment the "#, error_handler=error_handler)"? [21:05] thisfred, (both of them) [21:06] eod for me, since I have been here for 11 hours already. Have a nice evening! [21:06] nessita: alecu yeah, if I provide both nothing changes, and I moved the loop to see if that helped but it doesn't [21:06] ralsina: enjoy! [21:06] thisfred: branching and testing. Do you have the backend running? [21:07] dobey, is there a way without needing to download the .iso? [21:07] facundobatista: get the .manifest file instead of the .iso [21:07] facundobatista: it is a list of all the packages in the .iso [21:07] nessita: yeah, I think so, though not from this branch [21:08] nessita: alecu so if you go back to r118, it works, you can switch between panels with the --switch-to= switch [21:08] dobey, there! awesome, thank you! [21:08] facundobatista: eg. http://cdimage.ubuntu.com/daily-live/current/natty-desktop-i386.manifest [21:08] facundobatista: sure [21:08] dobey, yes, found it :) [21:09] ok, i am taking a break now. bbiab [21:10] thisfred: there is no alert method in ControlPanelService [21:10] thisfred: were you trying with alert or swicth_to? [21:11] nessita: you're right, that should be draw_attention [21:12] thisfred: also, you're expeting a window parameter in ControlPanelService, where is that being passed? [21:12] expecting* [21:12] nessita: I was testing with switch_to [21:12] thisfred, nessita: I think the problem is the sys.exit just after the async call [21:12] thisfred, nessita: I would expect the sys.exit to happen after the async call has returned. [21:12] alecu: that too [21:12] ie, in the reply_handler [21:13] but anyways, the ControlPanelService can't be created without the window param... [21:13] thisfred: how were you planning on creating/passing that window to the ControlPanelService ? [21:14] (the sys.exit should happen in the reply_handler and in the error_handler too) [21:14] nessita: the controlpanelwindow creates the service, but yeah, I see how that could cause timing problems [21:15] ok, thx, back to the drawing board [21:15] good luck [21:18] alecu: I think we can't do the sys.exit(0) at all, because we don't know if either one or both of the methods were called. So then we'll have to make the bin script wait for any async methods to be called. That sort of feels like maybe they should be called sync in this case? [21:19] thisfred, can both switch-to and alert be called at the same time? [21:19] yep [21:19] thisfred, in that case, maybe have one method call with both boolean parameters [21:19] makes sense [21:19] thisfred, or make the handler of one call the other and set up another handler to exit. [21:20] thisfred, but I believe reverting to sync will lead back to trouble. [21:20] That seems like a pain. And they're not always both called. So a single method that can deal with all combinations is probably easiest [21:22] ok, great [21:22] * alecu will reboot after 400mb of updates [21:44] good evening #ubuntuone [21:45] bye karni [21:46] nessita: you going? I was greeting, after few hours away ^ ^ [21:46] karni: ah! no, I was confused then [21:46] nessita: perhaps I was confusing! [21:46] karni: though I'm leaving soon :-) [21:46] :) [21:54] english is confusing [21:58] I got an interesting error today on boot. "Keyboard error or no keyboard present" followed by "Pres F1 to continue, DEL to enter SETUP" [21:58] How smart is that! [22:04] ok crowd, I'm off [22:05] see ya all tomorrow! [22:05] karni: it's fine if it's at/ps2/usb, but bluetooth not so much :) [22:06] karni: that one's always been my favorite. :) [22:06] dobey: it was a PS2 keyboard, but how am I supposed to press a key if it doesn't recognize the keyboard heheh [22:06] nhaines: o hai! ready for a new ubuntu one files apk :)? [22:07] karni: yup! :) [22:08] karni: well it just assumes that it's unplugged. that message hasn't changed in 25 years :P [22:08] nhaines: QR code for you http://goo.gl/Nq37N [22:09] dobey: I just can't understand how can they ask to press a key if there's no keyboard plugged (or there's keyboard error) ;) [22:10] well it assumes the user is smart enough to check the physical keyboard connecction first :) [22:10] what i don't understand, is why aptdaemon is saying it's done, when it isn't yet [22:13] * nhaines loves qr codes. [22:15] karni: I hope there's some nice art assets coming for the client eventually. :) But ignoring unimportant stuff, I'm looking forward to seeing what works and what doesn't in this new version. [22:16] i wish i didn't have to actually install stuff to test this [22:16] nhaines: there's a little UI candy, but yes, I'm waiting for those art assets :x [22:17] nhaines: you'll notice some senseless icons in the quick action 'context menu' -- this is waiting for art assets as well. [22:20] karni: ooh, I like the context menu! [22:21] nhaines: publish one file, you'll get a little more options, so that you'll probably have to scroll it sideways [22:21] http://ubuntuone.com/p/k4R/ [22:21] nhaines: hahahah [22:21] It works! :D [22:21] thanks :) [22:22] karni, there are some server and server-like bioses where you can enable booting anyway when a keyboard error happens. But they seem to be the minority... [22:22] karni: that's probably my favorite feature of U1 in general... so to have it on the phone and also autocopy the public URL, that's really great. :D [22:22] nhaines: the directory context menu will have 'share' option eventually. oh crap, I forgot a folder is syncable as well [22:22] alecu: if you're still around: I pushed a new version, but whatever I seem to do, async does not work (which does not surprise me, but what surprises me is that sync does.) In the latest version, if you uncomment the stuff in the bin script, it becomes async, and stops working... [22:23] nhaines: I'm happy you like it! :) [22:23] alecu: True, you can even make the PC start without the keyboard (but you have to plug it initially anyway ;D) [22:23] thisfred, looking [22:24] r121 [22:28] method works fine from d-feet too [22:29] It *looks* like the reply_handler just never gets called [22:38] anyway, I have to walk the dog. Will check back later. [22:40] alright am out. cheers all [23:00] thisfred, ping [23:01] thisfred, I think that after service.switch_to_alert some event loop should be started. [23:01] * karni grabs some food [23:17] thisfred, I've sent an email with some comments on the branch [23:18] and this is EOD. bye all! === m_conley is now known as m_conley_away [23:51] Yay, I'm super close to having dbus panel switching and attention drawing working right for the control panel. Should be able to finish it tomorrow morning, [23:51] EOD