/srv/irclogs.ubuntu.com/2011/08/11/#ubuntuone.txt

karniGood night! EOD00:19
JamesTaitMorning all!08:41
faganmorning08:56
duanedesigno.09:03
duanedesignerr09:04
duanedesigno/09:04
faganyo duanedesign09:04
karniGood morning!09:06
=== yofel_ is now known as yofel
mandel_rye, ping10:58
ryemandel_, pong10:58
mandel_rye, do you know what is going on with shares creation?11:00
mandel_rye, web or linux client do not work :(11:00
ryemandel_, interesting, checkign11:03
ryemandel_, do you get 504 Gateway Time-out  on /files/ ?11:07
ryemandel_, are you unable to accept a share or to offer it?11:09
mandel_rye, to offer a share, the web ui get stucked and nothing happens...11:10
ryemandel_, so, if the web ui times out so will the share creation from the client since it uses web api too11:11
ryemandel_, i think i shared a folder with you now11:11
mandel_rye, yeah, so Iwanted to blame beuno for this :D11:12
mandel_rye, let me check11:12
gatoxralsina, if you are there, i've made the changes you mentioned in my branch: https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/ui-improves/+merge/7111611:21
gatoxnessita, i have a branch for you :P https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/ui-improves/+merge/7111611:25
nessitahello everyone!11:26
nessitagatox: yes, I have to review it :-)11:26
gatoxnessita, :D11:26
mandel_rye, I've got no emails regarding shares11:27
nessitagatox: branching11:28
nessitamandel_: I shared 2 yesterday, one read only, one read write11:28
nessita(hello!)11:28
ryebeuno, --[14:28:27.023] POST https://one.ubuntu.com/files/api/offer_share/ [HTTP/1.1 501 NOT IMPLEMENTED 326ms]11:28
mandel_nessita, hello :)11:28
ryemandel_, ^11:28
gatoxnessita, and hello :P11:29
ryethis is the first time i see this11:29
mandel_rye, yeah, that sounds very11:29
ryemandel_, ah, trailing space makes it veery confused11:30
ryemandel_, shared a folder with you now11:30
mandel_rye, checking11:30
mandel_nessita, I did some tests with my accoing but I wanted to use a diff one, can you shre those two folders with: etil15+shares_tests@gmail.com11:32
mandel_rye, which account did you share with? can you do it with etil15+shares_tests@gmail.com11:34
=== facundobatista is now known as facundo-3
ryebeuno, ping11:35
mandel_rye, I did get the share to my canonical address :)11:35
ryebeuno, -- [14:35:45.387] POST https://one.ubuntu.com/files/api/offer_share/ [HTTP/1.1 501 NOT IMPLEMENTED 74ms]11:36
nessitamandel_: sure!11:37
mandel_nessita, gracias!11:39
ryemandel_, something tells me that some appserver is unhappy11:39
mandel_rye, yeah, I was trying to do test on share on windows and had issues... I did not know the reasons :P11:40
nessitamandel_: I can't share anymore via the web ui11:43
nessitathe sharing will never end11:44
mandel_nessita, yeah, that is one of the things I have experienced :(11:46
mandel_and the reason I asked about it11:46
mandel_nessita, rye : was there a web release or something?11:46
ryenessita, it returns NOT IMPLEMENTED for some reason11:50
nessitarye: maybe vds knows?11:50
nessitagatox: does this make sense? border: 0px solid;11:51
nessitagatox: shouldn't it be border: none?11:51
ryeping vds11:51
teknicorye, nessita, vds is on holiday11:52
gatoxnessita, yes, probably... let me take a look at that11:55
nessitateknico: oh, thanks!11:55
gatoxnessita, qss modified11:59
nessitagatox: ack11:59
mandel_nessita, ok, so if we do not have vds, how do we move foward, I';m looking at changin my creds and try again to see the shares, but I really don't want to be blocked by this :)12:05
nessitamandel_: well, we need to debug why the shares you already have do not download, right?12:08
nessitamandel_: that will take some time12:08
mandel_nessita, yes, on it12:09
nessitamandel_: if you resolve that quick (finger cross), I cna easily assign a new ticket to you12:09
beunorye, right, no shares in the rest api12:09
nessitagatox: in ubuntuone_installer/gui/qt/gui.py, from ubuntuone_installer.gui.qt.folders import FoldersPage should go before from ubuntuone_installer.gui.qt.forgotten import ForgottenPasswordController not after :-)12:17
gatoxnessita, ok, fixing it12:17
nessitagatox: and please remove the debug adding for twisted deferreds in ubuntuone_installer/gui/qt/local_folders.py12:17
gatoxnessita, ok...12:18
* gatox forgets about alphabetical ordeer :P12:18
* mandel_ goes back home12:18
mandel_nessita, I'll get back to you with the debugging as soon as I'm back home :)12:18
gatoxnessita, fixes pushed12:21
ralsinahello again12:21
nessitahi ralsina!12:23
ralsinahola nessita!12:23
ralsinanessita: I am doing your reviews requests from yesterday12:23
nessitaralsina: great, alecu requested a few improvements on the first one12:23
nessitaralsina: I will do them when I finish gatox's review12:24
nessitagatox: 2 more things12:27
nessitagatox: the docstring for shwo_hide_offer needs a tweak, the closing """ should be in its own line.12:27
ralsinanessita: ack12:28
* gatox looking...12:28
nessitagatox: and question, does show_hide_offer use the d.addCallback instead of inlineCallbacks  + yield for any reason? if you're not sure what I mean, I'm happy to explain what inlineCallbacks are12:29
gatoxnessita, yes, if you can explain me that would be great, which do you consider is the best solution?12:30
ralsinanessita: that code was originally mine. If I used inlineCallbacks, I had to make other stuff inlineCallbacks as well, and this was more local12:30
ralsinanessita: so, basically was to make a smaller change, since it was not very complicated this way12:30
nessitaralsina: what do you mean with "I had to make other stuff inlineCallbacks as wel"?12:30
ralsinanessita: IIRC, I had to make the method that calls show_hide_offer inlineCallbacks too (but I may be misremembering)12:31
ralsinaor maybe not since that one shouldn't return anything. I am fuzzy in the memories, so of course either way is fine for me ;-)12:32
nessitaralsina: using inlineCallbacks +yield or returning a deferred is *exactly* the same, so the caller needs to do the same either if the calling method has the d.addCallback or yielding scheme12:36
nessitagatox: I'll explain12:36
ralsinanessita: yes, you are right, and the caller is inlineCallbacks, so ... who knows :-)12:37
nessitaralsina, gatox: these 2 are 100% equivalent: http://pastebin.ubuntu.com/663374/12:37
gatoxnessita, yep.....12:38
nessita(except that the second calls to logger.exception instead of logger.error)12:38
nessitagatox: do you understand what does yield + inlineCallback do?12:38
ralsinaOk, my notes tell me I was trying a lot of different stuff because that was when calling u1cp was not working (when the UI was in the ussoc process)12:38
nessitaralsina: old times... :-)12:39
gatoxnessita, not very much12:39
gatox:S12:39
ralsinanessita: yeah, old branch ;-)12:39
gatoxnessita, do you have any reference doc?12:39
gatoxnessita, here i found something12:40
nessitagatox: is ok! let me explain a bit, then I'll point to documentation. So, yield is the pure python builtin to code generators12:40
gatoxyep12:40
nessitagatox: when combined with the inlineCallbacks decorator, what we get is a method that returns a deferred, just like the original one12:41
nessitagatox: and the returned deferred will be fired when the yield "returns"12:41
nessitagatox: so, the caller to show_hide_offer, will get a deferred returned, that will be fired sometime in the future. And inside hide_show_offer, the code that handles user_info will not be executed until the yield returns12:42
gatoxnessita, right12:42
nessitagatox: and last, the way to handle errors is try-excepting around the yield, which is equivalent to d.addErrback12:42
nessitagatox: but I think you will agree with me that using inlineCallbaks ease the reading a lot12:43
gatoxnessita, yes, it seems more clear12:43
gatoxclean12:43
gatoxnessita, ok, i'll modified it now12:44
nessitagreat12:44
ralsinagatox: keep in mind that once you use "call" something using inlineCallbacks, you are getting a generator, so the caller is probably going to be inlineCallbacks oo12:44
ralsinas/oo/too/12:44
ralsinaand so on12:44
gatoxralsina, ok, i'm going to read a little bit further about this12:45
ralsinagatox: for example, see who is calling show_hide_offer?12:45
gatoxwith yield12:46
ralsinagatox: right12:46
gatoxralsina, so yield in that calls is no longer necessary12:47
gatoxis that ok?12:47
ralsinayes it is. Since show_hide_offer returns a generator, and the caller has to wait for it to trigger, it yields it12:47
gatoxralsina, ahhhhh  ok12:47
ralsinaoops. Returns A DEFERRED12:47
ralsinanot a generator.12:47
ralsinaso, the caller has to wait for it to trigger, so it yields it and uses inlineCallbacks12:48
gatoxralsina, okk12:48
nessitaralsina: the caller does not need to become an inlineCallbacks12:49
ralsinanessita: really? Goes to show I should not explain what I don't know :-)12:49
nessitaralsina: the caller can not wait for the deferred to be fired, if it does not care about the result12:49
gatoxnessita, is there any other place where @defer.inlineCallbaks is being used?12:49
ralsinanessita: ok, in this case it does care :-)12:49
ralsinaSo, it's @inlineCallbacks up the calling chain until you don't care what the deferred does12:50
nessitagatox: yes, all over the control panel backend.py and the QT implementation. For example, folder.py. preferences.py, etc12:50
nessitaralsina: not really, let me explain12:50
ralsinanessita: ok12:50
nessitaralsina: you can "mix" inlineCallbacks with the old "scheme" of chaining callbacks with addCallback. What I mean is that you can look at a method that returns a deferred like a black box, and inside that method, the deferred can be returned explictely, with a "return d" or can be returned by the inlienCallback generator. So is transparent for the caller, which, at the same time, can ignore that result of that deferred, or can chain stu12:52
nessitaralsina: even more, a method that used to return the deferred explicitly, can change the implementation to inlineCallbacks and all the callers will not note the difference12:53
ralsinanessita: oh yes, I know that. I was trying to say that if we are using @inlineCallbacks as a matter of style, then we should use it on the caller, unless we don't care about the deferred, that's all12:53
ralsinaI worried for a minute I had understood wrong deferreds *again* for a minute there ;-)12:54
nessitaralsina: :-). So, one last note: I agree we should use inlineCallbacks consistently every time we need to return a deferred, but if we don't need to wait for the deferred to be fired, we should not add the decorator...12:54
ralsinaexactly12:55
ralsinapropagate it as needed and no further12:55
nessitaralsina: another thing, you need to get used to *always* run the test suites, event for trivial branches ;-)12:55
ralsinawhich one did I break?12:55
nessitaralsina: https://code.launchpad.net/~ralsina/ubuntuone-control-panel/no_is_link/+merge/71132 has a needs fixing now12:56
ralsinaok12:56
ralsinaok, will skip it.12:56
nessitagatox: is it a little bit clearer now?12:56
nessitaralsina: please add the bug # in the skip message12:56
ralsinaI ran the relevant tests on windows, but of course that one skips on windows :-)12:57
nessitagatox: feel free to ask, deferreds are not easy12:57
gatoxnessita, ralsina yes... i made the change in my branch... i'm going to read a little bit further to understanded better...12:57
* gatox is studying twisted :P12:57
dobeydeferreds are so deferrent12:57
nessitaralsina: why would that one skips in windows?12:57
* ralsina laughs with the laughter of the guy who 3 weeks ago didn't understand the same thing12:57
nessitagatox: again, please ask when you need :-)12:57
ralsinanessita: is_link makes no sense on windows?12:57
gatoxnessita, yes!! thanks!12:58
nessitaralsina: it makes sense indeed, we can't sync .lnk paths12:58
ralsinaa .lnk is just a file12:58
nessitaralsina: right, but we need to detect them and ignore them12:58
ralsinahmmm ok I guess12:58
nessitaralsina: otherwise a user with a link to a folder may expect that folder to be synced12:58
nessitastandup in 1'!12:59
ralsinaBTW, we have a rather bigish problem in XP. the user's "home folder" is very hard to get to, so it is very hard to get to "~/Ubuntu One"12:59
gatoxnessita, ack12:59
faganme13:00
nessitagatox: I found this https://confluence.oceanobservatories.org/display/CIDev/Gotchas+with+inlineCallbacks,+yield+and+returnValue not official but after a quick look looks good13:00
faganralsina: my documents is a lot easier to get to13:00
faganralsina: maybe for xp move it to my documents13:00
ralsinafagan: really not trivial. I would rather add it to the Desktop13:00
nessitafagan: no, we offer the user to sync his Document folder13:00
ralsiname13:01
nessitaand we can not chain UDFs13:01
nessitame13:01
fagannessita: ah forgot about that13:01
mandelme13:01
gatoxnessita, yes, i was reading that13:01
gatoxbetween other things13:01
gatoxme13:01
fagandobey?13:01
faganMight as well go13:01
dobeyque pasa?!13:01
fagandobey: standup?13:02
nessitadobey: say me! :-)13:02
faganDONE13:02
fagan* Tried to create a share for mandel's testing13:02
fagan* Found a beautiful bug in creating shares13:02
faganTODO13:02
fagan* Help mandel test his script13:02
faganBLOCKED13:02
fagan* by the share bug13:02
faganralsina: go13:02
ralsinaDONE: call, released another bundle, several reviews, fixed a couple of smallish bugs, started work on the "syncdaemon expects bytes" bugs TODO: finish that bug, calls another release BLOCKED: no13:02
ralsinanessita?13:02
nessitaDONE: bug #823884, bug #823895, bug #823896, bug #823903, reviews13:02
nessitaTODO: debug timeouts in tests (probably caused by add_watch not returning), reviews13:02
nessitaBLOCKED: nopes13:02
nessitaNEXT: mandel13:02
dobeyque ella eso, 'mi'!13:02
ubot4Launchpad bug 823884 in ubuntuone-client "Share names and UDF suggested paths should be always unicode while testing (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/82388413:02
ubot4Launchpad bug 823895 in ubuntuone-client "Windows: test_action_queue does not clean the env properly in tearDown (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/82389513:02
ubot4Launchpad bug 823896 in ubuntuone-client "test_hashqueue should open all file with "wb" mode (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/82389613:02
ubot4Launchpad bug 823903 in ubuntuone-client "Windows: fix local rescan tests (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82390313:02
nessitadobey: you wanted to say that's what she said? :-)13:02
nessita"eso es lo que ella dijo"13:03
nessitamandel: go?13:03
mandelsorry, gong:13:03
mandelDONE: Tried to test the new shares added to my account yet they did not appear in the windows client, not even in the control panel. Created an empty account to see if it was related to my account yet I could not test it due to issues in creating shares (nessita already knows). Workd on the shutil.move branch and fixed accorindg to the reviews. Did a small bug triagging regarding the control panel UI which I sent to lissette for confirmation.13:03
mandelTODO: Find why shares do nt appear event though they are created.13:03
mandelBLOCKED: well, I need shares to work, so kinda13:03
mandelgatox, please13:04
gatoxDONE:13:04
gatoxFixed Bug 819942, Bug 823188, Bug 823186, Bug 819966, Bug 819963, Bug 819961, Bug 819953, Bug 819952, Bug 819950, Bug 819945, Bug 819943, Bug 805296. Page 18 and 19 from Windows Installer complete.13:04
gatoxTODO:13:04
gatoxKeep working in several Windows Installer related bugs.13:04
gatoxBLOCKED:13:04
gatoxNo.13:04
gatoxdobey, go13:04
ubot4Launchpad bug 819942 in ubuntuone-windows-installer "Title fonts should be regular, not bold (affects: 1) (heat: 17)" [Undecided,Confirmed] https://launchpad.net/bugs/81994213:04
ubot4gatox: Bug 823188 on http://launchpad.net/bugs/823188 is private13:04
ubot4gatox: Bug 823186 on http://launchpad.net/bugs/823186 is private13:04
ubot4Launchpad bug 819966 in ubuntuone-windows-installer "Modify Loading Overlay text (affects: 1) (heat: 17)" [Undecided,In progress] https://launchpad.net/bugs/81996613:04
ubot4Launchpad bug 819963 in ubuntuone-windows-installer "Fix Syncing the cloud to your computer UI style (affects: 1) (heat: 16)" [Undecided,In progress] https://launchpad.net/bugs/81996313:04
dobeyλ DONE: protocol release/upload, triage, bug #82414313:04
dobeyλ TODO: u1client-gnome/ubuntuone-installer releases/uploads, administrata13:04
dobeyλ BLCK: None.13:04
ubot4Launchpad bug 824143 in ubuntuone-storage-protocol (Ubuntu) (and 1 other project) "ubuntuone-syncdaemon crashes with error in oauth_authenticate (affects: 1) (heat: 6)" [Critical,Fix released] https://launchpad.net/bugs/82414313:04
nessitaany comments anyone?13:05
gatoxnop13:05
ralsinanot me!13:05
faganDamn shares13:05
fagan:/13:05
faganI wonder how long it was broken13:05
ralsinafagan: it worked yesterday13:06
ralsinaeom!13:06
faganralsina: oh so its something weird then13:06
mandellooks like a server outage or somethin :P13:06
faganah ok13:06
ralsinalast I heard is "timeoouts"13:06
mandelI'm of too have lunch then, bbl13:06
faganmandel: to not too :)13:07
mandelralsina, we also need to know why we do not get the new shares in control panel. but it might be realted13:07
* fagan hates things like that in the english language 13:07
mandelfagan, I know.. I was typing fast :P13:07
faganhah :D13:07
* mandel lunch13:07
ralsinamandel: I do get a list of shares. You don't get the new ones without restarting because it's missing implementation of the bit that receives the signal when shares are added/removed13:10
alecuooooh, I'm late!13:11
alecuHello everybody, hello #ubuntuone!13:11
* alecu is writing notes13:12
ralsinahola alecu!13:12
alecume13:14
alecuDONE: reviews, found a fix and made a branch to fix the last broken localrescan test (bug #824003)13:14
alecuTODO: test and push said branch, work on test_eq_inotify tests13:14
alecuBLOCKED: no13:14
ubot4Launchpad bug 824003 in ubuntuone-client "Windows: test_localrescan.test_man_in_the_middle fails due to missing FS event (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/82400313:14
nessitaalecu: hi there!13:16
nessitaalecu: can you please confirm if you agree with what I answer to your needs fixing request in https://code.launchpad.net/~nataliabidart/ubuntuone-client/fix-localrescan-tests/+merge/71059?13:17
alecunessita, looking13:17
nessitaalecu: so, regarding the HOME env var, right now, our tests work under windows becasue u1trial sets that env var and os.path.expanduser uses it if it's defined13:20
nessitaalecu: and in the production code, we call os.path.expanduser13:20
ralsinanessita: pushed no_is_link with the skipped test13:20
nessitaralsina: ack13:20
ralsinaoops, not pushed because this crap reboted and misses my public key.13:21
alecunessita, ok. I agree to land this branch and create a bug to fix this when it's needed.13:21
nessitaalecu: thanks! I'll file the bug. What env var should u1trial set, in windows? %HOME%?13:21
=== m_conley_away is now known as m_conley
nessitaalecu: USERPROFILE seems to be the HOME equivalent...13:24
=== facundo-3 is now known as facundobatista
alecunessita, it seems to be HOMEDRIVE, HOMEPATH and USERPROFILE, but I think the right way would be to mock the windows registry, because my feeling is that those vars are only there to help write shell scripts, and they are not really used by application code, nor the python libraries13:25
nessitaalecu: well, os.path.expanduser uses them (and that's what we need)13:25
nessitaalecu: the registry never gets hit within python13:26
alecunessita, os.path.expanduser uses those variables?13:26
alecunessita, are you sure?13:26
nessitalooking at the source code right now, let me paste it for you13:26
nessitaalecu: http://pastebin.ubuntu.com/663405/13:26
nessitaalecu: actually, HOME will work just "well"13:27
ralsinaalecu: yes it does13:27
ralsinaHOME works for os.path.expanduser just fine in windows13:27
ralsinaexcept it's really dumb about trailing slashes13:27
alecuI'm shocked, I tell you.13:27
ralsinaso expanduser("~/xx") looks like this: "C:\\whatever/xx"13:28
ralsinait's just a lame search/replace13:28
alecunessita, then let's forget about this bug, and leave the code as is.13:29
* alecu has not seen anything more pleasantly "unwindhonic" in months.13:30
nessitaalecu: ack13:30
nessitaralsina: the localrescan branch is being also removed by facundobatista (he's the localrescan master), so can you instead please review https://code.launchpad.net/~nataliabidart/ubuntuone-client/no-makedirs/+merge/71101 ?13:31
ralsinanessita: sire13:31
nessitaralsina: gosh, I said removed but I meant reviewed13:32
alecunessita, it's being "removed"???? you mean "reviewed"????13:32
alecuecho13:32
ralsinaI meant sure, sire ;-)13:32
nessitaalecu: yeah :-D13:32
ralsinaI thought facundobatista was maing you throw it away and doing one himself ;-)13:32
nessitaralsina: he's capable, you know. But he knows I can scream very loudly and chillony13:33
nessitaso I don't think he'd dare ;-)13:33
ralsinaAPI question: should we start treating os_helper as private api?13:33
alecu"chillony" -> lol13:33
ralsinaas in "control panel should not call os_helper" private13:33
nessitaralsina: so, I agree the control panel should not call os_helper, but the os_helper is not strictly private13:34
ralsinanessita: ok13:35
nessitamandel: is https://code.launchpad.net/~mandel/ubuntuone-client/dont-use-shutil-move/+merge/70595 ready for re-review?13:36
nessitagatox: you let me know when I shall re-review your branch?13:36
* facundobatista likes to put nessita in a "chillony" state13:37
ralsinadobey: I added a bit more detail to that bug so the branch makes more sense13:39
gatoxnessita, i've modified the branch as you mention... is there any other modification i should make?13:39
nessitagatox: I haven't finished looking, did you push so I re branch as continue the review?13:39
gatoxnessita, yes13:39
nessitagatox: ack13:42
mandelnessita, yes, I belive I have fixed all the issues you mentioned in the review13:43
ralsinanessita: boring +1 on no-makedirs ;-)13:43
nessitaralsina: yeah, sorry.. but it was needed13:44
ralsinanessita: np, I assume it was much more boring to write it than it was to read it :-)13:44
nessitaralsina: a little :-)13:44
nessitaralsina: I will land that with 1 review after the localrescan branch lands (since is prerequisite)13:44
ralsinanessita: yeah, sounds reasonable. That branch is mostly a no-op in the worst case13:45
mandelnessita, do you need an extra reviw?13:45
mandelreview*13:45
nessitamandel: not atm, but thanks!!!13:45
mandelok13:45
dobeyralsina: doesn't really help me understand. won't this introduce a regression in u1cp where it will allow using symlinks as folders for synchronizing?13:47
ralsinadobey: just momentarily, and just for the qt control panel. Or I could add an encode() call instead of commenting that bit13:47
ralsinanessita: ^?13:47
dobeyright, if it's bytes vs. unicode issue, sending the right thing instead seems like a better solution, even if temporary, no?13:48
nessitadobey: well, not really, the difference is that instead of detecting this in the cp layer, syncdaemon will return an error after the udf creation was requested13:48
nessitadobey: u1cp should not be using is_link. Besides, the validation is only used from the QT UI, not in the GTK one13:48
dobeynessita: right. but sending stuff we know will fail seems like a waste of resources13:49
nessitadobey: I agree, we need to move the validation code to u1client and call it from our backend. But this will not be a regression since this is not used from the GTK UI13:49
ralsinadobey:also I want to remove the validation from u1cp because it means we have to validate exactly the same way twice, and that's not a good idea13:49
nessitadobey: in GTK we do not provide the "create folder" func13:49
dobeythis seems to affect both13:49
dobeyit's in controlpanel/backend.py13:50
nessitadobey: yes, but the GTK UI does not export folder creation13:50
nessitadobey: there is no button nor way to create a new folder in the GTK panel13:50
dobeyok13:50
nessitadobey: thanks13:51
dobeybut still, the bug nor proposal state that. nor does the bug state what the problem really is. it states "we are doing this" and only sort of alludes to a problem existing13:51
dobeydon't thank me yet :)13:51
nessitadobey: oh, you made me happy for a few seconds...13:51
dobeythe ok was "ok, then it doesn't affect gtk+" not "ok, the branch makes sense to me"13:51
nessitaralsina, alecu, mandel, gatox, Chipaca: mumble?13:51
mandelralsina, that log things is bloody annoying, the only way I've found to work around it is by uninstall/install13:52
mandelnessita, alrady there :)13:52
ralsinamandel: uh?13:52
nessitadobey: so, we're fixing this pretty soon, but adding a decode there is terrible "dirty" and misleading13:52
ralsinanessita: ack13:52
nessitadobey: the bug is "control panel should not call is_link"13:52
dobeynessita: so is a comment that says "look at this bug" with a bug that doesn't actually say anything about what the problem is, or why it should not do what it's doing13:53
mandelralsina, the issues with pyexe and stderr13:53
Chipacanessita: otp13:53
ralsinamandel: I know what you talk about, don't understand what the problem is with that13:53
nessitadobey: let's ask ralsina to improve the bug description! :-)13:53
nessitaChipaca: ack13:53
ralsinanessita, dobey: file a bug on the bug ;-)13:53
mandelralsina, that is a PITA :)13:53
ralsinaWill improve it in a minute13:53
gatoxnessita, ack13:53
gatox(mumble)13:53
dobeyit's like making a bug "control panel should make me a mate" and then adding a "exit 0" in main, because it doesn't make me mate :)13:53
ralsinamandel: oh come on, it's a dialog when you close ;-)13:53
dobeyraise MateNotImplemented13:54
nessitadobey: will a better bug description be a good solution for you?13:55
dobeyi would like to understand what the problem is exactly, yes; and if the calls shouldn't be there, probably just better to remove the code, than comment it out13:55
dobeyskipping a test that you intend to just remove anyway seems a bit inane13:55
Chipacanessita: on my way now13:59
ralsinadobey: I agree and will use an encode() instead of commenting that14:11
mandel@png14:36
mandel@ping14:36
ubot4pong14:36
dobeyok14:36
dobeybrb real quick14:38
nessitagatox: trivial fix, you should not add an empty line between these imports:14:47
nessita+from PyQt4 import QtCore, QtGui14:47
nessita+14:47
nessita+from ubuntu_sso.qt.gui import SSOWizardPage14:47
nessita+14:47
nessita+from ubuntuone.controlpanel.gui.qt import folders14:47
nessitagatox: they are all 3rd party, do you group them altogether14:47
nessitaall together*14:47
nessitagatox: and initializePage has no docstring14:48
gatoxnessita, fixing it14:50
nessitagatox: same for14:50
nessitafrom twisted.internet.defer import inlineCallbacks14:50
nessita<no blank line here>14:50
nessitafrom PyQt4 import QtCore, QtGui14:50
gatoxnessita, ok, i'll look if there is something else like thaat14:52
nessitathanks!14:52
ralsinagrmbl, my kid apparently has fever and I have to pick him up at school14:53
nessitagatox: so, what you did with inlineCallbacks is fine, but I want to be sure you understand there is no need to add the inlineCallbacks decorator to update_sizes and initializePage, unless some caller needs to access the deferred being returned14:54
ralsinanessita, gatox: this means I will prbably miss the lisette/claire meeting, which can not be rescheduled much later14:54
ralsina:-(14:54
nessitaralsina: maybe we should reschedule to tomorrow?14:54
ralsinanessita: tomorrow there is no more claire14:54
nessitaralsina: no problem then, I can lead the meeting14:55
nessitaralsina: I will send notes afterwards14:55
ralsinasince you own u1cp and diego is doing installer, I think I am not really necessary but I wanted to be there :-(14:55
nessitagatox: so, for this thing there is no need to change anything, I just want to know you know the difference :-)14:55
dobeyok. muchos releasos14:56
gatoxnessita, so... do you mean that i should revert the change on local_folders?14:56
nessitagatox: one sec (mumble)14:56
ralsinadobey, nessita: pushed no_is_link with the encode() call instead of commenting is_link (which makes the name very deceiving ;-) and... I'm off to pick up my kid14:57
dobeyralsina: ok, cool14:59
claritanessita are lisette and I going to chat with you then?? :-)15:14
nessitaclarita: yes, one second, I'm finishing another call15:15
claritanessita okey dokey15:15
=== zyga is now known as zyga-afk
dobeynecessita comida. bbiab :)15:43
=== beuno is now known as beuno-lunch
mandel_alecu, ping15:51
nessitaalecu: could you please approve https://code.launchpad.net/~nataliabidart/ubuntuone-client/fix-localrescan-tests/+merge/71059 ? all requested fixes are done15:58
nessitagatox: going back to the review...16:06
nessitagatox: no need to revert the changes, I want to be sure you understand that we could not add inlineCallbacks to initializePage and update_sizes16:07
nessitagatox: so, as an exercise, can you please change on_add_storage_button_clicked to use inlineCallbacks + yield instead of16:08
nessita        credtool = CredentialsManagementTool()16:08
nessita        d = credtool.find_credentials()16:08
nessita        d.addCallback(open_url)16:08
gatoxnessita, ok... i submit that in this branch or in a new one?16:12
nessitagatox: this one, I'm adding more needs fixing to the MP (merge proposal)16:12
gatoxnessita, okas16:13
alecunessita, approved16:14
alecumandel_, pong16:15
nessitaalecu: thanks!16:16
nessitagatox: needs fixing / questions added16:24
gatoxok16:34
gatoxnessita, ok16:34
nessitalunchtime!16:43
alecumandel, ping!16:45
alecumandel, I think that Watch.stop_watching should return a deferred that is fired when the watch thread actually finishes16:45
mandelalecu, but that deferred was already fired, what is the use?16:46
alecumandel, and we should wait on that for test cleanups16:46
mandelalecu, can you take a look at shuitl.move branch?16:46
alecumandel, link?16:46
mandelalecu, sorry I understood the same referred as in start, sorry16:46
mandelalecu, returning a deffered on stop sounds like a good idea but we should check the shutdown methods of sd to use that correctly16:47
mandelalecu, https://code.launchpad.net/~mandel/ubuntuone-client/dont-use-shutil-move/+merge/7059516:47
alecumandel, right, it's a new one. I think we should have a new deferred, (let's call it "stopped") that means that the watch has correctly been removed.16:47
alecumandel, right, we should make sure all of sd uses it.16:47
mandelalecu, sounds like a reasonable solutions since we have threads there16:48
mandelalecu, will make the solution cleaner and symetric which I like16:48
alecumandel, so, right now I'm adding errbacks when a thread fails to start. I'll run the tests with this, and probably in the next branch I'll try fixing the stop to see if the rest of tests are fixed.16:49
mandelalecu, soudns good... I wonder, why did the thread fail to start?16:51
mandelalecu, do we reach a limit?16:51
alecumandel, we'll find out soon!16:51
alecumandel, btw: if you can, please review this: https://code.launchpad.net/~alecu/ubuntuone-client/fix-unorsai/+merge/7123316:51
mandelalecu, on it!16:52
alecuoooh16:52
alecumandel, sorry, I forgot that nessita suggested that facundobatista should review it first, to see if the approach is right.16:52
alecumandel, btw: that branch fixes run_tests.bat, so now you can use it like "run_tests.bat -t [regexp]"16:53
mandelalecu, yeah, it was the first thing I noticed :)16:53
alecufacundobatista, if you can, please review the above branch ^^^^16:53
mandelalecu, I think we should move the common code on runt_tests to u1.devtools16:53
mandelalecu, and add it as a bat for u1trial16:54
facundobatistaalecu, I can, but not now16:54
alecufacundobatista, it's a very small branch, but review it when you can.16:54
mandelalecu, so we can call u1trial.bat tests or something like that16:54
dobeyhmm?16:54
mandeldobey, adding a batch for u1trial on windows :)16:56
dobeymandel: the common code for run-tests is in devtools already. it's called u1trial :)16:56
=== beuno-lunch is now known as beuno
mandeldobey, but is not a batch which means that the stupid cmd wont recognize the command :(16:56
* mandel is scared that he knew what a dobeys 'hmm' meant16:57
dobeymandel: you mean you have to run "python u1trial.exe" on windows?16:57
mandeldobey, yeah, ubber lazy I know, but is a pain to have to do python C:\Python27\Scripts\u1trial blah16:58
mandeldobey, since cmd does not recognize .py16:58
dobeymandel: but it's an .exe on windows right?16:59
mandeldobey, no, u1trial is not packaged17:00
mandelas an exe I mean17:00
dobeymandel: and how do you run syncdaemon/sso/etc?17:01
mandeldobey, you mean the tests or when we create the installers for the users?17:01
dobeymandel: i mean, when you run ubuntuone-syncdaemon to make sure it works, how do you run it?17:02
mandeldobey, python bin\ubuntuone-syncdaemon17:03
mandelbut python is an exe so cmd recognizes it17:03
dobeymandel: right, because python is written in C17:08
mandeldobey, yeah, one of those tiny details ;)17:09
mandeldobey, so if we add a stupid batch with python u1trial in it add copy it to C:\Python27\Sripts if people add it to their cmd path they get it correctly :)17:09
dobeymandel: eww :(17:12
dobeymandel: is there no way to register interpreters some how?17:13
mandeldobey, is windows, eww is a common thing to say17:13
mandeldobey, yes there is, an you will say eww too :)17:14
mandelhere: http://docs.python.org/faq/windows.html17:14
dobeymandel: install bash and just run everything under bash? :)17:16
mandeldobey, hahaha I use cygwin so I'm almost there :)17:17
mandeldobey, I really dislike python on windows, but don't tell anyone ;)17:17
dobeyhooray, problem solved :P17:17
dobeyi dislike python on *17:17
dobeyso it's all good17:17
mandeldobey, haha nevertheless it would be nice to have the batch :)17:18
=== m_conley` is now known as m_conley_away
=== m_conley_away is now known as m_conley_
nessitamandel: ping17:21
mandelnessita, pong17:21
nessitamandel: did you fix all the needs fixing I added to shutil-move? besides what we discusses in mumble17:21
nessitamandel: import out of order, invalid docstrings, etc17:21
nessitamandel: -> https://code.launchpad.net/~mandel/ubuntuone-client/dont-use-shutil-move/+merge/70595/comments/154631/17:22
mandelnessita, yes, but looks like I did not push it, doing it now17:24
mandelnessita, can you create shares with mandel_shares_tests17:24
nessitamandel: ack17:24
nessitamandel: what's that? an username? or an invalid email? :-P17:24
dobeymandel: maybe, will think, because i don't like it17:24
mandelnessita, a user name :)17:25
mandeldobey, sure, is just a wishlist :)17:25
nessitamandel: you sure? how did you force a user username?17:25
nessitamandel: I mean, as far as I know there is no way to force a username...17:25
mandelnessita, oh, there is not... then I set my full name to that haha17:26
nessitaor am I missing something?17:26
mandelnessita, how do you get the username?17:26
nessitamandel: query the rest api for the account info17:26
nessitamandel: https://one.ubuntu.com/developer/account_admin/account_info/17:28
nessitamandel: you open the control panel and see the logs, the result is logged17:28
mandelnessita, the branch was pushed17:28
mandelnessita, ok17:29
mandelnessita, where are the logs then? in AppData\Local\sxdg ?17:29
nessitayeap17:30
* mandel looks17:31
=== zyga-afk is now known as zyga
mandelnessita, which attr name should I look for in the json?17:32
nessitamandel: username? :-D17:32
mandelhehe17:33
mandelnessita, https://login.ubuntu.com/+id/xTcwtTw17:33
mandelnessita, looks as expected?17:33
nessitayeap17:34
nessitamandel: making one share now...17:34
mandelsweet :)17:34
nessitamandel: please note you will not get an email, but the share directly in your web ui17:34
mandelnessita, ok17:34
mandelnessita, got them, images-rw and images-ro17:35
mandelnessita, weird I also got some from alecu and ralsina17:36
mandelnessita, EOD here, I need to walk the dog or he will blow up :P17:37
mandelnessita, I have the shares so I'll run the IRL tests with both branches tom :)17:37
nessitamandel: ack17:38
mandelnessita, matt needs some one to ask for a 'feature' hehe17:38
* alecu has left tests running, and is heading for lunch17:45
facundobatistaalecu, FS_FILE_OPEN? need fixing17:49
facundobatistanessita, ^17:49
nessitafacundobatista: also, my doubt was: adding a content to the sh5 in man in the middle is harmless for the test?17:50
nessitafacundobatista: or we expect those events even if the sh5 file is empty17:50
dobeyare there any u1client branches about to be approved soon?17:54
nessitadobey: yes, coming in!17:54
nessitadobey: I just approved one17:54
dobeynessita: can you try to time it so that 2 branches are aproved at the same time (that don't depend on each other)?17:55
nessitaoh17:55
nessitayes, let me dessapprove this one then17:55
nessitadobey: I'll let you know17:56
dobeynessita: ok, thanks. i think the issue we discussed yesterday happens when there are 2 u1client branches approved, and stacked up for merging, so want to try and force that condition, to get some more data from tarmac :)17:56
nessitagood17:56
facundobatistanessita, the events are the same17:56
facundobatistanessita, *should* be the same17:56
nessitafacundobatista: but the problem is that we don't the the closewrite one if we don t write to the file17:57
nessitafacundobatista: so I was wondering if we should fake the closewrite with an empty file17:57
nessitadon't get* the...17:57
facundobatistanessita, maybe! the FS_FILE_CLOSE_WRITE is expected by the rest of SD if you do the open("foo", "w").close()17:58
nessitafacundobatista: that is my point exactly17:58
facundobatistanessita, otherwise, you'd not get an Upload, for example17:58
nessitafacundobatista: that's why I'm scared of fixing the test by adding a write to it17:58
nessitaalecu: ^17:59
facundobatistanessita, shouldn't be other tests in the notification part for this?17:59
nessitafacundobatista: not sure what are you asking17:59
facundobatistanessita, I bet I had tests for all these operations! maybe those tests were tweaked?17:59
nessitafacundobatista: well, most of test_eq_inotify is failing for us... so... probably there are tests that are failing because of that18:00
nessitafacundobatista: so I would advice to alecu we keep having man in the middle failing and go a fix all the eq_inotify18:00
facundobatistanessita, OTOH, note that the events from man_in_the_middle are faked from LR18:03
facundobatistanessita, so, you shouldn't really get the events for the 'zz' file from the file notification part, but from LR18:03
nessitafacundobatista: hum, man in the middle does depend on the FS events, no?18:04
gatox_EOD for me! byeeeeeee18:04
nessitafacundobatista: why is not pushing the CLOSEWRITE if is faked?18:05
facundobatistanessita, no idea18:05
facundobatistanessita, the events for 'zz' are faked in line 523 of local_rescan.py18:07
nessitafacundobatista: maybe this is another issue related to stats?18:07
facundobatistanessita, when 'zz' is found as a new file18:07
nessitafacundobatista: you mean line 49818:07
nessita?18:07
nessita    494                     if different:18:07
nessita    495                         # hash it to see the changes, Sync will take care18:07
nessita    496                         log_debug("comp yield: file %r in LOCAL and changed",18:07
nessita    497                                   fullname)18:07
nessita    498                         events.append(('FS_FILE_CLOSE_WRITE', fullname))18:07
facundobatistanessita, the 'man in the middle' test is generating that case, exactly: put a file in a directory when LR is scanning that directory; LR should abort, re-scan again, and find that file as new18:08
nessitafacundobatista: I still can't see where, I think you have an "old" trunk18:08
facundobatistanessita, no, I mean 527 from trunk revno 110318:09
nessitaI have this in line 527                 # hey, it's new!18:10
nessitayou mean the event from line 533?18:10
facundobatistanessita, I mean the whole block code startnig from 52718:11
facundobatistanessita, hey, 'zz' is new!!18:11
nessitaright18:11
nessitalet me confirm in the logs that we're going thru that branch18:11
nessitafacundobatista: http://pastebin.ubuntu.com/663604/ <- zz does not apppear as "is new"18:22
nessitafacundobatista: and, I'm puzzled, zz appears to be a... directory? :-/18:22
nessitaah no, is not a dir18:22
nessitafacundobatista: there are EQ events being pushed inside local rescan18:23
facundobatistanessita, if you run it in linux, it goes through that block18:23
* nessita runs18:23
facundobatistanessita, where the CREATE for zz comes? (line 77 in the log)18:24
nessitaI don't know :-/18:25
facundobatistanessita, ok18:25
facundobatistanessita, note that if LR is not going through the codeblock we said before, you're losing new files if they're created while LR is on that directory18:27
facundobatistanessita, LR should make two rounds on the same directory18:28
nessitafacundobatista: right, I'm out of ideas what is going on in windows18:28
facundobatistanessita, the first one, when commiting, freeze_commit() (filesystem_notifications.py, line 168) should say that the process is dirty18:29
nessitafacundobatista: can we restart the conversation when alecu returns? he will be debugging this18:29
facundobatista            self.log.debug("Dirty by %s", self.frozen_evts)18:29
facundobatistanessita, ^ no "Dirty" in your log18:29
nessitaright18:29
nessitaso this is even more interesting18:29
facundobatistanessita, maybe we should mumble it?18:29
nessitafacundobatista: definietly18:29
facundobatistanessita, is exactly what the test is testing :)18:29
nessitadobey: does this make sense? http://pastebin.ubuntu.com/663623/ can't run make under trunk in u1client18:30
nessitadobey: ignore me18:30
nessitadobey: I'm about to approve 2 branches, shall I continue?18:31
ralsinaand hello again18:33
nessitahi ralsina18:33
dobeynessita: please18:33
nessitadobey: done18:34
nessitaalecu: when you come back, let's talk about the events and LR18:34
dobeynessita: what was with the make error? you removed syncdaemon.conf?18:34
nessitadobey: yeap :-/18:34
nessitadobey: I was testing a branch from roberto that adds default locations for .conf files18:35
dobeyah18:38
ralsinaanyone needs reviews?18:39
* fagan1 is available for reviews as well 18:40
=== fagan1 is now known as fagan
nessitaralsina: we had the talk with lisette, and she still can't connect her client, can you please do the follow up with her?18:44
ralsinanessita: sure18:44
ralsinanessita: she's surely gone already, but I'll do it tomorrow early18:45
nessitaralsina: also, she mentioned we need some UI for the uninstall process, she files a bug and will propose some simple workflow18:45
nessitaralsina: yeap18:45
nessitaralsina: we also need to re-evaluate the payment stuff, are we gonna add that to the installer? I know before we said we won't, because server side was note ready, but maybe now is ready? would you know?18:46
ralsinanessita: AFAIK, it's not ready, and I am not planning it for this release18:46
nessitaralsina: do we know when will it be ready server side?18:46
nessitaralsina: she mentioned that if we don't have that, she needs to build new workflows for the sync local folders frame, since the user may run out of quota by choosing too many folders18:47
ralsinanessita: I'll ask beuno, but with the new accounts stuff I am not sure it's even possible18:47
ralsinanessita: the mockup has a "you are using too much space, click here to buy space" message18:47
ralsinanessita: and that's actually implemented18:47
nessitaralsina: right, but she mentioned we should not send the user to the web at that point18:48
beunoralsina, what?18:48
beunoI thought the embedded thing was all ready to go?18:48
nessitaralsina: I think the button was suppose to take the user to the payment frame (local(18:48
nessita))18:48
ralsinabeuno: no, that button goes to the web because we were not implementing that18:48
nessitaralsina: well, lisette is not aware of that... did you talk to her about that?18:49
ralsinabeuno, nessita: if we go the embedding way, we can probably do it18:49
beunoralsina, what?  why?  what did we do that work then?18:49
nessitaralsina: you lost me too :-)18:50
nessitashall we mumble?18:50
ralsinabeuno: we are going to use it, but we haven't had time to do it for this release :-(18:50
beunooh18:50
beuno:(18:50
beunook18:50
nessitaralsina: we're going to use what where? :-)18:50
ralsinanessita: beuno & team created a no-header/ no-footer version of the site18:50
dobeymagic18:50
ralsinanessita: so, we could embed that to do our "buy stuff" page18:51
nessitaralsina: the whole site?18:51
beunonessita, yes, the whole site18:51
ralsinanessita: yes18:51
beunoany page will work on any size18:51
beunoand you can log in the user with an oauth token18:51
ralsinaand since it has no navigation in it, you can't wander off into bad places18:52
nessitabeuno, ralsina: can we mumble for a few minutes? I have some questions...18:52
ralsinanessita: sure18:53
beunosure18:53
ralsinabeuno: I admit that "si nos sobraba tiempo" is just a way to say no ;-)19:03
ralsinaand we are/will be  using the headless/footless view for TOS too19:03
beunocool, np19:04
dobeygrumble.19:05
* alecu is catching up with the backlog19:31
nessitaalecu: when you're ready, let's have a mumble with facundobatista19:34
facundobatistanessita, alecu, I'm leaving in 20' to Felipe's doctor, so hurry up, or let's talk tomorrow19:35
nessitafacundobatista: entering mumble19:35
alecuentering19:35
nessitafacundobatista: vení!19:36
ralsinaugh, IRC was down and I didn't notice. Missed anything?19:43
ralsinadobey: did you see the canonistack announcement? How do you feel about tarmac on that?19:43
dobeyi feel like FML right now with all the problems i'm having. and no i haven't seen anything really19:44
ralsinadobey: whoa, anything I can help you with?19:46
dobeytell me why gpg won't accept my passphrase? :)19:47
ralsinadobey: I have three answers for that, and they all are going to make you want to punch me, so pass ;-)19:50
dobeybrb19:58
faganjoshuahoover: hey,  got your email,  ill go do that link change tomorrow morning20:06
faganshouldnt take that long20:07
joshuahooverfagan: ah, cool...i just sent an update on doing redirects instead20:07
faganjoshuahoover: well I dont mind changing them anyway20:07
joshuahooverfagan: thanks!20:07
faganits just a find and replace and not all pages need to be updated20:08
joshuahooverfagan: all faqs and tutorials on the wikis do need this20:08
faganjoshuahoover: yep but most of the FAQ pages dont have links luckly enough :)20:08
ralsinafagan: they probably have links somewhere else. Nothing is ever actually lost in the internet you know ;-)20:09
joshuahooverfagan: right, but they all need to be redirected to their new pages on the u1 site20:09
faganjoshuahoover: cool will do20:09
faganWow I didnt actually look at the FAQ and tutorials section of the site its looking great20:11
alecunessita, dobey: I want to remove the "-c" from the call to u1trial in run_tests.bat in u1-client20:16
alecunessita, dobey: we should be able to use "run_tests.bat -c" instead20:17
dobeyalecu: i don't understand that exactly20:18
nessitaalecu: I'm not sure that'll work, I mean, if we don't pass the -c tests the suite is not run under windows20:18
alecunessita, -c means "run coverage tests"20:18
nessitaalecu: really??!?20:18
nessitaalecu: then ignore me :-)20:19
alecunessita, and that's the coverage report that's shown at the end of the test run.20:19
alecudobey, I don't understand what you don't understand20:19
dobeywell -c means "show coverage report"20:20
nessitaalecu: right, so, I don't understand how without the -c I could not run the test suite when I was first trying to run this. Maybe I had more errors that I did not notice20:20
dobeyalecu: i don't understand why you want to require passing those args to run-tests.bat, given that run-tests.bat isn't just running u1trial i presume, but also style checks?20:21
alecudobey, I want it to stop running the coverage checks, because those lines make the tests result scroll by20:22
dobeyah20:24
alecudobey, in fact, when I run run_tests.bat with a specific regex of tests, coverage and style checks are annoying.20:24
dobeyalecu: why don't you just run u1trial with the args you want then?20:24
dobeyalecu: or is this "it's a pain because it's windows" ?20:25
alecudobey, because the cmdline is huge. I suppose I can make a script to just run that.20:25
alecubut since run_tests.bat already has a way to specify parameters to u1trial, it makes sense to use it20:25
alecuand if run_tests changes to update some env var or anything, I won't have to update my scripts.20:26
dobeyalecu: but it means the default is to not do all that stuff, if you modify it to only do that stuff when you say to20:26
dobeyalecu: i think by default, it should check/report as much as possible20:27
alecudobey, it's called "run_tests". Not "run_test_and_coverage_and_clean_lint_balls"20:28
dobeyalecu: do you really want to type the latter to run everything and make sure your stuff is ready for commit?20:29
dobeyor do you want to type run-tests20:29
dobeyand it should be run-tests. for some reason ralsina and mandel have an underscore fetish or something :)20:30
alecudobey, cmd.exe autocompletes as well. You've used windows after 2001, right?20:30
alecu:-)20:30
ralsinadobey: I don't get it, it's called run-tests.bat20:31
dobeyralsina: then why is everyone typing run_tests.bat in irc?!20:31
ralsinadobey: beats me :-)20:31
dobeyalecu: i haven't used DOS since 1995, no :)20:31
dobeyin windows i click on icons and then kill monsters20:32
ralsinadobey: let me bring you up to speed: it has the same "history automplete" as in 1993, history is more broken, but it does autocomplete filenames (but not command names ;-)20:32
alecudobey, cmd.exe is NT, not DOS. anyway, I don't mind typing something long just before sending stuff to commit. I just hate typing "python c:\python27\scripts\u1trial --reactor=twisted tests -t whatever" every time I need to run some tests.20:33
dobeyralsina: heh20:34
ralsinaalecu: python c:[f8]20:35
dobeyalecu: really i'm not picky about it, but it should do everything by default. beyond that i really don't much care :)20:35
ralsinabut yes, that would be really nice to have20:35
nessitaralsina: this is the bug lisette filed for the uninstaller bug #82465320:35
ubot4nessita: Bug 824653 on http://launchpad.net/bugs/824653 is private20:35
ralsinanessita: thans, posted a description of what's doable20:37
alecuralsina, I didn't get the "[f8]" :-(20:42
ralsinaalecu: f8 key20:42
alecuralsina, I got that right. But I still don't get it20:43
ralsinaalecu: if you have typed that command before, it will autocomplete it20:43
ralsinasadly, it doesn't persist through sessions20:43
alecuralsina, oh, the mighty doskey20:43
ralsinayep20:44
alecuralsina, I usually use the UP key to get at that command. But it's between sessions that's annoying.20:44
karninhaines: ping21:09
=== m_conley_ is now known as m_conley_away
nhaineskarni: pong21:11
karninhaines: Hi man, got a minute?21:11
nhaineskarni: sure thing.  what's up?21:12
karninhaines: I made notifications, that are left *after* UBuntu One Files has uploaded/downloaded files21:12
karninhaines: I've also changed the notifications during transfers (no progress bar yet, though)21:12
karninhaines: And I have a question here21:13
karninhaines: Assume you upload a file, then tap two files to download21:13
karninhaines: You'd see "Uploading file 1 of 1" (on-going notification)21:13
karninhaines: afterwards, you'd see "Downloading file 1 of 2", and "2 of 2" accordingly21:14
karninhaines: After transfers have finished, you'd see a notification that you can dismiss, saying "Uploaded 1 of 1 files, Downloaded 2 of 2 files" (or 1 of 2, say, if one dowload has failed)21:14
karninhaines: Now the question21:15
nhainesOkay.  :)21:15
karninhaines: Is it ok, to jump between ongoing upload and download notifications. I don't want to overwhealm the user, and post too lenthy notification texts.21:15
dobeycheers everyone. have good evenings21:15
karnibye dobey21:15
nhainesGood night dobey.21:16
karninhaines: Instead of posting "Uploading 1 of 1 files, Downloading 0 of 2 files" (because it's uploading stuff at that moment, not downloading)21:16
karninhaines: What do you think?21:16
nhainesI think it's better to just have one notification for that and not two separate ones.21:16
karninhaines: When you have on-going transfers, you'll see it in "On-going" notification area21:18
nhainesI'd rather have a larger text in the notification area than constant updates across the notification bar when I'm doing other things.21:18
karninhaines: Once they're done, that one will disappear, and a dismissable notification will be posted at the bottom of notificatoin area.21:18
karninhaines: It's a little smarter than that.21:18
karniLet me explain.21:19
nessitadobey: have we made a release of u1cp before feature freeze?21:19
nessitadobey: I keep seeing the LOGFOLDER import error coming in in bugs reports21:19
karninhaines: If you tap 10 files "tap tap tap ...", you'll only see first notification "Downloading file 1 of 1"21:19
karninhaines: But as you tap the 2...10 files, the notificaiton will be updated, without showing it in the ticker area (you know, poping it at the top for 2 seconds)21:19
nhaineskarni: okay, good, that's what I imagined.21:20
karninhaines: So, the deal is (an extreme example), you upload some files, download some, then upload again, and download21:20
karninhaines: You'd see "Uploading file 1 of 3", then "Downloading file 1 of 2", "2 of 2", "Uploading file 2 of 3", "3 of 3", "Downloading file 2 of 2", and lastly the dismissable notificaiton.21:21
karninhaines: And the ticker (the visible notification in the system bar) would show:21:22
karninhaines: 1) either once and then 2) second for the summary "Uploaded 3 of 3 files, Downloaded 2 of 2"21:23
karninhaines: or every time it's a different type of transfer. so, 1) upload 2) download [+silent download] 3) upload [+silent upload] 4) download 5) summary21:24
karninhaines: It's pretty hard to explain. Do you follow?21:24
nhainesI think so.21:25
karninhaines: If it changes from "I'm downloading files" to "Oh, now I'm uploading some files", would you like to see a notification ticker (text in the system bar)?21:25
karniOR only "I'm doing stuff now" and then "I've done this and that, I'm done."21:25
nhainesI'd prefer the first one: once and then second for summary.21:25
nhainesOr 1) once for upload, 2) once for download, and 3) combined summary.21:25
nhainesIf that makes any sense.  :)21:26
karninhaines: So if you've scheduled an upload after step 2) (uploading a custom file), you'd like it to be silent update of the notification then?21:26
nhainesYes, I think so.21:27
karninhaines: What's the time at your timezone21:27
karni*?21:27
nhaineskarni: it's 14:28 PDT right now.21:28
karninhaines: Oh, that's pretty cool. I can sent you an apk in the middle of the night here hahah.21:28
nhaineskarni: haha, yup!21:28
nhainesU1 Files has really impressed my friends with both my Android phone and Ubuntu.  It's super useful to me to be able to text short URLs of files to friends.21:30
alecunessita, ralsina: please review? https://code.launchpad.net/~alecu/ubuntuone-client/errback-watches/+merge/7128321:30
ralsinaalecu: sure!21:30
karninhaines: I'm happy to hear that! I'm working on it every day to improve it. Although some changes are (sadly) less visible than others.21:32
nessitaalecu: looking!21:33
nessitaralsina: you forgot to actually approve this one, can you please? https://code.launchpad.net/~nataliabidart/ubuntuone-client/no-makedirs/+merge/7110121:33
ralsinasure21:33
ralsinanessita: done, sorry21:34
nessitais ok21:35
nessitaalecu: I think you're masquerading error from pywintypes here  except Exception as error:21:36
alecunessita, I explicitly removed the import of pywintypes.error (see lines 84, 85 in the diff)21:37
nessitaalecu: you're so right21:37
alecunessita, I want to catch *every* exception21:37
nessitaalecu: I swapped read and green in my head :-/21:38
alecunessita, cool :-)21:38
alecunessita, eso te pasa por juntarte con batista!21:38
nessitalol21:38
ralsinaalecu: +1 on that branch21:47
alecuralsina, great, thanks.21:47
nessitaalecu: silly change, can you please capitalize """throw a fake exception."""21:48
alecuAbsolutely21:48
alecunessita, change pushed21:50
=== yofel_ is now known as yofel
dobeynessita: is because of new ubuntuone-client. i will do a cp release tomrrow to fix it21:54
nessitadobey: thanks!!!21:57
nessitaalecu: approving22:05
alecuwoohooohoo22:05
nessitabye all! see ya guys tomorrow22:14

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