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

mandelmorning all!"09:15
paranoidphreakhi everybody, how do i install an "ubuntu one" client?09:15
paranoidphreakin debian09:15
JamesTaitHappy Monday, all!09:29
mandelparanoidphreak, on debian.. well there are lots of dependencies that you have to double check that we have not added patches etc..09:34
mandelparanoidphreak, I have never tried to run it on debian to be honest.. it is going to be a 'little' adventure09:34
paranoidphreakmandel: ok...........so, the short answer is it needs alot of experimenting?09:38
mandelparanoidphreak, yes, and I know that rye (who is not here know) is the kind of guy that likes to do that09:38
mandelparanoidphreak, it should be possible since I know we have people using it on Fedora :)09:39
paranoidphreakmandel: thanks.........09:39
mandelparanoidphreak, sorry I cannot be more helpful, but got be coding at full speed to get to the bext ubuntu beta 2 with proxy support, sorry09:39
paranoidphreakmandel: i'll probably do some googling09:40
paranoidphreakmandel: goodluck on your coding09:41
mandelparanoidphreak, thx!09:42
ralsina_good morning!09:52
alecumandel, morning!09:53
alecuralsina_, morning to you too, sir!09:53
mandelalecu, ralsina_ estais los dos locos!09:53
ralsina_good morning alecu, mandel09:53
alecumandel, it's only 7 am here ;-)09:54
mandelralsina_, you've got mail with the answers that you needed about windows + a review request for a simple branch09:54
alecumandel, and we only got 8 more hours to land stuff today09:54
ralsina_mandel: yes, trying it now09:54
mandelalecu, I'm trying to get the update of the proxy of network access manager working unless you have something else for me09:55
mandelalecu, I'm reading the c++ implementation to see if we can do something..09:55
alecumandel, I've got one big thing we should do today: disabling ssl09:56
alecumandel, and a few more smaller ones.09:56
mandelalecu, that one is very easy.. specially since the support for libsoupd was not landed, shall I disable it, remove it or add a param to the webclient to state that you will no allow ssl errors?09:57
alecumandel, "disable it" sounds right. We might need to use that support much later.09:58
mandelalecu, ok, simple work, but then.. what do we do with the ssl support branches that have not landed? there are a few09:58
ralsina_mandel: QCoreApplication.instance() is not None if you have a QApplication, so no need to test both (line 21 of your branch's diff)09:59
mandelralsina_, cool, I did not know that, will fix a in a min09:59
ralsina_mandel: also, typo in line 38 "cres"=> "creds"10:00
mandelralsina_, can you put both in a comment?10:00
ralsina_mandel: sure!10:00
ralsina_Oh, great, launchpad is down10:00
ralsina_and bzr server is down. Come on!10:02
alecumandel, "not yet landed": we don't worry about landing them today, we land them during the week, or next week even.10:04
mandelalecu, ok10:04
alecumandel, I'm talking about ssl support branches, right? :-)10:05
mandelalecu, yes :)10:05
alecuralsina_, is it april 1st already?10:06
ralsina_alecu: not yet!10:06
alecuralsina_, I mean, because of LP being down... it sounded like a really annoying joke10:06
ralsina_alecu: it's back up, so it was probably an update10:07
alecugreat10:08
karniGood morning #ubuntuone!10:09
alecuralsina_, it seems more than a few things are broken: "apt-get update" is unable to reach http://archive.ubuntu.com/10:09
alecuhey there, karni!10:10
ralsina_alecu: fun!10:10
karnihola alecu !10:10
ralsina_mandel: when IRLing your brach https://pastebin.canonical.com/62534/10:10
ralsina_mandel: but then again, that build has sommay things layered it is a club sandwich10:11
mandelralsina_, hm.. let me do IRL on windows, one sec I'm trying to get my head around the proxy cache..10:11
ralsina_mandel: ok, thanks, but check my email, doing a IRL on windows means merging like 6 branches10:11
ralsina_Ok, I am off to dress kid, send him to be educated, and have breakfast. Should be back in ... 72 minutes, give or take10:18
alecucrap! archive.ubuntu.com works fine. It's my P vm that's working awfully.10:21
alecumandel, because of what ralsina_ says (merging 6 branches to do IRL), I would say that we should not worry about windows today, and instead focus on fixing the issue on linux.10:23
mandelalecu, that is what I'm doing atm10:24
alecumandel, do you want me to take a look at that too? sounds like a big issue10:25
mandelalecu, let me try on more hack and I will, I want to try a number of different ideas I have been gathering over the weekend10:25
alecumandel, do you have a .txt list of those? or let's mumble after your hack.10:26
mandelalecu, mumble after the hack if you don't mind10:26
mandelalecu, mumble?10:31
alecumandel, coming10:33
mandelalecu, you sound like a rapper..10:39
mandelalecu,  a bad one, muy entrecortador10:39
alecumandel, https://code.launchpad.net/~alecu/ubuntuone-client/proxy-tunnel-auth/+merge/9776310:51
gatoxgood morning!11:12
mandelalecu, PYTHONPATH=. ./bin/ubuntu-sso-login-gtk  --tc_url http://www.google.com --app_name test11:13
mandelgatox, morning!11:13
gatoxmandel, hi! o/11:14
mandelalecu, use a real tc_url if you want :)11:14
* mandel coffee 11:23
* mandel back11:38
* mandel rebooting due to updates12:04
mandelalecu, did they t&c test work?12:06
ralsina_good morning gatox!12:25
gatoxralsina_, hi!12:25
gatoxralsina_, how are you?12:25
ralsina_gatox: full of energy and high spirits12:25
ralsina_gatox: it feels like speed + vodka12:25
gatoxralsina_, jeje nice way to start the week!12:25
ralsina_gatox: did you see my first message about windows? It seems I get disabled login buttons on windows12:26
gatoxralsina_, yes..... i read it..... do you want me to take a look at that?? i'm kind of block with a tests right now anyway12:26
ralsina_gatox: if you are blocked, yes please12:27
gatoxralsina_, yap!.... on it then!12:27
ralsina_gatox: remember that right now the only way to get that far is to usemy doing-windows branch and build exes12:27
gatoxralsina_, woww....... no way to test it from sourceS?12:27
ralsina_gatox: or maybe you can just run the scripts for the sso ui and the same thing happens, I have not tested that12:27
* ralsina_ checks12:28
ralsina_gatox: yes, same thing happens from source12:29
gatoxralsina_, ok great..... i'll test it from sources12:29
nessitahello everyone!12:40
gatoxnessita, hi12:40
nessitaI'm sorry I'm late, I set the alarm clock to the wrong time :-/12:40
ralsina_hello nessita!12:44
nessitahola ralsina_!12:44
=== ralsina_ is now known as ralsina
mandellunch time for me12:47
ralsinaalecu, nessita, gatox who needs reviews?12:49
gatoxralsina, not me12:49
nessitaralsina: me not yet... I guess we need to define what to do with cloud-to-computer12:49
ralsinanessita: I think just use the real Folders panel12:49
nessitaralsina: your last comment is confusing me a bit, perhaps you meant "if the user has 'non subcribed' folders?12:49
ralsinanessita: not the remote-only version12:49
ralsinanessita: no, "no suscribed folders"12:49
ralsinanessita: the idea is, this only needs to happen for new users12:50
ralsinanessita: so, a user that already suscribed a UDF is not new12:50
ralsinanessita: but leaving that aside, just switching to the full folders list is enough for this release, I think12:50
nessitaralsina: well, my understanding is that we need to show the wizard every time the user adds the device12:50
ralsinanessita: ok, then we switch to the full folders list, and ask for UX input on that. Sounds good?12:51
ralsinanessita: it's just that having the folder you just clicked on "disappear" is scary12:51
nessitaralsina: I'm still not sure we're talking about the same... I would like first to understand what you meant and then go to design with something  unified :-)12:52
ralsinanessita: sure, quick mumble?12:52
nessitaralsina: oh, I'm too sleepy, I just jumped from  the bed (PICNIC while setting the alarm clok - the "pm" is too small :-/)12:53
ralsinanessita: ok, when you had a few mates :-)12:53
nessitaralsina: so, may I ask you a few questions about what confuses me?12:53
ralsinanessita: sure12:53
nessitaralsina: so, why do youy say the wizard is supposed to be shown only for "new" users? on windows is shown every time there is no credentials (which can be after an existing user removed his device). I matched that behavior in linux12:54
ralsinanessita: agreed. Actually, it was supposed to check for things like whether you had a ~/Ubuntu One but we never got around to that12:55
ralsinanessita: so, you are right, there12:55
nessitaralsina: ok, no thaqt sleepy then :-P. So, given that, I'm +1 to show the current folders list (*without* the explore button)12:56
ralsinanessita: right12:56
nessitagreat, thanks12:56
ralsinacool then, with that, you have a +1 fromme12:56
nessitawill make that chnage asap so while that lands, I review for you12:56
ralsinathat also makes a bug from thisfred on friday invalid12:56
thisfredtss12:57
ralsinathe one about having "header" items with nothing under them12:57
nessitagatox: holas! question, are you working on the translations for u1cp?12:57
thisfredralsina: so we will always show all the folders? I think that's much12:58
thisfredbetter12:58
ralsinathisfred: yep12:58
thisfredcool12:58
thisfredmy bug's still valid,  this will just fix it :P12:58
gatoxnessita, no, that issue was actually the same as sso.... the first screen is just sso stuff.... i'm working in the windows problem that ralsina mention in his branch12:59
ralsinathisfred: although it will still "flicker" a bit when you check/uncheck one, which I need to fix someday12:59
thisfredyeah, but that's minor12:59
ralsinathisfred: yeah12:59
nessitaralsina: what I know is missing but will do in another branch for the release after this, as bug fix, is to skip the page if there are no volumes to show, since actually I want to use this to wait for syncdaemon's volumes list: https://code.launchpad.net/~brian.curtin/ubuntuone-client/851810-notify-on-volumes12:59
ralsinathisfred: we have much bigger fish to fry :-)12:59
nessitagatox: so you 100% sure there are no missing translations on controlpanel? :-)12:59
ralsinanessita: +1 on that, that will help the UX a lot12:59
thisfredWhale fry!13:00
nessitaralsina: yes, but need brian to actually fix the things I asked there ;-)13:00
ralsinathisfred: with veggies (I am on a diet :-)13:00
ralsinanessita: after this release ;-)13:00
ralsinanessita: I need brian al for me today ;-)13:00
nessitaack13:00
thisfredralsina: steamed whale for you then13:01
ralsinathisfred: you know, whale is technically a fish for lent-related purposes13:01
gatoxnessita, well.... if you put it like this.... i think that is a trap jeeje..... but at least for this screenshot: https://launchpadlibrarian.net/96191627/ubuntuone-controlpanel-qt.png you can see that all the non-translated things are from sso.... i didn't check the other files.... i could do that if you want13:01
thisfredralsina: clever catholics13:01
ralsinathisfred: panda, the other vegetable13:02
thisfredha!13:02
gatoxnessita, also..... i'm really stuck with the tests for main for the unicode branch..... it keeps giving me a seg fault (the asserts are ok.... but it through a seg fault)13:02
ralsinagatox: what branch? I can give you a hand there13:03
ralsinalet's all try to help each other instead of tupac-amaru-izing nessita today :-)13:03
gatoxralsina, let me push the changes13:03
nessitagatox: pinging ralsina for that specific thing is the best decision ever :-D13:05
nessitagatox: and yes please to check the other files13:05
gatoxnessita, ok..... as soon as i finish with the windows thing, i'll check those files13:06
ralsinaunicode is my brêäd and bùttër13:06
nessitagatox: ack13:06
gatoxralsina, this branch..... after the reviews, i talk to nessita and we agree to decode all the args: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/unicode-args/+merge/9793613:07
ralsinagatox: ack13:07
gatoxralsina, so i decode everything in the main before sending that data to the ui.... but i having problems to test that13:07
ralsinagatox: so you have a segfaulting test?13:08
gatoxyep13:08
gatoxtest_main13:08
ralsinagatox: ack, will get back to you as soon as I figure something out13:08
gatoxralsina, PYTHONPATH=. u1trial --gui --reactor=qt4 ubuntu_sso/qt/tests/test_main.py13:08
ralsinagatox: I am again roberto, the one that has windows abierto. But I will try it! :-)13:09
gatoxralsina, ahhhhhhhh jeje13:09
gatoxralsina, if you want, paste the changes and i can try it here13:10
ralsinagatox: ack13:10
ralsinagatox: no segfault here!13:10
ralsinagatox: so, YOU FIXED IT! ;-)13:10
gatoxralsina, cuack..... the test execute and say pass?13:10
ralsinagatox: yep13:10
ralsinathen u1trial gets stuck13:11
ralsinagatox: https://pastebin.canonical.com/62540/13:11
gatoxralsina, i see this: http://paste.ubuntu.com/890580/13:12
ralsinagatox: one f my branches fixes this test!13:12
ralsinagatox: let me find it13:12
ralsinagatox: https://code.launchpad.net/~ralsina/ubuntu-sso-client/ubuntu-font-in-windows/+merge/9801013:13
ralsinagatox: merge manually the test fixes13:14
gatoxralsina, are you going to add more stuff to that branch..... because i could review it so it can be merged in trunk.....13:14
gatoxalready has 1 approval13:15
ralsinagatox: no, that branch is good to go13:15
gatoxralsina, ok..... reviewing...13:15
alecuralsina, nessita: any of you knows when are nightlies rebuilt?13:21
nessitaalecu: after each tarmac build13:21
ralsinaalecu: not me13:21
nessitaalecu: after each tarmac land I meant :-)13:21
nessitaalecu: so, checking https://code.launchpad.net/~ubuntuone-hackers/+recipe/client-dailies I can tell builds are failing for client13:21
nessitaalecu: click on any of the build failed and check the error13:22
alecunessita, what does it means "Successful build" but stop signs?13:22
nessitaalecu: error on tests.proxy.test_tunnel_server.MainFunctionTestCase.test_on_proxies_enabled_prints_port_and_cookie13:22
nessitaalecu: where do you see that?13:23
nessitaalecu: ah, I understand your question13:23
alecunessita, in the page you just pasted...13:23
nessitalet me explain13:23
alecuok13:23
nessitaalecu: we have a single "source" package, and from that we built several binary packages. The outer success means the *source* apckage built ok, but the "stop sign" means that both binary packages failed13:24
alecuok, great.13:24
alecunessita, so: from dbus.mainloop.qt import DBusQtMainLoop13:24
alecuexceptions.ImportError: No module named qt13:24
nessitaalecu: seems like python-qt4-dbus is a missing dep?13:25
alecunessita, right13:25
nessitaalecu: is that code not in the default install of SD (need to check that)13:25
alecunessita, I added that to use the keyring from the tunnel13:25
gatoxralsina, +1 to this one: https://code.launchpad.net/~ralsina/ubuntu-sso-client/ubuntu-font-in-windows/+merge/9801013:25
nessitaalecu: where was that code added?13:25
ralsinagatox: awesome!13:25
alecunessita, rev 121113:26
nessitaalecu: which file, I mean :-)13:26
alecunessita, and that's why 1210 is the last package available on nightlies!13:26
alecunessita, ubuntuone/proxy/tunnel_server.py13:26
alecunessita, so, it would be a dependency for the proxy tunnel binary13:27
nessitaalecu: did someone already built the separated binary proxy  package?13:27
alecunessita, very good question.13:28
alecunessita, I can't answer it!13:28
alecunessita, let's ask ralsina.13:28
nessitaalecu: if you give me the complete list of dependencies for that python package, I can make the binary package build13:29
ralsina?13:29
* ralsina has clue -4 about packaging13:30
alecuralsina, that's +1 than what I have.13:30
ralsinaalecu: having played munchkin with you, you have a "takes all packages from the enemy" card.13:31
nessitaalecu: just check on the nightlies packaging branch and there is no binary for proxy13:31
nessitaalecu: so, I can add it but need the full dependency list... could you give me that? (alphabetically ordered please)13:31
ralsinanessita: should that be something other than "ubuntuone-client" and "python-dbus-qt4" ?13:32
nessitaralsina: yes, every module that the python package depend on. From the top of my head, python-twisted-core is needed13:33
alecunessita, I think the dependencies would be: python-qt4, python-qt4-dbus, ubuntuone-client13:33
nessitaalecu: what about all the twisted deps?13:33
nessitado not assume you get twisted from u1client13:33
ralsinanessita: we don't need to support installing it withut u1-client13:33
alecunessita, they would be pulled by ubuntuone-client13:33
alecunessita, why not twisted from u1client?13:34
nessitaralsina: u1-client definitely will be a dep13:34
nessitaalecu: because that's how packages deps are listed13:34
alecunessita, how do I find the list of packages that u1client depends on?13:34
nessitaalecu: preferred and recommended and appreciated way is not to assume deps from another package you depend on13:34
alecumakes sense13:35
nessitaalecu: I would prefer that you grep over imports in proxy package and build the list from there, since u1client list may be incomplete13:35
nessitapackaging is not easy :-)13:35
dobeyhuh13:35
nessitahola dobey13:36
dobeyhi13:36
urbanapemorning, folks13:36
ralsinamorning urbanape!13:46
urbanapeheya13:46
alecunessita, http://pastebin.ubuntu.com/890617/13:46
nessitaalecu: thanks! no python-twisted-web? (did not check the code)13:47
alecunessita, only to run the tests13:47
nessitaalecu: perfect, thanks, will let you know13:47
alecunessita, but not in the modules that should go in the package.13:47
nessitaack13:47
alecunessita, great. Let me know if I can help with any other thing.13:47
nessitaalecu: sure13:47
alecunessita, one thing: we are importing some modules that may have some other dependency.13:48
nessitaalecu: such as?13:48
alecunessita, say: from ubuntu_sso.keyring import Keyring13:48
alecunessita, and that module in turn *may* use python-dbus.13:48
nessitaalecu: ah, that's ok: the dep in *our* proxy code is python-ubuntu-sso-client13:49
alecuperfect.13:49
nessitais "hidden" for us the deps that python-ubuntu-sso-client requires13:49
alecuI guessed so, but wanted to check anyway :-)13:49
nessitathanks :-)13:49
ralsinagatox: my sso branch is now merged, so your segfault should have gone away (please check!)13:49
gatoxralsina, ok, thanks..... i'm looking at the problem that you have in windows.... is the same that was happening in some linux... and this is really weird... the good part...... we can now reproduce the bug13:50
gatoxso i'm looking at that13:50
nessitadobey: any reason not to have python-twisted-core as a u1client build-depends?13:51
nessita(is not listed ATM)13:51
dobeynessita: i guess it's not there because we're pulling it in via ubuntuone-dev-tools13:53
nessitadobey: ok, adding it then to be explicit13:53
urbanapebriancurtin: ping13:53
briancurtinurbanape: what's up13:53
urbanapehey a, can I steal some of your time this afternoon?13:54
ralsinahi briancurtin!13:54
briancurtinurbanape: depends on how far i get with this windows release. currently working through some of ralsina's weekened branches13:54
urbanapekk13:54
briancurtinhey ralsina13:54
ralsinabriancurtin: please check them out, they are full of sunday goodness13:55
ralsinaas in, I did two while eating a diet sundae and everything13:55
briancurtinhaha13:55
nessitadobey: so, once we have the python-ubuntuone-client-proxy bin package, shall python-ubuntuone-client suggests it?13:56
dobeywhy is it python-ubuntuone-client-proxy?13:57
nessitadobey: how would you like to name it?13:57
dobeyit should be ubuntuone-client-proxy i think13:57
dobeyas it includes the tunnel script13:57
nessitadobey: why? (interested in the convention and rationale)13:57
dobeyand it's not a "python library" really13:58
nessitaok, makes sense, changing13:58
nessitadobey: so, ubuntuone-client should suggests it then?13:58
dobeyyes, only Suggests: at most. it can't Recommends or Depends it13:59
nessitaright13:59
ralsinanessita and everyone else: sorry abut pep and lint issues in my branches, but it's hard to get that done right on windows :-(14:01
nessitaralsina: yes, I know, is ok14:01
nessitaalecu: so, what should the -proxy package ship? the binary ubuntuone-proxy-tunnel, and the python package under ubuntuone/proxy/... anything else?14:02
nessitaalecu: is there any other needed file, man page, dbus service file, icon, desktop file, etc? (just doing a checklist)14:03
alecunessita, I think we don't need any other file.14:03
nessitaalecu: great, thanks14:03
alecunessita, we don't have a manpage, and anyway it's an internal binary, not supposed to be called by users.14:04
nessitayes14:04
alecunessita, and no dbus service file, icon nor desktop file.14:04
nessitaperfect14:04
briancurtinlaunchpad's working nicely today. only on my 7th try to "setup.py fetch" and get sources14:10
ralsinabriancurtin: ugh14:10
ralsinabriancurtin: I had a bit more luck earlier. But it's mostly bzr for windows that sucks :-/14:11
ralsinabriancurtin: you getting permission denied errors?14:11
briancurtinralsina: bzr error 3, whatever that means14:12
briancurtineven opening branches to view in the browser is hit-or-miss this morning14:12
ralsinabriancurtin: ok, never saw that one. It was actually down this morning, too14:12
briancurtinah14:12
nessitaralsina: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/cloud-to-computer-page/+merge/97990 updated and irl tested14:13
ralsinanessita: yuju! Will review right away!14:14
nessitadobey: can you please review this diff? http://pastebin.ubuntu.com/890669/14:15
nessita(for u1client packaging branch)14:15
ralsinanessita: just noticed there is no way to test that on windows, though, so just code review from me14:15
nessitaralsina: you could run it IRL, I think...14:15
ralsinanessita: no, because on windows you can't login right now14:16
nessitadobey: still pending to write the changelog though :-)14:16
nessitaralsina: is that on every windows or just yours? (curious)14:16
alecumandel, ping14:16
ralsinanessita: all windows, reported it on sunday, diego is working on it14:17
nessitaralsina: interesting :-/.14:17
ralsinanessita: the sso ui ever enables the login button14:17
ralsinas/ever/never/14:17
nessitaralsina: yeah, read the email... and also saw some reports on linux as well14:17
ralsinanessita: so, if the issue is the same, hey, windows helps us fix it :-)14:17
nessitayes14:18
ralsinanessita: gatox has reproduced it on windows14:18
nessitanice14:18
nessitawill make some mate to see if I can finish waking me up :-d14:18
dobeyugh14:18
* nessita slaps herself14:18
gatoxralsina, nessita yes.... there is a problem with the credentials and the backend is returning none.... i'm looking at the logs right now14:18
nessitacd ..14:18
nessitaoops14:18
dobeyi really don't like having to list each python package individually14:18
gatoxnessita, ralsina i'll let you know as soon as i have something14:19
dobeynessita: also, the paths are wrong14:19
nessitadobey: any suggestion how to list everything but "proxy"?14:19
dobeynessita: it would be ubuntuone-client/ubuntuone/foo14:19
dobeynessita: no. i don't think dpkg has an "everything but the things that are in other binary packages" thing14:19
nessitadobey: you're right, will change. Any solution to not to list everything?14:19
nessitaok14:19
nessitadobey: the breaks-replaces is fine, no?14:20
dobeynessita: should be. i'd probably do it as << ${binary:Version} or source:Version (whichever one works there)14:22
nessitadobey: any reason for that? last time we fixed something like this you suggested using the exact version, to avoid breaking/replacing in "the future"14:23
mandelalecu, pong14:24
mandelalecu, sorry took me longer to have lunch, had to deal with the family, is father day here..14:24
* mandel hates family things..14:24
dobeynessita: because it's nightlies and sticking the +r43432 in there feels weird14:25
alecumandel, roberto reported two small issues in this branch: https://code.launchpad.net/~mandel/ubuntu-sso-client/use-qt4-webclient-backend/+merge/9793414:25
nessitadobey: ok then, as you wish. Will change14:25
mandelalecu, yes, I know fixing in a few minx14:25
mandelalecu, mins*14:25
alecuok14:25
dobeynessita: for proper stable packages, i'd use specific versions, but for nightlies, i'd generally prefer a minimum of that, in favor of automation14:25
nessitadobey: duly noted14:26
nessitachanged to (<< ${binary:Version})14:26
dobeycool14:26
dobeynessita: we use zope.interface in u1client?14:27
nessitadobey: yes, on trunk/ubuntuone/syncdaemon/interfaces.py14:27
nessitadobey: and in the tests now14:28
ralsinaalecu: I answered your needsinfo in https://code.launchpad.net/~ralsina/ubuntuone-client/find_exes/+merge/98107 as "you are right" ;-)14:33
alecuralsina, ok, I'll re-review.14:34
mandelalecu, I think that setting QNetworkRequest::AuthenticationReuseAttribute to QNetworkRequest::Manual might do the trick14:34
alecumandel, awesome14:35
ralsinanessita: ay reason to create are_you_sure.ui instead of using QMessageBox.question()?14:36
alecumandel, that means that each webcall would be done once, the proxy will return a 407, and then it will be retried with the credentials.14:38
mandelalecu, in theory.. I'm writing some tests to make sure it does what the can says..14:38
alecumandel, but it sounds like a reasonable compromise until the credentials cached by NAM are truly erased on failure.14:39
nessitaralsina: you tell me, you added that in the installer :-) (just copied it)14:39
ralsinanessita: really? Whoa, was I in a dumb day! :-)14:39
ralsinanessita: ok, I'll file a bug for it and give this one a +114:39
nessitaralsina: I think you needed to customize the button texts...14:39
mandelalecu, it is just good enough, specially when we can catch them and  then tell the requests after the first successful one to use it in automatic mode14:39
nessitaralsina: and I m not sure you can do that with a yes no dialog?14:40
ralsinanessita: could be. Whatever, it works ;-)14:40
mandelalecu, since this in an attribute at the request level and not the network access manager14:40
alecumandel, I think we should not care about re-setting it to automatic.14:40
gatoxnessita, ralsina yes.... it was because of the buttons-text14:42
ralsinagatox: thanks!14:43
mandelalecu, that could in an optimzation done later for sure14:43
ralsinabriancurtin: fllowed your suggestion on find-exes, please rereview14:45
urbanaperalsina: if you're looking for them, I believe they all live in Texas.14:46
urbanapeAt least, that's how the song goes.14:46
ralsinaurbanape: ?14:46
urbanape“All my exes live in Texas”14:46
ralsinaurbanape: groovesharking it :-)14:47
ralsinaurbanape: omfg is that a crappy song (sorry country fans :-)14:48
urbanapehahah14:48
ralsinaI wonder how his san antonio ex is called. Antonio?14:48
alecuthat's why I lay may hat in Tennessee14:48
* alecu heard that song a lot while playing San Andreas.14:49
alecumandel, I'm not finding an easy way to enable socks14:51
mandelalecu, in webclient?14:51
alecumandel, I'll start with the SSL-disable branch if you think it's fine.14:51
alecumandel, in webclient, yes.14:51
mandelalecu, if you have nothing on your plate, sure14:51
alecumandel, also, it seems that this test in webclient would not work right: test_https_request14:52
alecumandel, since self.assertFailure needs to be yielded14:52
alecuor failUnlessFailre, as it's called in the test.14:53
alecumandel, also, the indenting of that method suggests that a yield was there at some point14:54
mandelalecu, really.. I cannot recall, but I'm sure it was not14:54
mandelalecu, as in, I don't remember it like that, but ypu are right, there is a yield missing14:54
alecumandel, if I add a yield the indenting of the parentesis matches the parameters on the line below :-)14:55
alecumandel, anyway, I think I've found the smallest patch that can disable ssl14:56
mandelalecu, not connect to the signal?14:56
alecumandel, yup14:56
mandelalecu, that is the one I had in my head14:56
alecugreat14:57
mandelalecu, and if we wanted to re-enable it would be very easy..14:57
mandelalecu, but the patch also has to skip the ssl tests14:57
alecuright14:57
alecumandel, I'll handle the ssl branch.14:58
mandelalecu, thx!14:58
alecumandel, but please, *please* fix the qt-enable branch so it finally lands.14:58
mandelalecu, ok, I'll move to that and will get back to the cache bug14:58
* mandel switches..14:58
nessitastandup in 1 minutes crowd14:59
ralsiname15:01
briancurtinme15:01
urbanapeme15:01
alecumandel, btw: it looks like the handler for ssl errors cannot be an inlineCallbacks either. similar issue.15:02
mandelme15:02
alecume15:02
mandelalecu, hm.. stupid qt signals..15:02
nessitame15:03
ralsinadobey: standup?15:03
dobeyoh15:03
dobeyme15:03
ralsinaDONE: proposed some branches to fix windows peculiarities, helped gatox with his segfault (I hope), did reviews, some 1:1s, lots'o'stuff TODO: help around, keep on pushing the windows side of things, tech leads call BLOCKED: no NEXT: briancurtin15:03
briancurtinDONE: lots of debugging, got most things running in some form for the windows release15:03
briancurtinTODO: if bzr ever starts working properly i can get this installer environment up to date with ralsina's branches then continue on15:03
briancurtinBLOCKED: bzr/launchpad is awful this morning15:03
briancurtinNEXT: urbanape15:03
ralsinathisfred: standup you too15:03
gatoxme15:03
urbanapeDONE: More tests for ubuntu-sso-client15:04
urbanapeTODO: Finish it up, propose15:04
urbanapeBLOCK: None15:04
urbanapebriancurtin: You're up15:04
nessitaurbanape, briancurtin: you're in a endless loop?15:04
nessita:-)15:04
alecuDONE: mad rush to fix and land pending sso branches15:04
alecuTODO: reach the deadline alive15:04
alecuBLOCKED: no15:04
alecuNEXT: nessita\15:04
briancurtini think it's mandel15:04
nessitaNEXT: alecu15:04
nessitaDONE: proposed cloud-to-computer u1cp branch, reviews15:04
nessitaTODO: reviews, land the aforementioned branch, propose branch for computer-to-clound u1cp wizard page, help alecu building a new binary package for u1client-proxy15:04
nessitaBLOCKED: nopes15:04
nessitaNEXT: dobey15:04
dobeyλ DONE: bug #934206, reviews, askubuntu15:05
dobeyλ TODO: bug #932103, bug #95311915:05
dobeyλ BLCK: none.15:05
ubot5Launchpad bug 934206 in Ubuntu One for Rhythmbox trunk "track duplication from RB-U1" [High,In progress] https://launchpad.net/bugs/93420615:05
nessitaalecu: oops, I think you skip mandel15:05
urbanapenessita: endless15:05
ubot5Launchpad bug 932103 in rhythmbox-ubuntuone (Ubuntu Precise) "Cannot install MP3 playback support; silently fails" [High,Confirmed] https://launchpad.net/bugs/93210315:05
ubot5Launchpad bug 953119 in ubuntuone-client-gnome (Ubuntu) "valgrind invalid read error" [Undecided,Triaged] https://launchpad.net/bugs/95311915:05
alecunessita, you skipped him too!15:05
dobeygatox: go15:05
gatoxDONE:15:05
gatoxLanded a branch that fix translation problems worked on a branch for unicode issues (blocked with the tests... still segfault with ralsina's branch), working on the issue about the none backend in some linux and windows.15:05
gatoxTODO:15:05
gatoxFinish with the backend thing, and check translations in u1cp.15:05
gatoxBLOCKED:15:05
gatoxJust the test thingy in the u1-sso-unicode branch15:05
nessitaalecu: I was just copying you :-P15:05
mandelI feel left out15:05
nessitamandel: go!15:05
mandelDONE: Reviews, look at cache creds issues in the QNetworkAccessManager.15:05
alecumandel, come!15:05
mandelTODO: fix the qt webclientimplementation to deal with bad creds.15:05
mandelBLOCKED: is a hard problem to solve because is a bug from qt itself... :(15:05
mandelnext, alecu15:05
mandel:P15:05
mandelalecu, now is your turn hehe15:06
alecuthisfred, go15:06
nessitathis has been a messy standup :-/ (I guess this shows the state of our minds!)15:06
thisfredDONE: reviews, hunting segfault15:06
thisfredTODO: hunt and kill u1db segfault15:07
thisfredALSO: will15:07
ralsinanessita: +1 on cloud-to-computer15:07
thisfredbe on holiday wed, thu, fri15:07
nessitaralsina: nice!15:07
ralsinaeveryone TODO: not kill yourselves, ok? Let's not fall in the same thing as with windows.15:08
ralsinawork hard, but not TOO hard15:08
urbanapeI promise not to kill myself this week.15:08
ralsinaurbanape: thanks!15:08
ralsinaurbanape: but guys with laser vision always tend to have tortured souls. I learned that from DC comics.15:09
urbanapeI also promise not to level a city this week.15:09
mandelalecu, I just had an EVIL idea!! regarding the signals etc..15:10
mandelalecu, also, updated the use_qt branch15:10
dobeyralsina: dc or marvel?15:11
alecumandel, and you've pushed it too, right?15:11
briancurtinralsina: find_exes looks good...im just waiting on bzr/launchpad to stop breaking so i can actually run with it15:11
mandelalecu, runnings tests, I'll push when done15:11
alecudobey, both supes and cyclops.15:12
ralsinabriancurtin: he15:12
ralsinabriancurtin: I sometime end doig all the fetching manually :-/15:12
ralsinadobey: superman is a basket case15:12
ChipacaI saw somebody in here talking about hasattr the other day15:13
ralsinaChipaca: it's gone!15:13
Chipacahasattr is *less* evil now, but "getattr(thing, attr, flag) is not flag" is still better15:13
Chipacahasattr now is "only" try: getattr except StandardError: return false else: return true15:14
Chipacabefore it was a raw except15:14
mandelalecu, ralsina FYI updated: https://code.launchpad.net/~mandel/ubuntu-sso-client/use-qt4-webclient-backend/+merge/9793415:18
ralsinamandel: ack, checking!15:21
ralsinanessita, dobey: looks like we need to update sso in tarmac?15:23
dobey?15:23
nessitaralsina: why?15:23
ralsinanessita: your branch failed to merge because of a sso import15:23
nessitaralsina: it gets automatically updated15:23
nessitaralsina: let me look15:23
dobeywhat branch?15:24
nessitaralsina: I guess that's a missing build dep15:24
nessitadobey: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/cloud-to-computer-page/+merge/9799015:24
dobeyit's automatic i think, but not guaranteed to be up-to-date when you necessarily need it15:25
dobeyalso, it does depend on nightlies building successfully and timely :)15:25
dobeyhrmm15:26
nessitadobey: we're missing a build dep15:26
nessitaubuntu-sso-client-qt15:26
dobeyright15:26
nessitawill add now15:26
nessitaralsina: after nightlies re-build will re-approve15:30
ralsinanessita: cool, thanks15:30
ralsinamandel: +1 on use-qt4-webclient-backend15:33
mandelralsina, superb!15:33
* gatox quick lunch and keep fighting with the backend thing....15:36
=== gatox is now known as gatox_lunch
dobeyhrmm. if we care about the hasattr thing at all, shouldn't we make tests fail if it exists?15:38
ralsinamandel: is there a reason why this is not approved? https://code.launchpad.net/~mandel/ubuntu-sso-client/merge-code/+merge/9762715:39
mandelralsina, I missed it15:39
mandelralsina, approved now :)15:39
ralsinamandel: cool :-)15:39
ralsinadobey: +1 on highlander15:42
Chipacadobey: I think it's more a styling thing; pylint should probably flag it, if we used pylint :)15:48
Chipacadobey: it's try/except; my problem with it is that that is what it is. It is documented as such, and often it's fine15:49
nessitaalecu: -proxy binary built! https://code.launchpad.net/~ubuntuone-hackers/+recipe/client-dailies15:49
dobeyright15:49
dobeyChipaca: but if our "style" is to not use it; then we should probably fail when it gets used15:50
ralsinaChipaca: we do use pylint, and it doesn't, and maybe we should make it do it.15:50
dobeyalso we should get rid of pylint15:50
dobeyralsina: we don't use pylint everywhere15:50
ralsinadobey: or that ;-)15:50
Chipacadobey: that sounds more like *work*15:51
Chipacadobey: I15:51
ralsinadobey: yes, but this one was in a place where we do15:51
Chipacadobey: I'm generally opposed to the idea of work, as you know15:51
briancurtinralsina: your find_exes branch isn't working for me. 1) start u-sso-login.exe, 2) start u1-cp-qt.exe, 3) doesn't find SD15:51
dobeywell, pyflakes is much easier to extend than pylint15:51
ralsinabriancurtin: no, that will not work15:51
dobeyChipaca: as am i15:51
ralsinabriancurtin: start syncdaemon manually, too15:51
dobeyChipaca: i much prefer hedonism15:51
ralsinabriancurtin: instructions in one of the emails15:51
briancurtinralsina: ok, then it works :)15:51
Chipacadobey: indeed15:51
briancurtini think i missed the manual part15:51
ralsinabriancurtin: yay :)15:51
Chipacadobey: and cake15:51
briancurtin(as an official step)15:52
ralsinabriancurtin: yes, sd will only start from the installed location. Need to fix that someday15:52
dobeywell, hedonism without cake is just vice.15:52
dobeyor vicing15:52
ralsinabriancurtin: is that the find-exes in ussoc or in u1-client?15:52
briancurtini'm running with all of your branches merged15:53
ralsinabriancurtin: ack15:53
ralsinamandel: is there a chance for a re-review of https://code.launchpad.net/~ralsina/ubuntu-sso-client/find_exes/+merge/98108?15:53
mandelralsina, yes, let me finihs the IRL I'm doing15:53
ralsinamandel: sure, thanks!15:54
ralsinamandel: https://code.launchpad.net/~mandel/ubuntu-sso-client/merge-code/+merge/97627 was too long there, got a bit of rot (needs the prereq removed)15:56
dobeyalright i should get lunch15:59
dobeybbiab15:59
mandelralsina, ok, we will deal with that branch later, is not a big issues atm16:13
ralsinamandel: ack16:13
mandelalecu, ralsina got a min?16:17
alecumandel, got16:17
ralsinamandel: I am on tech leads call, will be fre in about 45'16:17
alecumandel, momble?16:17
mandelalecu, no mumble needed16:17
mandelalecu, I'm doing my IRL of my evil hack and I get blocked in getting information, any idea on how to debug that?16:18
alecumandel, what steps are you following?16:19
mandelalecu, I got to my branch and do U1_DEBUG=1 PYTHONPATH=. bin/ubuntu-sso-login and on control panel: U1_DEBUG=1 PYTHONPATH=~/Projects/Canonical/ubuntu-sso-client/use-qt/:. bin/ubuntuone-control-panel-qt16:20
alecumandel, I assume u1cp is trunk; can you send me again the link to your branch?16:21
alecuI mean, the sso one.16:21
mandelalecu, sure, give me a sec and I'll push all the changed and merge with trunk to reduce the diff16:22
alecumandel, also: your branch depends on the enable-qt one, right?16:22
mandelalecu, yes16:22
alecuwell, that has already landed, so yes.16:22
* briancurtin needs coffee by the gallon today, brb/lunch16:27
mandelalecu, lp:~mandel/ubuntu-sso-client/nam-is-buggy16:28
=== gatox_lunch is now known as gatox
alecumandel, thanks. Please review this one while I take a look: https://code.launchpad.net/~alecu/ubuntu-sso-client/disable-ignore-ssl-option/+merge/9822616:29
alecumandel, it's tiny.16:29
mandelalecu, ok, I changed the order of the QObject, is wrong when calling super you will get an exception.. ups!16:30
alecumandel, was that all the problem?16:30
mandelalecu, no no, it has nothing to do with that, I changed it because I'm stupid16:31
mandelalecu, merge issues: https://code.launchpad.net/~alecu/ubuntu-sso-client/disable-ignore-ssl-option/+merge/9822616:31
alecucrap16:31
alecumandel, now it's merged with trunk: https://code.launchpad.net/~alecu/ubuntu-sso-client/disable-ignore-ssl-option/+merge/9822616:38
mandelalecu, is wrong, we should not be listening to proxyAuthenticationRequired, right?16:39
mandelalecu, AFAIK it is removed in trunk16:39
alecumandel, le'crap.16:40
mandellol16:40
alecumandel, my mind is broken. I should stop waking up at this time :-)16:40
alecumandel, I've pushed that branch three times, and every time I made a mistake.16:40
mandelalecu, take a nap, I'll be here 'til late.. I don't know if that is possible regarding the deadline..16:40
mandelalecu, but, power nap for the win!16:41
alecumandel, I think not: we are 1:20hs from it.16:41
mandelalecu, la puta..16:41
mandelack16:41
nessitamandel: would you please re-review https://code.launchpad.net/~ralsina/ubuntu-sso-client/find_exes/+merge/98108 ?16:43
mandelnessita, ralsina on it16:43
mandelnessita, no tests at the end?16:44
* briancurtin back, mm coffee16:44
nessitamandel: did you read ralsina's comment?16:46
nessitamandel: the code is a refactor, covered by the existent tests16:46
mandelnessita, oh, I skipped that one, then +116:46
ralsinamandel: thanks!16:46
nessitadobey: when you come back, would you help me understand why, after installing latest nightlies for u1client, I'm getting:16:49
nessita>>> import ubuntuone.syncdaemon16:49
nessitaTraceback (most recent call last):16:49
nessita  File "<stdin>", line 1, in <module>16:49
nessitaImportError: No module named syncdaemon16:49
nessitaeven though /usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/ does exist. I'm guessing a .pth issue?16:49
ralsinanessita: looks like the ubuntu default is all buttons on the right16:50
ralsinanessita: so let's do that for all platforms16:50
nessitaack16:50
mandelnessita, this line has nothing wrong: 2012-03-19 17:56:21,712:712.683916092 - ubuntu_sso.main - DEBUG - shutdown!, ref_count is 1.16:56
mandelright?16:56
nessitamandel: right, perfectly fine16:57
mandelnessita, ok16:58
nessitamandel: that means the sso service will not shutdown because it has an ongoing request16:58
mandelack16:58
alecumandel, can you re-review? https://code.launchpad.net/~alecu/ubuntu-sso-client/disable-ignore-ssl-option/+merge/9822616:58
mandelalecu, +117:05
nessitadobey: hum, why there is no ubuntuone.client.pth in u1client source tree?17:12
briancurtinralsina: to what degree should SSO work? i see in your mail that it's not complete, but this is what i'm seeing after install http://i.imgur.com/jdfFs.png (can't click Sign In)17:19
briancurtin(my installer was built with all of the branches you listed in yesterday's email)17:20
ralsinabriancurtin: yes, that's what I ran into, gatox is looking at it17:20
briancurtinok cool17:20
gatoxbriancurtin, yes, i'm in crazy debug mode :P17:20
briancurtingatox: i can't offer much on the GUI stuff, but if you have branches you want me to test out or anything, let me know17:21
gatoxbriancurtin, yes thanks..... actually the problem seems to came when we want to get the port for an instance already running..... i'm debugging that17:21
dobeynessita: oh, you need to include the *.pth in python-ubuntuone-client17:21
dobeynessita: sorry i didn't catch that one. it was pulled in by the ".../*-packages/*" line before17:22
dobeynessita: it doesn't need to be in the source tree; the Makefile creates it on install though17:23
nessitadobey: ah, ok, so:17:30
nessitawill add debian/tmp/usr/lib/python2.*/*-packages/*.pth to python-ubuntuone-client.install\17:31
nessitadobey: ack?17:31
dobeyyeah17:31
dobeythis is why i hate the splitting of stuff in python packages :)17:32
dobeyalso, why i hate having to use the standard python lib dirs for things that don't belong in there17:32
nessitaok, u1client packaging branch updated, and a new build was requested. Will have lunch now17:34
nessitadobey: ^17:34
* nessita -> lunch17:34
alecuthisfred, gatox, ralsina: can I ask any of you guys for a really small review?17:40
alecuhttps://code.launchpad.net/~alecu/ubuntu-sso-client/disable-ignore-ssl-option/+merge/9822617:40
ralsinaalecu: sure17:40
gatoxalecu, shoot17:40
ralsinaalecu: I got it17:40
thisfredalecu: yep17:40
gatoxalecu,  the three of us?17:41
alecuonly one is needed, and ralsina has already volunteered.17:41
gatoxalecu, roger that17:41
dobeysigh17:41
dobeymy eyes are not well17:42
ralsinadobey: your fonts are too big.17:43
dobeymy eyelids are too big right now17:43
dobeythanks to the plant kingdom17:43
ralsinadobey: unless you are actually feeling bad, in which case previous comment is to be considered rude and insensitive and replaced with "wanna go see a doctor?"17:43
dobeyi think i just need some water for my eyes17:45
ralsinamandel: I am stumped with ubuntu-sso-proxy-creds-qt I just can't make deferToThread ever return17:47
ralsinamandel: tried adding qt4reactor, makes no difference17:47
mandelralsina, hm.. can I have your branch?17:48
ralsinamandel: you can start from lp:~ralsina/ubuntu-sso-client/fix-958884 I have done no progress :-(17:48
ralsinamandel: I am this close to just using blocking calls for the keyring on windows17:49
mandelralsina, let me try17:49
ralsinamandel: thanks, you don't have other more urgent stuff?17:49
mandelralsina, I need to rest a little with the auth issues I have.. I nearly got it solved but needs some maceration17:50
briancurtinralsina: is there anywhere else we need help with on the windows release?17:50
ralsinabriancurtin: hmmm.... can you test a non-authed proxy?17:50
briancurtini don't know anything about the proxy stuff that has been going on so i'd need some test steps, but yes i can do it17:51
ralsinabriancurtin: just get access to a proxy (there are a bunch of simple ones for windows) and see if it works :-)17:51
briancurtinralsina: i'm on it17:51
ralsinaalecu, mandel: I have a vague memory that we used to use deferToThread before and it had a hack o windows because twisted's did not work17:52
ralsinaand then we got rid of it everywhere except on keyring/windows.py17:53
mandelralsina, give me a sec17:54
alecuralsina, did not recall about that really.17:54
alecuralsina, in fact, deferToThread still seems to be used in action_queue.py, iirc17:55
alecuralsina, are we talking about SD or U1CP or SSO?17:55
ralsinahere's the change I remembered http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntu-sso-client/trunk/revision/85017:55
nessitaaaaagggggrrrrhhhhhhhhh my branch keeps being rejected! /me cries (I know what the problem is, no worries, but needed to scream a bit)17:55
ralsinaso no, we always used defertothread on windows, and we have always been at war with eurasia17:56
dobeynessita: with the same qt import issue?17:57
alecuralsina, we got rid of the threads there, when we finally got rid of lazr.restfulclient17:57
ralsinaalecu: right17:58
nessitadobey: no, now is the busted u1client... so I will wait for the new u1client to build and then ask for package updates in tarmac17:58
alecuralsina, but I've just checked and we are still using twisted threads in SD17:58
nessitadobey: since every branch using u1client will fail with the same17:58
ralsinaalecu: yes, but that has no qt :-)17:58
dobeynessita: ah right, because of the missing pth17:58
alecu(not deferToThread, but the very related callInThread and callFromThread)17:58
nessitadobey: yeap17:58
ralsinaalecu: this is in sso in the proxy-creds-qt script17:58
alecuralsina, riiight.17:58
alecuralsina, ack17:58
mandelralsina, can you IRL the following: lp:~mandel/ubuntu-sso-client/fix-95888417:59
ralsinamandel: sure!17:59
mandelralsina, I have not tested, did a quick fix to what I think should be done17:59
ralsinamandel: ack17:59
mandelralsina, let me know if it works (you might need to fix some stuff)18:00
nessitagatox: is your ussoc unicode branch ready for review?18:00
nessitagatox: I'm lost with the status of that18:00
ralsinamandel: no, doesn't work18:00
mandelralsina, what does it get?18:01
ralsinamandel: clicking "save and connect does nothing"18:01
mandelralsina, may I see the debug messages?18:01
gatoxnessita, not yet.... the test was still segfaulting.... and i'm with the sso not working in windows/linux issue right now.... some crazy twisted thing it seems18:01
ralsinamandel: says  Save credentials as for domain 1.2.3.4. and never closes (and creds are not saved) so exact same behaviour as my branch18:02
mandelralsina, hm.. deferToThread works, and I know that because we have sued that code from the very very beginning18:03
briancurtinsimple test of the proxy - open up google, see what country it thinks im in. germany!18:03
mandelralsina, try to callInThread instead18:03
ralsinamandel: what can I say?18:03
mandelralsina, bubaloo? let me launch my vm in a few mins, I'm nearly done with the proxy issue18:03
ralsinamandel:  thanks18:05
ralsinabriancurtin: cool, now let's see if you can sync stuff :)18:05
dobeyanyone want to give a second review on https://code.launchpad.net/~dobey/rhythmbox-ubuntuone/highlander/+merge/98214?18:06
briancurtinralsina: it'll be a few minutes, i need to run the old installer first so i can get U1 to run and get me SSO creds first18:06
ralsinabriancurtin: ack18:06
ralsinaFellows, I have to go to a doctot's appointment, will be back in about 80 minutes18:11
ralsinaso, ay IRL testing on windows, briancurtin can do it18:11
alecuralsina, mandel: ping18:16
mandelalecu, catapong!18:16
ralsinaalecu: pong18:17
alecuralsina, mandel: deferToThread should not work any longer on sso nor u1cp18:17
mandelalecu, why?18:17
alecusince we are not using twisted for those two on linux.18:17
ralsinaalecu: this is on windows18:17
ralsinaalecu: but on a program without a reactor18:17
alecuthere you go!18:17
ralsinaalecu: tried adding qtreactor, still didn't work, but you know my twisted is awful18:18
alecuralsina, shall I take a look?18:18
alecuralsina, hit me with the branch!18:18
ralsinaalecu: talk with mandel, I am leaving as soon as the taxi arrives :-)18:18
alecuack18:18
ralsinaalecu: lp:~ralsina/ubuntu-sso-client/fix-958884 the problem is creds-qt script18:19
alecumandel, ralsina: that seems to be the only file in that branch.18:21
alecumandel, ralsina: creds-qt, I mean.18:21
alecumandel, what's the status of the credentials branch?18:27
mandelalecu, stuck :( I though I had a hack around it using the QEventLoop but aint working, I can get the signal to block and execute all the deferred stuff in the child eventloop and quit it, but the creds dialog appears too many times..18:29
gatoxnessita, i'm going to finish with the unicode branch right now, and then keep working on the windows-backend thing.... because i'm super block with that one18:43
nessitagatox: yes please, given that the unicode one is absolutely needed for the release18:44
gatoxnessita, ok18:44
mandelalecu, I'm running out of ideas.. I'm going to walk the dog, get some fresh air and try a diff approach..18:46
alecumandel, ack18:46
dobey  758 dobey     20   0 1215m 1.2g 1.0g S    0 14.7   0:58.67 gdb18:52
dobey:(18:52
gatoxnessita, ralsina with trunk i still have: http://paste.ubuntu.com/891082/ are you able to run successfully that test?18:57
briancurtinralsina, proxy people: while running with a proxy i just get "file sync in progress..." forever from u1-cp-qt.exe, and then in its console window i get endless amounts of https://pastebin.canonical.com/62570/19:01
roadmrHi folks! Is there anywhere I can get the U1 qt-based frontend's source? I branched lp:ubuntuone-client but that doesn't seem to be it19:03
dobeyroadmr: it's ubuntuone-control-panel19:04
roadmrdobey: ah! great, thanks19:05
roadmrdobey: one more question, is this all programmed using Python? no C++ for the Qt frontend part?19:06
alecuroadmr, ubuntuone is 100% C++ free.19:06
dobeyyes it's python19:06
roadmrawesome, thanks!19:06
alecubriancurtin, and you do not get the error from the paste at all if running with no proxies?19:10
alecubriancurtin, I can't think of a reason why on_download_finished would be called differently if going thru a proxy.19:10
briancurtinalecu: nope. the paste is coming from an proxied XP VM. my Win7 non-proxy box is working nicely19:10
briancurtinalecu: i can't either, i've been poking around and don't see where the divergence would be19:11
briancurtinmaybe it's another time for super debugger (python tools for visual studio)19:11
gatoxalecu, can you do me a favour please?19:11
alecugatox, sure. But depends.19:11
alecu:-)19:11
gatoxalecu, :P can you run in sso-trunk (updated) this: PYTHONPATH=. u1trial --gui --reactor=qt4 ubuntu_sso/qt/tests/test_main.py19:12
gatoxand let me know if that works for you19:12
gatoxi'm having a segfaul19:12
alecugatox, I'm getting that as well :-(19:13
gatoxralsina, ping! the segfault thing seems to be still broken19:14
gatoxalecu, thanks19:14
alecugatox, run-tests seems to work perfectly, though.19:14
gatoxalecu, cuack...... ok....... trying that19:14
alecugatox, you can try "./run-tests path/to/test_file.py"19:15
gatoxalecu, thanks!..... that seems to be broken too19:16
alecugatox, run-tests passed perfectly here.19:16
alecugatox, I'll try updating again.19:16
alecugatox, I'm on a P vm dist-upgraded just today.19:16
gatoxalecu, updating now....19:17
gatoxalecu, nop.... i've just updated, and i'm getting this: http://paste.ubuntu.com/891133/19:22
alecugatox, not to worry.19:28
gatoxalecu, i'm going to write the test..... and hope it works :P19:28
alecugatox, qt tests are not supposed to be run while running the GTK test suit19:28
alecugatox, the thing is that when running the GTK test suite the Qt tests are usually excluded19:29
alecugatox, but you are forcing it19:29
alecugatox, hence the explosion.19:29
alecugatox, so...19:29
alecugatox, two options:19:29
alecugatox, "run-tests" with no parameters19:29
alecugatox, or use the right command line to start only your test... let me find it.19:30
alecugatox, the fastest way if you only want to run tests for that bit is to comment the first instance of u1trial in run-test19:31
alecugatox, but remember to run the whole test suite when you are done.19:31
gatoxalecu, ok, thanks! i'm going to do that19:31
nessitagatox: u1trial -r qt4 --gui ubuntu_sso/qt/tests/test_main.py19:40
nessitaalecu: ^19:41
gatoxnessita, that is not working for me19:41
briancurtindoes one more person have time for a small review (windows "do not run as root" thing)? https://code.launchpad.net/~brian.curtin/ubuntuone-client/930398-windows-is_root/+merge/9622419:41
nessitagatox: why not?19:41
gatoxnessita, http://paste.ubuntu.com/891164/19:41
nessitagatox: yes, is segfaulting for me too19:42
nessitagatox: that's why the test was skipped19:42
nessitagatox: but is not related to how you're running the test19:42
nessitathe test itself is segfaulting19:43
gatoxnessita, yes.... what should i do? it makes sense to write the test that is not going to run?19:43
nessitagatox: no, but didn't we mention we will gonna patch something to make it work?19:43
gatoxthe change of the branch is just adding the decode('utf-8')19:43
gatoxnessita, yes, but it doesn't work with that either19:44
nessitagatox: yes, but semantically is a huge change19:44
nessitagatox: where is segnfaulting? have you used strade? gdb?19:44
gatoxnop19:44
nessitagatox: what are you patching in the test?19:44
alecunessita, gatox: if I leave the --gui out, it works.19:45
nessitaalecu: right, the --gui creates a QApplication19:45
nessitagatox: you 100% you're not creating a QApplication?19:45
gatoxnessita, yes19:45
nessitagatox: can I see the code?19:45
gatoxalecu, yes! without the --gui works19:45
gatoxnessita, it's in trunk19:46
gatoxtrunk is not working19:46
nessitagatox: exactly, but trunk is creating a QApplication19:46
gatoxbut without the --gui as alecu says, it works19:46
nessitagatox: you branch was supposed to patch QApplication so is not created19:47
nessitaisn't that what we discussed?19:47
nessitagatox: you understood my point? in trunk, ubuntu_sso/qt/tests/test_main.py calls         main.main(**kwargs) *which creates a QApplication*, and this that segfauls19:48
gatoxnessita, actually, it segfault when creating the ui19:48
=== yofel_ is now known as yofel
nessitagatox: that does not answer my question :-D19:48
gatoxnessita, at least in the tests i made on friday19:49
nessitagatox: in C, segfaults may happen a little after the violation happened19:49
gatoxnessita, let me try again.... i tested several things on friday but none of the patches works.... i'll try again19:49
nessitagatox: just patch Qapplication, and nothing else, and let me know, we'll debug further19:50
gatoxnessita, review pleaseeeeeeeeeeeeeee20:11
gatoxhttps://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/unicode-args20:11
nessitagatox: 66+#    test_main.skip = 'Failing with QObject::startTimer: QTimer can only be ' \67+#                     'used with threads started with QThread'20:12
gatoxnessita, mmmmmm that is not there anymore20:13
nessitaah, was an old LP scan then20:13
nessitagatox: oh hum... remember what I mentioned in one review about doing this? :-/20:14
nessita54+    def desktop(self):20:14
nessita55+        """Fake Desktop."""20:14
nessita56+        return self20:14
gatoxnessita, lp is updated now20:14
nessitagatox: we should have a FakedGeometry class and return that20:14
gatoxok20:15
alecunessita, I used that test pattern a few branches ago too. Can you elaborate?20:15
nessitaalecu: when doing fakes, we should try to mimic the faked object API as much as possible. So, if the API for Foo.dektop() returns an instance of an object X with a specific API, we should not return on desktop an instance of Foo, but an instance of an X (ideally) or a faked X20:17
nessitaalecu: if we don't, out production code could added methods on objects that will fail IRL but will pass all green in the test suite20:17
nessitaan example would be having this in production:20:18
nessitaQApplication.instance().desktop().setStyleSheet()20:18
nessitathat will pass in our tests (as how the branch from gatox is right now) ^20:18
nessitaalecu: IRL, an instance of a QDesktop (or whatever the class is), do not have a method called setStyleSheet20:19
nessitaalecu: makes sense?20:19
gatoxnessita, branch updated20:19
alecunessita, right, it makes sense now. And I would argue that it's a bit unlikely, but I agree that it might happen, and we better be careful. Thanks!20:20
nessitaalecu: I try to aboid having fakes as much as possible, weighing having a fake vs how comples is to use the "real" class20:21
gatoxnessita, ok, i've updated the branch and run the whole suit, everything is ok20:21
nessitaavoid* (sorry!!!)20:21
nessitagatox: ack!20:21
gatoxwell people......  EOD for me...... time to see the walking dead season finale! :P20:22
alecunessita, yup: generally it's better to use patch on the real class than to use a fake, since patch fails if the method being patched is no longer there.20:22
nessitaalecu: right20:23
mandelalecu, did you get the ssl dialog running on windows?20:32
alecumandel, what?20:32
mandelalecu,  the issue that ralsina had with the deferToThread on windows20:33
alecumandel, no. I've been looking at the issue with proxy credentials.20:33
mandelalecu, any clue? I've started running out of ideas..20:34
alecumandel, I'm thinking of replacing WebClientProxyFactory20:34
alecumandel, and doing the request twice20:35
alecumandel, just like I did on the SD branch20:35
mandelalecu, I have considered that to, but updating the problem is that the CachableObject implementation of the QNetworkAccessManager keeps track if there are replies that are using the proxy...20:35
mandelalecu, so, the issue would be that in the second request you will try to update the creds and the stupid cache will complain..20:36
alecumandel, oh, right.20:36
alecumandel, I remember now.20:37
alecumandel, and that credential cache is global, so creating a different nam would not help.20:37
mandelalecu, bingo!20:37
alecumandel, anyway, I'm continuing with some irl for this.20:37
mandelalecu, I have been trying a gazillion diff things and I always get to the same bloody problem..20:37
mandelalecu, I'm going to have a dinner and will be back for a 3rd or 4th round against the nam20:38
* alecu somehow has just read "gazillon" as "a few"20:38
mandelalecu, well, 4/5 hehe20:38
alecumandel, from now on, you'll be able to say "I was in 'Nam!"20:38
mandelalecu, the annoying thing.. I keep typing name instead of nam20:39
mandelalecu, I think that if we do not pass the parent of the QNetworkAccessManager to be the instance of the application we could remove and use a new one20:43
mandelalecu, why did you pass the app instance as the parent?20:43
alecumandel, because every instance derived from qobject needs some reference to another qobject.20:44
briancurtinalecu: forget what i said earlier...that "on_download_finished" exception is happening even without a proxy setup, but only on XP. Win7 everything is fine proxy or no-proxy20:44
briancurtinwhich is even more weird20:44
mandelalecu, I don't think so.. parent can be 020:45
alecumandel, and here we don't have a reference to the UI objects20:45
alecumandel, ok. But when are those refcounted?20:45
alecubriancurtin, it sounds like the version of u1-client does not match the version of u1cp. Or that u1cp is not pointing PYTHONPATH to the same version of u1-client.20:47
mandelalecu, is part of the pyqt magic.. we should ask ralsina, specially because google returns this: http://lateral.netmanagers.com.ar/weblog/posts/BB990.html20:47
alecubriancurtin, otherwise, cool that you managed to make proxies work on win7! congrats :-)20:47
dobeythisfred: want to review https://code.launchpad.net/~dobey/rhythmbox-ubuntuone/highlander/+merge/98214 ?20:48
thisfreddobey: sure thing20:48
briancurtinthis is all out of a py2exe'ed bundled installer, so the versions should be matching since it's all pulled from the latest of each project. arghhh20:48
mandelalecu, I'll have lunch and will do some irl with the idea of no parent and removing the nam when we have an error.. is worth a shot20:48
alecumandel, there you go: references to QObjects. I had some of those issues, and that's how I solved it :-)20:48
alecumandel, why no-parent?20:49
alecumandel, I don't think that's a proper solution.20:49
alecumandel, a better one is to forcefully delete the nam when it's not used anymore.20:50
alecumandel, that article by ralsina gives some hints.20:50
thisfreddobey: +120:51
mandelalecu, but that is talking about to use QObject to look a signals20:52
mandelalecu, and use sender to know what finished, you can perfectly have a QLabel('test') QLabel.show()20:52
mandelalecu, the label has no parent, and is a QObject20:53
mandelalecu, I'll have lunch an will look down that path, I have a feeling that we might get something out of there..20:55
alecumandel, QtNetwork.QNetworkAccessManager.cache().clear() ?20:56
mandelalecu, wrong cache..20:56
dobeyi should set up a squid cache on my server20:56
mandelalecu, has nothing to do with the creds one :(20:56
dobeyjust so i don't have to download bloody libwebkitgtk-dbg N times20:56
mandelalecu, https://bugreports.qt-project.org/browse/QTBUG-17312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs20:56
dobeyit's almost as big as the cd image, just by itself20:57
mandelalecu, it was not a gazillion things, but I have considered a few ;)20:57
alecu:-)20:57
mandelalecu, the evil bastards is called: QNetworkAccessCache20:57
* mandel hates that guy20:57
* mandel dinner -> back after chinese food20:58
dobeyheh20:59
alecumandel, I got an inkling for a solution.21:07
nessitathisfred: would you like to do a review similar to the one you did last Friday?21:09
nessitathisfred: it has tons of instructions and details in the MP description :-)21:10
thisfrednessita: sure, gimme the link!21:10
nessitathisfred: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/computer-to-cloud-page/+merge/9828621:10
thisfredon it21:10
nessitathisfred: depends on the one from Friday (tarmac is down since canonistack was down), but is already merged in the the MP21:10
thisfredok21:11
nessitawill do the dishes and come back :-)21:12
dobeyoh my it is 17:12 already21:12
dobeywish laptop dist-upgrade would go faster21:13
nessitaok, I'm crowd21:35
nessitathisfred: will check email later today, so any change/issue, just add it to the MP21:35
nessitathanks!!!21:35
* nessita waves21:35
thisfrednessita: everything works, now going through the code21:37
thisfredgone throu21:37
thisfredgh I mean21:37
thisfredapproved with minor critique21:37
thisfrednow gonna walk the dog21:39
dobeylater all22:05
briancurtinralsina: well, after tons of errors from "on_download_finished" TypeErrors only seen on XP, u1 does end up syncing files22:18
briancurtinand with that, i'm out of here22:18
mandelalecu, I'm back!22:21
mandelalecu, too my time to watch the walking dead.. bloody tv show..22:21
alecumandel, hey there.22:23
mandelalecu, have you tried removing the nam when there is a proxy auth error?22:24
alecumandel, take a look at this branch: https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-mandels-mess22:26
alecumandel, it's incomplete, and tests fail22:26
alecumandel, but it works.22:26
alecumandel, I've been trying it irl for the past 10 minutes22:26
alecumandel, and it keeps asking for the proxy creds, but it lets you authenticate.22:26
mandelalecu, I got to that point too in my mess ;)22:27
mandelalecu, the problem is to have everything :(22:27
alecumandel, this is no longer exhibiting the NAM issue.22:27
mandelalecu, why did you remove the if not retry statement?22:29
alecumandel, perhaps I should leave that :-)22:30
mandelalecu, you have remove exactly the code that loads the creds from the keyring and probably that is the reason why you allways get the dialog22:30
mandelalecu, maybe ;)22:30
mandelalecu, I also don't uderstand why you added the str in the creds = yield keyring.get_credentials(str(domain)) I think common should always get ptyhon strings, if a qt string was getting there the problems comes from somewhere else22:31
mandelalecu, as in, you should be passing domain as str(QString) to the base class22:32
mandelalecu, and you are cheating, this is the initial solution I had, you are always using the same proxy for all the diff requests, no matter if they are http or https, that is way the hack of setting the application proxy works and the issues does not longer happen22:34
alecumandel, and that's good, since we are using https for even the ping.22:35
alecumandel, and I guess for the captcha too.22:35
mandelalecu, as long as it is document I'm fine, the only thing missing then is getting the keyring code back22:35
alecuno22:35
alecuI've just restored the keyring code22:35
mandelno?22:35
mandelalecu, he :P22:35
alecuand I'm not getting asked for the proxy credentials anymore22:36
alecumandel, that is: if any proxy creds are in the keyring, those are retried, and they never are asked back.22:36
mandelalecu, as in, even you get an error?22:37
alecumandel, so, there's a bit of logic missing somewhere.22:37
alecumandel, as in: the connection is retried with the old proxy credentials, and they are never requested again.22:37
alecumandel, go ahead, IRL it.22:37
mandelalecu, ok, let me see if I can fix that22:39
alecumandel, just a sec, I've just merged with trunk, and I'm pushing.22:41
mandelalecu, ok, let me know, I think I know how to fix it22:42
alecupushed22:43
alecumandel, ^22:43
mandelalecu, doing IRL tests with the fix, gime me 5 mins22:48
mandelalecu, first thing, this comment: https://code.launchpad.net/~mandel/ubuntu-sso-client/use-qt4-webclient-backend/+merge/97934/comments/211886 is wrong, you need to check for QCoreApplication and QApplication since they are diff22:56
alecumandel, why? It seems to be returning the QCoreApplication just fine.22:58
mandelalecu, from IRL I'm getting libsoup and not qt22:58
alecumandel, we should ask ralsina why he suggested that.22:58
alecumandel, how are you testing?22:58
mandelalecu, running ubuntu-sso and then control panel22:58
alecumandel, which ubuntu-sso command?22:59
mandelalecu, and I get this: http://paste.ubuntu.com/891465/ which is very easy to solve22:59
alecumandel, if you just run ussoc-login-qt then the ussoc-login that will be started would be the one from the system.22:59
mandelalecu, the command is: U1_DEBUG=1 PYTHONPATH=. ./bin/ubuntu-sso-login23:00
alecudamn ^W23:03
mandelalecu, hehe23:12
mandelalecu, I'm pushing a branhc for you to do IRL that has everything working, or so I think :)23:12
alecucool23:12
alecumandel, even the tests you've skipped? ;-)23:12
mandelalecu, IRL, I need to look at the tests but I want you eyes on it too :)23:13
alecu:-)23:13
alecuurl!23:13
alecuurl!23:13
alecuurl!23:13
alecuurl!23:13
mandelalecu, you already know the url ;)23:16
mandelalecu, lp:~mandel/ubuntu-sso-client/fix-alecus-mess :P23:16
mandelalecu, by the way, this 'authenticator.user() != self.proxy_username' is not the same as 'self.proxy_username != authenticator.user()' I was getting a warning due to the expected type.. puto qt :P23:20
aleculols23:22
mandelalecu, and all the tests pass except one :)23:23
mandelalecu, and I did not even touch them, and the issue is with the tests that choose which proxy regarding the request (http or https)23:23
mandelalecu, so, we can skip that one and without touching the tests, everything works!23:23
* mandel dances before he becomes a pumpkin 23:24
alecumandel, wait23:24
mandelalecu, no dancing :(23:24
mandel??23:24
alecumandel, if the password is wrong on the keyring, then I'm not asked for it again23:24
alecumandel, and the wrong one is used.23:25
mandelalecu, I have tested that and worked23:25
mandelalecu, what have you done?23:25
alecumandel, my bad!23:25
alecumandel, I think I was checking the wrong branch :P23:26
mandellol23:26
* alecu makes a note not to work 13 hours in a day.23:27
mandelalecu, I just updated the branch with a tiny small fix on force_use_proxy23:27
mandelalecu, yeah... you should have taken a break.. buy a dog to have an excuse to take a walk or something23:27
alecumandel, it seems to be working fine IRL23:28
alecumandel, I'll do a little more testing by disabling auth in the proxy.23:29
mandelalecu, run the tests, nearly all of them should be working23:29
alecumandel, it seems to be working lovely!23:39
mandelalecu, I just ran the tests and all passed!23:39
mandelalecu, let me push this to a branch with a nicer name ;)23:39
alecumandel, nahhh.... that's good enough :-)23:40
alecumandel, twit it so ralsina can review it too.23:41
mandelalecu, dough! some stupid pep8 issues.. lines too long, fixing :)23:41
alecumandel, I'm getting this:23:42
alecu  CorrectProxyTestCase23:42
alecu    test_http_request ... Traceback (most recent call last):23:42
alecu  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks23:42
alecu    result = g.send(result)23:42
alecu  File "/media/sf_canonical/ubuntu-sso-client/fix-alecus-mess/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 996, in test_http_request23:42
alecu    self.assertIn('request_proxy_auth_credentials', self.called)23:42
alecutwisted.trial.unittest.FailTest: 'request_proxy_auth_credentials' not in []23:42
alecu[FAIL]23:42
alecu let me paste it we know nothing was lost:23:42
mandelalecu, yes, that is the test I was talking about, sets the http to use auth and the https not to, and expects to get a request for the creds23:43
alecugreat then.23:43
mandelalecu, since we no longer use a factory, we don't have that feature :(23:43
mandelalecu, oh.. there is one use case we did not test.. but can be left as a bug23:47
mandelalecu, when the user cancels the creds dialog..23:47
mandelalecu, shall I try to fix it know?23:47
mandels/know/now23:48
alecumandel, what happens if he closes the dialog?23:50
mandelalecu, apears again and then we get an error in control panel stating that WebClientError has not attr content23:50
mandelalecu, I think is a bug in control panel.. in a way..23:51
alecumandel, and there's no way to close it!23:51
alecuit keeps respawning :-)23:51
mandelalecu, yep23:51
alecumandel, I think we can consider this a bug23:52
mandelalecu, so, I propose get your review and ralsinas and we go for this?23:52
alecumandel, since whoever has configured proxies on gnome settings will surely try to enter valid proxy settings, and most people using this won't cancel.23:52
alecumandel, sure, go ahead!23:53
alecupro-pose23:53
alecupro-pose23:53
alecupro-pose23:53
mandelalecu, https://code.launchpad.net/~mandel/ubuntu-sso-client/fix-alecus-mess/+merge/9830823:56
mandelalecu, even with a bug report linked :P23:56

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