/srv/irclogs.ubuntu.com/2012/01/25/#ubuntuone.txt

mandelmorning all!09:04
=== mpt_ is now known as mpt
gatoxgood morning!11:18
mandelgatox, buenas!11:35
gatoxmandel, how are you?11:35
mandelgatox, let me reboot due to updates :)11:35
gatoxmandel, ok11:35
mandelgatox, here everything ok, but I have a pep8 issue I dont understand11:38
gatoxmandel, weird..... pep8 shouldn't fail.... pylint i can understand :P11:38
mandelgatox, can you branch lp:~mandel/ubuntuone-control-panel/auto-update-looping-call11:39
gatoxmandel, yes! i'll check11:39
mandelgatox, I don't get what is going on11:39
mandel@ping11:47
ubot4`pong11:47
* mandel back in a sec11:52
gatoxmandel, ping11:54
mandelgatox, I'm back11:54
gatoxmandel, i get this: ./ubuntuone/controlpanel/gui/qt/main/tests/test_windows.py:1:4: E261 at least two spaces before inline comment11:54
gatoxpep8 --repeat .11:55
mandelgatox, do pep8 ./ubuntuone/controlpanel/gui/qt/main/tests/test_windows.py --show-source11:55
mandelgatox, and tell me what is wrong in that line if you can11:56
mandel'cause I see nothing wrong11:56
gatoxok11:57
mandelgatox, ny idea?12:00
gatoxmandel, i think that you are saving the file with some end of line issue or something like that..... i see the pep8 issue (with no sense) you mention...... but i open that file with ninja..... save it without modifying anytihng12:00
gatoxand now it doesn't show the issue12:01
mandelgatox, can you push that to a branch and I'll pull from it12:03
mandelgatox, wtf pep8! :P12:03
gatoxmandel, ok..... but you should use ninja jejeje12:04
mandelgatox, vim vim vim12:05
mandelgatox, the thing is, I want to see the bloody diff :)12:05
gatoxahhhh12:05
nessitahello everyone!12:06
gatoxnessita, hi12:07
mandelnessita, morning!12:08
mandelnessita, question from design, the error dialog with the expandable error detail has already landed, right?12:08
gatoxmandel, https://code.launchpad.net/~diegosarmentero/+junk/u1-cp-pep8-issues12:08
nessitahola mandel, gatox12:09
nessitamandel: in control panel, yes12:09
nessitamandel: we released that along with the second release, iirc12:09
mandelnessita, ok, superb! I told them so but I was not 100% sure12:10
nessitamandel: why?12:10
nessitaah12:10
nessitagatox: will start reviews now. Is the fix-user-home and which one else?12:10
* gatox checking....12:11
gatoxnessita, this one has already one approve: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/fix-user-home-tests/+merge/88919  and i have 2 more that i consider they are ready..... but noone review them again..... i was hoping alecu could review them12:12
nessitagatox: which one are those?  lp:~diegosarmentero/ubuntuone-windows-installer/network-detect and lp:~diegosarmentero/ubuntu-sso-client/remove-disconnect-signal ?12:13
gatoxnessita, that 212:13
ralsinagood morning!12:13
gatoxralsina, hi12:14
mandelralsina, morning!12:14
gatoxnessita, ahhhh about the network-detect branch.... i just realize there is no test to check if the button has the proper style..... we are not doing that everywhere.... but i should add that check, shouldn't i?12:16
mandelnessita, can I haz a review for https://code.launchpad.net/~mandel/ubuntuone-client/add-virtual-watches/+merge/8872612:16
mandel?12:16
mandelnessita, I need one more and nor brian nor alecu wrote theirs as reviews but as comments...12:17
nessitagatox: the try again default style?12:17
gatoxnessita, yes12:17
nessitamandel: you mentioned you were gonna ask facundo as well, perhaps? I was waiting on that review (besides alecu's)12:17
mandelnessita, I did ask him, but he told be he was too busy at that time12:18
mandelfacundobatista, too busy for https://code.launchpad.net/~mandel/ubuntuone-client/add-virtual-watches/+merge/88726 ?12:18
facundobatistamandel, I'll check it12:19
mandelfacundobatista, thx!12:20
gatoxnessita, i've added the test for the try again button properties12:37
nessitaack!12:41
mandelnessita, whenever you have time can you take a look at https://code.launchpad.net/~mandel/ubuntuone-control-panel/auto-update-looping-call/+merge/8101512:43
gatoxmandel, did you see the diff?12:45
mandelgatox, empty.. no idea what was going on :(12:45
gatoxweird...... how you fix it?12:45
mandelgatox, merged with yours :P12:48
gatox:P12:48
mandelgatox, funny thing is, I used vim to remove a line, and it was working..12:48
gatoxmandel, welcome to the world of non deterministic bugs :P jeje12:49
alecuhello all!13:00
mandelalecu, morning13:00
* mandel small problem with the beast, will be back in 10 min13:00
gatoxalecu, hi13:05
nessitahola alecu13:05
* mandel back13:12
mandelI have to buy a new tv remote.. the dog eat it :(13:12
mandelalecu, can you re-review https://code.launchpad.net/~mandel/ubuntuone-client/add-virtual-watches/+merge/8872613:12
nessitagatox: are client test passing for you, in linux?13:13
gatoxnessita, for the u1-sso-client branch?13:14
nessitagatox: no, for the u1client branch13:14
nessitagatox: I'm having stuff like this: http://pastebin.ubuntu.com/816404/13:14
nessitagatox: I'm running trunk now, to see how the suite behve there13:15
gatoxnessita, checking..... but that wasn't happening here13:15
gatoxnessita, mmmm everything is ok here.....13:22
gatoxPASSED (skips=12, successes=2504)13:22
nessitagatox: trunk or your branch?13:22
gatoxnessita, my branch13:22
gatoxu1-user-home13:22
nessitagatox: trunk is working fine for me... I will re run the suite in your branch13:22
nessitaah no!13:22
gatox:O13:22
nessitagatox: it just failed the same in trunk13:22
gatoxwhat happend?13:22
gatoxfiuuuuuuu13:22
* gatox thought nessita was going to hit him13:23
nessitano no13:23
nessita alecu: ping13:23
alecunessita, pong13:24
nessitaalecu: does this ring any bell to you? http://pastebin.ubuntu.com/816413/13:24
alecuchecking13:24
mandelalecu, in the webclient tests, do both implementations run when I do ./run-tests ?13:24
alecumandel, no: you need to do ./run-tests and ./run-tests -qt13:25
mandelalecu, ack13:25
alecunessita, how did those errors happen?13:25
nessitaalecu: running make check in u1client trunk13:25
alecunessita, on P?13:26
nessitaalecu: yes sir13:26
alecunessita, I think I found it :-)13:29
mandelnessita, how is the branch you where working on regarding the execution of a child process form sso?13:29
nessitamandel: is going better than yesterday, where I was completely blocked. You already blocked by this?13:30
alecunessita, it seems that the tests are "mocking" the pynotify module. But if the pynotify module is not installed the platform dependent code just does not install a notifier.13:30
mandelnessita, no necessary, I can work around it or so I believe :)13:31
alecunessita, and it also happens that the pynotify module is not installed either if the notify GI is available.13:31
nessitaalecu: oh... hum..,13:31
alecunessita, so: either there's a GI for pynotify now, or the pynotify module is not installed.13:31
nessitaalecu: how did you reach that conclusion?13:32
alecunessita, in any case we should make the notify tests be a bit more smarter, and find out what the real notification module is.13:32
nessitanessita@dali:~$ sudo apt-cache policy python-notify13:32
nessitapython-notify:13:32
nessita  Installed: 0.1.1-313:32
nessitaalecu: I have pynotify installed13:33
alecunessita, what does "        from gi.repository import Notify" do?13:33
nessitaalecu: brings in the GI notify13:33
alecunessita, right. And that means that the pynotify module is not installed13:34
alecunessita, (I mean, by our code)13:34
alecu*imported (not installed)13:34
nessitaah!!!!13:34
webm0nk3yalecu: not sure if this is your area13:34
webm0nk3yalecu: oops wrong person13:35
webm0nk3yralsina: if u1sdtool --waiting lists the same GetDelta 100s of times, is that you?13:35
alecuwebm0nk3y, I've got no area... I'm a full field player!13:35
mandelnessita, alecu when we get the credentials from the user in the proxy dialog, those should be stored in the keyring, is that correct?13:35
webm0nk3yralsina: or a verterok question13:35
ralsinamandel: yes, keyring13:36
alecumandel, we should find where they are usually stored by the rest of the apps, and try to get/set them in that same place.13:36
ralsinawebm0nk3y: it's desktop but it's transitioning, so we will ask verterok later ;-)13:36
alecumandel, for instance, on windows it's stored in the cred manager, so we could use that same location13:36
verterokwebm0nk3y: is it connected?13:37
mandelalecu, so, on windows we can use the keyring class, on linux.. I think each app does what it feels13:37
webm0nk3yverterok: yes13:37
verterokwebm0nk3y: hmm, I think it should kill all the other GetDeltas as soon the first one is started13:37
verterokfacundobatista: ^ do you remember what we talked  about filtering GetDelta's?13:38
alecumandel, I saw IE storing the creds in that app. If firefox uses those creds, then we should use them too.13:38
alecumandel, what I'm saying is that we should do a bit of IRL of those other apps and try to have the same behaviour.13:38
facundobatistaverterok, #88325213:38
mandelalecu, ok, I'll do that after lunch, lets see what I get13:38
alecumandel, and by "that app" I mean... let me find the exact name...13:38
verterokfacundobatista: thanks13:39
webm0nk3yfacundobatista: thanks13:39
verterokwebm0nk3y: bug #88325213:39
ubot4`Launchpad bug 883252 in ubuntuone-client "Syncdaemon executes multiple GetDelta commands in parallel on the same volume (affects: 2) (heat: 9)" [High,Confirmed] https://launchpad.net/bugs/88325213:39
mandelalecu, I might propose a couple of small mp which add in increments the code for this thing, I tried to do a proper pipeline :)13:39
verterokwebm0nk3y: so, isn't fixed yet :/13:39
alecumandel, "Credential Manager" inside the windows control panel.13:39
alecumandel, cool!13:39
mandelalecu, we use the Credential Manager in the keyring module, so that we have sorted :)13:40
alecugreat13:40
mandelalecu, my worry is ubuntu, since for example, FF, Chrome store them in diff places13:41
mandelalecu, I'm off to lunch and I'll bother you a little more with this :)13:41
alecumandel, afaict chrome (or chromium) uses the keyring13:41
alecumandel, we should ask the platform team in any case.13:42
mandelalecu, I will, I've checked and empathy uses the keyring too13:42
mandelok, lunch and we continue13:42
nessitaalecu: sobre lo de notifications, abro bug y los skipeo?13:44
alecunessita, plus one13:44
nessitagatox: confirmed the test failures are the same in your branch and trunk, so that counts as "passing" for your branch13:45
nessitaalecu: thanks for the quick debugging13:45
gatoxnessita, good13:46
gatox(for my branch :P)13:46
alecunessita, thank you for finding this.13:46
alecunessita, you can assign that bug to me13:46
nessitaalecu: ack13:46
nessitaalecu: may I ask that you dedicate some time this morning to catch up with reviews? I know mandel and gatox are waiting on a review from you (mine can wait till the afternoon or tomorrow)13:47
gatoxalecu, pretty please :P13:47
alecunessita, I was planning on catching up with reviews today after lunch. Sorry guys!13:47
nessitaalecu: as it fits best in your schedule, but perhaps mandel's review will flow faster having him around?13:48
dobeynessita: hey. why did you put ubuntuone-windows-installer in your ppu application? :)14:11
nessitadobey: because I made a mistake :-)14:12
nessitadobey: edited14:12
dobeythanks. :)14:12
ralsinanessita: 1-1?14:31
nessitayes!14:31
dobeynessita: the notification errors were from running tests with the gireactor?14:40
nessitadobey: well, it was run using the same make check as usual, but yes, I have the tweaked twisted installed, and the new devtools14:41
dobeynessita: right, but were you modifying the Makefile to run with -r gi, or not?14:42
nessitadobey: nopes14:42
dobeynessita: so you just intentionally removed python-notify?14:43
nessitadobey: not at all14:43
nessitadobey: I have it installed14:43
dobeynessita: that is very odd then :)14:44
nessitadobey: odd that the Notify module was loaded instead of notify?14:44
dobeynessita: yes.14:45
dobeynessita: especially since it can't load if running with the static bindings already loaded14:45
nessitadobey: give me one sec, I'm in mumble, will pay full attention in some minutes14:46
dobeyok14:46
=== yofel_ is now known as yofel
nessitadobey: CONGRATS http://twistedmatrix.com/trac/ticket/455814:49
dobey:)14:49
nessita:-)14:50
dobeymore work though. i need to update some other related docs in another branch14:50
dobeybut the code is there at least, yeah14:50
nessitadobey: awesome14:52
* mandel back14:55
mandelalecu, if you do the review after lunch I can pay attention as long as I'm not walking the dog :)14:55
ralsinaalecu, nessita, dobey, briancurtin, gatox: Did I miss anyone's review requests? Remind me now, or forever hold your peace!14:56
* gatox checking....14:57
gatoxralsina, no..... i'm still working on a branch  that will need your review14:57
gatoxralsina, maybe if you have time, you could review this one: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/remove-disconnect-signal/+merge/8976114:58
gatoxit's small14:58
nessitaralsina: https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/run-stuff-from-mainloop/+merge/8995614:58
nessitaalecu: FYI bug #92157414:59
ubot4`Launchpad bug 921574 in ubuntuone-client "NotificationTestCase failures (affects: 1) (heat: 6)" [Medium,Triaged] https://launchpad.net/bugs/92157414:59
nessitadobey: I'm back14:59
ralsinagatox, nessita: thanks, I will do them ASAP14:59
nessitadobey: so, I see from ubuntuone/platform/linux/notification.py that the gi module is being loaded if 'gi' in sys.modules14:59
dobeynessita: right15:00
nessitaso seems like that's True when I run it? want me to print sys.modules?15:00
gatoxnessita, ping15:00
nessitagatox: pong15:00
alecunessita, thanks15:00
mandelme15:01
gatoxnessita, first standup..... then i'll tell you15:01
gatoxme15:01
dobeynessita: well, i'm not sure how that could be true if you haven't changed anything15:01
nessitame15:01
briancurtinme15:01
dobeyme15:01
alecuwait for me!15:01
mandelralsina, ?15:01
ralsiname15:02
mandelshall I then?15:02
gatoxmainerror, go15:02
dobeysi15:02
mandelDONE: Long conversation with design regarding the proxy UI, user flow and cases when errors might occur. We should get new bugs filled by them reagrding the UI items. Updated lp:~mandel/ubuntuone-control-panel/auto-update-looping-calls, reviews are welcome. Worked on the auth-dialog for proxy, divided the work in small chucks using pipeline. Noticed that the jenkins instance was remove in canonical stack, sidnei was kind enough to fix it.15:02
mandelTODO: more proxy. Talk with the desktop team, where should we store the creds, keyring?15:02
mandelBLOCKED: no15:02
mandelgatox, please!15:02
gatoxDONE:15:02
gatoxFixed some branches. Adding tests.15:02
gatoxTODO:15:02
gatoxFinish with my remaining branches. Propose fix for the installer script.15:02
gatoxBLOCKED:15:02
gatoxNo15:02
gatoxnessita, go15:02
mandelgatox, mainerrr your mum! :P15:02
gatoxjeje15:03
nessitaDONE: proposed branch for bug #919294, had tweaked twisted uploaded to our PPA, reviews, sync with alecu re SSO, restarted work on gtk-gi15:03
nessitaTODO: finish and propose gtk-gi branch, restart work on executing an SSO UI from the SSO main loop, 1-1 with ralsina15:03
nessitaBLOCKED: nopes15:03
nessitaNEXT: briancurtin15:03
ubot4`Launchpad bug 919294 in ubuntu-sso-client "Be able to spwan a process from the mainloop and grab its exit code (affects: 1) (heat: 6)" [High,In progress] https://launchpad.net/bugs/91929415:03
briancurtinDONE: cleaned up a few run-tests.bat scripts to exit more cleanly, cleaned up registry checks (might need to change for jenkins). installed jenkins locally and started reading up on it15:03
briancurtinTOOD: get a windows installer built so i can see how it's done in order to automate it, read/play more with jenkins15:03
briancurtinBLOCKED: none15:03
briancurtinNEXT: dobey15:03
dobeyλ DONE: gireactor patch for 11.1, packageset proposal, gwibber keyring usage15:03
dobeyλ TODO: gwibber tweaks, music store15:03
dobeyλ BLCK: None.15:03
dobeyalecu15:03
alecuDONE: finished use-restful branch15:03
alecuTODO: catch up with reviews; cleanup branch for unneeded stuff15:03
alecuBLOCKED: no15:03
nessitaNEXT: ralsina?15:04
ralsinaDONE: mgmt call, nessita 1-1, chipaca 1-1, video lens call, started bureaucracy to hire davidcalle to work on it, defined video lens deliverables, reviews, canonicaladmin, interviewed mac candidate, etc, etc. TODO: gatox 1-1, more CV screening for mac, other stuff, BLOCKED: no15:04
briancurtinalso in my TODO is a makeup 1-1 with ralsina15:05
ralsinabriancurtin: yes15:05
nessitaany comments anyone?15:05
gatoxeom?15:05
gatoxnop15:05
nessitaeom!15:05
mandelno15:05
nessitagatox: shoot15:05
ralsinaComment: if ears could cramp, mine would hurt15:05
ralsinaI have been doing waaaaaaaay too many calls15:05
gatoxnessita, now...... about this branch: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/folder-show-garbage/+merge/8909415:05
nessitadobey: http://pastebin.ubuntu.com/816516/15:06
nessitagatox: yes15:06
* mandel back to code!15:06
gatoxnessita, i'm running into some ipc problems trying to create an udf..... but is not related to this branch..... i think it would be better to create another bug for the udf issues..... because the bug associated to this branch was about ui15:06
nessitagatox: what IPC issues?15:07
gatoxnessita, i can create the other bug and take it if you want.... is unicode related15:07
nessitagatox: is the error the one I reported in the MP?15:07
dobeynessita: how?15:07
=== mpt_ is now known as mpt
nessitadobey: go to trunk, run: u1trial tests/platform/linux/test_notification.py15:08
nessitadobey:  having nightlies installed and updated15:08
gatoxnessita, it doesn't seem to be that one..... because this issue is from u1-cp side..... never reach syncdaemon (in the user with weird username.... it works fine in the other one)15:08
nessitagatox: I tested with a user with a weird username15:08
nessitagatox: have a trace of your error?15:09
* gatox checking....15:09
nessitagatox: this is the home of the user I used: C:\\Users\\\xe5\x8d\x97\xe6\xb8\xa1\xe6\xb1\x9f \xd7\xa0\xd7\x95\xd7\xa0\xd7\x9515:09
gatoxjjjee nice username15:09
nessitawhich is: C:\Users\南渡江 נונו15:10
nessitagatox: is my default user now, is the onle one I use in windows15:10
gatoxnessita, i'm using both yet15:10
gatoxnessita, this is the log i have: http://paste.ubuntu.com/816519/15:11
dobeynessita: ok, upgrading now15:12
gatoxnessita, ahhhhhh it reach syncdaemon15:12
gatoxi just saw it15:12
gatoxnessita, and yes..... it's the same bug15:13
gatoxnessita, so the ipc issue..... maybe is related to syncdaemon answer15:13
nessitagatox: what do you mean by syncdaemon answer?15:13
gatoxor the lack of answer15:13
nessitagatox: nopes, look the log in syncdaemon15:14
nessita 2012-01-19 11:00:45,207 - ubuntuone.SyncDaemon.InteractionInterfaces - DEBUG - handle_VM_UDF_CREATE_ERROR: args (<ubuntuone.syncdaemon.interaction_interfaces.SyncdaemonEventListener object at 0x033AFED0>,), kwargs {'path': 'C:\\Users\\\xe5\x8d\x97\xe6\xb8\xa1\xe6\xb1\x9f \xd7\xa0\xd7\x95\xd7\xa0\xd7\x95\\Links', 'error ': "INVALID_PATH: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)"}.\15:14
nessitagatox: is in the merge proposal, I pasted that on 2012-01-1915:14
nessitagatox: do you also have that error?15:14
gatoxnessita, yes..... i'm looking at the trace in my machine too15:14
gatoxnessita, yes15:14
nessitagatox: so, I put in the comment: "Would you please confirm if the problem is in syncdaemon's end or controlpanel's end?"15:15
nessitagatox: do you know if the controlpanel is sending the wrong path, or syncdaemon is not processing it properly?15:15
gatoxnessita, yes, i saw it and in my opinion the problem is in syncdaemon15:15
nessitagatox: did you confirm if controlpanel is sending unicode thru IPC?15:16
gatoxnessita, i'll check now...... but i think the problem is that the data is not being encoded/decoded from syncdaemoon side15:16
nessitagatox: be careful, because a single layer has to do encode/decode, and that layer is interaction_interfaces. No other layer should do that (and perhaps os_helper on windows, but that's for transforming into unicode)15:17
nessitagatox: we need to ensure some invariants regarding IPC. One invariant is: every call receives unicode, and every call return unicode15:18
gatoxnessita, ok..... i'll confirm that control panel is sending the right stuff15:18
nessitagatox: if we're making a IPC call without sending unicode, the problem (at least one of the problems) is the caller15:18
nessitadobey: were you able to reproduce?15:19
gatoxnessita, ok....... i'll let you know as soon as i have something....15:19
* gatox lunch now15:19
gatoxbrb15:19
dobeystill upgrading15:20
=== gatox is now known as gatox_lunch
dobeynessita: hrmm, it does fail for me with that. weird15:34
dobeywell, using laptop for mumble is sort of ok15:36
dobeyreally need working synergy though15:37
mandelha, I'm back!15:39
dobeydamn15:40
dobeygrr, netsplit15:41
ralsinaLUNCH!15:51
mandelalecu, so, lets say we use that ugly idea of username: password we should not promp for the creds, right?15:53
alecumandel, what if the creds expire?15:55
dobeyget a bucket and fill it with tears?15:55
mandeldobey, that sounds about right...15:56
dobeyhehe15:56
=== bdmurray_ is now known as bdmurray
mandelalecu, so, we either tell the current way to work, frack off we know better and have a dialog and store that in the keyring or we work like the rest of the apps (aka do it wrong), or fix gnome 316:01
mandeldobey,  sounds about right? ^16:01
alecumandel, have you tried it IRL?16:02
mandelalecu, what, using the default settings and then changing the creds?16:02
mandelI can easily do it :)16:03
dobeymandel: i think it's safe to assume we'll have to do it ourselves or fix gnome3.16:03
alecumandel, yes: I mean with a few apps... firefox, chromium, empathy16:04
mandelalecu, changing my settings right now :)16:04
=== jackyalcine is now known as Guest1073
=== gatox_lunch is now known as gatox
mandel@ping16:09
ubot4`pong16:09
mandelalecu, dobey so, xchat, firefox,  are smart and know how to do it while chrome asks for the creds16:11
alecumandel, so they all know how to parse when you enter "user:pass@host" in the gnome dialog?16:11
dobeymandel: i found this blog post earlier: http://www.gnomeshell.com/2011/04/30/gsettings-api-how-to/16:12
mandelalecu, not all of them, chrome did know how to use the url, yet I had to provide my username and password again16:12
dobeymandel: the last + line in the patch linked is a comment that says "no authentification support in gnome3" :(16:12
duanedesignMandel would you have a second to look at an rt ticket for me?16:13
dobeymandel: what about epiphany? (apt-get install epiphany-browser)16:13
mandelduanedesign, shoot!16:14
mandeldobey, installing16:14
alecumandel, also: if you leave the user:pass out, do they ask you for credentials (xchat, firefox)? where do they store them?16:14
* mandel feels like a webdeveloper with several browsers... lame16:14
alecumandel, also: where did chrome store the credentials?16:15
mandelalecu, let me look at epiphany and will do that16:15
aleculikely the keyring16:15
alecusure16:15
dobeymandel: do you have glib-networking installed?16:15
dobeyalecu: ^^16:15
dobeythey don't use the keyring16:15
dobeyhttp://git.gnome.org/browse/glib-networking/tree/proxy/gnome/gproxyresolvergnome.c16:16
nessitayey! /me is back16:16
duanedesignmandel: http://ubuntuone.com/1DSHjFhtlKzpfYdDjGh7YB16:16
duanedesignmandel: if you can view the RT system https://support.one.ubuntu.com/Ticket/Display.html?id=1014616:16
duanedesignmandel: is it a matter of removing that tritcask file?16:17
mandelduanedesign, looking16:17
mandelduanedesign, I'm getting an error when trying to get in the rt system using sso :(16:18
dobeyalecu, mandel: it appears gsettings keys are used, but i don't know what sets the keys exactly.16:18
mandeldobey,  epiphany-browser works correctly16:19
dobeymandel: what happens if you set it to an authenticated host, but don't have the user:pass in the url?16:20
mandel@ping16:22
ubot4`pong16:22
mandelso I'm still here16:22
mandelduanedesign, what is the exact problem, can you describe it for me16:22
mandeldobey, alecu if I use the domain and do no use the pattern username:password@domain16:22
alecumandel, yes, what happens?16:23
mandelI get a dialog asking for the creds ( epiphany-browser) which are later stored in the keyring16:23
mandelalecu, dobey ^16:23
nessitagatox: ping16:23
alecumandel, nice. what about firefox, empathy? do they use the same keyring place?16:23
* mandel looks16:23
duanedesignmandel: file was not uploading, I renamed the file, and it said syncing for a while in the app, but the16:25
duanedesignfile still failed to appear online.16:25
mandelduanedesign, may I see logs? sorry I have some problems with the rt system :(16:26
mandelalecu, chrome does not use the same key, looking at ff16:27
gatoxnessita, pong16:27
duanedesignmandel: i PM'd the logs16:27
nessitagatox: in your network-detect branch, in windows-installer16:28
gatoxaja?16:28
alecumandel, can you send a small mail with these results? the name of each keyring key is interesting in each case.16:28
nessitagatox: if I see the diff correctly, you added some methods to SuccesPageTestCase16:28
alecumandel, so we can later choose where should we store the settings.16:28
nessitagatox: get_pixmap_data and assertEqualPixmaps. Why did you add those there?16:28
alecu(my opinion is: wherever firefox stores them)16:29
gatoxnessita, let me check16:29
mandelalecu, if it does store them.. which I don't know yet16:29
alecumandel, gatox, nessita: I need to go for some errands and lunch: after that it's review evening for me.16:30
gatoxnessita, yes..... i added those methods because i needed to check that the image was the proper one.... also, after talking with alecu i created a bug to move those methods to a common place, probably in sso, because we are using that in cp too in different places16:30
nessitaalecu: ack16:30
gatoxalecu, ack16:30
mandelalecu, ok16:31
nessitagatox: but you added the method in SuccesPageTestCase... and unless I missing something, I don't see that test case using that16:31
gatoxnessita, ohhhhh..... probably  was removed in some merge..... :S crap16:32
nessitagatox: let me know when is cleared what happened16:32
gatoxnessita, sorry about that.... i'll add it again16:32
nessitano problem16:32
=== alecu is now known as alecu_away
gatoxnessita, that weird..... i have the changes here..... but i can't push because it says is up to date16:35
nessitagatox: did you commit the changes?16:35
mandelalecu, firefox stores them in firefox thing.. I'm going to try to find what exactly is doing16:35
dobeymandel: interesting16:36
=== mpt_ is now known as mpt
nessitagatox: what does bzr st say?16:36
gatoxnessita, yes..... bzr status shows me nothing too16:36
nessitagatox: are those changes in the diff in LP?16:36
nessitagatox: what revno are you in?16:36
gatoxnessita, not in LP.....  12016:36
nessitagatox: https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/network-detect/+merge/77049 shows up to revno 12016:37
mandelthe proxy support is a major mess ...16:37
dobeyok, i am going to get some lunch. bbiab16:37
gatoxnessita, i know which is the problem16:38
nessitagatox: tell me :)16:38
gatoxnessita, the function that use assertEqualPixmap is already in trunk..... probably in some refactor that i miss..... and those methods were defined in BaseTestCase..... so i can't remove them from this branch16:39
nessitagatox: ack16:40
gatoxnessita, probably in some of my installer branches that was needed, and i add it in a common place16:40
nessitaperhaps16:41
nessitaralsina: help!16:41
nessitabriancurtin: hey! may I have borrow your expertise for some minutes?16:42
briancurtinnessita: sure16:42
nessitabriancurtin: any idea why calling mkdir fails there: http://pastebin.ubuntu.com/816639/16:42
nessitabriancurtin: am I missing something obvious?16:42
gatoxnessita, ok..... i've updated that branch removing the unnecessary functions..... tests in windows and linux ok16:43
nessitagatox: ack16:44
nessitabriancurtin: is like mkdir is not in the PATH, right? which is a puzzle to me... since when using the terminal, mkdir is in the PATH16:45
briancurtinnessita: you would need shell=True16:45
nessitabriancurtin: would I? would you explain why? (and why is not needed shell=True in Linux)16:46
briancurtinmkdir isn't actually on the path, it's built into the shell itself (like dir)16:46
nessitabriancurtin: an on linux it is an "external" executable...16:48
briancurtini'm not 100% sure on why you don't need it on linux, but on windows things like dir, copy, move and such are commands rather than actual programs16:48
briancurtinah16:48
=== teknico_away is now known as teknico_
=== teknico_ is now known as teknico
nessitabriancurtin: perhaps you can help me with this... I'm trying to build a multiplatform test suite where I spawn a program and check that the program was successfully ran16:52
nessitabriancurtin: so, atm, I was spwaning 'mkdir test-me' and checking that test-me was successfully created16:53
nessitabriancurtin: but that will not work on windows using the spawnners I'm using  (twisted's in this case)16:53
nessitaany advice what program/command to spawn that will not involve that much trouble or platform issues?16:54
briancurtinnessita: i've always just used subprocess.Popen, but the convenience functions like check_output and such are nice. as long as the target is just an executable or a python script, it should work16:55
briancurtinyou could always try os.system as well if you don't need all of the stuff subprocess.Popen provides16:56
briancurtinwhat type of program are you trying to spawn? some executable or another python script?16:56
nessitabriancurtin: I can't use subprocess since I need to make the spawnning async, and subprocess.call is blocking, and subprocess.Popen will force me to do some polling to check when the child process has finished16:56
nessitabriancurtin: any program, this is a generic spawning function16:56
nessitabriancurtin: the spwanner are already built, the problem is running the test suite in windows16:57
nessitabriancurtin: the branch is https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/run-stuff-from-mainloop/+merge/89956, if you can take a look at it, perhaps my issue is clearer16:57
briancurtinnessita: i'll take a look at the branch. off the top of my head the best you could do is polling Popen, but I'll look around16:58
nessitabriancurtin: thanks. A couple of key lines in that merge proposal: line 253 has the generic spawnner, which will use twisted/glib or qt depending on some conditions. The specific test that is failing for me in windows is: line 400 (test_program_is_spawned). It fails because mkdir can not be found to be executed.17:00
nessitaI will have lunch in the mean time :-)17:01
* nessita -> lunch17:01
gatoxnessita, confirmed....... u1-cp is sending unicode17:29
gatoxnessita, i'm checking what is happening with u1-client17:29
nessitagatox: awesome17:38
* nessita is back17:38
nessitabriancurtin: would you have any conclusions?17:39
briancurtinnessita: would it be possible to use muliprocessing.Pool and asynchronously apply a command to it, something like https://pastebin.canonical.com/58787/17:40
gatoxnessita, so..... i think that the branch is ready for review..... and if you think it's ok.... i'll create the bug for this problem and start working on that (i've been debugging it for a while)17:40
ralsinanessita: sorry, was having lunch! What happened!17:41
nessitaralsina: is ok, I asked for brian's help17:41
ralsinacool :-)17:41
gatoxnessita, agree?17:41
nessitabriancurtin: I see, and does that code use / integrates to any mainloop to progress?17:42
nessitagatox: ack, when you file the bug please add it as a reply to my comment in your MP17:42
gatoxnessita, yes17:42
gatoxralsina, i have a branch for review if you still have some time17:43
gatoxralsina, you appear as one of the reviewers17:43
ralsinagatox: ok, link? I will queue it up17:43
gatoxralsina, https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/folder-show-garbage/+merge/8909417:43
gatoxthanks17:43
briancurtinnessita: ehh, it would still block your main thread on that join, so i guess it wouldn't work (it's really meant for running numerous calculations, not one command). i'll poke around a bit and see if i can make it better or find another way17:45
nessitabriancurtin: wait :-). I already have async ways to spawn programs, so that's not really the issue17:45
nessitabriancurtin: my question was related to testing my current spawnners17:46
nessitabriancurtin: I was looking for a real-life command/program that will work on linux and windows17:46
dobeynessita: python -c "print 'foo'" ?17:47
briancurtinah, dobey beat me to it17:47
ralsinajust calling "python"  may or may not work on windows depending on PATH but close enough17:48
briancurtinfrom the existing program just call sys.executable17:48
mandeldobey, so, by looking at different ups, each of them does wtf the fuck it wants, example of firefox: https://developer.mozilla.org/en/Using_nsILoginManager17:48
mandeldictators are clearly needed sometimes...17:49
dobeymandel: firefox is especially weird17:49
mandeldobey, most of mozilla things are weird..17:50
dobeyyes17:50
dobeyralsina: as briancurtin said, sys.executable can be used, no? :)17:51
ralsinadobey: yes, that should work17:51
nessitabriancurtin: so I can use that in the tests, and assert it worked. Depending on shell=True is not an option, since besides being insecure, I can not tweak how my current spawnners do the spawnning17:55
nessitaspawn, spawn, spawn, the word is getting weird :-P17:55
nessitabriancurtin: I can go slower if you want, I think I'm not explaining myself correctly17:55
nessitabriancurtin: have some time to continue with this?17:55
nessitabriancurtin: ping?17:55
briancurtinnessita: yeah i do17:56
nessitabriancurtin: can you please branch the branch I mention a couple of lines above in windows, an run this command:17:56
ralsinatake a look at mimetypes.guess_type17:57
nessitapython C:\Python27\Scripts\u1trial -r twisted -t .SpawnProgramTestCase.test_program_is_spawned$ ubuntu_sso\utils\tests\test_runner.py17:57
mandelok, EOD for me, expect and email from me later on complaining about each bloody app in the ubuntu ecosystem doing wtf it wants regarding the storage of proxy creds17:57
briancurtinnessita: doing right now17:58
nessitabriancurtin: and let me know what's the output for you (you would need to properly set PYTHONPATH=. before running that)17:58
briancurtinnessita: https://pastebin.canonical.com/58790/18:00
nessitagatox: ubuntuone-windows-installer/network-detect apporved18:00
gatoxnessita, cool! thanks18:00
nessitabriancurtin: great, the same error as me. Can you please edit the file: ubuntu_sso/utils/tests/test_runner.py18:01
nessitabriancurtin: and change args = ('mkdir', TEST_ME_DIR) with args = ('notepad',)?18:01
nessitabriancurtin: I would expect that to work, but it fails the same. And that mkdir fails I understand, from what you say. But why notepad is also failing?18:01
briancurtinnessita: notepad also fails. i would guess os.environ is not passed along, or is somewhere explicitly blank?18:04
nessitawell, that's the thing18:05
nessitabriancurtin: I pass environ to the call (see ubuntu_sso/utils/runner.py, line 80)18:05
nessitabriancurtin: and I also put a pdb in twisted's source code, and printed PATH18:06
nessitabriancurtin: and this is the result: https://pastebin.canonical.com/58791/18:06
nessitaC:\\Windows\\system32 is in path (no idea where notepad is :-P)18:07
briancurtinyeah notepad will work given that PATH. this is really weird...18:08
nessitabriancurtin: that's why I pinged our windows expert!18:10
briancurtinnessita: i'll step into it and see if i can find where it's dropping the path or whatever may be happening18:12
nessitabriancurtin: awesome, thanks. I will be here doing a review for gatox, do not hesitate to ping me18:13
gatoxnessita, i find where everything explode :P common_prefix = os.path.commonprefix([start_list, path_list])18:21
gatoxsomething in that list is not in commonprefix taste :P18:21
nessitagatox: oh hum, we need to transform to unicode there?18:22
gatoxnessita, ahhhhh i know what the problem is..... the comparison is failing because one of the list is str..... and the other one all unicode18:22
gatoxi think is something related to that.... i'll check18:23
nessitaack18:23
dobeyyay, monitor arm.18:35
ralsinadobey: is that like tennis elbow?18:35
ralsinadobey: or athlete foot?18:36
dobeyno18:36
dobeyit's more like the cure for it18:36
blueyedIs it possible to restore/get previous versions of a specific file?18:39
beuno_blueyed, not at the moment, no18:39
gatoxnessita, ping18:39
=== beuno_ is now known as beuno
blueyedToo bad.. and I just missed the 30-day period that Dropbox provides (for free) - which would hold the same file. Meh.18:40
gatoxnessita, expand_user should be returning unicode, isn't it? I'm asking because in this moment is returning bytes, and when i change it, i found out that config.py was asserting the result of expand_user if it is instance of str...... just want to be sure which one is wrong.... i think config.py18:42
nessitagatox: every single function in os_helper has return bytes18:44
gatoxnessita, yes..... ok..... the comment at expand_user method was wrong18:44
nessitalooking18:44
nessitagatox: where is expand_user?18:46
nessitais not on ubuntuone/platform/os_helper.py, no?18:46
gatoxnessita, ubuntuone/platform/__init__.py18:47
gatoxno18:47
nessitaI see18:47
nessitathe comment was added by you, I'd guess, no?18:47
nessitayou should know why is there :-P18:47
gatoxnessita, yes.... i think so18:48
gatoxnessita, my own comment confuse me18:48
gatoxbecause it wasn't returning unicode18:48
nessitaheh18:48
ralsinagatox: never trust your own comments. If the comment is by someone else, there is a chance he knows better. By definition, you don't know more than yourself.18:49
gatoxfixed udf stuff :D18:51
=== mpt_ is now known as mpt
ralsinagatox,nessita: +1 for both18:58
nessitagatox: how did you fix it?18:58
dobeynessita: ah of course. i know why were getting the import error issues, and the notify test failures, with the new reactor.18:59
gatoxnessita, i'm still testing, to check i didn't miss anything.... but i could create a udf decoding the result of expand_user from get_suggested_udf_path, in order to create the proper lists and compare them19:00
gatoxralsina, cool! thanks19:00
* dobey thinks for a minute how to deal with this the best way19:00
nessitadobey: why?!?!19:01
nessitagatox: makes sense19:02
dobeynessita: because in the reactor, we set the sys.modules[] entries for the other bindings to None, to prevent segfaults :)19:02
nessitaI see19:02
dobeynessita: so just checking that x is in sys.modules[] isn't enough now :)19:03
dobeyof course, the error from python isn't exactly helpful19:03
dobeynessita: i am fixing it though, so don't worry :)19:04
blueyedI assume there's a wishlist item for "history of items" already, but cannot find it. I'd like to subscribe there.19:07
dobeyblueyed: bug #423405 is one it looks like19:13
ubot4`Launchpad bug 423405 in ubuntuone-client "Ubuntu-one team with bzr (affects: 1) (heat: 16)" [Wishlist,Triaged] https://launchpad.net/bugs/42340519:13
blueyedThanks, dobey. I am quite suprised that this isn't a feature considered to be more important / already implemented.19:16
blueyedIn my case I would like to have an older version of .encfs/.encfs6.xml - which I would not have under version control itself anyway.19:16
nessitagatox: review added to https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/remove-disconnect-signal/+merge/8976119:23
gatoxnessita, ok19:24
nessitagatox: the diff also has some fixes to the import style, which was not matching our current standards19:24
gatoxnessita, ok, thanks19:25
alecugatox, ping19:27
gatoxalecu, pong19:27
alecugatox, why did you change setMinimumHeight to setFixedHeight?19:28
dobeynessita: am currently running make test with new reactor. :)19:28
alecuin the network detect branch, that is...19:28
nessitadobey: was it a "Local" fix or in twisted?19:28
gatoxalecu, because we know that is the higher size.... and NetworkDetectionPage was having issues to adjust the size to minimum......19:29
alecugatox, that's a value in pixels, right?19:29
alecugatox, what if the user has enlargened the fonts?19:29
alecugatox, what if the display has different dpis?19:29
gatoxalecu, mmmmmmm you are right..... it should me minimum19:30
gatoxand force the networkdetectpage19:30
dobeynessita: local. i haven't fixed all the issues yet, but am running make test to see what all comes up. then i will fix those and run again19:31
alecugatox, should I add a comment to the MP?19:32
gatoxalecu, yes please19:32
alecugatox, as a rule of thumb, I dislike using absolute pixel values anywhere in the code or the .ui files, so the "setMinimumHeight" or setFixedHeight  are in my opinion hiding some other problems.19:34
gatoxalecu, the minimum is because the idea is not to resize the wizard everytime the user change from one page to the next...... so we choose as minimum the size in pixels from the bigger page19:35
gatoxalecu, in one moment we talk about check all the pages in runtime, take the size of the bigger one and set that..... but that idea was out of scope19:36
alecugatox, yes, that makes sense. But usually you can create all pages in advance and put them in the wizard container and it will calculate the right size by itself.19:37
alecugatox, anyway, don't worry about that :-)19:37
gatoxalecu, the problem was that the wizard doesn't do that...... it adjust the size per page.... so before everytime you move to the next page, the wizard was resized19:39
gatoxalecu, but yes..... fixed wasn't the best solution19:40
nessitaalecu: ping re: libsoup and body read19:52
alecunessita, pong19:53
alecunessita, good news I hope19:53
nessitaalecu: unping then :-P19:53
alecunessita, :-)19:53
nessitaalecu: I'll do some more research before sharing19:54
nessitato see if I can get some good news :-D19:54
dobeyheh19:55
nessitabriancurtin: do you have some good news to me? :-D /me needs some19:57
briancurtinnessita: sorry, got sidetracked with a 1-1 and then lunch/trying to get mumble to work. im getting back to your problem...so weird19:58
nessitabriancurtin: ack, let me know if you find something out19:59
gatoxEOD for me.....  see you later20:01
=== gatox is now known as gatox_brb
dobeyugh, mocker20:10
=== gatox_brb is now known as gatox
alecunessita, why does each _spawn_program_* function receives a reply_handler and an error handler? can't you make all those functions return a deferred instead?20:24
nessitaalecu: yeah, I could20:24
alecunessita, that's what spawn program ends up doing, but I don't understand why the indirection makes sense.20:24
nessitaI liked better that way, I found them more testable that way...20:25
nessitaalecu: I don't feel strong about that... considering that is not the twisted spawner is not working on windows, I would like to burn down that branch20:26
alecunessita, enoparse20:27
nessitaalecu: sorry. From the top:20:27
nessitaconsidering that the twisted spawner is not working on windows (brian is helping me debug that), I would like to burn down that branch, I'm kinda tired of it :-)20:27
nessitaalecu: I can change that if you think it will help the reading20:28
alecunessita, oh, right. Probably the qt4reactor... :-(20:28
nessitaalecu: the thing that is not working is that twisted can not execute the process, can't find the file. Let me show you the trace20:29
alecunessita, I'm not sure if the branch will change much with that change, I was trying to understand the code.20:29
nessitaalecu: https://pastebin.canonical.com/58790/20:29
nessitaalecu: even changing the "args" in the test, pointing it to execute ('notepad',), will not work20:30
alecunessita, what about including the full path to the notepad exe?20:30
nessitaalecu: I just fixed the webclient souppy backend!20:30
nessitaalecu: let me try that20:30
alecunessita, soupy: cool!20:30
nessitaalecu: https://pastebin.canonical.com/58807/20:31
nessitaalecu: I will leave you adding the test for that :-D20:31
nessitaalecu: absolute path for notepad.exe will work20:34
alecunessita, I was expecting that last paste to be a diff or a file of ours.20:34
nessitaalecu: I can easily do that, but perhaps you wanted to run it in isolation20:34
nessitabriancurtin: FYI, changing args to be ('C:\\Windows\\system32\\notepad.exe',), makes the spawning works20:35
alecunessita, no problem, but what was the issue?20:35
briancurtinnessita: for the first param of CreateProcess - "The function will not use the search path." - if it's not in the current directory you need to construct a full path (which subprocess.Popen does for you, i think)20:35
briancurtin(i was just typing that when you sent)20:35
briancurtini'm looking at how subprocess.Popen handles it, because it works with just "notepad.exe"20:35
nessitabriancurtin: but in Linux it will use the content of PATH....20:35
alecunessita, http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorProcess.spawnProcess.html20:36
nessitaalecu: the key part is:20:36
nessita        while written < total:20:36
nessita             buffer = body.get_chunk(written)20:36
nessita             written += buffer.length20:36
nessita             response += buffer.get_data()20:36
alecunessita, "executablethe file name to spawn - the *full path* should be used"20:36
nessitaalecu: I'm using a higher level fuction, that should solve that20:36
nessitaalecu: I'm using utils.getProcessOutputAndValue20:36
nessitaalecu: which, at least in LInux, resolves PATH automaticallty20:37
alecunessita, http://starship.python.net/crew/mwh/apidocs-2.0.1/twisted.internet.utils.html20:37
nessitaalecu: that function accepts an env dict, which I'm passing os.environ20:37
alecuexecutableThe file name to run and get the output of - the full path should be used20:37
alecunessita, it says the same regarding full path there ^20:38
briancurtinit passes the env on but doesn't use it to figure out the path of the exe20:38
alecunessita, also, it uses the same underlying reactor.spawnProcess function, so it has the same limitations regarding env....20:38
nessitadamned twisted, it resolves it properly on Linux20:38
nessitaalecu: well, I would hope that utils will resolve that... but I see20:39
alecubriancurtin, right, it passes the env but does not use it20:40
dobeyhmm20:42
nessitabriancurtin, alecu: thanks for your time regarding this20:42
nessitaalecu: the diff you requested: https://pastebin.canonical.com/58813/20:44
nessitabriancurtin, alecu: thanks for your time... I will think how to fix the tests given this scenario20:45
alecunessita, great, thank you20:45
dobeylibindicate-ERROR **: Unable to get session bus: Operation was cancelled20:46
dobeyugh.20:46
briancurtinnessita: you should be able to call getProcessOutputAndValue("", "notepad.exe",...) -- the command param must be a full path, but passing a non-full path to the args param will work (which is how subprocess.Popen(["notepad"]) works)20:46
nessitabriancurtin: ugly! :-) but makes my life easier20:47
briancurtinyeah it's not the best looking code, but it'll work20:47
alecunessita, how so? don't we have full paths to the .exes in the registry?20:47
nessitaalecu: we won't be using twisted spawnner, but qt on windows, and qt or glib in linux20:48
alecunessita, I'm not sure about that.20:49
nessitaalecu: why?20:49
alecunessita, syncdaemon will use the sso module to get the proxy credentials, and that will try to open the process for the ui, right?20:50
nessitaalecu: syncdaemon will call a dbus method20:50
nessitano?20:50
alecunessita, that seems better.20:51
nessitaotherwise we'll get a not nice mix of things, no?20:51
alecunessita, if the only problem is getting the full paths, then it's not so ugly of a mix :-)20:51
nessitaalecu: I meant mix of reactors and mainloops20:52
alecunessita, if SD executed a binary for the UI, it would use the twisted starter.20:52
alecunessita, but anyway, I'm getting ahead of myself, because the SD proxy will run in a different process.20:53
nessitaalecu: which, if I recall correctly, will use the plain qt mainloop, right?20:53
alecunessita, right20:53
alecunessita, so we won't use the twisted spawner.20:54
alecunessita, btw: I'm taking a look at your libsoup sample, and I think it's fine, but it may explode20:55
nessitaalecu: in which case?20:55
alecunessita, since get_chunk may return None when there's more bytes coming, but they still have not arrived.20:55
alecunessita, slow network for instance20:55
nessitaah20:56
nessitadid not read that20:56
alecunessita, it looks like we should be listening for a signal named "complete" to know when to fire the deferred.20:56
nessitahum, instead of reading from chunks?20:56
alecunessita, I think we should be reading the chunks into a StringIO or something like that.20:57
alecunessita, anyway, this is very useful stuff, and we will need to fix this before we re-enable the libsoup backend.20:57
alecunessita, thanks for finding it!20:57
nessitaalecu: anytime. Will open a bug for you, so you can tackle that after the current branch?20:58
gatoxbriancurtin, ping20:58
alecunessita, great, thanks.20:58
briancurtingatox: pong20:58
gatoxbriancurtin, hi.... do you have time for a small review?20:58
briancurtingatox: sure20:58
gatoxbriancurtin, thanks: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/udf-issue/+merge/9020820:58
alecugatox, didn't you EOD an hour ago? :-)20:59
gatoxalecu, jejeje yes.... but i wanted to end this :P.... now eod for real :P20:59
gatoxalecu, i went to pay some things and now i came back20:59
alecu:-)21:00
nessitaalecu: https://bugs.launchpad.net/ubuntu-sso-client/+bug/92182221:01
ubot4`Launchpad bug 921822 in ubuntu-sso-client "webclient with libsoup backend is not reading the whole body response (affects: 1) (heat: 6)" [High,Triaged]21:01
nessitagatox: a tiny note on that branch: you're doing automatic unicode promotion here: home = os.path.join(self.home_dir, u'雄鳥お人好し ñandú')21:02
nessitagatox: since self.home_dir is bytes (and has to be bytes)21:02
gatoxnessita, ah.. ok.... i'll fix that21:03
nessitaI don't like automatic unicode promotion in Python, it makes the code works when it shouldn't :-)21:03
gatoxnessita, i understand21:04
nessitaI think Python 3 fixes that...21:04
nessitanot sure though21:04
gatoxnessita, done21:06
nessitabriancurtin: so, if I understand correctly, you mentioned that d = utils.getProcessOutputAndValue('', 'notepad.exe', env=environ) should work, no?21:12
nessitabriancurtin: is not working for me, but perhaps I missed something?21:12
briancurtinnessita: let me try again, i might have had some other debugging code in there21:12
nessitabriancurtin: thanks21:12
nessitabriancurtin: I think it should be ('notepad.exe',) as second param, but again that does not work for me21:13
nessitawin32process.CreateProcess('', 'notepad.exe', None, None, 1, 0, os.environ, '.', win32process.STARTUPINFO()) does not work either21:18
dobeyugh21:19
dobeyeither this zg test is just really slow, or it's hanging :(21:19
nessitadobey: may be patching something nastly, so likely to be hanging21:21
briancurtinnessita: argh, sorry, i had something leftover in the twisted code to make it work. with None as the first arg, not "", it will work...but twisted won't let you pass None through21:23
dobeynessita: the odd thing is that it only started doing it just now21:23
dobeyit was fine earlier21:23
nessitabriancurtin: patching twisted code and testing21:24
dobeyit's weird21:24
dobeyalso, i have no idea how this test actually works21:24
dobeyit is doing some insane stuff21:24
briancurtinwtf now it's saying access denied21:25
nessitabriancurtin: ok, is time for dropping this, I will re think the test and drop the twisted spawnner, since we won't be using it IRL (it was coded to run the suite)21:26
nessitabriancurtin: thanks a lot for the help21:26
dobeyand now it works21:26
briancurtinnessita: np21:26
=== gatox is now known as gatox_away
dobeyhrmm, and this one test fails with unicode under gi, but is ok without gi21:29
dobeyweird21:29
nessitaok, I'm eoding now21:31
nessitaneed some fresh air21:31
briancurtinenjoy21:31
dobey.decode('utf-8') was at least a simple fix21:31
nessitaalecu: I'm changing this branch https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/run-stuff-from-mainloop/+merge/89956 to WIP21:32
alecunessita, ack21:32
nessitaalecu: since I need to improve the tests so they pass on windows21:32
nessitaok, bye all!21:35
dobeyyay, i think i got the tests all fixed now21:37
=== m_conley_away is now known as m_conley
dobeyyay. a few lint errors away22:43
dobeywill fix them a bit later22:45

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