/srv/irclogs.ubuntu.com/2012/03/21/#ubuntuone.txt

CFHowlettdoes ubuntuone for iphone also run on the ipad?07:44
=== zyga is now known as zyga-afk
mandeldobey, ralsina will update the proposals09:28
mandelmorning all!09:30
JamesTaitGood morning all! :D09:40
ralsinamandel: no I won't10:08
ralsinaand good morning!10:08
mandelralsina, I forgot the I :P10:13
mandelralsina, ups hehe10:13
ralsinamandel: hehe10:13
ralsinamandel: nice work on the creds-qt script!10:14
mandeldobey, I meant 'dobey, ralsina I will update..'10:14
mandelralsina, I need to fix that one, there is some refactoring needed so that we have a windows and linux and provide the correct qss on windows10:14
mandelralsina, I've ran it a looks ugly.. very ugly, also, we need an icon from lisettte10:14
ralsinayes10:15
ralsinahowever, it's not terribly crucial that the proxy credentials dialog is pretty10:15
mandelralsina, also I founf bug 961027 with the release you sent10:15
ubot5Launchpad bug 961027 in Ubuntu One Control Panel "on_download_finished signal is not correctly used in the Windows IPC" [Undecided,New] https://launchpad.net/bugs/96102710:15
ralsinaand it's a two-line fix, copied from the usoc gui main10:15
ralsinamandel: yes10:16
mandelralsina, yeah, is simple, but I like things to be nice :)10:16
ralsinaI also got a more misteryous one about using "_ " as a formatting character10:16
ralsinawhich I have not reported yet10:16
mandelralsina, he, it removes the _ because it takes them like an action?10:17
ralsinaIn any case, I need to hack on the qss loading so it becomes parametric, so we can do things like $separator_color in it instead of having 60 #abcdef in it10:17
ralsinamandel: I suspect we are sending %_ somehow to the logger10:17
ralsinamandel: or something similar10:18
mandelralsina, also, I've set up a auth proxy on windows and I'm not getting the creds auth asked.. so I think that QNetworkProxyFactory.setUseSystemConfiguration is not really working..10:18
ralsinaweird, I did get that before10:19
mandelralsina, I guess I have to set the proxy in the NetworkAccessManager to use QNetworkProxy.Default10:19
ralsinaI will do some IRL and reporting today I guess10:19
mandelralsina, can you test that because afaik in my system it is no using the proxy, and it is a 1 liner :)10:20
ralsinamandel: not right now, but yes10:20
mandelralsina, can you give me some background about this bug 95893810:21
ubot5Launchpad bug 958938 in Ubuntu Single Sign On Client "On windows, the proxy credentials cannot be retrieved" [High,Confirmed] https://launchpad.net/bugs/95893810:21
ralsinamandel: I think that's why the creds are not requested. See https://pastebin.canonical.com/62693/10:22
ralsinamandel: I just got that with an authed proxy10:22
mandelralsina, hm.. let me take a look10:24
mandelralsina, keyring is buggy.. I'm really considering doing my own lib for that called secrets with a sync and async api10:53
ralsinamandel: sure. But is there a way around that for today? ;-)10:54
mandelralsina, I think so :)10:54
ralsinamandel: yay10:54
ralsinaok, time to be a dad for bit, then walk, then breakfast. Will be back in about 90 minutes10:54
=== zyga-afk is now known as zyga
gatoxgood morning!11:29
mandelgatox, morning!11:29
mandelgatox, did you fix the bug?11:29
gatoxmandel, yes! :D i couldn't be more happy :P11:30
mandelgatox, what was the issue>?11:30
urbanapeHey, all. Will probably be out this morning. Lex still has pink-eye, and I need to run him to the doctor. He'll likely stay home, and hopefully Amber can take the afternoon off.11:30
gatoxurbanape, ack11:31
gatoxmandel, it was some problem between some part of the code not clean and the package not being generated correctly.... and mmy brain completely dry to look at the same thing for a long time :P11:32
mandelgatox, weird..11:33
gatoxmandel, yes....... the good news, is that it was an important bug and now it's fixed11:33
gatoxmandel, i'm reading your blog..... good post11:33
gatoxabout pyqt twisted reactor11:34
mandelgatox, evil qtreactor..11:34
gatoxagree11:34
nessitahello everyone!11:46
mandelnessita, morning!11:48
gatoxnessita, hi11:49
nessitahola mandel, gatox11:50
nessitaralsina: hello! you around?11:50
gatoxralsina, when you are around, look at this: http://ubuntuone.com/4ae2jDxfp5LKhpXYKeYTIT :D \o/11:51
nessitagatox: what did you install to get performance indicators?11:52
gatoxnessita, let me remember11:53
gatoxnessita, i look for "indicator" in the software center..... and install the system load indicator11:54
nessitacrap, I still need the reviews to move forward with the releases11:55
nessitaralsina: I need your reviews ASAP, please :-)11:56
gatoxnessita, mandel do you know which is the dbus api to publish a file and get the link? it wasn't really clear for me yesterday12:10
mandelgatox, from dbus or the rest api?12:10
gatoxmandel, i was using dbus for everything12:11
mandelgatox, no idea.. wask in #chicharra they should know12:11
gatoxi tihnk that might be change_public_access..... but i have to check that12:11
gatoxmmm.... yes.... it seems to be that....... and then you have to listen the signal PublicAccessChanged if i'm correct12:12
* gatox answering himself12:12
mandelgatox, if you hear voices, get worried12:15
alecuhello #ubuntuone!12:15
gatoxmandel, crap...... :P12:15
gatoxalecu, hi! o/12:15
mandelalecu, morning!12:15
nessitagatox: have you check on d-feet? that's the easiest way to digg that12:17
gatoxnessita, yes..... i was checking that.... but i wasn't sure..... but i think that it is the one i mention12:17
nessitagatox: yes, that's it (I didn't read that :-D)12:18
gatoxnessita, :P thanks12:18
nessitaalecu: would you please help me with one review? is the update of the stable-3-0 branch for u1client, and I guess you can check if it makes sense12:19
alecunessita, gatox: I heard you guys were needing a replacement for deferToThread for windows12:19
alecunessita, sure, I can make reviews12:19
nessitaalecu: https://code.launchpad.net/~nataliabidart/ubuntuone-client/stable-3-0-update-2.99.91/+merge/9853512:19
nessitaalecu: re deferToThread, I think there is no need... right mandel?12:19
alecunessita, gatox: did you end up putting the qt4reactor back just in order to use deferToThread?12:19
gatoxalecu, yess12:20
mandelnessita, no, I fixed it :)12:20
nessitaalecu: on windows we agreed we never could let the qt4reactor go since we depend on that for IPC12:20
nessitaalecu: so we did not "put it back", apparently we just weren't using it right12:20
alecunessita, ok.12:21
alecumandel, so, how did you fix it? do you need a review on that branch?12:21
mandelalecu, and the deferToThread issue was due to this: http://www.themacaque.com/?p=106712:21
mandelalecu, already landed12:21
nessitamandel: you know that we hve the same issue in linux, without any reactor involved? (now that you mention that)12:23
mandelnessita, what? deferToThread no working?12:24
nessitamandel: no, doing an exec on a dialog and eveything freezing12:25
mandelnessita, dammed, that is annoying, did you try to set WA_ShowModal to false?12:26
alecumandel, the solution in your blogpost sounds right12:26
nessitamandel: but I want the dialog to be modal... and no did not try that12:27
alecumandel, but I see a small issue that can lurk in there.12:27
mandelnessita, then we are stuck with show, I wonder why did the qt people add it12:27
mandelalecu, shoot!12:27
mandelralsina, how did you set the proxy in you system? which version of windows is it?12:28
alecumandel, since ._exec freezes every event going to the parent window, we *have* to make sure that nothing can be clicked on the parent window of the dialog when we use your solution.12:28
alecumandel, otherwise breakage can occur12:28
alecumandel, since the code that was doing the ._exec may rely on nothing changing on the parent.12:29
alecudoes it make sense?12:29
mandelalecu, yes it does, in the exampe case is for the proxy_creds dialog so we have no problem, but for control panel etc.. it is indeed something to consider12:30
alecu(I've been thru similar situations in other unspeakable frameworks, and changing from modal to modeless dialogs usually brings this issue.)12:30
mandelalecu, one question, have to tested proxy support on windows? how did you do it?12:30
alecumandel, if it is for the proxy credentials then we *might* have that same issue.12:31
alecumandel, think of this:12:31
alecuyou pop up the credentials dialog.12:31
alecumandel, but the user clicks again on the "ok" button in the parent.12:31
mandelalecu, the credentials dialog is a diff process from any other12:31
alecumandel, or in the "cancel"12:31
alecumandel, oh, ok.12:32
alecumandel, anyway: are the parent buttons being disabled while the child is showing?12:32
alecumandel, (nevermind if they are in different processes or different mainloops)12:32
alecuI'll test it right now.12:33
mandelalecu, exactly, the problem you are stating I think is already fixed by gatox and nessita :)12:33
alecunessita, gatox: awesome!12:33
mandelalecu, I'm setting the proxy in the windows control panel things and I'm not getting a 40712:33
mandelalecu, eventhough I do not have the creds and is a auth proxy12:33
alecumandel, but does it connect?12:34
mandelalecu, yes, control panel gets all the data12:34
nessitamandel, alecu: the u1cp gets disabled when the u1cp knows is popping up a window, which is *not* the case for credentials12:34
alecumandel, anyway: you should ask brian since I remember reading in the IRC logs that he got proxies working on windows.12:34
mandelalecu, I think ralsina got them working too12:35
alecunessita, so we need to let the u1cp know when proxy credentials are being requested12:35
nessitaalecu: well, is very very tricky to do that, since... how would you do that?12:36
* alecu thinks12:37
nessitaralsina: I need reviews from you :'(12:38
alecunessita, I would do it like this:12:39
alecunessita, when the control panel creates the webclient it passes an optional parameter. This parameter is a function, that takes a boolean, and we can name the argument something like this: "requesting_proxy_credentials"12:40
alecunessita, whenever the webclient needs to show the credentials dialog, it calls that function with True12:41
nessitaalecu: any chance the webclient emits a signal when "is processing"?12:42
alecunessita, the control panel already knows this:12:42
alecunessita, it's from the time webclient.request is called until the deferred returned by it is fired (with either callback or errback)12:43
alecunessita, perhaps the control panel could inherit the webclient, add that specialization to request and use that specialized class to do requests.12:44
nessitaalecu: the thing is that all this happens in the backend... not in the client12:44
nessitaalecu: client -> frontend I mean12:44
alecuright.12:45
nessitaalecu: and right now the frontend will disable the part that is being loaded12:45
nessitabut not the whole UI12:45
alecunessita, then I think it's safe enough.12:45
nessitaso if the account info is being requested to fill in the account tab, the "file sync status" widget and the get storage button are not disabled12:45
nessitaneither are the 'get help button', nor the twitter or facebook button12:45
alecunessita, the worst thing that can happen in all these cases is the proxy credentials dialog being thrown to the background12:46
mandelralsina, pin12:46
mandelg12:46
alecunessita, I think we should pass the window id so the proxy creds dialog is shown on top too12:46
nessitaalecu: well, following what you mentioned before to mandel, the user could click on the "parent"?12:47
alecunessita, yes, the user could click on the parent. And the parent will get focus, but the areas being requested would be grayed out.12:47
alecunessita, and if the user clicks on a different area, another creds dialog will pop up.12:48
mandelalecu, nessita yet, he could close the window, right?12:48
mandeland the proxy creds dialog will be left there, or am I wrong?12:48
nessitamandel: yes12:48
nessitaI guess so, yes12:48
alecumandel, yes, the proxy creds dialog would be below other windows.12:48
nessitaideally we need to make the Qt dialog be 'transient for' other window id12:48
alecumandel, *you* need to make sure that the process is terminated when the parent dialog is closed.12:49
nessitaalecu: but how can mandel know that?12:49
alecunessita, that will help with it not being "below" the parent. But not with it closing when the parent closes.12:49
nessitaalecu: if a window is transient for another, the parent can not be closed (at least in gtk)12:50
alecunessita, does this happen when they are in different processes?12:50
nessitaalecu: yes, the former sso worked like that. Sso was a process, and the window id was the control panel one (another process)12:51
nessita(sso process was the same as the sso UI process back then, but I think it applies the same)12:51
alecunessita, great then. It's probably a WM thing, so it should work on Qt too.12:51
nessitaalecu: anyways, I asked ralsina some time ago help for doing this... and unless we go deep in the wm stack, there is no way to do it12:52
alecumandel, so: in _launch_proxy_creds_dialog you should keep the reference to the process spawned by spawn_program. And in WebClient.stop you should make sure that the process is killed.12:53
alecunessita, I don't understand what is that you want to do.12:53
alecunessita, (I mean, with ralsina)12:53
alecunessita, closing the child when the user clicks to close the parent?12:54
nessitaalecu: no, setting a window to be transient of another window given its window id12:54
mandelalecu, nessita  that means that we need to change the runner implementation, which uses glib or qt, to return the process use for the creds dialog12:54
nessitaalecu: that can not be done from qt12:54
ralsinaHello again, sorry I am late, had to do something.12:54
ralsinanessita: I did a few of the reviews, did I miss any?12:55
alecunessita, I'll take a look at transient windows from qt later today.12:55
ralsinamandel: pong?12:56
mandelralsina, ho are you testing auth proxies on windows?12:56
nessitaralsina: unless I'm very wrong, I emailed you asking for 3 reviews and got only one done :-/12:56
alecumandel, probably we need to change that, yes. I think that the right way would be to return a tuple with the current deferred, and some way to close the process.12:56
ralsinanessita: ack, I did dobey's too yesterday. Will do them now.12:56
ralsinamandel: by using my public proxy which I have told everyone about a few times already.12:57
mandelralsina, I know that, but how did you tell the system that you are using a proxy?12:57
mandelalecu, ok, I'll file a bug for that and will take care of it as soon as I find out why I cannot get proxy working on windows12:58
ralsinamandel: I configured it on chrome12:59
ralsinamandel: which gave me the system's configuration dialog12:59
alecumandel, it sounds like an interesting bug, but let's better look at the bug list and see if there's something more urgent than that.12:59
mandelalecu, sure12:59
alecumandel, I think today is a fine day to make plans rather than dive into code.12:59
ralsinaalecu: doing a widows release soon is not low priority12:59
alecubtw: I love it when a plan comes together.13:00
ralsinaalecu: no, I need to get windows bugs fixed. Sorry.13:00
mandelralsina, I'll try the chrome path, but it seems that doing it from the control panel does not work13:00
mandelalecu, you are missing the cigar, I'm sure there is unicode for that :)13:00
alecumandel, this is it: 烟13:01
ralsinamandel: it's the same dialog13:02
gatoxralsina, hi there!! did you see my screenshot?13:02
ralsinagatox: not yet13:04
gatoxralsina, here is the link: http://ubuntuone.com/4ae2jDxfp5LKhpXYKeYTIT (when you can)13:04
mandelralsina, that is why I'm puzzled13:05
ralsinamandel: in fact, every app in the system picked it up.13:06
mandelralsina, in my case, all apps but u1 are using it13:06
mandelralsina, cause the release you made has proxy support, right?13:07
ralsinamandel: yes13:07
ralsinamandel: if it didn't have it, why would I get proxy errors on stderr13:07
mandelralsina, I know, I'm just discarding possible reasons13:09
alecunessita, I'm reviewing this branch of yours: https://code.launchpad.net/~nataliabidart/ubuntuone-client/stable-3-0-update-2.99.91/+merge/9853513:09
alecunessita, if I do a diff with trunk, the only thing that changes is the version in AC_INIT in configure.ac13:10
mandelralsina, I think is my system since I just for an error telling me it could not lauch a process within my projects dir..13:10
nessitaalecu: yes13:10
alecunessita, what kind of review you need?13:10
nessitaalecu: you should diff against stable-3-013:10
nessitaalecu: is a review that should check that features there have an approved FFe, and that no unwanted changes are there, mainly13:11
cparrinoChipaca, aquarius, beuno_, joshuahoover - online via dongle + windows machine13:11
alecunessita, right. I branch stable-3-0. I merge in your changes. I get trunk minus that small diff.13:11
=== beuno_ is now known as beuno
alecunessita, oh, ok.13:11
beunocparrino, wrong channel?  :)13:12
alecunessita, in that case, I see this, that has no FFe: Fix tunnel spawning code so that it works on windows.13:12
nessitaalecu: yes, but the idea is not compare against trunk, but compare the diff against stable-3-013:12
cparrinobeuno - only channel available to me atm13:12
beunoay13:12
alecubeuno, should we trust this guy? It looks like a fakeparrino.13:13
beunocparrino, what's your favorite christmas pudding?13:14
nessitabeuno: is easier than that, just start to argue with him, and of he plays along, he's he :-D13:14
aleculol13:14
nessita(you can recognize me in the same way ;-))13:15
mandelcparrino, if manuel was to shit on something.. what would it be?13:15
mandel:P13:15
beunohaha13:16
mandelralsina, I', stupid, I left sso running in a terminal from a branch I was working on..13:16
cparrinomandel, there's no such thing as "my favorite english pudding"13:17
ralsinamandel: ayayayay13:17
cparrinoalecu - no jodas!13:17
cparrino:-)13:18
beunoalecu, checks out.13:18
mandelralsina, I though it closed like the linux one..13:18
ralsinamandel: no, it doesn't13:18
alecu:-)13:18
mandelralsina, yep, I've realized that, why is that?13:18
ralsinamandel: because it starts too slow and because there was a bug where if you start it twice quick it starts twice13:19
mandelralsina, oh, cute13:19
ralsinamandel: and if you start it twice none of the instances reply on IPC13:19
alecunessita, I don't see a FFe for bug #956407, yet it's in the MP13:20
ubot5Launchpad bug 956407 in ubuntuone-client (Ubuntu Precise) "Apport recipe attaches old/useless log files" [Medium,Triaged] https://launchpad.net/bugs/95640713:20
ralsinanessita: reviews finished13:21
nessitaalecu: right, but that bug is not a new feature... just a bug fix13:21
nessitaralsina: thanks!13:21
alecuok13:21
nessitaalecu: we still can land bug fixes until final freeze13:22
nessitaalecu: which is april 12th13:22
alecunessita, I have just seen this add_info for apport function. I did not know it even existed. I think we should have it include the proxy.log file.13:25
alecunessita, I'll open a new bug for that.13:25
nessitaalecu: awesome13:25
dobeyalecu: does the proxy.log contain any 'private' info?13:26
alecudobey, I think not, but I should double check. I just realized that syncdaemon.log is not included, so it might make sense not to include it either.13:27
alecuI'll create the bug anyway, and we can check if we should include it or invalidate the bug.13:27
dobeyright13:27
dobeyit would be nice if we could automagically redact things in the logs13:28
alecudobey, perhaps by including some special sequence while printing it in the logs?13:30
alecudobey, like: SECRET("passWd"), and it gets translated into SECRET("XXXXX")13:30
dobeyalecu: depends on how we're currently doing it. but something like that13:32
dobeyit would be nice if we could register regex matches in apport somehow, like r'password="(.*)"' and apport would just replace the (.*) match with "[REDACTED]" or something13:33
dobeybut alas13:33
nessitaalecu: any other thing to note from the branch?13:35
alecunessita, I'm halfway thru reviewing the code.13:36
nessitaalecu: nice!13:36
dobeynessita: are there any left that i need to look at?13:38
nessitadobey: reviews? nopes :-)13:38
dobeyaye, ok13:38
dobeyi see ralsina approved the u1client one13:39
nessitadobey: yes, but alecu is also looking at it13:39
dobeyright13:39
nessitadobey: since he added most of the proxy code, I wanted to make sure the update had his approve13:39
dobeyping me when it lands, and i'll make the tarball13:39
nessitadobey: yes13:39
mandelI'm off to have lunch13:42
* mandel lunch13:42
alecunessita, +113:48
nessitaalecu: thanks!13:48
alecunessita, should I change the status too?13:48
nessitaalecu: already done, thanks :-)13:49
gatoxnessita, i have a doubt regarding this issue: https://bugs.launchpad.net/ubuntuone-control-panel/+bug/94425613:49
ubot5Ubuntu bug 944256 in Ubuntu One Control Panel "Using ubuntuone-control-panel-qt defaults to limit bandwidth" [High,Triaged]13:49
gatoxnessita, which should be the fix: no limit? a different limit?13:50
briancurtini'm not nessita, but i would go with no limit. the great majority of users are likely to be on high-speed connections with bandwidth to spare. if this was 15 years ago i'd probably think differently (but i'd also be 12 years old)13:53
nessitagatox: is not like you need to change the default :-)13:56
nessitagatox: there is bug that is missreading the defaults from syncdaemon13:56
nessitagatox: if you look at /etc/xdg/ubuntuone/syncdaemon.conf13:56
nessitayou will see that the default is:13:56
gatoxnessita, ahhhhhhhh that's the bug!!... i didn't understand that from the bug report13:56
nessita[bandwidth_throttling]13:57
nessitaon.default = False13:57
nessitaread_limit.default = 209715213:57
nessitawrite_limit.default = 209715213:57
nessitagatox: so, in general, controlpanel should not change the defaults from the syncdaemon's default13:57
gatoxnessita, the bug report just say: I installed ubuntuone-control-panel-qt on a clean system and it defaulted to limit bandwidth to 2048 kb/second.13:57
nessitagatox: rigth, so since controlpanel uses syncdaemon defaults, it means we're showing something wrong13:58
gatoxok13:58
alecunessita, ping14:00
alecunessita, I'm trying to install ubuntuone-client-proxy in a VM that has an older version of ubuntu-sso-client.14:01
alecunessita, it says that ubuntuone-client will be updated (perfect) but it does not mention ubuntu-sso-client being updated.14:01
nessitaalecu: what version of ussoc do you have?14:02
alecunessita, I think that might be an error, since ubuntuone-client now uses the webclient from ubuntu-sso-client14:02
alecunessita, 3.1+r922-42~precise114:02
nessitawow that's old... well, in nightlies is very messy to put dependencies using revno version14:03
nessitaso we're just requiring ussoc >= 3.114:03
alecunessita, oh, ok.14:03
=== yofel_ is now known as yofel
nessitaalecu: you should update "by hand" as well, but the production package will be requiring ussoc 2.99.9114:03
nessitaso no worries there14:03
alecunessita, so, this won't happen in the main repo, right? if it only happens on nightlies I don't care :-)14:04
alecugreat14:04
alecuthanks!14:04
nessita:-)14:04
nessitadobey: did you make the tarball for protocol?14:05
dobeynessita: yes14:06
nessitadobey: buuuu you did not let me know :-)14:06
nessitaI was staring at the version=2.99.91 and was confused14:06
dobeyyou were off playing with the kids at school :P14:07
nessitadobey: heh14:08
dobeyi discovered that bzr merge-upstream does uscan for you, yesterday14:10
nessitadobey: yes it does, that's why we need to fix the watch file every time14:10
nessitadobey: so you uploaded protocol 2.99.91 to ubuntu as well?14:11
dobeyi haven't uploaded it yet, no14:12
nessitadobey: will you or shall I?14:12
dobeyi will14:12
alecunessita, in the latest nightlies this file is missing: /usr/lib/ubuntu-sso-client/ubuntu-sso-proxy-creds-qt14:13
nessitaalecu: oh... hum... let's see14:13
alecunessita, and obviously sso fails when it tries to get the credentials.14:14
alecunessita, also, control panel fails in an ugly way14:14
nessitaalecu: how does it fail? when doing what?14:14
alecunessita, (it pops up a dialog with that error, I'm trying to reproduce to write the steps)14:15
nessitaalecu: yes, dialog popping up is the expected way14:15
nessitaalecu: the dialog sometimes freezes, and I think that's caused by the same exec_ issue that mandel had14:15
alecunessita, btw: the new control panel with the integrated wizard is awesome. I still don't like the cloud picture, and the text that's too bold, but it's awesome nonetheless :-)14:18
alecunessita, gatox, ralsina: congrats!14:18
ralsinaalecu: too bold?14:18
ralsinaalecu: change your default font to non-ubuntu-font and it's fixed ;-)14:19
alecuralsina, but my font is the default! :-)14:19
nessitaalecu: thanks!!!14:19
ralsinaalecu: ok ok ok and thanks!14:20
nessitaalecu: ok, great catch about the -qt binaries, will tweak packaging dailies now14:20
nessitaalecu: the whole code for those binaries is under the same namespace as the qt UI, right?14:21
nessitaoh no!14:21
nessitathere is a ubuntu_sso/webclient/qtnetwork.py outside ubuntu_sso/qt14:22
nessitagah this will be complicated14:22
alecunessita, don't know about namespaces. mandel?14:22
nessitaalecu: how does the webclient chooses the implementation use?14:22
alecunessita, ubuntu_sso/utils/webclient/__init__.py14:23
nessitaalecu: hum, this name is no longer valid, no? "is_qt4reactor_installed"14:23
ralsinanessita: let's do the 1:1 close to EOD so we can review how the releases went, ok?14:24
nessitaralsina: perfect14:24
nessitaalecu: also, I think I tested this, and asking for QCoreApplication.instance() will give you not None even if there is a QApplication running14:24
alecunessita, right: we should have used a different name there when we replaced the check with PyQt instead of qt4reactor14:24
alecunessita, I know that mandel made a branch that took it out, then another to add it.14:25
alecu*to add it back.14:25
nessitaalecu: trunk has it14:25
alecunessita, right: he took it out as you or ralsina requested. Then he put it back14:25
nessitaalecu: also... will you please help me with something? webclient/common.py:24714:25
nessitaalecu: why he put it back?14:25
ralsinanessita: panic14:26
alecunessita, 247, yes.14:26
nessitaalecu: so... what if qt is not available, ergo de SSL_DIALOG program is not availble?14:27
ralsinanessita: he said he got different objects on both tests, so it kinda scared him into putting it back in. Worst case it's redundant, not important14:27
nessitaalecu: I know we don't need to support a non-qt dialog,  but what will happen in that case? boom? nothing?14:27
alecunessita, probably we would get a similar WebClientError14:28
nessitaalecu: is there any chance to test that in the next 10 minutes? or is it too much to ask?14:28
briancurtinbesides general usage testing and some of the non-auth proxy stuff i did the other day, does anyone have any particular areas they want me to look at on windows?14:28
alecunessita, oh, wait.14:29
nessitaralsina: why did he panic? is the same instance https://pastebin.canonical.com/62722/14:29
nessitaalecu: /me waits14:29
alecunessita, we disabled ssl overrides. Now any ssl error is a webclienterror.14:30
nessitaalecu: not sure what that means, sorry :-$14:30
alecunessita, ubuntu_sso/utils/webclient/qtnetwork.py, line 8514:30
ralsinanessita: I would have to find logs but he was getting two different objects at some point.14:31
nessitaalecu: seeing that line, but really not sure what that means IRL, when a user is actually using this14:31
nessitaralsina: ok, no need to do that now14:31
ralsinanessita: right14:32
nessitaalecu: requesting a new nightlies build that will ship the qt UIs for proxy support only when the ussoc-qt package is installed14:33
nessitawill build in 9 minutes approx14:33
alecunessita, sorry, Lucila was telling me about the mirror that we need to replace in our car. :P14:33
alecunessita, she got her sideview mirror "crashed" too.14:33
nessitaalecu: $855 is costing me to replace my mirror14:33
alecu:-(14:33
alecunessita, our costs ~ARS 25014:34
nessitaalecu: since my car is under warranty, I can only repair it at the official shop14:34
alecuwe are going to Av. Warnes in a few hours.14:34
nessitathe chevrolet original mirror is $610, and the "mano de obra" $25014:34
nessitaa crazyness14:34
mandelalecu, yes, I did add it back 'cause I had an issue with it, but can be remove, I can double check14:36
mandelalecu, what about namespaces?14:36
alecumandel, I don't care about removing those bits right now. nessita had some concerns because she requested only checking for the coreapp instance.14:37
alecumandel, but in any case, it's harmless.14:37
nessitayes14:37
alecumandel, regarding namespaces...14:37
alecumandel, nessita asked: "the whole code for those binaries is under the same namespace as the qt UI, right?"14:38
alecumandel, but now she realized the answer is "no"14:38
alecubecause there are some bits that are in the webclient namespace.14:38
mandelalecu, which are 'those' binaries?14:38
mandelalecu, and if it is about qt, yes, we have code under webclient14:39
nessitamandel: so, we "can't" (is complicated) code that requires qt under webclient. Not code that do not support not having qt around...14:40
nessitaalecu, mandel: wanna mumble about this? I need to solve it asap to release to ubuntu, and freeze is today14:40
alecudobey, http://pastebin.ubuntu.com/893693/14:41
mandelnessita, sure, give me 5 mins (updates are taking place)14:41
mandelnessita, I'll ping you as soon as mumble works14:41
alecudobey, should I open a bug for it?14:41
nessitamandel: I m there14:41
alecumandel, nessita: I'm fetching the laptop to mumble.14:41
ralsinaalecu, nessita, mandel: do you need me on that call?14:42
dobeyalecu: yeah. and sigh.14:42
dobeyalthough i guess that's a bug in pygobject14:43
alecudobey, does this mean that no notifications will be shown at all?14:44
dobeyalecu: you get that on precise?14:45
alecudobey, up to date precise with nightlies14:46
alecudobey, in fact, let me update the rest of precise, because I only updated the nightlies.14:46
alecudobey, I'll ping you back.14:46
alecunessita, ralsina, gatox: you may want to check this screenshot of the error dialog: http://ubuntuone.com/0gcDwz2oNBMDOrUNUj89R614:48
ralsinaalecu: yes, I saw that, I need to fix it14:48
gatoxalecu, wow!14:48
nessitaalecu: yes, saw that14:48
alecuralsina, gatox: should I open a bug for it?14:48
ralsinaalecu: please and assign to me14:48
alecuralsina, ack14:48
nessitaalecu: yes please14:48
gatoxalecu, it's a feature...... we really encourage users to hide the details14:49
nessitaalecu: is the dialog also frozen sometimes?14:49
gatox:P14:49
dobeyooh!14:51
mandelnessita, alecu FYI waiting for updates to  finish to be able to mumble..14:51
dobeya progress bar!14:51
* mandel hates libre office14:51
alecumandel, click it off, dude!14:52
alecu(Stan: Dude, what the fuck is wrong with German people? )14:53
mandellol14:56
mandelalecu, nessita done, opening mumble, yet should we talk after the stand up?14:56
dobeyalecu: weird. so i didn't get the "Foo is uploading" notification, but no TypeError in logs either14:56
dobeyit's almost done14:56
nessitamandel: sure14:56
dobey(or maybe i just missed the notification because it pops up in a bad place)14:57
nessitame15:00
gatoxme15:00
briancurtinme15:00
mandelme15:00
gatoxalecu, dobey ralsina ?15:01
nessitadobey: with this new ussoc packaging issue, I will not be able to do the u1client packaging and upload to ubuntu today. I'm happy to do it next time, though :-)15:01
ralsiname15:01
alecume15:01
ralsinaDONE15:01
ralsinaoops15:01
nessitaDONE: finished landing branches to complete the u1cp wizard. Proposed update-3-0 branches for ussoc, u1client, u1cp and u1windowsinstaller.15:01
nessitaTODO: releases15:01
nessitaBLOCKED: ussoc packaging may be broken15:01
nessitaNEXT: gatox15:01
gatoxDONE:15:02
gatoxFixed the reactor issue, couple of reviews, update the state of some issues that were already closed. Started working on Bug #944256.15:02
gatoxTODO:15:02
gatoxFinish with limit bandwidth bug, keep working on some issues in my queue.15:02
gatoxBLOCKED:15:02
nessitaurbanape: standup?15:02
gatoxNo15:02
ubot5Launchpad bug 944256 in Ubuntu One Control Panel "Using ubuntuone-control-panel-qt defaults to limit bandwidth" [High,Triaged] https://launchpad.net/bugs/94425615:02
gatoxbriancurtin, go15:02
briancurtinDONE: debugging, call, 1-1, add_to_autostart branch, some testing last night and this morning15:02
briancurtinTODO: insert add_to_autostart call in case where no wizard runs on startup, whatever else needs to be done for release, probably get back to Mac stuff15:02
briancurtinBLOCKED: none15:02
briancurtinNEXT: mandel15:02
mandelDONE: Fixed creds dialog not working on windows due to using exec_ in the dialog. Looked at proxy on windows and the diff issues we have with the proxy creds. Also found an IPC bug comming from sd in ralsinas last release.15:02
mandelTODO: Fix proxy support and proxy creds on windows. Move to next bug in the list.15:02
mandelBLOCKED: no15:02
mandelralsina, please15:02
ralsinano notes yet,sorry15:02
alecuDONE: broken wifi while traveling meant I had to take a forced freaky tuesday. Been doing IRL of the nightlies today15:02
alecuTODO: more IRL to get the nightlies in shape15:02
alecuBLOCKED: not today15:02
alecuNEXT: ralsina15:02
dobeymeh15:02
alecuNEXT: dobeeh15:03
ralsinaDONE: started perf reviews, proposed --installer option, reviews, build windows for QA , manager-like-substances handled TODO: fix styling bugs on windows, herd cats, random other stuff BLOCKED: no15:03
dobeyλ DONE: releases, uploads15:03
dobeyλ TODO: u1client release, finish uploads, bug triage/fixing, some closed milestone reorg15:03
dobeyλ BLCK: none.15:03
nessitaany comments anyone?15:04
nessitaralsina: is urbanape with us today?15:05
ralsinanessita: he should be, but I am locked out of canonicaladmin until I can get back to linux15:05
ralsinaso maybe I misplaced him15:05
dobeynessita: you forgot thisfred?15:05
gatoxralsina, nessita, he said earlier that he was with some problems.... let me check the logs15:05
dobeyoh right15:05
dobeyhe's gone15:05
nessitadobey: he's off today15:05
nessitadobey: having a happy birthday I hope15:05
ralsinathisfred is off the rest of the week15:05
nessitagatox: ack15:05
dobeyyeah15:05
dobeyjust realized, when tab complete wasn't working :)15:06
nessitaheh15:06
mandeldobey, that would have never happened with gatox, he would have pinged someone else :P15:06
gatoxralsina, nessita urbanape says: Hey, all. Will probably be out this morning. Lex still has pink-eye, and I need to run him to the doctor. He'll likely stay home, and hopefully Amber can take the afternoon off.15:07
dobeyhehe15:07
gatoxmandel, jejje15:07
nessitaalecu, mandel: mumble then?15:07
nessitaalecu: ping?15:08
alecuI'm there15:09
dobeyuh oh15:14
dobeyze progress bar hasn't gone away15:14
dobeyand i haven't gotten any notification about the upload15:14
briancurtinbrb, quick run to the coffee shop (forgot to buy coffee at grocery store :/ )15:15
apolmandel: ping15:16
dobeyah, now there is a TypeError15:16
dobeyweird15:16
apolor anyone who can help me with SSO login, it broke when I moved from 11.10 to 12.04 -.-15:16
dobeybroke?15:16
apolstopped working15:17
dobeycan you be more specific about what isn't working exactly?15:17
apolok15:18
apolI was accessing the dbus interface in com.ubuntu.sso in /credentials15:18
apolcalled com.ubuntu.sso.ApplicationCredentials15:18
apolnow I don't seem  to have this service anymore15:19
dobeynessita: ^^ is this just the "old/deprecated api" getting removed?15:20
mandelapol, pong!15:20
mandelapol, how exactly?15:20
nessitadobey: one sec, mumble15:20
apolmandel: hmm... I don't know what other info to give :/15:21
mandelapol, sso has service activation, nessita is the master of this piece of code :)15:22
dobeymandel: it sounds like the old api being removed; and one needs to use /com/ubuntu/sso/blah/blah as the path now15:22
apolso... what/where is the new api?15:23
dobeyapol: please be patient, and nessita will help in a few minutes. :)15:24
apolah ah15:24
apolsorry15:24
nessitaapol: https://wiki.ubuntu.com/SingleSignOn/UbuntuSsoClient (will give more details after I finish this call)15:25
* apol waits... :)15:26
apolnessita: yes, that's what I was using before... maybe I need to install more packages?15:27
dobeyok, lunch time for me. bbiab15:28
nessitaapol: did you read the paragraph that reads:15:29
nessita"NOTE: formerly, the ApplicationCredentials interface was implemented under the /credentials object path. That interface is deprecated and should not be used. However, current applications using this interface will be able to do so until the Ubuntu 11.04 release inclusive, since it won't be removed it until 11.10. "15:29
* briancurtin chugs coffee15:29
nessitaapol: so, the /credentials path is not the same as /com/ubuntu/sso/credentials15:29
nessitaapol: /credentials path is deprecated, you should use /com/ubuntu/sso/credentials instead15:30
apolah15:30
* apol tries...15:30
nessitaapol: the API changes a bit, so the same calls as before will not work15:30
nessitaapol: please check the API in that wiki page :-)15:31
apolwonderful15:35
nessitadobey: would you please let me know if I need to do something specific to add the new dep python-openssl to ussoc?15:36
nessita(re: packaging)15:36
briancurtinralsina: should we change SHOW_CMD (conf.py) back to False now or just right before the official release?15:38
apolthis new API has a method called register which is a C reserved keyword, so it's not possible to generate the C interface of your dbus15:38
apolnessita: where you aware of that?15:38
apolIt's quite a common way to deal with dbus in Qt15:38
ralsinabriancurtin: I keep it True for QA builds and turn it off for release15:38
nessitaapol: not sure what you mean... would you please explain a bit?15:39
apolsure15:39
briancurtinralsina: good plan15:39
apolin Qt, to use a dbus interface, what you do is to generate the xml file of the interface using a line such as:15:39
apolqdbus com.ubuntu.sso /com/ubuntu/sso/credentials org.freedesktop.DBus.Introspectable.Introspect > ubuntu_sso_dbus_interface.xml15:39
apolthen it generates a .h file15:39
apollike this http://paste.ubuntu.com/89377315:40
nessitaapol: ack. So, the problem is...?15:41
apolnessita: the problem is that there's a method called "register" and you can't have anything called "register"15:41
apolI probably can find ways to workaround this, but well, it's still workarounding15:42
nessitaapol: can't you generate the .h so the method names use the namespace they are in? in dbus you have hierarchy (service name, object path, interface) so you can group your method logically15:42
apolwell, the method is ComUbuntuSsoCredentialsManagementInterface::register15:43
apolit's a method inside ComUbuntuSsoCredentialsManagementInterface class15:43
nessitaapol: and, given that the method is under a specific path/interface, I don't see a conceptual reason to rename it... we can't rename methods considering all the languages reserved words...15:43
apolok then15:43
apolnever mind15:43
nessitaapol: can you propose another name for it, that would make more sense in that context?15:44
mandelapol, what is the complies telling you?15:44
nessitasuch as sso_register (first name I came up with)15:44
mandelnessita, the problem that apol has is that if he wants to auto generate the api via the qdbus xml he finds a register method, since register is a key word in c++ the compiler is probably going bananas15:45
nessitadobey: for u1client, be sure to require ussoc >= 2.99.91, since the new use of webclient requires it15:45
nessitamandel: I understand that15:46
apolmandel: http://paste.ubuntu.com/89377915:46
nessitamandel: but what I say is that we can't rename our methods considering every language reserved keyword...15:46
mandelnessita, yeah.. I know, is a PITA coming from the c++ compiler15:46
nessitamandel: perhaps the generation can be tweaked and a given prefix can be added to every method name?15:47
nessitasuch as sso_15:47
apolregister_credentials?15:47
mandelnessita, just what I was going to say!15:47
mandelnessita, stop reading my mind!15:47
nessitamandel: lol15:47
mandelapol, yes, or even just register_ to be closer to the dbus definition15:47
nessitaapol: just FYI, the method goal is not registering credentials but registring a new sso account15:47
nessitaoops, so many typos, sorry15:48
nessitaapol: can you add a fixed prefix to every method?15:48
apoli don't really know15:48
apolI'll investigate15:48
mandelapol, qdbus does not have many params, but what about adding an extra step in the middle, grab the xml and append _ to any cpp keyword?15:48
briancurtin-sys.maxsize on prefixing methods something. i would need to have lazer eye surgery15:49
briancurtins/something/with something/15:49
apolmandel: well, I'm seeing if qdbusxml2cpp has something like that15:50
mandelapol, are you cheking the generated files in a source control? or are you doing this as a make/cmake step?15:50
apolcmake yes15:50
mandelapol, afaik you should not be running that as a make step, but just do it the first time and then adapt the generated code15:52
mandelapol, since there is no guarantee that the machine compiling the code will have the sso dbus interface15:52
apoli know15:52
apolI have the xml versioned15:52
apolwhat I do compile-time is to run qdbusxml2cpp15:53
alecunessita, ralsina, mandel: good news: nightlies u1cp, sso and sd are crossing an authenticated proxy just fine.15:55
nessitaalecu: AWESOME NEWS15:55
nessitaalecu: really, great great news15:55
ralsinaalecu: awesome!15:55
mandelalecu, I'm updating the clean vm and will try the software center behind a proxy15:55
ralsinaapol: just out of curiosity, what are you doing with it? :-)15:55
apolralsina: I'm working on kubuntu's software center, I'm using it to login for the review and ratings service15:56
ralsinaapol: great!15:56
ralsinaapol: my next sunday project is better integration with KDE (maybe in a month of two)15:57
ralsinaapol: but I need to refresh my C++ *a lot*15:57
apolralsina: if I/we can help you, don't hesitate to get in touch :)15:58
ralsinaapol: will do!15:58
ralsinaapol: you may want to try this for a taste of things to come: https://launchpad.net/u1-toys15:59
nessitagatox: something happened with the reset password page15:59
nessitagatox: the error is no longer shown :-/15:59
apol:)15:59
gatoxnessita, mmmmmm is there any bug for that?16:00
nessitagatox: opening16:00
gatoxnessita, thanks16:00
nessitagatox: https://bugs.launchpad.net/ubuntu-sso-client/+bug/96131516:01
ubot5Ubuntu bug 961315 in Ubuntu Single Sign On Client "Qt UI: when resetting my password using an invalid reset code, the operation fails and no error is shown" [High,New]16:01
gatoxnessita, thanks16:01
alecudobey, I've tried dist-upgrading the whole Precise VM, and I still get those GI errors when notifications are to be shown.16:05
alecudobey, the only issue is notifications not being shown; SD keeps working fine otherwise.16:05
alecudobey, I'm creating a new bug for this... shall I assign it to you?16:07
alecudobey, or should I assign it to the notifications GI project?16:08
ralsinaI have to switch to linux to test some styling bugs, should be back in a few minutes. Keep talking to me, I have logs ;-)16:09
nessitaalecu, dobey: I packaged ussoc and tested it on a clean VM (without proxy involved). Will upload as soon as dobey gives me some ack about the python-openssl package16:10
apolnessita: another question, why do you use "a{ss}" maps instead of "a{sv}"? It would make sense to me if it always were strings16:13
apolbut considering that the winid has to go there, a{sv} would make more sense16:13
nessitaapol: they are always strings so we can use the dbus bindings from python16:13
nessitaapol: using variants from python is more complicated than what we need16:13
apolugh xD ok16:13
nessitaapol: so, the windid is expected as string and cast to int16:14
nessitacasted*16:14
briancurtinu1cp/gui people: i added a call to UbuntuOneWizard.done to add SD to the Windows autostart. i need the same functionality to occur for users who don't run through the wizard (they already have creds) - i'm not sure where this should go16:16
nessitabriancurtin: you added what where? :-)16:16
nessitabriancurtin: not sure I understood16:16
briancurtinnessita: https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/add_to_autostart16:16
briancurtini took add_to_autostart from u1-win-installer and added it to the current u1cp Wizard, so SD will startup automatically16:17
briancurtinbut it only does so in the case where it's a first time install. if you are upgrading and already had creds, we don't currently add to the autostart, but need to find a place to16:17
nessitabriancurtin: why not add that code to the installer itself?16:18
mandelnessita, I've not installed the ubuntu one control panel, that is, I'm in a clean P vm, and ubuntu-sso-client-qt is installed, is that correct?16:18
nessitamandel: unless something is pulling it in, which I doubt, you should not have -qt16:19
nessitamandel: you sure?16:19
briancurtinnessita: im not sure if we can do that - looking16:19
mandelnessita, 100% sure16:20
mandelnessita, I just added nightlies via add-apt-repository ppa:ubuntuone/nightlies16:20
nessitabriancurtin: is extremely difficult to know, when there are crendentials in the system, if the user just installed16:20
mandelnessita, and did a sudo update-manager -d to make sure I have the latests of the latests16:20
nessitamandel: something in our nightlies is pulling that in... but definitely is not the case in ubuntu16:21
nessita110% sure16:21
mandelnessita, I'll remove it then16:21
nessitaotherwise the platform team would be screamiung at our faces16:22
alecudobey, bug #96134216:24
ubot5Launchpad bug 961342 in Ubuntu One Client "GI error while trying to show notifications" [High,New] https://launchpad.net/bugs/96134216:24
dobeyalecu: you can assign to me and i'll look into it16:25
alecudone.16:25
nessitaralsina: do you know what I need to add to the debian pacakging to deal with the python-openssl license isue?16:25
dobeynessita: just add the python-openssl dep16:25
nessitaoh, a dobey is here! :)16:26
mandelnessita, nevertheless, requesting sso creds over auth proxy in software center fails with an error stating 'Authentication failed'16:26
nessitadobey: didn't you mention we needed to "grant" the license or something like that?16:26
mandelnessita, which is the 407 error from the proxy16:26
nessitamandel: aaaaarghhhh so confusing :-/16:26
nessitabut I guess we'll have to settle with that16:26
mandelnessita, it does not brake in a crazy manner, but I guess that we can add a bug to return an exception with a more decent error16:27
alecuralsina, bug #96134816:27
ubot5Launchpad bug 961348 in Ubuntu One Control Panel "Huge button on the dialog shown on errors" [Low,Confirmed] https://launchpad.net/bugs/96134816:27
dobeynessita: we need to tweak the license text a bit to add an exception yes; but we'll do it after this release. anything that needs it now, just add it.16:27
nessitamandel: yes, like "proxy in the way, can't do anything else"16:27
nessitadobey: ack then16:27
nessitauploading before leaving for lunch16:27
mandelnessita, I'll add the bug and tag it with the u1-tag, should be a simple one to fix16:28
briancurtinnessita: we can add to the autostart via installer, but we should really only do it after the user has logged in. is there a good place in u1cp that would only execute right after login?16:28
mandelnessita, one questions, if this messages are shown in the ui, shouldn't they be translated?16:28
mandelnessita, not now, not another UIFe16:28
alecuhey all: I need to run some car related errands, will be back later.16:29
nessitabriancurtin: yes, ubuntuone/controlpanel/gui/qt/controlpanel.py -> on_wizard_finished16:30
nessitabriancurtin: but I guess is the same you had before?16:30
nessitabriancurtin: there is no place to detect when there was credentials in the system *already*, but the controlpanel just installed16:31
briancurtinI added it to wizard.py. looking at controlpanel.py now16:31
nessitabriancurtin: is basically the same, though I like it a bit better on the controlpanel. Also, please make sure to add a test confirming the call to the add_to_autostart is made16:32
briancurtinnessita: thanks, i'm looking into adding it here16:33
briancurtin(here = on_wizard_finished)16:33
mandelnessita, FYI bug 96135716:33
ubot5Launchpad bug 961357 in Ubuntu Single Sign On Client "Proxy authentication errors should be clearer" [Medium,Triaged] https://launchpad.net/bugs/96135716:33
mandelralsina, FYI moving back to windows16:34
=== elopio_ is now known as elopio
* gatox lunch16:44
nessitabriancurtin: I just realized there is a much better option16:48
briancurtini'm interested16:48
nessitabriancurtin: I think you need to call to autostart inside the controlpanel's main when the --installer option was passed...16:48
nessitabriancurtin: though now that I'm writing that, we still have the "new credentials" issue, no?16:48
apolnessita, mandel: I have it working now, thanks for the help16:49
nessitaapol: nice!!!16:49
apolit would be cool if you looked into the register renaming though, the code looks really ugly :(16:50
mandelapol, superb!16:50
briancurtinnessita: in main via --installer does seem better, i'll look into it. i'll see what it would have to do for new creds - maybe it just stays inside the wizard's done function as well (it's harmless to call it multiple times)16:50
mandelapol, problem is, we not only have cpp clients.. and since we mostly we use python we did not see that comming16:50
mandelapol, good things is, you wont get one called if/while/try/except etc :P16:50
apolmandel: well, take it as positive criticism16:51
apolif you want people to use it, at least16:51
mandelapol, I know, I know, era broma :)16:52
ralsinamandel: thanks!16:52
mandelapol, problem is, we are very late in this cycle, but.. why don't you add a bug?16:52
apolwhere would I report such a bug?16:53
mandelapol, here https://bugs.launchpad.net/ubuntu-sso-client/16:54
mandelapol, go to report a bug and explain all the details, we will later deal with it (not at the moment due to the deadline)16:55
apoli'll see what I can do16:56
mandelralsina, turns out that automatic detection on windows is 'heavier' on windows than manual, which meant that altough I had manually set up the proxy it was not used..16:58
mandelralsina, puto windows!16:58
mandelapol, sorry for the burden, but trust me we will do our best to get it working16:59
ralsinamandel: no sure what that means. When you set to "automatic" the manual is disabled16:59
mandelralsina, yes16:59
mandelralsina, and is a tiny little check box..16:59
ralsinamandel: he, ok, so now you know :-)17:00
nessitadobey: ussoc 2.99.91 uploaded, if you want to move forward with u1client17:09
nessita(which must depend on that)17:09
dobeynessita: ok, thanks17:10
mandelralsina, I found the bug on windows, applicationProxy on windows returns a hostName that is '' therefore the credentials manager complains because you cannot have '' as the key of a pwassword17:15
mandelpassword*17:15
=== gatox is now known as gatox_lunch
ralsinamandel: WTF?17:22
ralsinaoh, got it17:22
mandelralsina, and to make it more annoying the proxy type is 2, which means that qt is not able to detect the proxy..17:22
ralsinaI read that as the hostname beig "therefore the credentials manager..."17:22
mandelralsina, that would be an awesome proxy name17:23
nessitalunchtime on this end17:23
mandelralsina, but, yeah, proxy detection, the way we have it, is broken, but there is a fix17:23
mandelalecu, it seems that the proxy setting on windows return without a proxy, which is a proxy with hostname '', port 0 and type 217:27
mandelalecu, it means that we might have to query the system to set the proxy in the setup17:27
ralsinagotta run for a few minutes, brb17:28
=== vds` is now known as vds
mandelralsina, FYI windows bug fixed, setting tests and will propose17:55
ralsinamandel: awesome!17:55
mandelralsina, I hate that qtreactor, makes debugging really hard with pdb17:56
ralsinamandel: you mean the constant "event loop already running"? That's Qt actually17:56
ralsinamandel: I just 2> /dev/null17:56
mandelralsina, yeah, is what I do too.. on linux, but windows..17:57
ralsinamandel: yes, on windows, you just can't17:58
ralsinamandel: maybe with bash for windows you can17:58
mandelralsina, well, is sorted so lets get this merged hehe17:59
ralsinamandel: ack17:59
=== gatox_lunch is now known as gatox
urbanapeoof, hello, all.18:02
urbanapebriancurtin: ping18:03
briancurtinurbanape: pong18:03
urbanapeheya, you up for any pairing today?18:03
briancurtinurbanape: trying to add the last half of a branch for release, then yes18:04
urbanapeawesome, thanks.18:04
urbanapeI'll be here. Amber's watching Lex for the rest of the afternoon and tomorrow morning.18:04
briancurtinsweet, got it working. commence testing18:08
nessitagatox: so, I'm doing the review for https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/backend-problem/+merge/9851318:09
gatoxnessita, aja18:10
mandelralsina, do you mind if I EOD and propose tom?18:10
nessitagatox: any chance you do not remove and add the main.py, but bzr move it? the way is now, the diff (and the bzr history) will show that file as  removed and a new file added18:10
nessitagatox: so, the ideal way to handle that is (in a clean branch):18:10
nessitabzr mkdir ubuntu_sso/qt/main18:10
nessitabzr move ubuntu_sso/qt/main.py ubuntu_sso/qt/main/__init__.py18:11
ralsinamandel: no, it's ok18:11
nessitaand then apply your changes18:11
nessitagatox: same for the test file18:11
nessitabzr mkdir ubuntu_sso/qt/main/tests18:11
gatoxnessita, in a clean branch or this one?18:11
nessitabzr move ubuntu_sso/qt/tests/test_main.py ubuntu_sso/qt/main/tests/test__main.py18:12
nessitagatox: I don't think you can do this in this one18:12
nessitasince you already remove it and re add it18:12
mandelralsina, ok, thx! tom you will have the working version, I'll ask you and alecu for reviews :)18:13
mandelall., EOD here!18:13
mandelsee you tom!18:13
gatoxnessita, but maybe i could revert that..... ok.... i'll try in a new branch18:14
nessitagatox: if you can revert, you're welcome to18:14
nessitaI have no idea how to do revert that and preserve the changes18:14
gatoxnessita, so, here it is: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/main-moved/+merge/9870318:22
gatoxnessita, i think you should accept that before, so i can merge my backend branch with trunk18:22
gatoxnessita, or should i mark this one as prerequisite?18:22
gatoxwhat do you prefer?18:23
nessitagatox: a single branch, of course :-)18:23
nessitagatox: merge your changes in that branch ;-)18:23
gatoxnessita, and then drop the backend branch?18:23
nessitagatox: exactly18:23
nessitagatox: the branch originally should not have removed and re-added files18:24
gatoxnessita, ok, i'll do that18:24
ralsinagatox, nessita, alecu: two very simple branches for review, just qss changes, with pictures: https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix-zion-inverted/+merge/98701 https://code.launchpad.net/~ralsina/ubuntu-sso-client/fix-zion-inverted/+merge/9869618:24
nessitagatox: we should bzr move files when we're moving then18:24
gatoxralsina, on it18:24
gatoxthem18:24
briancurtinah great. not even going to try to explain it, but this add_to_autostart will be a fun merge.18:30
nessitabriancurtin: enjoy! and welcome18:31
nessitadobey: would you please let me know when u1client is uploaded? I'm trying to avoid having it in source dep wait18:31
dobeynessita: what needs the new version?18:32
nessitadobey: nothing specific, but you know how much I love to depends on the latest version for consistency sake (controlpanel does depend on 2.99.91 ussoc)18:33
dobeynessita: stuff should only depends on the newest version necessary.18:34
nessitadobey: yes, I usually agree. But since we're gonna say "version 2.99.91 of U1 supports proxy" I would like the controlpanel 2.99.91 to have the same proxy support as u1client, but if u1client is not 2.99.90, that will not be true...18:36
nessita(since controlpanel web request will have proxy support, but syncdaemon will not work)18:37
ralsinaAlso, https://code.launchpad.net/~ralsina/ubuntuone-control-panel/u1cp-windows-styling/+merge/98704 should cause no visible changes in linux, fix bug #961229 on windows18:37
ubot5Launchpad bug 961229 in Ubuntu One Control Panel "On Windows, control panel has focus styling artifacts" [Undecided,New] https://launchpad.net/bugs/96122918:37
nessitaralsina: any reason why the underline was removed from the tabs when focused?18:37
nessitaralsina: visually, not in code I mean18:37
ralsinanessita: on what branch?18:37
nessitaralsina: I noticed that since a couple of days ago18:38
ralsinanessita: hmmm I have the underline here18:38
nessitaralsina: no particular branch, just IRL18:38
nessitaralsina: when tabbing into a tab?18:38
nessitaralsina: not when hovering it18:38
nessitagatox: you let me know when the branch is ready?18:38
gatoxnessita, yes.... i'm testing it IRL.... because something went wrong and it wasn't working the new branch now18:39
nessitaack, thanks18:39
ralsinanessita: yes, by tabbing. But then again, I have not been in ubuntu much lately, so maybe there is something broken there. I do have them in KDE right now18:39
nessitaralsina: hum...18:40
nessitaI don't have them in ubuntu...18:40
ralsinaLet me switch to unity since I have to test some stuff there18:40
nessita(just double checked)18:40
nessitaralsina: nice18:40
gatoxnessita, done: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/main-moved/+merge/9870318:41
nessitaack18:41
nessitagatox: also, can you please explain in the commit message how you fix the backend getting stuck? :-) when that goes to the changelog, does not provide that much info to someone reading the release notes18:42
gatoxnessita, ok18:42
* alecu is back18:47
ralsinanessita: I have underlines usig 3.1+r292-49~precise118:48
ralsinanessita: I have not, however, updated the system in a few days, I only updated u1cp and dependencies today18:48
nessitaralsina: is your system up to date?18:49
nessitaah, je18:49
nessitathat ;-)18:49
gatoxralsina, is this necessary? https://code.launchpad.net/~ralsina/ubuntuone-control-panel/fix-zion-inverted/+merge/9870118:49
ralsinagatox: oh, yes18:49
gatoxralsina, in the other branch you are setting background-color: white to QWidget18:49
ralsinagatox: look at the screenshot18:49
gatoxspinbox should inherited18:49
ralsinagatox: that is on sso18:49
dobeynessita: the new binary package for u1client will hold it up a bit btw18:49
gatoxralsina, ahhhhhhhh my bad18:49
gatoxralsina, only look at the code.... thought that was the saame project18:50
ralsinagatox: if I set qwidget to white here, I break all the app18:50
nessitadobey: ah, right...18:50
gatoxralsina, roger that.... i thought it was the same qss.....18:50
dobeybut it's uploaded now18:50
nessitadobey: thanks18:53
nessitagatox: could you please commit with --fixes and the bug number for the branch https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/main-moved/+merge/98703 ? also, in the commit message it should specify that the fix applies to windows only18:54
gatoxok18:54
nessita(otherwise people from linux, suffering from this - like perrito - will think we fixed it for them as well)18:55
nessitawhich so far we did not :-/18:55
gatoxnessita, i realize there wasn't a bug for this.... the bug was only for linux..... creating now18:58
nessitagatox: thanks18:58
ralsinanessita: I am not sure I understand what you mean by "I wonder why you added a new method start_from_license instead of redefining setStartId in the QWizard"19:01
nessitaralsina: this question may be a non-sense, I might be getting something wrong from the qwizard documentation... but why adding a custom method when the api provides one?19:02
ralsinanessita: if you change the startID outside __init__ you need to restart the wizard19:02
ralsinawhich is exactly what the new method does19:02
nessitaralsina: right.. but in my head, by doing that (providing a method in our custom wizard), you're leaking info to the mainwindow about the controlpanel widget structure19:03
nessitaralsina: so it would make more sense (to me, please correct me) to have the start_from_lincese in the controlpanel widget19:03
gatoxnessita, done19:03
ralsinanessita: I could add that method to contrlpanel instead19:03
ralsinaright19:03
nessitaand let le controlpanel widget do whatever it considers necessary, like doing startID on the wizard and restarting it19:03
nessitaralsina: so no need to add the method in the wizard itself, given that its API already provides what is needed19:04
nessitano?19:04
nessitagatox: ack19:04
ralsinamakes it awkward to test, and means I have to add a installer parameter to control_panel too19:04
ralsinaor no, forget that19:04
nessitaralsina: why?19:04
nessitaok, forgotten19:04
ralsina:-)19:04
nessitaI'm just saying to have: self.ui.control_panel.start_from_license()19:04
ralsinaright19:04
nessitainstead of accessing the "internal" (not necessarily hidden) wizard19:04
dobeybah, am hungry again19:05
ralsinanessita: usually, I don't consider UI components private (or I would call it _ui instead of ui) but sure, I will do that and keep it in mind for the future.19:06
briancurtingreat, crashing test.19:13
briancurtineh, maybe its not me. the baseclass crashes as well19:13
briancurtinis u1cp ubuntuone.controlpanel.gui.qt.tests.test_gui.MainWindowTestCase currenty passing on Linux?19:17
dobeynessita, alecu: https://code.launchpad.net/~mandel/ubuntu-sso-client/libsoup-ssl-dialog/+merge/97057 should be 'rejected' right?19:18
nessitadobey: not sure... it also has several branches depending on it19:19
gatoxbriancurtin, yes, they are working on liunx19:19
nessitabriancurtin: yes19:19
dobeynessita: but we aren't doing ssl proxies, because nothing supports ssl to the proxy, right?19:20
briancurtini know this works IRL but the tests crash python :/19:20
nessitadobey: right19:20
alecudobey, right, but that branch checks ssl against the server, not against the proxy.19:21
dobeyoh19:21
dobeyhmm19:21
alecudobey, and for a library that might be useful at some point if we want to allow the user to accept invalid certificates for some servers.19:22
alecudobey, but certainly we do not want users to accept invalid certificates for *our servers*.19:22
dobeyalecu: unless of course, it's connecting to a different server that isn't *our* server19:23
alecuso the branch is not needed right now, but may make sense at some point if we want our desktop apps to download say, pictures or videos or something from user defined servers. Or something like that.19:23
dobeywell, anyway; it's probably good to note, that practically nobody gets ssl right, anywhere.19:24
alecubut it's gotten more right than proxies usually.19:25
dobeyalso; fml, dandelions grow way too fast :(19:25
dobeyonly because proxies are always wrong19:25
briancurtinif anyone has a minute for lp/bzr question, can you let me know how to un-screw this up: https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/add_to_autostart -- rev293 is ralsina's branch that i had applied and didn't know it would get pushed (294 used to be called something different, but i remerged onto a clean checkout)19:29
briancurtini might just export it as a diff and just start over...19:29
ralsinabriancurtin: that's what I would do19:30
briancurtinralsina: since it depends on your --install branch, once i get a clean u1cp branch, how do i apply your branch but not have it be a part of any work i checkin/push to my own branch (so yours is dependent)19:34
ralsinabriancurtin: you merge my branch and in the proposal declare it as prerequisite19:35
briancurtinralsina: ah, so it's lp that figures out that it's not my work?19:36
ralsinabriancurtin: right, the proposal does it19:36
briancurtinralsina: cool, thanks19:36
alecubriancurtin, usually when I merge from a side branch I put the branch name in the commit, so it's easier to track. Like "merged from lp:~ralsina/project/branch"19:39
ralsinanessita: I get some strange test failures in installer-option and can't find why. Have a minute to give me a hand?19:48
nessitaralsina: sure19:49
ralsinanessita: I am getting failures in UbuntuOneWizardCloudToComputerTestCase which I have not touched19:50
nessitaralsina: have a trace?19:50
ralsinanessita: https://pastebin.canonical.com/62768/19:51
nessitaralsina: wanna push the branch that is giving you that?19:52
nessitathey look like legit "test" errors... but if you have not changed anything...19:52
ralsinanessita: pushed, it's lp:~ralsina/ubuntuone-control-panel/installer-option19:52
nessitabranching19:52
ralsinanessita: the tests there are a bit weird. For example, the "button behaviour" tests depend on absolute page IDs19:52
ralsinanessita: which is why I had to shift them all when I added a page at the beginning19:53
nessitaralsina: yes, they do. We can improve them by putting a name instead of the id and in the test doing the getattr in the self.ui19:53
ralsinaI can do that after I get rid of these :-)19:53
nessitaralsina: at the time, I consider that a good intermediate solution between time-results, considering that I thought the page order  will not change (I don't like adding the license page if we're never showing it...)19:54
ralsinanessita: I *could* add the page in start_from_license...19:55
ralsinanessita: but that's even hackier19:55
nessitaralsina: right19:55
nessitaso, no19:55
nessitaralsina: if you test your branch IRL, the test failure are reflecting IRL bugs. For example, in the cloud-to-computer page, the back button is gone20:00
ralsinanessita: hmmmm ok, I'll dig then20:00
nessitaralsina: you forgot to remove something:20:00
nessita    self.setButtonText(self.NextButton, self.next_button_text)20:00
nessitaAttributeError: 'UbuntuOneWizard' object has no attribute 'next_button_text'20:00
ralsinanessita: where's that?20:01
nessitaralsina: grep for it, i got that in the test run20:01
ralsinanessita: ok20:01
nessitafrom the trace:20:01
nessita  File "/home/nessita/canonical/controlpanel/review_installer-option/ubuntuone/controlpanel/gui/qt/wizard.py", line 252, in initializePage20:01
nessita    self.setButtonText(self.NextButton, self.next_button_text)20:01
nessitaAttributeError: 'UbuntuOneWizard' object has no attribute 'next_button_text'20:01
ralsinanessita: got that one, and that explains it. Thanks!20:02
nessitaralsina: still 2 tests failures, they may be legit20:02
nessitaralsina: my guess is that a CommitButton does not make currentIdChanged be emitted20:02
nessitabut some other signal20:03
ralsinanessita: well, that's totally undocumented anyway20:03
ralsinait's an implementation detail of QWizard, really20:03
gatoxralsina, nessita eod for me..... and i really need to go to the university to an import errand..... i'll try to apply nessita's comments to the backend branch tonight20:07
ralsinagatox: ok, thanks!20:07
=== gatox is now known as gatox_away
nessitaralsina: why changing the next button to be a commit button?20:10
ralsinanessita: so the user can't go back20:12
ralsinayou can't "disagree" on a license20:12
nessitaralsina: but the way it was before, you couldn't go back either. Though I understand is more correct using CommitButton20:13
ralsinanessita: before there was no way to see the page, so I am not sure what you mean :-)20:13
ralsinanessita: you mean having a next and removing the back in the next page?20:15
ralsinaI am just trying to use the features provided instead of doing things manually as much as possible20:16
briancurtinralsina: https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/windows-autostart/+merge/98720 -- i'm confident in the branch via IRL testing, but due to some GUI tests crashing on Windows (higher up the chain that my test) i'm not exactly sure what to do20:16
ralsinabriancurtin: you can run your specific tests20:17
briancurtinralsina: even running my specific test fails due to a class higher up the inheritance chain20:17
ralsinabriancurtin: using u1trial, although I am fuzzy in the details beyond running all the tests in a single file by u1trial --reactor=qt  --gui foo/bar/test_stuff.py20:17
ralsinabriancurtin: oh, that sucks20:17
ralsinabriancurtin: you get the same failure in trunk?20:18
nessitaralsina: yes, since we already are customizing every button layout on every page20:19
nessitaralsina: you could see the license page by manually changing the show_license to True and running it from source20:19
nessitawas working great :-)20:19
ralsinanessita: hahaha, ok, I just tried to make it nicer, and use the features we have20:20
ralsinanessita: but I can revert if you really feel it's the right thing to do20:20
nessitaralsina: not really, I just did not know about commitpage20:21
nessitacommitbutton20:21
ralsinacommit*20:21
ralsinayeah, ok, I have the tests fixed now, need to add one for start_from_license and I'm done with it20:21
briancurtinralsina: yep, with trunk it fails20:22
ralsinabriancurtin: then if with good IRL tests it passes, the tests should not block you, I guess20:23
ralsinanessita: are you ok with landing briancurtin's page with preexistant failing tests in windows?20:23
ralsinanessita: I am starting on test-fixing on friday20:23
briancurtinralsina: yep, i've tested on 7 and XP, locally and via a bundled installer20:23
nessitaralsina: can I see the trace?20:24
ralsinabriancurtin: ^20:24
briancurtinnessita: there's no trace per se...it crashes the Python interpreter20:24
nessitabriancurtin: ah, that's very likely a qt seg fault20:24
nessitabriancurtin: are you patching "everything" that you should?20:24
nessita:-)20:24
nessitabriancurtin: I can look at the branch to confirm that20:24
nessitawhat branch is it?20:25
briancurtinnessita: https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/windows-autostart/+merge/9872020:25
nessitabranching20:26
nessitabriancurtin: which one is the last test being reported in the terminl?20:26
briancurtinnessita: when running a clean u1cp trunk it fails - i'm not aware of any current branches that need to be applied for that, but i could have missed it20:27
ralsinabriancurtin: no branch pending is supposed to fix it20:27
briancurtinnessita: it gets to test_animation_is_active (AccountPanelTestCase), but the issue is further down in some base class. the test that i added fails, then i ran the tests of the base class and they fail, and on up the chain20:28
briancurtinbut that's just very early on in the tests to be run20:28
nessitabriancurtin: how are you running the suit?20:28
nessitasuite20:28
briancurtinnessita: i started by just doing run-tests to run everything. even when i run just the individual test i added (by doing u1trial and passing -t with the exact class to run) it crashes20:29
nessitabriancurtin: are you passing -r qt4 --gui?20:29
nessitaif you do not use --gui, UI tests will explode20:29
nessitabooting my windows VM now20:30
briancurtinnessita: i'm 99% sure i was doing that but it's past my command history (or i closed the window). i will try again and be 100% sure to use that20:30
ralsinanessita: finished fixing installer-option. Calling dibs on your morning review slot tomorrow20:30
nessitaralsina: dibs granted20:31
nessitaralsina, briancurtin: overall, I think we can land a branch if all is green in linux, but I think we need to fix this (sooner or later)20:31
nessitaso will try to debug a little20:32
briancurtinnessita: yep, i'm running with --gui20:34
briancurtinnessita: python ..\..\bin\u1trial --reactor=qt4 --gui -p"ubuntuone\controlpanel\dbustests" -i "test_linux.py, test_libsoup.py" ubuntuone20:34
briancurtinalso crashes when i give it a -t to filter down to specific tests (like the one i added)20:36
ralsinanessita: yes, I filed a bug for these test failures yesterday, I think20:36
nessitabriancurtin: reproduced, will give it 5 minutes of debugging20:37
nessitaja, found out what;'s the proble,m20:39
nessitabut have no solution to propose20:39
nessitabriancurtin, ralsina: this avoid the crashes http://pastebin.ubuntu.com/894239/, but is not sematically correct to remove that line...20:40
nessitaralsina: any idea why showing a widget makes qt seg fault?20:40
ralsinanessita: not the slightest20:40
ralsinanessita: unless we are not having a QApplication for some reason20:40
nessitawill add a print before the .show() call20:40
ralsinanessita: god news are, a core dump on the crash should give useful info20:41
nessitaralsina:  this is windows we're talking about, no?20:41
nessita:_P20:41
ralsinanessita: oh, right, windows20:41
ralsinanessita: me engolosiné despues de 4 horas de ubuntu20:41
nessitaralsina: when adding these prints:20:42
nessita    271         print '\n\n\n===========================', repr(QtCore.QCoreApplication.instance())20:42
nessita    272         print '\n\n\n===========================', repr(QtGui.QApplication.instance())20:42
nessitaI got:20:42
nessita=========================== <PyQt4.QtGui.QApplication object at 0x0233D300>20:42
nessita=========================== <PyQt4.QtGui.QApplication object at 0x0233D300>20:42
ralsinanessita: ok, so. We could bisect the failure, I guess20:43
nessitaralsina: so the seg fault is a pain in the butt20:43
nessitaralsina: bisect how?20:43
briancurtinralsina: we could get a nice dump file if i ever have time to finish https://bitbucket.org/briancurtin/minidumper20:43
nessitaralsina: every single ui tests fail with that20:43
ralsinanessita: try revision 100, see if it fails, and so on20:43
ralsinanessita: we used to have working windows tests in the past, we could find the revno that broke them20:43
nessitaralsina: I added the self.ui.show() in the past 4 weeks20:43
nessitaso clearly that broken it20:44
nessitabut why self.ui.show() will break it?20:44
briancurtinthey weren't broken too long ago. i can run the manual bisect if you want20:44
ralsinanessita: no idea whatsoever, but why did you have to add it?20:44
nessitabriancurtin: you'we welcomed to20:44
ralsinabriancurtin: you can run bzr blame to see the change for that line, so we can confirm that broke it20:45
nessitaralsina: 2 reasons: several tests were doing the self.ui.show() in them and the adding a cleanup for hiding... and also, I consider that semantically is more correct to test how a widget *looks*, which requires the widget is shown, no?20:45
nessitaralsina, briancurtin: 100USD bzr blame says nessita ;-)20:45
nessitaactually, nataliabidart20:45
ralsinanessita: the problem may be that we are faking something and then we are showing() something that's not a widget somewhere20:46
* nessita knows she added it20:46
nessitaralsina: not in this tests20:46
nessitathese*20:46
ralsinanessita: the only things that need showing are checking for geometry and isVisible()20:46
nessitawe're faking backends20:46
nessitaralsina: leaving the discussion of  to show or not show appart for a while, qt should not seg fault when showing a widget, no?20:47
ralsinanessita: it usually doesn't :-)20:47
nessitaralsina: this is the trace http://pastebin.ubuntu.com/894254/20:48
nessita(what I could get from windows, of course)20:48
ralsinahehe20:48
ralsinaOh, right, old 0a9e! (not really)20:49
ralsinanessita: BTW, you probably should update your Qt/PyQt20:49
nessitaralsina: to which version?20:50
ralsinanessita: Qt 4.8.0 PyQt 4.9.2 IIRC20:50
ralsina4.9.120:50
briancurtinnessita: rev 264 http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-control-panel/trunk/revision/264.2.1120:51
ralsinanot that it will help here, of course20:51
ralsinabriancurtin: so yes, adding the show breaks it20:51
nessitaI won! I won!20:51
nessitaralsina: found the problem20:52
ralsinanessita: what's self.ui.destroy?20:52
nessitabriancurtin: instead of removing the show, change this:20:52
nessitaralsina: YES :-D20:52
ralsinause deleteLater!20:52
nessita    300             self.addCleanup(self.ui.hide)20:52
nessitaralsina: what's deleteLater?20:52
nessitaralsina: can't we delete it ASAP?20:53
ralsinanessita: deleteLater deletes it after it gets to the event loop20:53
nessitaralsina: is there some method to deletes it sonner? (when calling it)20:53
ralsinathe problem is, if you remove the object before reaching the event loop, then maybe a signal is triggered with a stale pointer20:54
ralsinanessita: it will delete it soon enough :-)20:54
nessitaralsina: not really... is not deleted until the whole suite finishes20:54
nessitaI just tested it IRL20:54
briancurtinnessita: i think our line numbers aren't matching up. do you want that as the last line of the setUp right there?20:54
ralsinaadd a processEvents as cleanup20:54
nessitabriancurtin: sorry, was doing tons more of tests, will give a proper diff20:54
ralsinaa cleanup that does thing.deleteLater() ; QtCore.QCoreApplication.instance().processEvents() should delete immediately20:55
nessitaralsina: ack20:55
ralsinanessita: if even with that it's not deleted, then we may be keeping a reference somewhere20:55
nessitathat worked20:56
nessitabriancurtin: diff is:20:56
ralsinanessita: http://stackoverflow.com/questions/4888189/how-delete-and-deletelater-works-wrt-to-signals-and-slots-in-qt20:56
nessitahttp://pastebin.ubuntu.com/894265/20:56
nessitabriancurtin: with that diff ^, I got: FAILED (errors=16, successes=988)20:59
nessitawhich is much better than a crash :-D20:59
briancurtinnessita: ah, there we go. working21:00
nessitabriancurtin: and I will leave that fix to you, since symlinks are involved ;-)21:00
briancurtinnessita: yes, my favorite part of python on windows!21:00
ralsinanessita: are cleanups stacked? So it's hide->deleteLater->processEvents?21:00
nessitaralsina: yes, guaranteed21:01
ralsinanessita: cool then21:01
nessitabriancurtin: merry christmas!!!21:01
* ralsina goes play Another One Bites the Dust21:01
nessitaralsina: let's do 1-1- tomorrow?21:02
nessitabefore the weekly call21:02
ralsinanessita: yeah, I am drained21:02
nessitame too, and I need to clean my habitat a bit21:02
nessitadust and pelusas are eating me21:02
ralsinanessita: and still have to fix a bunch of crap on windows, which I really don't want to21:02
ralsinabut it's taking shape :-)21:03
nessitayes21:04
nessitaok, I'm off crowd21:04
nessitasee ya all tomorrow21:04
ralsinabye nessita!21:04
nessitabey all!21:04
dobeylater all21:07
ralsinabye dobey21:09
ralsinabriancurtin: if you get to propose that branch today, I can add it to tomorrow's installer for QA21:10
briancurtini'm proposing the symlink branch now, will be proposing the branch with nessita's fix in a minute21:10
ralsinaspecially since the test failures don't seem to be IRL fails21:10
ralsinabeuno: cool21:10
ralsinaoops, that was for briancurtin21:10
briancurtinralsina: https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/nessitas-crash-fix/+merge/98735 and https://code.launchpad.net/~brian.curtin/ubuntuone-control-panel/no-symlinks-on-windows/+merge/98736 are ready21:19
briancurtinnow that i have this nessita fix i'm going to try out the autostart tests that i was ignoring before when it was broken21:20
ralsinaglobally approved the crashfix21:20
ralsinabriancurtin: on the symlink test, it's better if you move that part to a separate test and make it skipIfOs("win32", "No symlinks on windows" )21:22
briancurtinralsina: noted - i'll fix that after the other branches21:23
ralsinaOr maybe doing that is a pain in the ass21:23
ralsinawait, it is a pain in the ass21:23
ralsinasince that's not a test, and is rather part of the setup21:23
ralsinaapproving what you have21:24
ralsinaand EOD for me21:36
ralsinabyr briancurtin and whoever else is still around :-)21:37
briancurtinralsina: i'll mail you with status and branches once im done21:37
briancurtinand the test i added now works with all of the other branches, so i'll repropose the autostart branch21:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!