/srv/irclogs.ubuntu.com/2011/02/23/#ubuntuone.txt

=== wgrant_ is now known as wgrant
Geoffrey2hey folks, I've been trying to use Ubuntu One for some time now, I have an account set up, I can log into it, but I can't get Ubuntu 10.10 to give me synchronize options when I right click on any folder...01:35
karniGeoffrey2: hi pal. that's weird.. so you're saying you are running 10.10, right?01:37
karniGeoffrey2: it's quite late (as in: the developers have left few hours ago). perhaps try tomorrow few hours earlier01:38
karniGeoffrey2: I can't come up with a solution to your problem :(01:38
Geoffrey2yes, 10.10....01:38
karniGeoffrey2: you're runining Gnome right? (not Kubuntu?)01:40
Geoffrey2I tried the routine Joshua Hoover posted quite a while back on how to completely remove and freshly install ubuntu one, when I followed that, it didn't even create the ubuntu one folder...01:40
karnioh..01:40
Geoffrey2yep, Ubuntu 10.10, Gnome edition01:40
karniThat may be the case. Looks like something's missing. Things could have changed, when were those instrucitons updated?01:41
karniI mean, do they apply to 10.10 as well?01:41
Geoffrey2dunno...posted end of 2009, I was referred to them in the #ubuntu channel....01:42
karniOh. There are quite a few new things in Ubuntu One on 10.10, Geoffrey2 , it'd be best if you tried to catch the devs here on #ubuntuone tomorrow. nessita or rye perhaps.01:43
karniThey should be able to help you.01:44
Geoffrey2ok, I'll try then.....01:44
karniJoshua also hangs out here from tim eto time.01:44
karni*time to time01:44
* karni gotta go, bye bye01:47
JamesTaitHELO canonical.com09:11
duanedesignmorning all09:15
zygaduanedesign, hi09:24
duanedesignhello zyga09:24
duanedesignaquarius: hello and god mmorning09:52
duanedesignerr, good09:52
duanedesignseems my typing skills have not woke up yet09:52
duanedesignaquarius: is their any docs yet for the U1 api?09:53
aquariusand god morning to you too :)09:53
duanedesigns/is/are09:53
duanedesign:P09:53
aquariusduanedesign, not yet, unless you count the ones on my laptop :)09:53
duanedesign:)09:53
duanedesigncool, no worries09:54
aquarius(that would be "U1 APIs" you mean, there; there are many :))09:54
duanedesignlol09:54
karnihehehe. sporo ludzi09:54
karniups09:54
duanedesigni should quit before I embarrass myself more with my fine grammar and spelling :)09:55
duanedesignhello karni09:56
aquariusthe documentation should be released as part of the developer programme, along with the natty release09:56
duanedesignsounds good09:56
karnihi duanedesign, hi aq. im on mobile so please exuse me :)09:56
duanedesignkarni: i know that feeling. I have yet to find a decent IRC client for my phone09:57
aquariusdarairc is not too bad09:57
* duanedesign looking09:57
karniduan: irssi connect bot (on Android)09:57
duanedesigni got my invitation to IRCcloud yesterday09:59
duanedesignso i have been trying it out. Though I have been, by habit, going to irsssi/screen10:00
duanedesignso I have not spent much time using it10:00
alecuhello all!10:37
alecumandel, ping10:37
mandelalecu: pong10:38
alecumandel, would you be able to do a review?10:38
alecu(see how early I got up... I really want it!!!)10:39
mandelalecu:  do i need unity for the review you requested?10:39
alecuit's 7.30 am here!10:39
alecumandel, no unity needed this time, just gnome.10:39
mandelalecu: ah, then I'll do it right now!10:40
alecuhttps://code.launchpad.net/~alecu/ubuntuone-client/inhibit-logout/+merge/5083410:40
alecucoooool!10:40
mandelalecu: do i hae to try to log out? what does that TestSession do then?10:45
alecumandel, the tests just verify that the dbus call was made with the right parameters10:50
mandelok10:50
alecumandel, to see if it work IRL, try logging out after running the syncdaemon in that branch.,10:50
mandelalecu: do you know qhen did we started to print to stdout the logging from the credentials?10:57
alecumandel, no idea...10:58
alecumandel, is that happening inside syncdaemon or ubuntu-sso-client?10:58
mandelalecu: if I trust the logging name, it is in ubuntuone10:59
mandelalecu: nevethesless it is something that is in trunk, not only your branch10:59
mandelso +110:59
aleculet's add a bug for that issue... sounds serious.11:00
alecuok, this should hit trunk any minute now...11:07
alecumandel, thanks for the prompt review!11:07
mandelalecu: np :)11:07
duanedesign\ /411:28
ryeduanedesign, \o/11:50
duanedesign:)11:50
duanedesignrye: i got my invite to IRCcloud yesterday. Been trying it out11:51
duanedesignbut it is hard to break the habit of using irssi/screen11:51
ryeduanedesign, hm... like bip but on somebody else's server and in the browser...11:52
* rye needs to be reminded to configure bip11:53
nessitahello everyone!11:57
duanedesignhello11:58
duanedesignrye: yeah. I could see IRCcloud being useful if someone did noy have a server or VPS to run irssi/screen on11:59
ryeduanedesign, well, once I was at a location with nice fast wifi which prohibited ssh on default port, and I was not yet ready to start listening on other ones, since I needed ssh to reconfigure my router... it was sad12:00
duanedesignahh12:01
alecuajaxterm ftw!12:19
czajkowskiAloha13:19
karniI will be unavailable (off-line) for the rest of the day due to travel. Please feel free to leave me messages on IRC, I will get back to them asap. Have a great day!13:21
alecukarni, enjoy!13:35
nessitaalecu, dobey, mandel: ralsina is delayed, he will be here in about an hour. Stand up in 13'.13:47
alecume14:00
mandelme14:00
nessitame14:00
nessitadobey, thisfred?14:00
thisfredme14:00
nessitaok, alecu, go!14:01
alecuDONE: did some fixes and got pending branches landed before FF, rushed a branch to inhibit logout, got that landed too (Bug #723359). Yay!14:01
alecuTODO: today I really get to work on DroidCouch!14:01
alecuBLOCKED: a blinking and hurting left eye is telling me I should get more rest14:01
alecuHATE: forgetting to make DBus calls asynchronous and getting the testrunner stuck with no feedback14:01
alecuLOVE: DBus anyways14:01
ubot4Launchpad bug 723359 in ubuntuone-client "Syncdaemon should inhibit session logout when busy (affects: 1) (heat: 6)" [High,Fix committed] https://launchpad.net/bugs/72335914:01
alecuNEXT: mandel-brot14:01
mandelDONE: Reviews. More IPC code for windows to land on ubuntu-one client. POC of how to get the status of the msi installation. A couple of reviews for alecu14:02
mandelTODO: more ipc14:02
mandelBLOCKED: no14:02
mandelnessita: please14:02
nessitaDONE: finished setup of dev env. Booked tickets for Budapest. Restored replication 'Services' tab in the control panel. Packaged it.14:02
nessitaTODO: look for sponsors for new file storage API package and new u1cp upload. More file storage API work. Follow up on several cp bug reports.14:02
nessitaBLOCKED: nopes14:02
nessitaNEXT: thisfred14:02
thisfredDONE: out sick14:02
thisfredTODO: get u1couch/oauth packaged | do what else needs doing before FF14:02
thisfredBLOCKED: no14:02
thisfredNEXT: dobey14:02
nessitaany comments?14:02
nessitanothing? ok14:03
nessitaeom!14:03
alecuthanks to mandel for prompt reviews this early morning!14:03
* nessita claps14:03
* thisfred is catching up with mail14:03
thisfredif there's anything urgent in there feel free to ping me14:03
nessitathisfred: nothing urgent, I assigned bug #723327 to you14:04
ubot4Launchpad bug 723327 in ubuntuone-client (Ubuntu) "Singular form is incorrect in notification (affects: 1) (heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/72332714:04
nessitathisfred: no need to do it this week, but surely before string freeze14:04
mandelalecu: it was not that early here and I should have done it earlier, but I though I needed unite ;)14:04
mandelunity*14:04
thisfrednessita: yeah saw that, should be easy enough14:04
nessitagood14:05
alecunessita, that bug is already fixed on nightlies.14:05
nessitait is? awesome14:05
alecunessita, now it says "1 file(s) uploading"14:05
nessitaalecu: can you please update the bug report? extra points for linking the branch and/or setting the dup14:06
alecusure14:06
dobeyhmm14:08
mandelby the way, if anyone is available for reviews, I'd really appreciate if you take a look at this https://code.launchpad.net/~mandel/ubuntuone-client/add_syncdaemon_remote_object_tests/+merge/50912 and this https://code.launchpad.net/~mandel/ubuntuone-client/add_syncdaemon_remote_object_tests14:09
dobeyλ DONE: bug #723297 (trunk), banshee testing, music store bug triage14:09
dobeyλ TODO: banshee music store fixes14:09
dobeyλ BLCK: on-call for jury duty14:09
ubot4Launchpad bug 723297 in libubuntuone (Ubuntu) (and 3 other projects) "Logs oauth tokens to console (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72329714:09
* mandel -> small coffee break14:13
alecumandel, should I do your reviews on windows?14:19
joshuahooveralecu: do you have a bug for the work that is blocked by the libunity bug (#709240)? i'd like to file that freeze exception now if we haven't already14:20
alecujoshuahoover, we already landed that! I added a check so if the libunity python bindings are not installed syncdaemon runs fine anyway.14:21
alecujoshuahoover, libunity trunk works fine, so it just needs packaging.14:21
alecujoshuahoover, I was told it should be packaged by tomorrow14:22
alecuand then the only thing we need to do is add the libunity bindings for python as a dependency.14:22
alecu(well, the libunity gir bindings, that is)14:22
joshuahooveralecu: ah, ok...as long as we can package it up tomorrow then we should be ok14:22
thisfrednessita: has the sprint been confirmed yet?14:23
nessitathisfred: as far as I know, yes. But ralsina said he will be sending email about booking tickets14:23
alecuthisfred, yes! ralsina confirmed it14:23
dobeythisfred: ralsina will send e-mails i think14:24
nessitathisfred: so, as far as I know, no booking tickets yet14:24
thisfredah ok, I will wait for that then :)14:24
nessitathisfred: you can ceratinly ask for options though14:24
nessitato try to get the better ones14:24
alecudobey, regarding packaging... our code in trunk uses the unity-gir if installed. It's not installed by default, and the current package is broken, but they say it should be fixed by tomorrow.14:25
dobeyok14:25
thisfrednessita: Have to coordinate with my wife as we will be adding on a week of vacation in B.A. :)14:25
dobeyalecu: i guess we need to recommends it then14:26
nessitathisfred: ok, butthe date is confirmed: from april 4 to april 814:26
alecudobey, that means it will be installed in a default installation?14:26
dobeyalecu: yes14:26
alecugreat.14:27
dobeyalecu: it probably will be anyway from other stuff dx team is doing, but we should have it too14:27
thisfrednessita: well that was confirmed more than a week ago14:28
alecubtw: april 6 to 17 is BAFICI, the buenos aires film festival.14:28
alecumandel, btw: you pasted the same branch twice!14:31
thisfredalecu: ooh!14:32
alecuit's an independent film festival, and it's usually super-overcrowded, but you can go early in the morning and get tickets for the day.14:34
thisfredalecu: awesome, will they have subtitles for the hispanically challenged? :)14:35
mandelalecu: oh, did I? dammed, let me see14:36
alecuthisfred, surely! most films are from non-hispanic countries anyway, and they usually have english subtitles in the film itself, (or french sometimes) plus there's a led prompter with spanish subtitles.14:37
thisfredsuper!14:37
mandelalecu: this is the other branch: https://code.launchpad.net/~mandel/ubuntuone-client/add_public_files_remote_object_tests14:37
alecuand I think the prompter shows english for spanish speaking fims, but I have to check.14:37
mandelmierda, better the merge link14:37
alecu*films14:37
alecumandel, do I have to try those reviews on windows?14:37
mandelalecu: no, they are just tests with no implementation, TDD for the win14:38
mandelalecu: tests should be ok on linux, and fail on windows :)14:38
alecumandel, you crazy spaniard. Ok, will run those tests on linux anyways :-)14:39
alecumandel, in the second branch, around line 69 in the merge proposal: ¿why is "self.shares.syncdaemon_shares.shares" being called twice?14:47
alecuI guess emit_free_space checks it twice.14:48
mandelalecu: yes, it will call it twice, onc to check if present, then to use it14:51
mandelalecu: I wish mocker had a more expressive suyntax for that...14:51
alecumandel, I used to like mocker a lot more before. Now I'm not using it so much, and I think the tests are nicer.14:52
alecumandel, I specially dislike the error messages it shows.14:53
alecumandel, I believe assertions show much more the intent.14:53
nessitaalecu: ping14:54
alecunessita, pong14:54
nessitaalecu: can you please follow #ubuntu-desktop?14:54
mandelalecu: the syntax in some cases is bad, and the error indeed do not show intent,yet is very nice for  whenever you need to do alot of basictests14:54
thisfredmocking in general is a last resort. It ties your tests too closely to implementation details for one thing. It14:55
thisfreds very nice to have it though, when all else fails :)14:55
thisfredI like what alecu's been doing with fake implementations of the various backends though, that seems a lot cleaner14:58
mandelin my case mocking is way easier for assertions etc… Is making sure that one obj calls the other one correctly since everything else is done by twisted :P15:01
thisfredyeah, when you throw async in the mix, often all bets are off again15:01
alecuwell, I found that when using @inlineCallbacks in trial tests, things do look nice.15:06
alecutrial ftw.15:06
alecumandel, approved the first one. Now waiting for the tests to finish to approve the second.15:11
nessitaalecu: question next door, I'll restart my X session now15:11
alecumandel, I'll approve it right now anyway, since it's all in platform/windows.15:12
alecuthisfred, kenvandine is having issues with u1 not registering in the messaging menu15:13
alecuthisfred, we are not logging any debug info there, right?15:14
thisfredno I don't think so15:14
thisfredstrange, I still have 2 entries on maverick15:14
kenvandinethisfred, yeah, i am trying to help debug that15:14
thisfredalthough I think one may be a message actually15:14
thisfredthat shouldn't be there15:15
kenvandinebut can't reproduce it... since it doesn't even try to register with the menu for me15:15
thisfredkenvandine: registering comes from the symlink in /usr/share etc... right?15:15
kenvandineno15:16
kenvandinethat is just adding the launcher15:16
kenvandinewhich i have15:16
kenvandinebut it has to connect to it when syncdaemon runs15:16
kenvandinei am watching the output from indicator-messages-service and it never gets called to add the running process15:17
thisfredlet me pinpoint where this *should* happen15:18
thisfredkenvandine:  ubuntuone/platform/linux/messaging.py has everything related to the msgingmenu15:19
alecukenvandine, it's very likely we are not registering the process (and that is a bug) but only adding items to the menu when new udfs/shared folders arrive.15:20
thisfredkenvandine: trunk version of that http://paste.ubuntu.com/571174/15:20
thisfredalecu: kenvandine: I *think* we do the right thing when we initialize the Messaging object, but we may not do that on startup15:21
nessitakenvandine: after a reboot, I'm getting this http://ubuntuone.com/p/eeh/ when syncdaemon is not running, and this http://ubuntuone.com/p/eeg/ after I started it15:22
nessitakenvandine: and in the second screenshot, when I click on the control panel entry nothing happens15:22
kenvandineoh, you don't show the server until there is a message15:23
kenvandineyou should show the server at startup15:23
kenvandinenessita, so you get two entries when syncdaemon is not running?15:24
nessitayes :-/15:24
kenvandinenessita, do you have anything in ~/.local/share/indicators/messages/applications15:26
nessitaNo such file or directory15:27
nessitakenvandine: I don't even have the indicators dir15:28
kenvandineok15:28
kenvandinewhoops15:28
kenvandinenessita, how about ~/.config/indicators/messages/applications/15:28
nessitanessita@dali:~$ ls ~/.config/indicators/messages/applications-blacklist/15:29
nessitanessita@dali:~$15:29
kenvandineok15:29
nessitakenvandine: any other stuff I can try?15:31
nessitakenvandine: do you know why when clicking on the control panel entry nothing happens?15:31
kenvandineok, i added self.server.show() after you setup the server and it shows now15:32
kenvandineand i am only getting one entry :/15:33
kenvandinenessita, that is part of the problem i think15:33
kenvandineit does for me15:33
kenvandinebut the entry i have is for the server (launcher)15:33
kenvandinei think one of your's is for a message15:34
kenvandinehow can i get it to add a message for me?15:34
kenvandinedoes someone need to share something to me?15:34
kenvandinenessita, did you get that?15:34
nessitapidgin: STOP CRASHING15:34
* kenvandine PMsit to nessita just in case15:35
kenvandinenessita, this is why it isn't doing anything when you click on it15:37
kenvandine            if server_callback is not None:15:37
kenvandine                self.server.connect("server-display", server_callback)15:37
nessitathisfred, alecu: ^15:37
nessitakenvandine: I got that (do we know why pidgin crashes so much?)15:37
kenvandinenessita, no... i didn't think anyone still used pidgin :)15:38
nessita-.-15:38
kenvandine:-p15:38
nessitathisfred: did you get that about the server-display15:38
thisfredkenvandine: so the server_callback being None is (this part of) the problem?15:39
kenvandineit is why clicking on it, when it is running doesn't open the control panel15:39
kenvandinewhen it isn't running, libindicate handles launching the app the launcher specified15:39
kenvandinebut once it is running, clicking that uses that callback15:39
thisfredkenvandine: right, I shall set the default to a sensible, uh, default15:40
kenvandineso like in the gwibber case, i use dbus to start the client15:40
kenvandinesince gwibber also has a separate process that is actually using the indicator15:40
kenvandinesame as u115:40
kenvandinethisfred, you should also show the server when you create it15:40
kenvandineuntil you do that, it won't get the triangle indicator thing to show it is running15:41
kenvandineright now it looks like that doesn't happen until there is a message to display15:41
kenvandinewhich explains why i wasn't getting it, no messages15:41
kenvandinenessita, did you share anything?15:41
nessitakenvandine: I'm still working on that share15:41
alecukenvandine, to get a message in that menu, you should either 1) get a new folder shared to you by some other u1 user, and accept it in the mail it's sent to you, or 2) create a new udf in some other device.15:42
thisfredkenvandine: ok, will fix that too15:42
kenvandinethisfred, that might be why there are dupes too15:42
nessitaalecu: I'm trying to share a folder but the nautilus U1 plugin won't work15:43
kenvandinedo you create instantiate multiple Messaging objects?15:43
nessitaand the web UI does not work with FF415:43
nessitadobey: I installed ubuntuone-client-gnome, why I don't get the U1 context menu in nautilus?15:43
kenvandinenessita, nautilus -q15:44
dobeynessita: did you restart nautilus after installing it?15:44
nessitayes15:44
thisfrednessita, alecu: was there a bug for the dupes/no indicator problem already?15:44
nessitabut I'll retry15:44
dobeythen run u1sdtool -c and see if it shows up after that15:44
nessitaok, done15:45
nessitakenvandine: share email should be in your inbox15:45
kenvandinethx15:45
kenvandineso i have to accept it before i'll see the indicator?15:45
nessitayes15:45
* kenvandine would have thought he would get a message in the indicator that someone shared something to me15:45
kenvandineand let me accept it15:45
kenvandine:)15:45
nessitakenvandine: that makes sense, but the sharing mechanism is not good, so syncdaemon will not know about the share until you accept it server side15:46
alecuI just shared a folder with nessita, kenvandine and thisfred.15:46
kenvandineok, so what should happen when i get it in the messaging menu and click on it?15:47
kenvandineopen it?15:47
nessitaopen the control panel15:47
nessitathisfred: right? ^15:47
thisfredright, on the shares/udfs tab15:48
kenvandinehumm15:48
kenvandinei got a notify-osd notification of the share after i accepted it15:48
kenvandinebut not in the messaging menu15:48
kenvandinei bet it is all related to how you are creating that server15:48
kenvandineessentially there should be one indicate.IndicateServer created for the service, so at startup15:50
kenvandineand individual indicate.IndicateIndicator objects created for each message you display15:50
kenvandinethisfred, nessita: make sense?15:51
nessitayes, it does15:51
thisfredyep15:51
nessitathisfred: can you work on that, please?15:51
thisfredI am15:52
nessitakenvandine: so, the messaging issue is not related to the control panel itself. I proposed https://code.launchpad.net/~nataliabidart/ubuntu/natty/ubuntuone-control-panel/ubuntuone-control-panel-0.8.5/+merge/50933, would you be able to sponsor it?15:52
thisfredalecu: so, I'll create a Messaging instance at startup, and attach it to something that lives as long as u1-client does, I guess?15:52
kenvandinenessita, sure15:53
nessitakenvandine: thanks!15:53
kenvandinethisfred, or move the server setup out of the Messaging class?15:53
thisfredkenvandine: one last question, what signature does the server callback have? no arguments?15:53
thisfredkenvandine: sure, as long as we can be sure it will still be in the same process it should work right?15:54
kenvandinethe indicator and a timestamp15:54
kenvandineyeah15:54
thisfredkenvandine: so same as the message callback15:54
kenvandineyup15:54
thisfredcool15:54
alecuthisfred, this made me remember: rye and dobey suggested reusing the same notification and update-show it (not only update). There's a bug for that #72322715:55
thisfredalecu: I have that on my radar15:55
alecuthisfred, I'll have to change the way notifications are being used inside the aggregator too, so let's discuss about it when you get to it.15:57
kenvandinenessita, does this version need those theme changes from the design team?15:57
kenvandinelast i looked, those weren't merged15:57
thisfredalecu: will get back to you when I do15:57
nessitakenvandine: speaking of that, daniel fore mentioned I should beg for those to be packaged15:58
kenvandinehehe15:58
nessitain particular, I should beg you15:58
kenvandinei've been watching it15:58
kenvandine:)15:58
kenvandinesladen was going to merge it15:58
* kenvandine checks on that15:58
nessitakenvandine: feel yourself begged! :-P15:58
kenvandineyup15:58
kenvandine:)15:58
nessitakenvandine: would this trace make any sense to you? http://pastebin.ubuntu.com/571198/ (do not bother much, just a quick look)16:00
nessitadobey: maybe you can see something there? ^16:02
dobeyi see invalid free16:02
dobeywould need more info to say where16:02
kenvandinenessita, not off hand, but let apport report the bug and see what the retracers come up with16:03
kenvandineit definitely needs fixing16:03
nessitakenvandine: apport was not opened, and this is clean natty install. Shall I install something?16:03
dobeywhat is liborc?16:03
nessita*no idea*16:03
dobeyoh16:04
dobeyprobably something streamer uses16:04
dobeyerr, gstreamer16:04
dobeya better traceback with debug packages from gdb or valgrind would probably show exactly what the issue is though16:05
=== beuno is now known as beuno-lunch
nessitaalecu: that's a mean folder to share!16:17
nessitathanks god that shares are not subscribed by default16:17
alecunessita, on a call16:17
thisfredalecu: nessita: fo u1 client, is there a good place to put "run at startup" code?16:22
dobeylunch time bbiab16:23
nessitathisfred: what kind of code?16:27
nessitathisfred: there is the syncdaemon binary and the Main() __init__ method16:27
kenvandinei suspect he is talking about the indicator server16:28
thisfrednessita: right, I was wondering what the best place was, it's for showing the messaging menu (the server item)16:28
nessitathisfred: I would say add a handler for SYS_INIT_DONE (or similar)16:29
nessitalet me confirm the event name16:29
thisfrednessita: thanks. And I can add that in my own code right? So I don't have to modify anything else? Sweet16:30
alecuthisfred, we should do it in the main aggregator16:30
nessitathisfred: SYS_INIT_DONE16:30
thisfredalecu: is that one *always* present though?16:30
alecuthisfred, we already have code that's executed when syncdaemon starts16:30
nessitaalecu: that can work too, but I'm not very familiar with the code16:30
thisfredoh ok, I'll add it there16:30
thisfredthanks guys16:30
aleculet me find the right place...16:30
alecuthisfred, StatusFrontend already sets self.messaging = Messaging()16:31
alecuthisfred, I would suggest doing that initialization inside Messaging.__init__16:32
thisfredalecu: right, but apparently that's causing problems, so I want to take it out of the __init__16:32
alecuoh, didn't realize that.16:32
alecuthisfred, what problem is it causing?16:33
thisfredapparently the multiple entries in the menu16:33
ryethisfred, we have a strange problem with updated couchdb-bin from backports. During my tests 2 instances of couchdb is created on lucid. This is working well though if e.g. evolution-couchdb pre-starts desktopcouch and somehow gets port first and then ubuntuone-preferences just ask desktopcouch about the port which may succeed.16:33
thisfredperhaps multiple Messaging instances are created, not sure16:33
thisfredrye, we may need to put a different desktopcouch in backports that picks the right binary16:34
thisfredthough it's strange it starts both16:35
thisfredIf anything I would expect it to only start the old one16:35
alecuthisfred, that sounds strange... only one instance should be created.16:35
alecuthisfred, let's trace this:16:35
ryethisfred, well, it starts two equal instances16:35
thisfredrye: I don't think I have time to work on this right now16:36
alecuubuntuone.syncdaemon.main.Main.__init__ calls start_status_listener, that creates the listener and subscribes to it.16:36
nessitaalecu: what seems not to be created in time is the Server instance16:36
thisfredperhaps it is *all* just due to the fact that the server.show() is not called in the right place.16:37
alecuthat's the point where the initialization starts, by creating the StatusListener, the StatusFrontend and the Aggregator.16:38
thisfredperhaps I'll fix that in a branch, and see what problems remain16:38
alecunessita, messaging.Server ?16:38
thisfredmagical code is magical16:38
nessitaalecu: I think so, yes16:38
thisfredrunning tests now on fix branch 116:41
nessitaok, lunchtime16:55
nessitabrbs16:55
=== beuno-lunch is now known as beuno
dobeyjcastro_: ping17:17
thisfredalecu: https://code.launchpad.net/~thisfred/ubuntuone-client/fix-server-show/+merge/50962, but I have a hard time testing it. kenvandine: could (part of) the problem be that the indicator and the executable it opens are in a different package than the one we actually use the messaging from? Even when moving the server.show() up to be called only once and at application start, I don't see the triangle, and still see the duplicat17:36
thisfrede entries.17:36
kenvandinethisfred, that worked for me...17:37
thisfredthe server-callback that I also attached does work, so something changed17:37
thisfredlet's see what happens when this lands in nightlies, perhaps having a different version of the package installed interferes17:38
alecuthisfred, looking17:38
thisfredalecu, is there a good way to kill *everything* related to u1-client, and even remove the entry from the msging menu?17:39
thisfreduninstalling I suppose, let me try that17:39
nessitathisfred: and restarting the messaging service17:42
thisfredright, just found that out :)17:43
nessitaralsina: hey there! can you make a second review for a contributor's branch? https://code.launchpad.net/~chris-ascentsoftware/ubuntuone-control-panel/fixes_715820/+merge/5041717:43
thisfredthen adding everything to PYTHONPATH I gyess17:43
ralsinanessita: sure17:43
nessitathanks!17:43
alecuthisfred, looks fine, I'm testing it right now.17:47
thisfredalecu: I know the server callback worked, but it looks like either the Messaging instance is not created at startup, *or* we're still not doing everything right to make it show up as running in the menu. Or something else is wrong :)17:48
alecuthisfred, it's working for me as intended.17:50
alecuthisfred, are you still on maverick?17:50
thisfredreally? Ah yes17:50
thisfredthat may be it17:50
aleculet me try trunk17:50
thisfredCoool17:50
alecuthisfred, and trunk does not work, so this branch seems to fix this for me.17:51
alecuthisfred, I'm approving!17:51
thisfredI had natty somewhat working on friday with a downgraded xorg, only unity crashed after a minute or so17:51
thisfredalecu: awesome, thanks!17:52
thisfrednessita: https://code.launchpad.net/~thisfred/ubuntuone-client/fix-server-show/+merge/50962 fixes the bugs ken reported17:52
nessitathisfred: awesome, I'll review17:53
alecuthisfred, I've approved, and now I'm running the unit tests :-)17:54
thisfredhaha17:54
thisfredwell, at least I ran those ;)17:54
alecuthisfred, also: make sure to add the bug# to the branch.17:54
thisfredyeah, I asked but got no answer: nessita is there a bug for this?17:55
dobeycan i get a second review on https://code.launchpad.net/~dobey/libubuntuone/print-no-tokens/+merge/50802 please?17:56
thisfreddobey: on it17:56
thisfreddobey: approved17:57
dobeycheers17:57
nessitathisfred: I don't think so, can you please open one? ken is busy right now I think17:57
thisfredsure17:57
* alecu is going to have some lunch and take a walk.18:01
alecuthisfred: "only unity crashed after a minute or so" <- that used to happen to me while alt-tabbing18:02
alecuthisfred, but on an ati chipset18:02
thisfredit happens when I open the first application I think18:03
alecuI had to configure the compiz window switcher to show icons instead of thumbnails, and now it -mostly- works.18:03
thisfredupgrading again, who knows18:03
thisfredah, perhaps that's a clue18:03
alecubest of lucks!18:04
thisfredI tried unity --reset, but that never seems to work entirely either18:04
nessitathisfred: can you please have a single # pylint: disable=W0613 in messaging.py?18:04
kenvandinethisfred, i am building your branch, see how it works for me18:04
thisfrednessita: sure18:04
nessitathisfred: so you can have the disable, the 2 functions, and the enable18:04
thisfrednessita: I like to isolate them as much as possible, so if the need for them disappears it is easier to remove them locally, but it's probably an illusion that anyone will ever look at removing them ;)18:06
nessita:-)18:06
kenvandinethisfred, ok, your branch adds the server fine for me18:10
thisfrednessita: alecu I'm also changing the server callback (but not the messages themselves) to not open the volumes tab, but just the control panel, I think that makes more sense18:10
kenvandinebut i am still not getting any individual indicators under it18:10
thisfredkenvandine: awesome, thanks for testing18:10
thisfredah18:10
kenvandinethisfred, it does open the control panel though :)18:10
kenvandinei accepted a share18:10
kenvandinethe evil one from alecu18:10
kenvandine:)18:10
kenvandinedidn't get anything18:10
thisfredkenvandine: ah, you don't get one on accepting, only when someone offers18:11
thisfredalecu: can you offer something else to ken?18:11
kenvandineoh...18:11
kenvandinealecu, something smaller this time :)18:11
thisfredyou don;t have to accept it to test the messaging ;)18:11
nessitathisfred: you do!@18:12
nessitayou don; t have to subscribe to it ;-)18:12
thisfredeh no18:12
nessitaif you don't accept it, syncdaemon never knows about it18:12
thisfredyou just have to see that you get a message and that clicking on it opens the control panel on the volumes tab (and removes the message)18:12
thisfredhuh?18:13
thisfredthat's just not true18:13
nessitathisfred: exactly. You don't get the message if you don't accept it18:13
nessitathisfred: how come is not true?18:13
thisfredI just got a message when alecu sent me a share18:13
thisfredI'm pretty sure18:13
nessitathisfred: you accept it in the web18:13
nessitaotherwise is impossible (tm)18:14
thisfredhmm, maybe I confused the email with a message then?18:14
kenvandineit is confusing to me that you would get a message in the indicator if you already accepted it in an email18:14
kenvandineseems redundant18:14
thisfredif that is the case, using the messaging menu for this is pointless18:14
thisfredkenvandine: exactly18:14
nessitakenvandine: one thing is to accept a share, and another is subscribing to it in your device18:14
kenvandineso i guess the messaging menu message is just that there is something you accepted that you might want to subscribe too?18:15
nessitathisfred, kenvandine: accepting is not the same as subscribing to it18:15
thisfredsure18:15
kenvandinei really think you need to find a way to make the messaging menu replace the need for that email18:15
thisfredbut I though accepting a share was also part of the messaging menu18:15
nessitakenvandine: in this cycle, there is no way to do it18:15
thisfredthought18:15
alecukenvandine, yes, we would like to tackle that for the next cycle.18:15
kenvandineok18:15
nessitakenvandine: think about people you want to share something to but they don't have an U! account18:16
nessitaU1*18:16
kenvandineas someone that hasn't reviewed the plans for this... it is rather confusing18:16
kenvandineso i suspect users will get confused too18:16
thisfrednessita: well the web UI way doesn't need to go away, but for people who do it would be more convenient18:16
kenvandinenessita, agreed the email shouldn't go away18:16
kenvandinei hate opening a browser for anything :)18:16
alecuthe thing is that subscribing (both to shares and to udfs) is per device... maybe it's not clear, but we have to work on improving it.18:17
nessitakenvandine, thisfred: right. We have an architectural problem with shares, the share as an object is not created in the server until is accepted. SO syncdaemon will not get any notification until that happens18:17
kenvandineand i just noticed the "more" button isn't working in firefox, i guess that is the bug nessita was talking about where it doesn't work in FF418:17
alecuthe messaging menu currently only shows new shares and udfs pending subscription.18:18
thisfrednessita: ok, I had everything backwards, as per usual ;)18:18
nessitakenvandine: yes, it is. FF4 and our web UI are going thru a fase18:18
kenvandineok, so thisfred... after understanding that...i can still say i never got that "subscription" message in the indicator18:18
alecukenvandine, so, it's not showing the subscription, and not showing an arrow.18:19
thisfredkenvandine: right, but the thing is, you only get it once, and that would happen right after you accept it18:19
alecuthose two things are surely related.18:19
kenvandineit is showing an arrow now18:19
alecuthisfred, perhaps you can add debugging logs for both18:19
kenvandineand clicking on it while running raises the control panel18:19
thisfredwhich makes it even clunkier18:19
kenvandinethisfred, when i accept the share in the web UI, i got a notify-osd notification of the share18:20
kenvandinebut nothing in the messaging menu18:20
thisfredkenvandine: with this new version?18:21
thisfredhmmm18:21
kenvandineyes18:21
nessitathisfred: good news is that the control panel is opened18:22
nessitakenvandine: can you please try, with thisfred's branch running, to do u1sdtool -q18:22
thisfredyeah, at least I fixed half the problems18:22
nessitakenvandine: in my case, the messaging entry is duplicated when SD is not running18:22
kenvandineok, quit and only have one entry18:23
nessitaguh18:23
nessitaI have two :-/18:23
kenvandine:/18:23
nessitakenvandine: do you have the new control panel package? the one you sponsored18:24
alecunessita, perhaps you've "make installed" the control panel o u1-client?18:24
alecu*or18:24
nessitaalecu: nopes, and I even uninstalled eveyrthing :-/18:24
alecuand you have a dangling .desktop or something similar?18:24
kenvandinenessita, i do18:24
kenvandinei always only install from packages18:25
kenvandinei don't trust uninstalls of stuff i installed from source18:25
* kenvandine adds some print statements18:25
nessitaI can reproduce every time. When shutting down syncdaemon from thisfred's branch, bang, 2 entries18:26
alecukenvandine, anyway, the entries in the messaging menu are put there at the moment that syncdaemon finds out that there are new folders.18:26
alecukenvandine, if you shut down syncdaemon, then those entries will not appear again.18:27
alecu(unless someone shares a different folder, or you create an udf in a different device)18:27
kenvandinethisfred,  your still creating the server in Messaging18:29
kenvandineso does that happen on ever new message?18:29
alecuno: Messaging is created at syncdaemon start18:30
kenvandineok18:30
kenvandineso what adds the indicators?18:30
thisfredMessaging.show_message18:31
kenvandineoh, just saw that18:31
thisfredkenvandine: I removed the server.show() from there, does it also need one after all?18:32
kenvandineno18:34
thisfredok18:34
nessitadobey: https://code.launchpad.net/~nataliabidart/ubuntuone-client/better-debug/+merge/5096718:37
kenvandinenessita, can you share something again?18:38
nessitakenvandine: sure18:38
kenvandinethx18:38
kenvandinei added some debugging18:38
Geoffrey2hey folks, I'm trying to get files to synch to the Ubuntu One cloud, having zero success with it......18:39
nessitakenvandine: sent18:40
Geoffrey2i'm not even getting an option to synch when I right click on any of my folders18:41
kenvandinethx18:41
nessitaGeoffrey2: what system are you running?18:41
Geoffrey2Ubuntu 10.10, Gnome desktop18:42
nessitaGeoffrey2: do you know how to use a terminal?18:42
nessitaGeoffrey2: you can open one going to Accessories -> Terminal. There, type:18:43
nessitau1sdtool -s18:43
nessitaand paste the output in http://pastebin.ubuntu.com/, and give me the resulting URL please18:43
kenvandineweird, i set logging to debug and i am not getting any of my messages18:43
kenvandineit is like show_message isn't getting called18:43
nessitakenvandine: did you accept the share via web?18:45
kenvandineyes18:45
kenvandinenessita, can you send me another please?18:46
nessitakenvandine: sure18:46
kenvandinethx18:46
nessitakenvandine: done18:46
Geoffrey2nessita, http://pastebin.ubuntu.com/571292/18:48
nessitaGeoffrey2: your syncdaemon seems like is just starting18:49
nessitaGeoffrey2: seems like it was not running before you run that command18:49
nessitaGeoffrey2: can you please paste the contents of the log file located at: ~/.cache/ubuntuone/log/syncdaemon.log?18:50
kenvandinenessita, no email yet18:52
Geoffrey2now, one or two days ago, someone in #ubuntu tried to help me with this by linking me to a set of instructions by, Joshua Hoover, I believe, on how to totally remove and reinstall Ubuntu One...I didn't notice at first the instructions were from late 2009, and the process never created a new Ubuntu One folder....18:52
nessitakenvandine: iI'll re share18:52
thisfreddobey: what is the recommended way to handle noun numbers in i18n? I know single/plural is too simplistic for many languages, but is there a way to have gettext do lookups based on the number so the l10n-ers can figure it out?18:54
nessitaGeoffrey2: not creating the Ubuntu One folder is correct18:54
thisfredor do we just ignore languages like Polish?18:54
nessitaGeoffrey2: can you please show me the contents of the log file I mentioned before?18:55
thisfredthis all in relation to bug #72332718:55
ubot4Launchpad bug 723327 in ubuntuone-client (Ubuntu) (and 1 other project) "Singular form is incorrect in notification (affects: 1) (heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/72332718:55
Geoffrey2http://pastebin.ubuntu.com/571294/18:55
Geoffrey2nessita, http://pastebin.ubuntu.com/571294/18:55
nessitaGeoffrey2: nice! let me ask for help. verterok, ping18:56
dobeythisfred: you mean like "monkey" vs. "monkeys" case? or what?18:56
thisfreddobey: exactly18:57
dobeythisfred: ngettext18:57
thisfredthx, I'll look that up18:57
dobeygettext.ngettext ()18:57
dobeythat would be in python i guess18:57
thisfredawesome18:57
verteroknessita: whatsup?18:58
nessitaverterok: http://pastebin.ubuntu.com/571294/18:58
nessitaverterok: isn't syncdaemon supposed to create the Ubuntu One dir itself?18:58
dobeythisfred: ngettext ("%d monkey", "%d monkeys", num_monkeys)18:58
thisfredright18:58
thisfredor dngettext since we use dgettext18:59
verteroknessita: yes18:59
dobeythisfred: and gettext has built-in support for weird plural cases in some languages18:59
thisfredright, that's what I was hoping18:59
nessitaverterok: so how do you explain the trace in that pastebin?18:59
dobeywell yeah, dngettext depending on how/where it's used18:59
verteroknessita: which version of the client?18:59
nessitaverterok: maverick19:00
nessitaverterok: the user with problems is Geoffrey2, he said he's running Ubuntu 10.10, Gnome desktop19:00
verteroknessita: the user might have partially removed syncdaemon internal directories?19:00
nessitaverterok: such as?19:00
verteroknessita: looks like syncdaemon thinks the metadata is in "None" version19:01
nessitaGeoffrey2: what set of instructions did you follow?19:01
nessitaverterok: and what does that mean?19:01
verteroknessita: probably a rm -Rf or something which left the directories in bad state19:02
nessitaGeoffrey2: let me know when you're here19:02
verteroknessita: I don't really remember all the different combinations/layouts and the migration paths, but looks like syncdaemon thinks the metadata is in version None/019:03
verteroknessita: need to take a deep look at the code19:04
nessitaverterok: ok, I'll check what set of instructions Geoffrey2 used to reset his account19:04
verteroknessita: oh, account reset(?)19:04
nessitasortof19:04
verteroknessita: probably something was left around that's confusing syncdaemon19:04
nessitamaybe19:04
Geoffrey2im here19:05
nessitaGeoffrey2: what instructions did you follow to reset your account?19:07
Geoffrey2looking for it...19:08
Geoffrey2got it.... http://ubuntuforums.org/showpost.php?p=8146023&postcount=219:11
=== ralsina is now known as ralsina_doctor
kenvandinethisfred, ping19:21
thisfredkenvandine: pong19:21
kenvandinei think the problem is you aren't keeping a reference to the indicator created19:21
kenvandine in __init__, there was a self.indicators = {}19:21
kenvandine but never used19:21
kenvandine i changed that to a list and tried appending the indicator to it in show_messages19:21
kenvandine but now it never seems to be calling my code19:21
nessitajoshuahoover: ping19:21
nessitaverterok: the instructions used were http://ubuntuforums.org/showpost.php?p=8146023&postcount=219:22
nessitaverterok: do they sound correct?19:22
thisfredkenvandine: looking19:22
kenvandinethisfred, before i added it i had it printing out my debug statements, but now it isn't... not sure why19:22
kenvandinethisfred, this is hard code to debug19:22
thisfredkenvandine: ah, but it is, it keeps the reference outside of messaging though: show_message returns an indicator19:24
verteroknessita: looks correct, I'ld suggest running the cleanup/reset steps again (and pastebin the output of the commands, in case something is failing and leaving cruft behind)19:24
kenvandineoh19:24
thisfredkenvandine: and I agree it's hard to debug, but I blame the magic in libindicator. It's fine to blame my code back :) If I can improve something there I'd be glad to19:24
kenvandinehehe, not pointing blame19:24
kenvandinejust having to get shares sent, etc19:25
nessitaGeoffrey2: the instructions look correct, can you please run the cleanup/reset steps again (and pastebin the output of the commands, in case something is failing)19:25
kenvandineand my logging output gets randomly eaten19:25
kenvandineand i can't see why19:25
Geoffrey2nessita, any flag I need to attach to the commands to get output?19:25
nessitadobey: changes pushed to better-debug19:25
nessitaGeoffrey2: nopes19:25
thisfredkenvandine: what I do is take one of the tests that mocks the indicator, and then turn the mocking off by commenting out a mocker.patch line19:25
kenvandinethisfred, good idea19:26
Geoffrey2ok, from step 1?19:26
thisfredthat will make all the tests fail, so I can't forget to undo the commenting either ;)19:26
kenvandine:)19:26
nessitaGeoffrey2: just run one by one and then, before running the app itself, show me the outcome19:26
kenvandinethisfred, but that is probably hard to do without all the u1 dev tools stuff installed19:27
thisfredkenvandine: you'll also have to put in a pdb or something else to make the code stop when the message is shown19:27
kenvandinei am doing this from my running package19:27
nessitaGeoffrey2: yes. quit the  Ubuntu One client would be: u1sdtool -q19:27
nessitaGeoffrey2: in a terminal, I mean19:27
thisfredkenvandine: yeah, not sure how much of that will work with vanilla test tools19:27
kenvandineyeah19:27
kenvandineanyway19:27
Geoffrey2hmm, I may never have actually quit the client the first time....19:27
thisfredkenvandine: worth trying though, if you have twistedtrial installed19:28
kenvandine        self.messaging.show_message(share.other_visible_name)19:28
kenvandineit isn't doing anything with the indicator that is returned19:28
thisfredkenvandine: I removed the redundant self.indicators19:28
thisfredhmm, now I've gone and confused myself19:29
kenvandineso you need to add a reference to it somewhere19:29
kenvandinehehe19:29
kenvandineyou still had self.indicators in messaging.py19:29
kenvandinebut didn't add anything too it19:29
kenvandinethisfred, i think that is the current problem19:29
thisfredyep, looks like it. Possibly someone removed it because it looked redundant19:30
kenvandineyeah19:30
thisfredI'll add it back in messaging19:30
thisfredwhere others fear to tread19:30
kenvandine:)19:30
kenvandinei tried doing it... but then it never seemed to get called19:30
kenvandinecan't tell why19:31
Geoffrey2nessita, now, Passwords and Encryption Keys isn't under the applications menu in 10.10, it's under System/Preferences....are the rest of the steps for that the same?19:31
kenvandinebut i guess that is easier for you to test19:31
nessitaGeoffrey2: I guess so19:31
thisfredkenvandine: there is something seriously weird with trunk, I think some conflict merges went wrong or something like that19:32
kenvandinethisfred, ugh... hate it when that happens19:33
kenvandinebut could explain stuff19:33
thisfredI think it's probably my own stupid mistake though, I don't see anyone else touching this code in the history. Fixing.19:38
kenvandinethe idea of needing to keep a reference to it is a little foreign when python hacking though19:39
kenvandinei think everyone that has integrated anything python in the messaging menu has missed that19:39
Geoffrey2nessita, ok, I'll have to come back tomorrow when I have more free time, but I'm not sure this accomplshed anything...u1sdtool is generating the same error message19:45
nessitaGeoffrey2: ok, come back tomorrow and ping me19:46
Geoffrey2i didn't get any error messages doing those steps except the obvious error that Ubuntu One folder didn't exist...which it didn't, and still doesn't19:46
nessitaGeoffrey2: the Ubuntu One folder should be created automatically19:49
nessitadobey: did I mention I fix the better-debug branch?19:51
nessitathisfred, kenvandine: did you find out what the problem is?19:51
joshuahoovernessita: pong19:51
thisfrednessita: yeah, I think so19:52
thisfrednessita: I think something went wrong with my last branch last  week19:52
thisfredI seem to be missing some changes, and I'm pretty sure it got merged, so I must have done something wrong19:52
nessitathisfred: ah19:52
dobeynessita: yes, but i am trying to get a banshee feature done before freeze19:53
nessitathisfred: the exact same thing happened to me with a u1client branch19:53
nessitadobey: ok, no problem19:53
thisfrednessita:  weird and pretty worrying19:54
nessitathisfred: indeed19:55
thisfreddobey: any idea why this branch (still says merged) is not in trunk? https://code.launchpad.net/~thisfred/ubuntuone-client/lp-702055/+merge/4898719:57
thisfreddobey: the last entry says u1autopilot failed the tests19:57
thisfredlooks like it was set to merged manually, maybe>19:58
thisfred?19:58
thisfredkenvandine: looks like a branch got lost. I thought I was going crazy19:59
thisfredor am I looking at the wrong trunk perhaps20:01
dobeythisfred: no, something screwed up. that branch is merged though20:01
dobeythisfred: what is missing?20:01
dobeyalso, that was 2 weeks ago20:02
thisfredmaybe I am going nuts20:02
thisfreddobey: nm20:02
dobeyhttp://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-client/trunk/revision/85420:03
thisfreddobey: yeah no I think I found the problem.20:04
thisfredmeans I do need a closure20:04
thisfredoh well20:04
nessitathisfred: your branch does seems landed20:04
nessitathisfred: when merging it into trunk I get no changes20:04
thisfrednessita: yeah that's not the problem20:05
thisfredIt was an unlikely explanation for a weird phenomenon: I found a likelier one:20:05
nessitashoot20:05
thisfredShares are broken, but UDFs work, I bet you and alecu always used UDFs to test, whereas Ken used shares ...20:06
thisfredWe do keep a reference for the UDFs message around since we only ever have one udfs message for which we update the count when necessary20:06
thisfredThis is what happens when I stop working on something for 2 weeks, I forget everything I knew20:07
nessitathisfred: indeed, I used UDFs20:07
kenvandinenessita, i just logged out and back in... i got two U1 entries in the messaging menu for a few seconds20:09
kenvandineuntil syncdaemon started20:09
kenvandinenessita, so you aren't crazy :)20:09
nessitakenvandine: of course I'm not crazy! :-D20:09
kenvandine:-D20:09
kenvandinethe dupe went away quickly here though20:10
nessitakenvandine: as soon as SD starts, I thikn20:11
nessitathink*20:11
kenvandineyes20:11
nessitakenvandine: I notice it mor since I start syncdaemon by hand20:12
nessitaI don't have it as a startup app20:12
=== ivanka is now known as ivanka-train
thisfrednessita, alecu, kenvandine : r891 of https://code.launchpad.net/~thisfred/ubuntuone-client/fix-server-show/+merge/50962 has changed quite a bit and hopefully fixes the issue for shares as well as UDFs. (Ken: I now keep reference to all indicators in a list, and remove them from the callback, initial testing indicates this works)20:38
kenvandinethisfred, thx20:39
kenvandinei'll test it out in a few20:39
thisfredawesome, thanks for all your help on this20:39
nessitakenvandine: ask for shares to me, I'm happy to do th,m20:41
verteroknessita, dobey: are we going to get a u1-client release (natty) for tomorrow?20:51
nessitaverterok: I think dobey was working on that today, let's confirm20:51
verteroknessita: just wondering if revno >= 888 will be included :)20:52
nessitaverterok: you should confirm with dobey. DO you have something you don't want to be released?20:53
verteroknessita: nope, I want ot be sure revno 888 is included :)20:53
nessitadobey: ^20:53
verterokdobey: are we getting revno 888 of u1-client in natty for tomorrow release?20:54
=== ralsina_doctor is now known as ralsina
dobeyis it in trunk?20:59
dobeyi haven't done the release yet, so if it's already in trunk, the answer is 'yes'21:00
dobeyi'm trying to finish up this banshee feature first21:00
verterokdobey: awesome, thanks!21:03
dobeysigh, i really do not like git :(21:07
thisfrednessita: AAAARGH21:12
nessitathisfred: WHAT HAPPENED?21:12
thisfredI just finished the singular/plural thing, only to find alecu just did it :(21:12
nessitarhi21:13
nessitathisfred: NO WAY21:13
nessitathisfred: alecu commented in the bug report21:13
thisfredand I approved the branch he did it on21:13
thisfredhaha21:13
nessitayou didn't see that? he even mentioned that in this channel, this morning21:13
thisfredmust have been before I showed up21:16
thisfrednessita: anyway, he did it wrong, so my changes are still better21:16
thisfredif a little unnecessary :)21:16
thisfredbut a ping would be nice if someone takes a bug away from me :)21:16
thisfredI'm glad to see it wasn't completely wasted though21:16
nessita:-)21:16
thisfredI'm still proposing it21:16
thisfrednessita:  https://code.launchpad.net/~thisfred/ubuntuone-client/fix-lp-723327/+merge/5100921:18
thisfredand dobey maybe, since he pointed me to the right way to do it. (Yes, that will make you think twice about helping me again ;)21:18
nessitathisfred: I trade a review, if you are up to https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/fix-buttons/+merge/5101221:28
nessitaralsina: ping21:28
ralsinanessita: ponele21:28
nessitaralsina: today, at the stand up, people was wondering if we should be booking tickets for the BA sprint (in particularly people traveling from the states)21:29
ralsinanessita: I am waiting for marianna's response21:29
ralsinaI think tomorrow there will be a green light for booking.21:30
nessitaralsina: ah, ok. Do we know which hotel we're staying in? (pure curiosity)21:30
ralsinanessita: no, that's one of the things where I need her help21:30
nessitaah21:30
ralsinaLst sprint it was the ramada inn in olivos, IIRC21:30
nessitaralsina: yeah, becasue it was really close to facundobatista's and verterok's house21:31
ralsinaand mine21:31
nessitaralsina: maybe in this case we should be near you and/or alecu21:31
nessitaah21:31
nessitathisfred: ping21:31
ralsinanessita: it's 15 minutes from mine, but very far for alecu21:31
thisfrednessita: pong21:31
nessitaah21:32
nessitaralsina: are you working a bit longer?21:32
ralsinanessita: yes21:32
thisfrednessita: pong pong?21:33
ralsinanessita: and I will do some work late tonight, so if you need reviews or whatever just ask21:33
nessitathisfred: I'm looking at your branch. Did you removed the translation capabilities from some strings?21:33
nessitaralsina: yes please! https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/fix-buttons/+merge/5101221:33
thisfredI don't think I did21:33
thisfrednessita: If I did that's a mistake21:33
ralsinanessita: I was already reviewing that one :-)21:33
nessitathisfred: the strings no longer have the Q_()21:33
nessitathisfred: for exmaple, FINAL_UPLOADED21:34
nessitaralsina: awesome!21:34
thisfrednessita: they now have N_() right?21:34
nessitanopes, they now are nothing21:34
thisfredwth21:34
nessitaFINAL_UPLOADED_M = \21:34
nessita    "%(total_uploaded_files)d files were uploaded to your personal cloud."21:34
thisfredeh, that string should be gone completely21:34
thisfredeh no21:34
thisfredwait21:34
thisfredI am going nuts21:34
thisfrednessita: the thing is21:35
thisfredwe need to do the l10n and thus the i18n when we know the number21:35
nessitathisfred: and I don't think that this will work:21:35
nessita        if upload_done:21:35
nessita            format_args = {'total_uploaded_files': upload_done}21:35
nessita            parts.append(N_(FINAL_UPLOADED_S, FINAL_UPLOADED_M,21:35
nessita                            upload_done) % format_args)21:35
nessitathisfred: since the strings to translate are generated statically21:35
thisfrednessita: since different languages handle plurality very differently21:35
thisfrednessita: that's what ngettext/dngettext is for21:36
thisfrednessita: the only thing I am not sure about, is whether N_ breaks the automatic launchpad extraction21:36
thisfredfor that matter I thought it had to be _ always, so I wonder if Q_ works, or if we configured that somewhere21:37
thisfrednessita: but that's the reason the i18n moved into the methods itself21:38
thisfredfor instance in polish 1 < n < 10  has a different plural than n > 10 (I think, the exact numbers may be different)21:39
thisfrednessita: hello?21:45
nessitathisfred: but but but21:47
thisfredhehe21:47
thisfrednessita: I don't see the strings from alecu's branch in launchpad, so I'm guessing the Q_ does not work either21:49
* thisfred looks into launchpad extraction21:49
nessitathe strings to translate will not be generated in this case21:51
=== beuno is now known as 84XAAAATU
=== popey_ is now known as popey
=== karni_ is now known as karni

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