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

slideIn a lot of my folders there is this header for Ubuntu One. Is there any way to remove it? I dont want to sync those folders05:05
slideHow do i get the nautilus integration to shut up? lol07:01
slidei dont want to share these folders07:01
duanedesignhello slide07:07
slidehello07:07
duanedesignslide: i think it is right-click in the folder and select Ubuntu One > Hide Ribbon07:09
slideaaah yea thanks!07:10
JamesTaitGood morning all!08:09
duanedesignhello JamesTait08:09
* fagan break10:22
=== teknico is now known as teknico_away
ralsinagood morning people!11:50
faganmorning ralsina11:51
faganSo weird not having anyone online till lunchtime11:52
fagannow I know how mandel felt :)11:52
karnifagan: It's because everybody's busy working :P11:55
fagankarni: and in argentina :)11:56
* fagan was working too11:56
karnifagan: you work with people from Argentina only?11:56
fagankarni: mandel is in spain11:56
karnifagan: what do you mean 'in argentina', a sprint?11:56
ralsinaMandel had some plane problems and will probably not be around today either11:57
ralsinakarni: mandel is the only other european in desktop+11:57
fagankarni: well the entire team is in Argentina except me and mandel normaly11:57
karniralsina: hah! :)11:57
faganbut yeah there was a sprint too so was pretty lonely for me last week but I found stuff to do and learn11:58
ralsinaAnd he was in argentina until like 3AM your time today11:58
faganralsina: I didnt actually tell you what I did last week either did I, I was reading those books I got like the twisted one11:59
faganralsina: and writing up my report that I have to submit to my college11:59
faganwhich is pretty huge11:59
karniralsina: I see11:59
ralsinafagan: cool11:59
faganralsina: I was actually doing a bit of that earlier today too since I didnt have a specific thing to do12:00
karnifagan: I guess interns can do that - I would feel guilty if I read (even Android related) books on company time ;)12:00
fagankarni: yeah I was kinda in need of learning12:00
fagankarni: and I didnt have any assignments so made sense :)12:01
karnifagan: I'm in need of learning all the time.12:01
ralsinakarni: well, interning *is* an educational thing12:01
karniralsina: Indeed :)12:01
faganralsina: exactly ive learned stuff even when I wasnt expecting which is awesome12:02
faganlike mainly how companies work internally is great to learn alone12:02
ralsinakarni: and I am supposed to be training him and not doing much of it :-(12:02
karniralsina: Then he's excused for reading books! hahah ;D12:03
faganralsina: well it is incredibly busy because of the windows client12:03
nessitabuenos días!12:03
ralsinaok, gotta reboot back to windows, be back in a bit12:03
faganI read a great book written by a guy who worked as a project manager at digital the company that flopped in the 80s12:03
karnihi nessita , and bye! =D12:04
karnioh crap, it was ralsina rebooting lol12:04
faganIt was all about software development practices that were used and how to budget, manage and all that12:04
karniscratch that nessita , hello! :D12:04
faganhey nessita12:04
nessitahi karni, fagan12:05
karnifagan: srsly? that must have been boring. I'm reading up recently on TDD and testing practices, exciting!!12:05
karnifagan: I mean, budget, manage.. bleh ;d12:05
fagankarni: well this was pretty interesting because it gave me insight into how people in upper management work to o12:05
fagan*too12:05
faganlike how they make the decision to go with a project12:06
faganor not go with a project12:06
faganand loads of other stuff12:06
karnifagan: I had a separate class about organizations and management in college. Man that was boring.12:06
fagankarni: well this one had a load of stories and all that too12:06
karniuhh.. peculiar bug me haz12:06
faganso it was fairly interesting to read12:06
karnifagan: cool!12:06
faganand I could skip over the bits I did learn in college12:07
faganlike who needs to read about waterfall12:07
fagan:D12:07
* fagan prays he never has to do waterfall 12:07
* fagan grabs some lunch before standup 12:08
alecuhello #ubuntuone!12:13
karnihello alecu !12:14
faganbuenos ddos alecu12:16
fagan:D12:16
alecufagan, "good distributed-denial-of-services"???12:17
faganalecu: yep :)12:17
alecufagan, what does ddos mean to you?12:17
faganalecu: well it ruined my favorite game but I was changing the spanish language for comic effect :D12:18
alecuoh, right.12:19
ralsinabuen dia alecu!12:19
* alecu laughes12:19
alecuralsina, buen día jefe!12:19
ralsinahow you doing today alecu? Better?12:19
alecuralsina, yup. better. not muuuuuch, but better.12:20
ralsinaalecu: I missed the explanation because of IRC trouble12:21
karnialecu: For Android 2.0+, this is what we'll be using in Ubuntu One Files as far as login/registration is concerned: lp:ubuntu-sso-java-client lp:ubuntu-sso-android-client (latter is an Android Library). They still need some love, but you can see how they're used in lp:ubuntuone-android-files - apart from regular Android library usage (pasting stuff to AndroidManifest etc), I did use a separate activity to tell the user (s)he needs to ...12:21
karni... add an account. Also, since this uses AccountManager, if there's U1Files or (soon) U1Music installed on the device already, there's even no need to use any of the two - a 3rd party app can simply request the token directly from AccountManager, and once the user grants access, it can use the OAuth token cached in AccountManager. Currently, although implemented, we've disabled registration in lp:ubuntu-sso-android-client, because it ...12:21
karni... requires copying the token from email, and pasting into the app, which is not user friendly. Instead, we pop the browser, until we have better SSO registration experience via the API.12:21
alecuralsina, yup, I saw you disconnecting just as I said "hello!"12:21
karniwow, that's a beefy message!12:21
alecukarni, nice!!!!12:22
karnialecu: :)12:23
alecukarni, it makes me want to start up eclipse again and change droidcouch to use it.12:23
* alecu has not started eclipse in at least 4 or 6 months.12:24
karnialecu: I spent a little time making it also Ant friendly :) All the instructions are in HACKING.txt in each project12:24
karnialecu: hah =)12:24
alecuralsina, so, I've seen that mandel left a few branches up for review...12:25
nessitaalecu: hi there!12:25
nessitaalecu: yes, we're needing a review for https://code.edge.launchpad.net/~mandel/ubuntuone-client/fix-aq-tests-windows/+merge/6999712:25
ralsinaalecu: yes12:25
alecunessita, looking12:25
ralsinaand he won't be around today, so we should try to move them without him if needed12:25
alecuack12:26
alecuralsina, btw, regarding bug #80367212:27
ubot4Launchpad bug 803672 in ubuntuone-client (Ubuntu) (and 2 other projects) "Do not start two instances of this process (affects: 2) (heat: 22)" [Undecided,Invalid] https://launchpad.net/bugs/80367212:27
alecuralsina, did it happen when running sd using python, or using an .exe bundle?12:28
* ralsina is all ears12:28
ralsinaalecu: python, but I have the exe in the place where the registry says12:28
ralsinahaven't tried it with just exe12:29
alecuralsina, cool. I'll take a look after reviewing these branches.12:29
alecuralsina, I have not tried with the .exe yet either, so I was curious, because using python I didn't got that error.12:29
alecuralsina, but I'll try with trunk first, because some other thing might have changed.12:30
DiegoSarmenteroralsina, question: now that we are reimplementing setTitle and setSubTitle, should I remove the "title" and "subtitle parameters in the constructors and use just that function from outside the class, or leave both options, and use setTitle, etc inside the class too?12:30
ralsinaalecu: ok12:30
nessitaDiegoSarmentero: we should avoid all code duplication, and so I think that we need to remove all the parameters from the classes otherwise we need to repeat the if to hide/show the labels in every class, right?12:32
ralsinaI say leave the parameters and then call setTitle / setSubtitle12:32
nessitaralsina, DiegoSarmentero: can we have those methods named with snake_case#?12:33
DiegoSarmenteroralsina, yes, that was what i was doing... so i leave the parameters and call that function instead the if12:33
DiegoSarmenteronessita, we could named with snake_case in the controller12:33
DiegoSarmenteronot in SSOWizardPage12:34
nessitaDiegoSarmentero: this is the sso-client branch, right?12:34
DiegoSarmenterobecause we are reimplementing Qt methods to hide the actual behaviour12:34
DiegoSarmenteronessita, sso and wizard12:34
DiegoSarmenteronot yet ready12:34
nessitaDiegoSarmentero: so, the setTitle is a method we define, right?12:34
nessitaor is it inherited from Qt?12:35
DiegoSarmenteronessita, redefine12:35
DiegoSarmenteroinherited12:35
nessitaah, ok12:35
j0nrhey folks12:35
j0nram having problems with 'save to phone'12:35
j0nrsimply its not really working for me12:35
j0nrif I just check one song, then hit 'save to phone' the downloading icon appears next to the track but keeps stopping and starting12:36
j0nrand struggles to complete.12:36
j0nrI find the only way i can get tracks onto my phone is to 'play' them, which caches them on the phone, (is that what the orange star means?) then, whilst cached, check and save to phone.12:37
ralsinanessita: inherited methods, so camelCase12:38
fagankarni: ^12:40
nessitaalecu: do not bother doing the second review, I don t know why mandel proposed that since we agreed we'll skip file_shelf test suite12:40
karnihmm12:40
karnifagan: thank you12:41
karnij0nr: You have filed a bug about this, right?12:44
karnij0nr: Yes, orange star == song is cached12:44
karnij0nr: I'll pass this on to Chad, who's been taking care of Ubuntu One Music. He might already know what's wrong.12:45
karnij0nr: Thank you for reporting this.12:45
alecunessita, by second review you mean this? https://code.edge.launchpad.net/~mandel/ubuntuone-client/fix-file-shelf-windows12:47
nessitaalecu: yes12:47
alecunessita, and I don't recall either: why skip it?12:47
nessitaalecu: file_shelf is something used in old versions of u1client12:47
nessitaalecu: and I'm not comfortable with the fix that mandel added using os.path.split12:48
fagan10 minutes to standup12:49
nessitasince is hiding the fact that fd.name returns different things in windows and in linux12:49
alecunessita, also, that branch is missing the dependency on the previous one.12:52
j0nrkarni: ok :)12:52
alecunessita, I can work on a branch to skip those tests after the fix that ralsina requested for activation.12:52
karnij0nr: his nick is CardinalFang, he should be around soon.12:52
nessitaalecu: thanks, but I'm adding that to my fix-tests branch. I have another task for you, if interested12:53
alecunessita, shoot12:54
nessitaalecu: either set_dir_readwrite and/or set_dir_readonly are not doing what they should. Calling readonly and then readwrite, do not restore the perms in a dir12:54
nessitaalecu: I need to file a bug12:54
alecunessita, great, point it to me, and I'll take a look.12:55
nessitaalecu: bug #82035012:56
ubot4Launchpad bug 820350 in ubuntuone-client "WIndows: either set_dir_readwrite and/or set_dir_readonly are not doing what they should (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/82035012:56
faganme13:00
ralsiname13:00
DiegoSarmenterome13:00
fagandobey, nessita, alecu13:00
=== m_conley_away is now known as m_conley
nessitame13:00
alecume13:01
alecufagan, go13:01
faganDONE13:01
fagan* more of my report for college13:01
fagan* Tried to figure out what was going on with 11.10 on my computers so I can file bugs (still haven't figured it out but going to fresh install and see if its still a problem)13:01
faganTODO13:01
fagan* finish my report13:01
fagan* help with what ever any one wants13:01
faganBLOCKED13:01
fagan* By bugs in 11.1013:01
faganralsina:  go13:01
DiegoSarmenteroralsina, ?13:02
nessitaDiegoSarmentero: go!13:02
alecuDiegoSarmentero, go13:02
faganmight be having a connection issue again13:02
DiegoSarmenteroDONE:13:02
DiegoSarmenteroModify SSO and Wizard to work with a reimplementation of "setTitle" and "setSubTitle". Test to validate this new implementation almost complete.13:02
DiegoSarmenteroTODO:13:02
DiegoSarmenteroKeep working on Installer with embed Control Panel branch. And UI bugs from Installer.13:02
DiegoSarmenteroBLOCKED:13:02
DiegoSarmenteroNo.13:02
ralsinaDONE: bug #819917 bug #819878 bug #811246 bug #810053 TODO: bug #814686 and more13:02
ralsinaBLOCKED: no, NEXT: DiegoSarmentero13:02
DiegoSarmenteronessita, go13:02
nessitaDONE: half day off, reviews, more fixing test_vm: found out that either set_dir_readonly and/or set_dir_readwrite are not doing what they should, so shares dir can not be removed13:02
nessitaTODO: make more tests pass13:02
nessitaBLOCKED: nopes13:02
nessitaNEXT: alecu13:02
alecuDONE: took a sick day13:02
alecuTODO: reviews, work on bug #82035013:02
alecuBLOCKED: not today13:02
alecuNEXT: dobey13:02
ubot4Launchpad bug 819917 in ubuntu-sso-client "show_gui.py doesn't work anymore (affects: 1) (heat: 6)" [Undecided,Fix committed] https://launchpad.net/bugs/81991713:02
ubot4Launchpad bug 819878 in ubuntu-sso-client "On windows: "python setup.py install" fails (affects: 1) (heat: 6)" [High,Fix committed] https://launchpad.net/bugs/81987813:02
ubot4Launchpad bug 811246 in ubuntuone-windows-installer "The Control Panel is not opened in the last step (affects: 1) (heat: 10)" [High,Fix committed] https://launchpad.net/bugs/81124613:02
ubot4Launchpad bug 810053 in ubuntuone-windows-installer "Credentials obtained by the installer don't work. (affects: 1) (heat: 9)" [Critical,Fix committed] https://launchpad.net/bugs/81005313:02
ubot4Launchpad bug 814686 in ubuntu-sso-client "QT UI: 'Sign in' button can be clicked even if not values were entered, same happens with verification code (affects: 1) (heat: 13)" [Medium,In progress] https://launchpad.net/bugs/81468613:02
ubot4Launchpad bug 820350 in ubuntuone-client "WIndows: either set_dir_readwrite and/or set_dir_readonly are not doing what they should (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/82035013:02
ralsinaLAGGGGGG13:03
alecuralsina, stop leeching!13:03
faganalecu: hehe13:03
=== teknico_away is now known as teknico
faganI never asked how is the internet in AR?13:04
nessitaany comments?13:04
nessitaalecu, ralsina, Chipaca: are we having mumble today?13:04
alecunessita, I'm -0 to that13:05
faganNa I dont have comments13:05
ralsinaI'm ok with a mumble13:05
faganOh ralsina do you want to proof read my report when I have it done13:05
ralsinafagan: usually, the same thing as everywhere else. In fact my IRC problems are because of a server in the US that is acting up13:06
faganralsina: ahhh ok13:06
ralsinafagan: sure, send it over13:06
faganralsina: the report doesnt have anything internal on it its just a brief about the company13:06
faganralsina:  cool13:06
faganthe only thing that would have been dodgy I asked about and im not going to write about it13:07
dobeyme13:12
dobeyλ DONE: yet more shim work13:12
dobeyλ TODO: finish initial shim13:12
dobeyλ BLCK: None.13:12
nessitabrb13:28
* nessita back13:39
nessitaalecu, ralsina, Chipaca: shall we mumble?13:50
dobeygrr, python-aptdaemon is being super annoying.13:56
dobeyif it ain't one thing...13:57
nessitaalecu, ralsina, Chipaca: hello?13:57
Chipacanessita: in futures call13:58
ralsinanessita: can it be in a while? I am having some local trouble and chipaca is in another call anyway13:58
nessitaChipaca, ralsina: would you please let us know when you're available?13:59
=== m_conley is now known as m_conley_away
ralsinaI will be in about 30 minutes14:00
DiegoSarmenteronessita, ralsina I need reviews for this branches: https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/titles-on-pages/+merge/70169   AND    https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/titles-on-pages/+merge/7015714:16
ralsinaDiegoSarmentero: on it!14:17
DiegoSarmenteroralsina, thanks14:17
nessitaDiegoSarmentero: sure14:17
DiegoSarmenteronessita, great... now everything should be ok14:18
DiegoSarmenteroralsina, nessita mmmmm it seems that launchpad didn't rescan my branch yet14:19
nessitaDiegoSarmentero: no problem, I'm branching locally14:19
ralsinaDiegoSarmentero: it takes a while sometimes14:19
nessitaDiegoSarmentero: is mumble working for you?14:19
DiegoSarmenteronessita, no, about that...... is there a wiki or something where it explains how to configure... i don't know if you have to setup any special server or something... and i couldn't find it on the wiki14:20
nessitaDiegoSarmentero: yes, let me give details in private14:20
nessitaChipaca, ralsina: hello bosses! any news re: mumble so we can schedule our lunches?15:14
ralsinanessita: I am free now15:15
dobeylunch time here. bbiab :)15:16
ralsinalaunchpad is not scanning branches. That means we can't merge stuff easily, right?15:18
nessitaralsina: not sure if LP is that related to tarmac15:20
ralsinaAnyway, if it ever comes back... https://code.launchpad.net/~ralsina/ubuntu-sso-client/validate-harder/+merge/7032015:21
nessitaralsina: so, shall we schedule a time for mumble?15:21
nessitaChipaca: ^15:21
Chipacanessita: 39 minutes from now would wfm15:21
nessitaChipaca: sounds great. alecu, DiegoSarmentero, ralsina: meeting at 1pm ART?15:23
DiegoSarmenteronessita, ack15:23
alecunessita, ack. Let's get some lunch then.15:23
nessitayeah!15:23
ralsinaAs I said, I am free now15:23
nessitaralsina: would you be at 1pm?15:24
ralsinaok, 1PM it is15:24
alecunessita, ralsina, DiegoSarmentero: anybody has seen this? http://pastebin.ubuntu.com/658005/15:45
ralsinaalecu: I did. You need to remove your xdg and install as the wiki says15:46
alecuralsina, great, thanks.15:46
nessitaalecu: ping15:50
alecuralsina, great, thanks.15:51
nessitaalecu: test_eq_inotify is failing for me in trunk, with a scary error regarding threads and a thread pool: http://pastebin.ubuntu.com/658012/15:51
nessitaalecu: any clues?15:51
nessita@ping15:52
ubot4pong15:52
alecunessita, there's nothing scary!15:53
nessitaalecu: is scary to me15:53
nessitaalecu: do you understand what's wrong?15:53
alecunessita, the threadpool part of the stacktrace just says that it's failing in the bit that's being run on the watch thread15:54
alecunessita, the other error I remember seeing it with mandel, when trying to open *something*. Not necesarily a file, but something.15:54
nessitaalecu: so, shall the watch thread handle that?15:56
alecunessita, so: it's trying to open the directory to set up the watch, and either the path is bad or the directory is no longer there.15:56
alecunessita, it's the watch thread that's failing.15:56
nessitaright15:56
alecunessita, _watch is the function being run inside the thread.15:56
nessitaright15:56
alecunessita, and on the first line of that function it's failing15:56
alecunessita, so, yes: we should somehow handle this error.15:57
alecunessita, but right now it looks like an issue in the way the test was set up.15:57
alecunessita, is that happenning on trunk to you?15:57
nessitaalecu: yes15:57
nessitaalecu: is it for you?15:57
alecunessita, I'm running those tests now.15:58
alecuouch, I forgot TRIAL_TEMP_DIR16:00
alecunessita, all tests passed on trunk16:01
nessitaalecu: among other things, I see calls to add_watch that are not being yield on16:01
nessitaalecu: you up to date? seems like an ugly timing issue16:01
nessitamumble!16:01
alecunessita, can you try setting TRIAL_TEMP_DIR to a clean folder?16:02
nessitaalecu: yes, already did it, but I will do it again16:02
alecunessita, what calls to add_watch are not being yielded on?16:02
alecunessita, don't worry about that, I just tried with the same TRIAL_TEMP_DIR and it seems to be working.16:02
nessitaalecu: confirmed is failing in a new temp dir16:03
nessitaalecu: calls to add_watch inside test_eq_inotify16:03
nessitaChipaca: mumble?16:04
=== m_conley_away is now known as m_conley
=== beuno is now known as beuno-lunch
mandelralsina: ping16:30
alecuhola mandel!16:30
alecumandel, where are you now?16:31
mandelalecu: hola!!!16:31
ralsinamandel: pong!16:31
mandelalecu: in madrids airport trying to get back home… I lost my connection flight and have to wait for 3 more hours16:31
alecumandel, :-(16:31
mandelralsina: hello, did you guys take  look at my branches, I'm going to put some hours from the airport :P16:32
alecumandel, we approved the first one, and rejected the second16:32
mandelalecu: yeah, is a pain, but I'm getting used to it, only bad things is that I smell a little hehehe16:32
alecumandel, we are mumbling right now16:32
alecumandel, hahahaha16:32
alecumandel, yes, it sucks.16:32
mandelalecu: what was wrong with the second one?16:33
* mandel goes to launchpad16:33
alecumandel, nessita reminded us that the bits in the second branch are only used in old versions of syncdaemon.16:34
mandelalecu: funny thing, is my bday and I'm spending it at the airport, I feel like a real business man :P16:34
alecumandel, oh!!!! right!!!!16:34
alecuhappy birthday, Mr. Vice-President of Windows!16:35
mandelalecu: yes, indeed they are just used in old version, but there are tests everywhere that depend on those, and I think is better to have as many green ligths as possible :)16:35
mandelalecu: hehe, I'm vc of nothing ;)16:35
alecumandel, she suggested skipping those tests on windows16:35
mandelalecu: that involves skipping tests for fsm too, which is a pain and is suppose to be multplatform16:36
mandelalso, having deprecated code that does not work is dangerous in the case we ever want to use it, specially when it has already been fixed16:36
alecumandel, and also she commented there's an issue with masking a filename that's absolute on windows, but relative on linux.16:36
alecumandel, or something like that.16:36
nessitamandel: I don't like the adding to os.path.split16:36
mandelnessita: why?16:37
nessitamandel: if fd.name is returning different stuff in each platform, we need a more complex solution16:37
mandelnessita: is just in the test of a fake unpickle method, not in the actual code16:37
nessitanot just masquerading this with os.path.split16:37
nessitamandel: then why fd.name returns different stuff in each platform?16:37
nessita(if it's a fake)16:38
* DiegoSarmentero brb... lunch!16:38
mandelnessita: because open_file has the windows decorator which converts the path in an abspath with the \\?\16:38
nessitamandel: and also, I don't understand how the test_fsm depends on stuff that are not being used un windows16:39
mandelnessita: yes, that is why I started fixing fileshelf, otherwise I would have not touched it16:39
nessitamandel: can we make test_fsm not depend on file_shelf for code that is currently being used16:39
nessita?16:39
mandelnessita: we could, indeed16:39
nessitamandel: I think that is the solution16:39
nessitaotherwise we're not testing what we're running16:40
mandelnessita: better than a solution that has already been implemented?16:40
ralsinaI think I am going to take a rather long lunch and put back the hours later, because I have some errands. I should be back in 2 or 3 hours :-(16:40
mandelnessita: I'd say we are testing all the API that sd provies, that it is not used I really don't care much (to a level ofcourse)16:40
nessitamandel: but, 2 things:16:40
mandelralsina: before you go, swap day tom for me?16:41
nessita* fd.name should return the same in every platform. If that is not the case, we should fix why and not hide the issue using os.path.split16:43
nessita* you said that if we skip the file_shelf tests, we need to also skip test_fsm becasue test_fsm depends on that. So, I say, how come we're depending on running tests for test_fsm, which is a feature we do use in windows, on things that we're not running in windows (file_shelf)?16:43
nessitawe want test_fsm to run all the suite using the features we will run in windows, no?16:43
alecunessita, regarding the issue in the _watch function: can you print self._path before calling CreateFile? Also, print os.path.exists(self._path) and os.path.isdir(16:43
alecuself._path)16:43
mandelalecu: what is the problem with _watch?16:44
ralsinamandel: sure, poor baby ;-)16:44
nessitaalecu: in which file should I add the print for self._watch?16:44
alecunessita, ubuntuone/platform/windows/filesystem_notifications.py16:45
mandelnessita: fd.name does return the same in every platform, the issue here is that the fd returns the path that was passed to open, because we use open_file, for reasons we both know, we call open with an abs path with  \\?\, which makes fd to set the name to the abspath, we can change the code to call open with the abspath and then you will have the same tests, which is a compromise I'm willing to have16:45
alecunessita, at the start of def _watch(), just before the call to CreateFile16:45
mandelnessita: since maybe using os.path.split was not the correct way to fix the tests16:45
alecunessita, btw: CreateFile is in fact being used to "open a directory". talk about api naming...16:46
nessitamandel: that makes sense, but, I'm now worried that test_fsm will not work without file_shelf. We need test_fsm to work without it, since we will use it without or16:46
nessitaalecu: on it16:46
mandelnessita: indeed, there ate tests in test_fsm that probable do not belong there, they seem to be testing metadata issues that should clearly be placed somewhere else, but we should ask chicharra about that16:47
nessitamandel: so we can skip those since are not fsm-related16:47
mandelnessita: yes, we skip the metadata ones in fsm and move forward, yet we fix the fileshelf tests no to use os.path.split (easy fix) and once those to are landed we talk with chicharra about why do we have this types of tests mixed16:48
mandelnessita: maybe moving them to test_metadata.py is a better approach rather than having them in tst_vm and test_fsm16:49
mandelI recall there were some metadata tests in test_vm too, but I might be wrong16:49
nessitamandel: vm metadata and fsm metadata are different metadata16:50
nessita*very* different16:50
mandelnessita: are they… joder!!!! care to explain me the diff?16:50
nessitamandel: let me confirm I'm not lying to you16:51
nessitafacundobatista: ping16:51
mandelnessita: ok :)16:52
nessitamandel: it used to be for sure, but now with tritcask I'm in doubt16:52
mandelnessita: yeah, would be nice to have deprecation warnings etc.. so that we could know, could be an easy bug for chicharra16:53
nessitaalecu: http://pastebin.ubuntu.com/658041/16:54
nessitaalecu: anyways, I see bad setupping in that test...16:54
nessitaok, lunchtime for me16:54
mandelalecu, nessita: that is easy to fix, call CreateFileW16:56
mandelalecu: the issue is that you are calling a unicode path with the CreateFile function instead of the unicode one from COM, which ends in W16:57
mandelalecu: mainly, puto COM, puto Windows, puto MSDN, yet easy to fix16:57
=== jderose1 is now known as jderose
mandelalecu: in case you need the docs: http://msdn.microsoft.com/en-us/library/aa363858(v=vs.85).aspx do a search for unicode (if the page is in english)17:01
alecumandel, the very weird thing is that it works ok for me, and I'm also using unicode literal paths there.17:01
mandelalecu: really? dammed, well nevertheless we should be using CreateFileW17:02
mandelalecu:  I though that nessita was using E: as here volume label, am I wrong?17:02
alecunessita, let's do what mandel says: changing CreateFile to CreateFileW17:05
mandel@ping17:10
ubot4pong17:10
mterryaquarius, heyo.  I'm getting not infrequent 500 (and even occasionally 503) errors when uploading deja-dup backup files to U1.  How do I go about helping to fix that?17:19
aquariusmterry, I know vds has been working on a problem with upload failures -- vds?17:19
aquariusmterry, what's the body of the error responses?17:19
=== beuno-lunch is now known as beuno
mterryaquarius, I haven't dug that out yet, would have to do some work to get it17:20
aquariusmterry, a 503 is a temporary error on the server (that is: it might be due to overloaded database or something), and can be retried.17:20
mterryWhich I'm happy to do, just haven't yet17:20
mterryaquarius, we do retry 5 times and take the last error17:20
mterryso I guess should just wait a bit17:20
mterryor back off longer17:20
aquariusperhaps, yeah. We're working on some DB overload issues exactly now. Maybe exponential backoff or something rather than 5 in quick succession?17:21
mandelmterry, aquarius: I thin vds is off for 2day, maybe you can add somewhere a question for him to take a look…17:21
aquariusa 500 -- it would be most useful to have the error body so we can see what the U1 server is complaining about17:21
mterryaquarius, I also note that last I checked the server returned generic 500 for "out of space".  I think I filed a bug about that.  Though that's unrelated to this issue17:22
vdsmterry, do you have an oops id?17:22
mandelvds: o/ hello17:22
vdsmandel, hello! :)17:22
vdsmterry, that means you're out of quota17:23
mterryvds, not on hand.  I assume that would be in the body?17:23
vdsmterry, yes17:23
mterryvds, 500 always should mean out of quota?  I seem to be getting it when not17:23
aquariusvds, do we return oops ids in JSON responses?17:23
vdsmterry, having an oops id would be very useful17:23
mterryAt least, disk quota17:23
mterryvds, can you lookup recent oops ids for a given account?17:23
vdsmterry, out of space can mean out of quota17:23
mterryvds, else give me a bit and I can get one17:24
vdsmterry, I wish I could do that, would make my life much better! :)17:24
mterryvds, are there quotas besides disk space?17:24
vdsmterry, not sure what you mean17:25
vdsmterry, I meant that for a while we returned a 500 when out of quota17:25
vdsnow we return a 50717:26
mterryvds, oh you do!?  /me hugs vds17:26
mterryvds, I filed a bug about that, let me go close it then17:26
nessitamandel: I'm not using E: for the temp dir, but C:\Temp\something17:26
mterryvds, or maybe you can to verify we're talking the same thing:  bug 80038417:26
ubot4mterry: Bug 800384 on http://launchpad.net/bugs/800384 is private17:26
mandelnessita: ok, try with CreateFileW since we are using unicode, if it is not that we have to look closer...17:27
mandelnessita: which volumes do you have working in the vm?17:27
nessitamandel: not sure what you mean17:27
mandelnessita: as in, tests code is in E but temp is in C for example17:28
nessitamandel: that is correct17:28
mandelnessita: ok.. alecu is that correct for you? ^^^17:28
alecumandel, nessita: I also have code on E, temp on C17:32
mandelalecu, nessita: I wonder what is the diff for one to work and the other not to...17:32
nessitaalecu: so, the whole test_eq_inotify is passing for you?17:35
nessitaalecu: I changed to CreateFileW and I have a lot of more errors17:36
nessitabad things like calling os.symlink are failing17:36
nessitawhich should be failing for you...17:36
* vds looks at the bug17:37
alecunessita, all the tests in test_filesystem_notifications.py  pass: http://pastebin.ubuntu.com/658066/17:37
nessitaalecu: but the issue is in test_eq_intify17:38
nessitaalecu: test_eq_inotify *17:38
alecuhmm17:38
nessitaalecu: I said that from the beginning :-)17:38
alecunessita, doh17:38
nessita:-P17:38
mandelalecu: we might want to update the tests from filesystem notifications to use illegal unicode chars17:39
* mandel does not have time to do it today...17:39
nessitamandel, alecu: all the calls to add_watch in test_eq_inotify are not being yield on, I'm fixing that17:41
mandelnessita: oh, that would be a very good thing to do :)17:42
alecunessita, now I'm getting the CreateFile error that nessita mentioned, :P.17:43
nessitamandel: does the removal of watches return a deferred as well :-)17:43
nessita?17:43
nessitamandel: I mean ? not :-) :-P17:43
* mandel looks17:43
nessitaalecu: if you change CreateFile to CreateFileW, do you get a lot more of other errors?17:43
mandelnessita: no, it does not17:44
alecunessita, I'm testing that, and it looks like it returns a lot more errors.17:45
alecunessita, but running without W gets stuck in the second test, like forever.17:45
nessitaalecu: yes. I'm checking if yielding on the add_watch makes things better17:45
alecuand on the second run trial aborts when trying to delete old folders, and I have to set a new temp folder17:45
mandelalecu: may I see the errors when using the W?17:47
alecumandel, sure17:47
mandelalecu: I don't have much time left, but I might be able to give you a hint of where to look17:47
alecumandel, http://pastebin.ubuntu.com/658074/17:50
* mandel looks17:50
nessitamandel, alecu: I bet most of the errors are caused by the lack of yield17:50
alecumandel, (you should ignore the first run of trial)17:50
mandelalecu: ok17:51
nessitamandel, alecu: so do not spend time on that until I add all the yields17:51
mandelalecu: I wonder why do you have an AlreadyCalledError.. I though we fixed that in the FileSystemNotifications, do you have the last trunk?17:52
mandelalecu, nessita: I need to run though T4 in Madrid airpot to my gate, I'll connect again if I have time17:54
mandelbye!17:54
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-installer/install-pages/+merge/7034617:57
dobey^^ can i get a couple reviews?17:57
dobeybbiab, have an appointment to get to18:18
mterry_vds, still here?  I have a 500-status oops id for you: 2041updownZaAeFGbcdbDCJEIFdaFfeFfGBAJfDGedG1538019:12
vdsmterry_, I'll take a look19:14
vdsmterry_, it's a new one?19:16
vdsI can't find it yet...19:16
mterry_vds, a few minutes old19:16
vdsmterry_, it's going to take a while before I'll be able to look at it, I'll let you know, thanks for the moment19:17
mterry_vds, cool19:17
alecunessita, ralsina: ping19:20
nessitaalecu: desperate pong19:21
nessita:-)19:21
dobeyi wonder if anyone reviewed my branch. probably not19:21
alecunessita, desperate?19:21
nessitaalecu: tests are driving me crazy, they are way more broken than expected :-/19:21
alecuoh, ralsina is gone19:21
alecu:-(19:21
nessitaalecu: how can I help you?19:21
alecunessita, regarding permissions: "it's complicated"19:22
nessitaalecu: I bet very19:22
nessitaalecu: can we fix it? :-D19:22
alecunessita, don't know.19:22
alecunessita, the current code is setting access for some groups, and that looks right. But...19:22
alecubut the groups are not the default groups that are set when the file is created from scratch19:23
DiegoSarmenteronessita, the method "login_email_password" from CredentialsManagerTool not longer exists, isn't it?19:23
nessitaalecu: I narrowed the problem to this IRL test:19:23
alecuand I can't find the reason why this is being done this way.19:23
alecunessita, and I can't find the right windows api call to get the "default" permissions for a file.19:23
alecunessita, plus, this won't work at all on a drive formatted on anything other than ntfs19:24
nessitaalecu: when I try to remove a dir that was set to readonly with our code,  the explorer tells me I need to switch to admin to do taht, I say yes, but then it complains it needs the test user privileges to do that19:24
nessitaalecu: ouch!19:24
nessitaDiegoSarmentero: is new19:24
nessitaDiegoSarmentero: what error do you have?19:24
alecu(it's not very common, but it's the same that's happening to us with E:)19:24
alecunessita, I got that same warning too19:25
DiegoSarmenteronessita, i'm trying to login with the installer but i receive that this method doesn't exist..... i'm going to try to update ubuntuone-client19:25
nessitaDiegoSarmentero: yes, please update the whole dependencies and set PYTHONPATH properly19:25
nessitaalecu: I'm very close to advice the following:19:26
nessitaalecu: on windows, we don't set shares to readonly. Period. :-)19:26
alecunessita, sounds reasonable for the time being19:26
DiegoSarmenteronessita, in other news :P did you have the chance to review my branches? or launchpad is not working properly yet?19:26
nessitaalecu: I think syncdaemon should filter events inside RO shares19:26
alecunessita, I would really like to discuss mandel to understand how did he approach this, because the way he is doing it looks reasonable.19:26
alecubut it does not work yet :-(19:27
nessitaDiegoSarmentero: I did not have the chance, I will later today. Are they blocking you?19:27
nessitaalecu: right. ANyways, we need to support fat19:27
nessitaso...19:27
alecunessita, not sure if we need to support fat19:27
DiegoSarmenteronessita, nop... i have merged the other branch locally to keep working19:27
nessitaalecu: why not?19:27
alecunessita, syncdaemon runs from the home folder only19:27
nessitaDiegoSarmentero: great19:28
nessitaalecu: and we can't have home folders with fat?19:28
alecunessita, I think it should be uncommon, since the default for xp has always been ntfs.19:28
alecunessita, so it really should be a question of if we want to drop support for that.19:29
alecunessita, probably this should be a problem for a computer that was updated to xp from a previous version that used fat.19:29
nessitaalecu: can you please write an email to the windows team about that? including the bosses19:29
alecunessita, sure.19:29
nessitaalecu: and I ll reply proposing dropping this19:30
nessitathis == setting stuff to readonly19:30
alecunessita, ack19:30
dobeythisfred, alecu, nessita: care to review https://code.launchpad.net/~dobey/ubuntuone-installer/install-pages/+merge/70346 ? :)19:35
thisfreddobey can do, in a few19:35
nessitadobey: I have 2 queued reviews and tons of failing tests to fix, I can do it tomorrow morning, sorry :-/19:35
alecunessita, when does syncdaemon set stuff to "read-only"?19:58
nessitaalecu: because there are shares that are read-only19:58
alecunessita, and also: is the user supposed to be able to delete those files?19:58
nessitaalecu: to prevent regular users to modify stuff19:58
alecunessita, oh, ok.19:58
alecuhmmm19:58
alecuok19:58
nessitaalecu: no, the user should not be able to remove19:58
dobeyi better put these pringles away20:02
diverse_izzueupload on U1 seems to be very slow. it's true my connection doesn't seem to have more than about 0.6mbps upstream, but u1 is uploading at about 30 kB/s and then not even uninterruptedly. is that normal?20:28
nessitadiverse_izzue: yes, we have noticed some delays in our service, we're working on that20:29
nessitadiverse_izzue: sorry for the inconveniences :-(20:29
diverse_izzueapology accepted, but isn't it time now that U1 reaches a stably stable state? the service has been around for what, two years now?20:30
dobeydiverse_izzue: at that connection speed, you're probably not going to get much more than 30kB/s upload20:31
diverse_izzuedobey, interesting, why? if i do the math i should have 2 to 3 times that, no?20:31
nessitadiverse_izzue: we're not having issues as in crashes, but server overloads. We're working on expanding our capabilities.20:31
dobeydiverse_izzue: right, 2x that is not much more. but you're not talking directly to the server. you have lots of routes to go through, and depending on your connection type, other people on your ISP might be consuming lots of bandwidth too, which would affect you20:33
diverse_izzueokay, but when i say 0.6mbps upstream then that's not a number my isp gives me, but one i obtained right now using a speedtest on the connection20:34
dobeyright20:34
dobeyif it's speedtest.net, it does some checks to pick a fast server near you, before doing the actual test20:35
diverse_izzueit was, so that's what happened20:36
dobeyi'm sure others do similarly20:36
dobeyso while it's a useful number to know, lots of other factors come into play when actually talking to servers. especially if they're very far away :)20:36
diverse_izzueok, i get it. out of curiosity, is all of U1 data geographically in the same place, or distributed over the planet?20:37
nessitaralsina: you back?20:59
ralsinanessita: yes21:02
nessitaralsina: everything ok?21:02
ralsinanessita: errands took much longer than expected :-(21:02
ralsinanessita: I am reorganizing in my old company and have to sell stock, that kind of thing. Bureaucratic nightmare21:03
=== yofel_ is now known as yofel
nessitaalecu: can you please confirm that you have nearly 22 errors when running test_action_queue, and those errors are for the CreateFile stuff in _watch?21:05
alecunessita, checking21:11
nessitaalecu: but only when running the whole test_action_queue module, and is definitely a timing-related bug21:11
nessitaalecu: I have between 5 and 20~ tets failing, depending on the run21:12
nessitaalecu: and some test suite pass something and fail some other times21:12
nessitathe error is:21:12
alecunessita, probably they are missing a yield on add_watch as well.21:12
nessitapywintypes.error: (2, 'CreateFileW', 'The system cannot find the file specified.')21:12
nessitaalecu: checking21:12
* dobey leers sternly at thisfred 21:12
alecunessita, were you able to fix the pyinotify errors with that?21:12
thisfreddobey oops, sry21:13
nessitaalecu: I haven't ran that suite again, let me try21:13
nessitaalecu: ah, I remember. Yes, I was able to run the suite, and the following happened:21:14
thisfreddobey +1, got distracted21:14
nessitaalecu: the CreateFile error is gone, but now there are tons of failures of triggered events that are not expected21:15
alecunessita, I see that many tests are throwing an error, and they also are calling add_watch, so it's very likely the same error we saw before.21:15
nessitaalecu: highly related to what you and mandel fixed last week, let me paste that21:15
dobeyralsina: you care to review? :) https://code.launchpad.net/~dobey/ubuntuone-installer/install-pages/+merge/7034621:15
ralsinadobey: sure! it won't happen right away, I have a backlog :-(21:16
dobeyyou people and your backlogs21:16
ralsinadobey: how's gir+gtk3 treating you?21:16
nessitaalecu: so I'm guessing the windows-version of the file system monitor is not quite working as syncdaemon expects it21:16
dobeyralsina: eh, i changed the way the code works, so the crash i was hitting with gir+gtk2 doesn't happen even on gtk2 any more :)21:17
nessitaalecu: http://pastebin.ubuntu.com/658235/21:17
nessitaapparently event order is very important (which makes sense) and somehow the windows version is emitting events in a different order21:18
alecunessita, I'm getting 9 errors on the first run. I don't this means much :-)21:18
nessitaalecu: 9 errors on which test module?21:18
alecunessita, on test_action_queue.py21:19
alecunessita, so: yes, between 5 and 20 :-)21:19
nessitaalecu: right. So, let's put test_action_queue in the failing tests queue, and let's focus on test_eq_inotify. I think that if we don't get the proper events,  is not worth it to debug other modules21:20
alecusounds reasonable.21:21
nessitathe proper events from event queue that gets events from filesystemmonitor21:21
nessitaalecu: can I put that fixing in your plate? I'm reporting a proper bug for that21:21
alecunessita, I think I don't understand. My guess is that we won't be able to have windows returning the events in a different order.21:22
nessitaalecu: then we have serious issues, since the syncdaemon logic depends on events in a given order21:23
nessitaalecu: "more" serious issues than before, let's say21:23
dobeyalright, well i am off. good evening all!21:24
ralsinanessita, alecu, dobey, I have to stop again, I'll put another half-a-day late tonight, so leave me review requests or whatever here or on email :-(21:24
nessitaralsina: isn't more realistic that you take half day off? putting 4 hours at night may not be good for you health21:24
dobeyralsina: just the one i already linked needs one more review. :)21:24
dobeycheers21:24
ralsinadobey, you will have it before you login tomorrow21:25
ralsinanessita: I'll put two and take two for tomorrow then :-)21:25
nessitaalecu: you passed out after my events comment?21:29
alecunessita, I probably should21:30
nessitaalecu: did you take a look to the output I linked?21:32
alecunessita, I've just found another bug with add_watch21:32
alecunessita, yes, I looked at the output, and I've been following the code21:32
nessitaalecu: oh, nice21:33
alecunessita, the thing is that if we add two watches on the same path, very closely on time, it will fail21:33
nessitahum21:33
nessitaalecu: I think I should submit my branch that fixes tons of failures so we can work on fixing"new stuff"...21:33
alecunessita, this may impact your branch.21:34
nessitaalecu: you proposing doing the other way around?21:34
alecunessita, because the first add_watch will return a deferred that will be fired when the watch *is running*. But the second call will return a defer.succeed(True)21:34
nessita:-(21:34
alecuit should be *waiting* for the watch to be running too.21:34
nessitaindeed21:35
alecuso, threads.21:35
alecuI hate them.21:35
* nessita hates them too21:35
alecunessita, go ahead, propose your branch.21:35
nessitaalecu: ok21:35
=== m_conley is now known as m_conley_away
nessitaalecu: this the merge proposal, most changes are in tests https://code.launchpad.net/~nataliabidart/ubuntuone-client/fix-tests/+merge/7037322:09
nessitaalecu: please do not get scared by the length of the branch :-/22:09
nessitaralsina: you around?22:09
nessitaok, I'm gone for today22:15
nessitabye all!22:15

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