/srv/irclogs.ubuntu.com/2012/09/06/#ubuntuone.txt

ralsinammcc: nice branch00:17
JamesTaitGood morning all! :D08:03
=== eu is now known as Guest16925
alecuhello, all!11:44
ralsinahello alecu12:21
ralsinahello mandel as well I assume!12:21
alecuhola ralsina :-)12:22
ralsinaalecu: good news mandel is going to the nux sprint12:25
alecuralsina: that's great! has he already left for the sprint? ;-)12:31
ralsinaalecu: it starts monday so I hope not!12:32
* alecu is green with envy...12:32
alecuI just love London on summer :-)12:32
mandelralsina, alecu, hello, yes I was out with the dog for a few mins, he need to pee :P12:35
mandeland I'll go there if the people from the agency do answer my emails..12:36
mandelalecu, I've been using your branch to test the generic preview idea, I think is great to start with, but what about encapsulating that in a vala class that extends generic view adds the info and exposes properties for the info we have to pass?12:37
ralsinamandel: I lost connection for a bit, so I don't know if this got through: if the agency takes too long, just do orbitz and ask for a refund12:40
mandelralsina, yes, that is my idea.. they are not very good12:40
ralsinamandel: I would take the trains on saturday with my kindle, but that's just because I love trains :-)12:40
mandelralsina, I'm done the deal of manchester-madrid by train, not that great..12:41
mandellunch time here12:49
dobeyhrmm12:51
alecuralsina: I'm looking at your branch that needs review. I see that most of the code being added touches code that already has tests, so I was wondering if you are able to add some?13:13
alecuralsina: in the past we had no issues with submiting huge branches to FFe, if the "huge" in the branch was tests.13:13
alecuralsina: also, since most of the branch is .ui changes, I think the tests won't make it grow so much.13:14
ralsinaalecu: ok, let me think it through a bit.13:22
DNXhi guys. I'm unable to move a folder inside my Ubuntu One dir, after "mv" the folder apears again in the old place13:44
DNXsome ideas?13:44
DNXif I dosconnect the daemon everithing is ok, but on connect it moves the folders on the original position13:47
ralsinalooks like my internet is really flaky today13:49
ralsinaalecu: doing the tests, somehow I missed where I had to add stuff. There is one bit that still won't have them (the change in the starting page logic) but that's much smaller and I will do a bug for it (mostly because I don'thave much coding tie for this today)13:49
dobeybrb, need to reboot. X has gone a bit wonky13:52
alecuhey all, ralsina says his internet connection has gone down completely.13:54
alecuDNX: that's really weird.13:55
alecurye: have you seen behaviour like DNX says above?13:55
DNXalecu, also I noticed that it generates some conflicts between these folders13:58
ryeDNX: could you please check whether that folder already exists at that place @ https://files.one.ubuntu.com ?14:00
ryealecu: not really, but I was not testing for this14:01
DNXrye, yes, the folder has been correctly syncronized14:01
ryeDNX: but it is missing at that location locally, right?14:02
DNXbut something is wrong with these folders, I can't reproduce this situation again14:02
DNXrye, yes14:03
ryealecu: ^ looks like remote and local roots diverged14:06
ryealecu: so the folder is in fact there somehow at the server...14:07
ryeDNX: what's the last update date for that folder on the server?14:07
DNXrye, 31 minutes ago14:08
DNXand my changes doesn't apear on the server :|14:11
DNXI'll try to move this folder outside Ubuntu One dir and then paste it here again14:12
DNXcan I proceed or you need some other details?14:13
ryehm\14:14
dobeyalecu: so ralsina has no internet, and we're waiting for him to add more tests to that branch? :(14:14
ryealecu: i just found a folder on the server that was not present locally. Created the folder and renamed it locally and the one at the server has replaced the server-side folder with the empty local one. I feel that's not how it was supposed to happen14:15
dobeyrye: that indeed sounds like a bug14:16
ryealecu: can you please check Move() checks that the destination does not exist already?14:16
ryealecu: because this bug #987767 suggests it does not for rest api and if it is using the same code path then for SD too14:17
ubot5Launchpad bug 987767 in Ubuntu One Servers "[rest] Renaming a file into a folder overwrites the folder" [Undecided,Triaged] https://launchpad.net/bugs/98776714:17
alecurye: in the client, once the Move() command is created and scheduled in the action queue, no such checks are done.14:25
alecurye: it's up to the sync state machine to decide that.14:25
alecurye: so, I'll check that too.14:25
ryealecu: well, I am more worried about the server part14:35
alecurye: in that case we should ask facundobatista or verterok14:35
ryefacundobatista or verterok, is Move() operation checking that the destination does not already exist?14:38
facundobatistarye, isn't Move a "overwritting operation"?14:40
alecufacundobatista: for files, it is.14:40
facundobatistarye, locally you do "touch a; touch b; mv b a", this overwrites, in the server it should overwrite too14:41
ryefacundobatista: for directory14:41
facundobatistarye, ah! don't know14:41
ryefacundobatista: one directory was moved over another one w/o any error here14:41
alecufacundobatista: for directories, there are no unix semantics; most file managers ask you if you want to merge.14:41
facundobatistarye, alecu, how did you move one dir over other in the client?14:42
dobey"mv file directory" typically moves the file in the directory; the problem is that the dir doesn't exist locally on u114:42
facundobatistarye, alecu, need to pickup my kid from kinder, brb14:42
dobeyand "mv directory file" will fail14:43
alecualso "mv directory directory2" moves it *inside* the second dir, not overwritting it.14:45
dobeyyes14:45
dobeyand "mv file directory file2 file3 directory2 directory3" will move all the previous arguments into directory314:46
dobeythe problem here is that we aren't dealing with local files (because it didn't get synced for some reason)14:46
ryedobey: alecu / $ move blah.txt targetDirectory14:47
ryedobey: alecu in cmd_client makes blah.txt inside targetDirectory...14:48
dobeyrye: yes; locally, if targetDirectory exists and is a directory, mv will move the file into it; if it doesn't exist, or is a file, mv will place it there14:48
dobeyeither way, there is clearly a bug in u1 if it overwrites a directory with a file14:49
alecudobey: it seems to be overwriting a directory with a different directory14:50
ralsinadobey, alecu: pushing branch before the internet goes away again14:50
alecuralsina: great, thanks!14:50
dobeygreat14:50
dobeyralsina: what about team call in 10 min?14:50
dobeyralsina: mumble, hangouts, or postpone?14:51
ralsinaalecu: there are a couple of missing tests I would like to have for sso_wizard.py and a comment about a couple of flaky asserts that are commented14:51
ralsinaalecu: I will file bugs for both14:51
ralsinadobey: postpone until tomorrow14:51
alecuralsina: great, thanks14:51
dobeyok14:51
ralsinabecause I don't know how long I will have connection :-(14:51
ralsinaalecu: pushed14:51
ryeaha!14:52
dobeywell if alecu can approve your branch, perhaps i can at least get that FFe done today; and possibly get the icons FFe done as well14:52
ralsinadobey: that would be awesome14:52
alecuralsina: can you move the commented lines after "There is a problem here, these oscilate 0/1" to a different test method, and use that string as the skip reason?14:55
ryealecu: facundobatista dobey reproduced with cmd_client - if i prevent it from getting the target folder id the directory will freely overwrite anothe directory and SURPISE move blah.txt targetDirectory will make "targetDirectory" into file14:55
ryei mean that targetDirectory becomes a file with blah.txt contents14:55
ryeSo client can do weird things...14:55
ryebut that's still not something DNX experienced, I was not getting any conflicts14:56
ralsinaalecu: I can try if arnet lets me ;-)14:56
mandelralsina, standup in mumble, right?14:57
alecumandel, mmcc, briancurtin, thisfred: no mumble today: it's been moved for tomorrow14:59
alecu(since ralsina's connection is going haywire)14:59
mandelalecu, oh, thx fort the info14:59
alecuralsina: if you prefer to fix that skip bit in a different branch I can approve like it is.15:01
mandelme15:01
thisfredme15:02
alecume15:02
briancurtinme15:02
dobeyme15:03
mmccme15:04
alecumandel: go!15:04
mandelDONE: Worked on the dash preview factory to detect that is that GenericPreview has an specific title then return a u1paymentpreview. Got to have the daemon running showing always the payment dummy preview for not present songs in the system. Played a little with nux and layouts. Sorted out flights etc.. for the DX sprint in london.15:04
mandelTODO: More on the preview UI work. Understand better nux to do some interesting stuff. Should be able to have a example preview working for tom.15:04
mandelBLOCKED: no15:04
mandelthisfred, please15:04
mandelhola?15:05
briancurtinthisfred15:05
thisfredDONE: u1db server noodling TODO: turn noodling into code BLOCKED: no NEXT: alecu15:05
alecuDONE: discussed search api details with server guys, and lens-dash interfacing with mandel. Coded a sample lens branch so mandel can move forward with dash ui. forgot about reviews, doing some now.15:05
alecuTODO: make lens use real server apis15:05
alecuBLOCKED: no15:05
alecuNEXT: briancurtin15:05
briancurtinDONE: some small windows testing, working on HTTPSServer implementation15:05
briancurtinTODO: fix squid test on 3, HTTPSServer15:05
briancurtinNEXT: dobey15:05
dobeyDONE: icon magic, music store poking, file sso FFe, review sso FFe fix15:06
dobeyTODO: release/package icon magic15:06
dobeyBLCK: None.15:06
mmccDONE: fixed sync indicator, fought with windows15:06
mmccTODO: fseventsdaemon15:06
mmccBLCK: no15:06
mmccNEXT: no15:06
alecuNEXT: ralsina!15:06
alecu(as long as he is still connected)15:06
alecuOk, time for comments15:07
* mandel finds cpp ugly15:07
mandeland I always forget the bloody ;15:07
alecumandel: and how long does it take to compile?15:07
alecumandel: a little less than "forever", right?15:08
mandelalecu, hehe yes, is kinda slow but the big tower can deal with it.. in london with the laptop is going to be a diff story15:08
ralsinaapparently I am connected but I have no notes15:09
ralsinaalecu: I will be pushing with references to the missing test bugs & the skip in a minute15:09
briancurtindo you need to twitter shame yourself?15:09
alecumandel: distcc ftw!15:09
ralsinabriancurtin: probably!15:09
ralsinamandel: kde invented a whole thing called icecream to help build large C++ projects on sprints15:10
alecuralsina: I thought the romans invented icecream!15:10
ralsinaalecu: well, the name is because at first it took so long they went out for icecream15:11
ralsinahttp://en.opensuse.org/Icecream15:11
ralsinait's like a communal distcc15:12
thisfredsmells like socialism to me15:19
ralsinathisfred: typical germans15:21
dobeycommunicable distcc15:21
thisfredstdcc15:24
mmccbriancurtin: unless alecu is already reviewing this, can you take a look at: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-sync-status/+merge/12297415:24
briancurtinmmcc: sure, will look shortly15:24
mmccthanks15:24
alecummcc: I had that tab opened, was about to review it shortly...15:25
alecubriancurtin: don't worry, I'll do it.15:26
briancurtinalecu: thanks15:26
dobeylunch time; bbiab15:33
ralsinammcc: did you see mfoord's mail about the u1 mac client?15:33
ralsinammcc: I think having no dock icon makes sense in general for us15:33
mmccralsina: yes. if we want to do it that way, it's a very minor change15:33
ralsinammcc: just putting it out there for you to think about it. If you can reply to it, awesome+15:34
mmccralsina: ok.15:34
mandelralsina, mmcc, I think the dock icon should be seen when the control panel is opened, if it is not don't show it15:39
mandelalso our interaction with the dock is quite bad15:40
mmccmandel: yes, there's a bug about not re-opening the main window when the dock icon is clicked. we could solve that bug by not having a dock icon :)15:47
mandelmmcc, yes, I wonder what happens if a user has several spaces and does not have a way to know the cp is open15:48
mmcchowever, we can either have the dock icon always or not at all. either the dock icon is always shown for as long as the controlpanel is running (even if the window is closed) or never…15:48
mmccmandel, the status menu is shown in all spaces15:48
mmccmfoord's suggestion was to be just like dropbox and skydrive, ie - just have the menu item15:49
mandelmmcc, yes, is a matter of sending the user to the right space if the cp is already opened15:49
mmccmandel: sending them to the right space when? I'll have to test this, but I assume that when you do something that results in a window.raise_() , it'll do something sane so you can use the window…15:51
alecummcc: on your branch, the status_changed_handlers property can probably be removed, since it does not seem to be used anymore.15:51
ralsinammcc: when activating by clicking on the menu thingie I guess15:52
mmccalecu: it's used in tests… I couldn't convince myself that those tests were unnecessary, so I left it in. let me find where they are15:52
mandelmmcc, you have cp in space 3 and the go to the icon menu to launch it you should be sent there15:52
mandelralsina, exactly that15:52
ralsinammcc: and raise_ is half-buggy on windows and ubuntu, I would not expect it to be perfect on mac :-(15:52
mmccralsina: yes, on osx it's like "raise_() then show()" or something15:52
ralsinammcc: exactly. And sometimes activate()15:53
alecummcc: I see that most tests directly access the underlying list (_status_changed_handlers). Only a few use the property...15:53
alecudobey: I've approved ralsina's branch, so it should be landing soon.15:54
ralsinaalecu: thanks!15:54
alecuralsina: thank you for the tests :-)15:54
ralsinaalecu: np, they had to be there, and arnet gave me time ;)15:55
mmccalecu, yes in fact now that I look at it, the actual backend property is never used, and the tests that use the property are using the version from the MockBackend class, which is annoyingly near complete15:55
alecummcc: right!15:55
ralsinammcc: so the mock is a copy of the thing?15:56
mmccalecu - so I'm going to remove it from the real backend and tweak those tests that use the mock15:56
* ralsina remembers why mock sucks15:56
mmccralsina: well, at least for this particular bit, the real function is so small that the mock is basically the same (but missing an IPC call, so it's still useful)15:56
alecuralsina: I think that's a custom mock, not the "mocker" module.15:56
ralsinaok15:56
mandelyes, mocker has been nearly killed in our code15:57
alecuralsina: anyway, that was my first reaction too :-)15:57
ralsinawe have a bunch of places where the fake is >= than the original15:57
alecumandel: I nearly don't trust that statement.15:57
ralsinabut better than not having a fake I guess15:57
alecumandel: :-)15:57
mandelalecu, hehe at least the test we have been doing recently, I do no some places that are dominated by mocker15:58
ralsinamandel: I would pay actual money to get rid of it. Everytime I had to fix a mock test it was easier to rewrite it.15:58
mandelralsina, maybe in another life when we have the time :)15:59
alecumandel: maybe there is no other life, but a hell forever fixing mocker tests!16:00
ralsinaTHE HORROR16:00
mandelwhere all the bad kids go.. hehe16:00
ralsina"wrong number of calls to method flogMeWithAPineApple" for eternity16:00
mmccbetter than C++ template type errors16:02
ralsinammcc: when I coded for KDE I once got a two-page template error. It meant "there is one space too many to the left of your third >" or something similar.16:08
mmccralsina: nice! (wow)16:09
mmccanyone know why this hasn't merged: https://code.launchpad.net/~mikemc/ubuntuone-fsevents-daemon/commserver-tests-2/+merge/12274116:12
mandellet me check16:13
ralsinammcc: looking...16:13
mandelmmcc, fixed :)16:13
mandelmissing comment16:13
mmccmandel, aha thanks. why doesn't it complain?16:13
mandelmmcc, the tarmac gods... dobey ?16:14
mmccand do we need to toggle the status again to make it notice?16:14
mandelmmcc, AFAIK we don't but it would not do any harm16:14
mandelmmcc, did it plus an other +1 :P16:15
mmccmandel: good. it's important that you approve of your own code :)16:15
mandelmmcc, I know hehehe16:16
mandelmmcc, I'v got a big ego :)16:16
mmccI clearly don't know what to say to that16:20
mandelmmcc, is more in the latin meaning than the eng one, although they are close16:23
mmccping alecu, just pushed your suggestion: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-sync-status/+merge/12297416:37
alecummcc: thanks16:37
alecummcc: done16:42
mmccalecu, thanks16:42
dobeymandel: i presume you meant "commit message" rather than "comment" there?16:55
mandeldobey, yes, sorry16:55
dobeyyou didn't need to vote for that :)16:55
mandeldobey, having fun :)16:59
mandelwell, rugby time, I'll catch you all tom!17:01
ralsinabye mandel!17:05
* briancurtin lunch17:39
ralsinadobey: want a rubberstam on https://code.launchpad.net/~dobey/ubuntuone-client-data/more-updates/+merge/123131 or are we supposed to do real code reviews? ;-)17:39
dobeyralsina: not yet17:40
dobeyralsina: found some annoyance i'm trying to fix17:40
ralsinadobey: ack17:41
dobeywhat's the right regex to compress multiple blank lines into a single blank line?17:41
mmccdobey, is ".art" in that COPYING.art a standard naming convention? why not COPYING-ART.txt so e.g. OS X knows how to open it?17:42
mmccjust curious, really17:42
dobeymmcc: it's follows the common convention of using COPYING.lesser or COPYING.lib for the LGPL exceptions to the GPL, and such17:45
mmccdobey: ah, ok17:45
dobeyit's COPYING.icons in ubuntuone-client currently for example; but i figured .art would be better since this project may include more art :)17:45
dobeyoh17:46
dobeymmcc: that reminds me. what was the icns creation tool you mentioned previously for osx? and is it open source?17:47
mmccdobey: the one that apple ships is called iconutil, and a quick google scan says it is not open source. I wouldn't have expected it to be17:48
dobeydamn17:48
mmccwhy?17:49
dobeyi was hoping it was; and written in a suitable language for running on other platforms17:49
dobeybecause png2icns doesn't support the @2x retina stuff17:49
mmccoh, definitely not other platforms :\ It uses CoreFoundation stuff17:49
dobeyralsina: ok, now you can 'review' it :)17:51
ralsinadobey: ha17:51
ralsinadobey: there17:52
dobeyralsina: btw, looks like the new shares tab is in the omgubuntu 12.10 features preview video :)18:10
ralsinawhoa18:13
ralsinanice :-)18:13
ralsinahope we had had another month to polish that one18:14
dobeyheh18:14
dobeyhey look at that. a green ball next to the ubuntuone-windows-installer build in jenkins18:15
dobeyyay me!18:15
mmcc:)18:16
* dobey waits for the beta1 release announcement so he can upload new sso18:17
* briancurtin back18:18
briancurtinwasn't much of a lunch, more of a try to buy two boxes of sudafed (different types) and get denied because you could cook meth with it18:19
dobeyblame iowa18:19
mmccbriancurtin: that's funny, last time I did that they just took my drivers license info. just like when you get codeine…18:20
mmccalso, bummer18:20
briancurtinmmcc: they did that too, but after the first scan it locks you out for X amount of days (which the cashier couldnt tell me X)18:20
ralsinabriancurtin: bad idea buying sudafed in a porkpie hat.18:20
briancurtinat least i had a good comeback: i dont want that second box anyway, i'd rather use methlamine18:21
briancurtin(i watch too much Breaking Bad)18:21
mmccbad timing - today was lab coat day at briancurtin's18:21
ralsinahahaha18:21
dobeyman; waiting for the battery to die on my sansa fuze is very annoying18:23
alecudobey: yay green balls! They beat blue any time!18:29
=== yofel_ is now known as yofel
dobeybrb18:36
alecuhmm.... should I get the new kindle fire hd, or a nexus 7?18:50
ralsinaalecu: you hate kindles!18:53
* ralsina is so getting the paper white18:53
* dobey is so not buying a tablet19:11
briancurtini kind of want a win8 tablet (seriously)19:11
dobeybriancurtin: well i can have one for $40 apparently (just upgrade win7 to win8 on my dell duo)19:15
dobeymmcc, mandel: there are no merge proposals for https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/jenkins-daemon-main, yet https://code.launchpad.net/~mikemc/ubuntuone-fsevents-daemon/mungeproj/+merge/122314 depends on it19:19
mmccdobey: yes, we're aware of that. I talked with mandel yesterday and he says he needs to add some more tests to it before he proposes19:20
dobeyok19:20
ralsinadobey: I don't see the kindle as a tablet. I see it as a book.19:21
ralsinawhich is why I want the paper white, not the fire19:21
briancurtinanyone have a minute for a four line diff (+2/-2)? https://code.launchpad.net/~brian.curtin/ubuntuone-dev-tools/py3-exception-message/+merge/12315119:25
ralsinabriancurtin: sure19:25
ralsinabriancurtin: global +119:27
briancurtinthanks ralsina19:27
mmccman, it's not easy to tell what these IPC tests are actually testing19:40
mmccI keep commenting out things that I think should break the tests, and they resist breakage!19:40
ralsinammcc: delete!19:41
mmccralsina: :| - I think it'd be even harder to prove that they're useless… They're just not clear19:42
mmccI was expecting to find a test case that would send a signal and check that it gets received without error, or at least a place to add one19:42
mmccthere's a test_remote_signals, but it patches emit_signal, so we only test that we call emit. Nothing is testing that the round trip is OK19:44
mmccso I removed the patch to emit_signal, just to see what happened, and only a few of the tests failed :o19:45
dobeymeh, and the launchpad ppa builders are being really slow right now :(19:45
ralsinadobey: happens every thursday19:48
dobeywell, every thursday when there's a beta release, anyway19:50
mmccoh duh, only the first test in the loop has to fail for the whole test case to fail19:51
ralsinaalecu: locked himself out of his house, so he will only be back later tonight19:55
ralsinasorry, that explains alecu locked himself out :-)19:55
dobeytab complete strikes again!19:56
dobeymeh20:12
dobeybah and now youtube videos are not playing on the youtube site itself, but the embedded videos on g+ play fine. wtf20:36
ralsinadobey: I get all youtube videos at 2x speed for a couple of weeks already20:38
thisfredsaves a lot of time20:39
ralsinathisfred: kinda ruins the music20:39
thisfredralsina, maybe it's the RIAA's new plot20:39
thisfredralsina, you just have to think of everything the alvin and the chipmunks version20:40
ralsinathisfred: allow me to retort: yeeeech20:42
dobeyhave a good evening all!21:27
mmccOK, time for me to go. If anyone feels like reviewing - this fixes the on_download_finished exception, and adds a test that'll hopefully help avoid that kind of thing in the future22:53
mmcchttps://code.launchpad.net/~mikemc/ubuntuone-client/fix-signal-exceptions/+merge/12318922:53
mmccTIL more than I wanted to know about u1client's twisted IPC and tests22:53
mmccthat was a warmup, tomorrow: fix the IPC with the root daemon22:53
mmccgood night22:54

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