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

karniok, basic up/download notifications in place, EODing. good night guys!00:36
espen77in natty, left or right click on tomboy indicator-applet, and sync notes is hidden ammong all other notes. Same for everyone?02:30
duanedesignespen77: hmm. not for me04:30
duanedesignespen77: I will see If I can find a bug report on this04:31
espen77duanedesign: for you it is allways one of the three first choices?04:59
espen77might be just me, sins i am behind a big bad fw and cashing proxies...even impossible to get a fresh iso from here,05:02
espen77never sure what state anything is in any more05:02
duanedesignespen77: it is at the bottom with Preferences, Help, About Tomboy.05:05
duanedesign.names05:18
espen77purge and reinstall helped....05:32
espen77I like the u1 notifications on steriods, atleast it shows something is happening with sync every once in a while05:36
espen77duanedesign: you know of any plans to do anything with pictures in u1 (kinda like picassa)? Not looking for a full clone of the picassa web, but would love a sync of my pictures to u1 based on sd card id or camera id or something.06:22
duanedesignespen77: yes there are plans to integgrate Ubuntu One with Shotwell06:25
duanedesignespen77: you can keep track of the proggress on the blueprint https://blueprints.launchpad.net/ubuntu/+spec/multimedia-ubuntuone-n-shotwell-integration06:26
espen77duanedesign: that's cool...will wait to see what that will look like before start whining.06:26
duanedesignheh, cool. Does not look like it will ship with 11.04 but likely be in 11.1006:35
espen77hm....almost half way from lucid to next lts06:43
ralsinaYes, there were problems doing the shotwell integration. It was decided it's better to let shotwell's plugin architecture settle a bit.06:48
espen77ralsina: was reading up on shotwell plugins, seems plugin support just made it in the trunk,06:58
ralsinaespen77: precisely. We are very close to feature freeze, so there was no time to do things.06:58
espen77ralsina: figured that, just hoping for it in or before next lts07:00
ralsinaespen77: I expect it will be there for next cycle, so yes.07:00
* ralsina checks if next cycle is the LTS, it's 4AM here :-)07:00
espen77ralsina: when i have moved my photos from my camera to u1, then what?07:01
espen77ralsina: still a year to go07:01
ralsinabasically, you will have them on the web without having to publish them, and probably can sync back/forth with your mobile later07:02
ralsinaok, gotta play with my insomniac kid07:02
espen77ralsina: what i was thinking, kinda like the google setup.07:03
ralsinaespen77: what part?07:04
espen77the pictures being on the web, and awailable on the cellphone....that way i can give a link to friends and family, and they can see the pictures, and they will be in the cell phone in the pocket so allways with you.07:05
ralsinaespen77: that's the general plan, yes :-)07:23
zygahi folks08:35
zygaI'd like to file a bug but I wanted to ask for your opinion first08:36
zygau1 is quite unusable in my system by default by a collection of issues:08:36
zyga(all issues taken together make me disable u1 daemon as soon as I log in)08:36
zygathe issues are:08:36
zyga1) default limits for outgoing bandwidth are poorly selected, the default is 20Mbit upload, nobody I know has that much upstream speed, it might work fine in a data center but in "at home" environment it always hits the network cap created by the ISP.08:38
zyga2) The way most ADSL connections work as soon as you start sending too much you cannot receive traffic normally (lots of packet loss, very large latency). From users' point of view the "internet" does not work anymore. Websites don't load before timing out,DNS often fails to resolve names and so on.08:39
zyga3) Users that experience this will (hopefully) want to reconfigure upload speed in u1 control panel, here's another set of issues: the panel requires communication with the server (via the daemon most likely), when issue 2) hits this is largely impossible and on my system times out every time I try to access the panel while uploading hits my network limits08:41
zyga4) Then the nail to the coffin, the upload speed control is broken, at low speeds (10-20KB on my machine) it never manages to connect and send anything, on slightly higher speeds (~50KB) it behaves erratically - sometimes it saturates the network (causing issue 2 again) and sometimes it stops doing anything (almost no upload for a brief period of time)08:42
zygafrom my point of view the root cause are bad defaults, I have no such issues with dropbox because they seem to do some smart control of upload speed by default (they have three options: no upload control, "smart" upload control which is selected by default and manual upload control)08:44
zygaso that's it08:44
zygaI'd love to know what you think, I'm going to report this later today08:44
ralsinaHmmmm.... the default is actually unlimited upload08:45
ralsinaAlso, it doesn't require a network connection to set the cap, justa  connection to syncdaemon that's on your own box08:46
ralsinaOther than that, ouch08:46
zygaralsina, so the defaults are wrong either way, the no cap never works on ADSL and the default limit is sky-high for ADSL as well08:47
ralsinazyga: I have ADSL and never capped it08:48
zygaralsina, but the UI that sets the cap times out and fails to operate when you have dropping outgoing packets all the time08:48
ralsinazyga: but I understand the problem08:48
zygaralsina, interesting, what network speed do you normally have?08:48
ralsina3Mbps download, 256Kbps upload08:48
zygaralsina, I have 5Mbit down and 1Mbit up (but 0.7 really)08:48
zygaralsina, I suspect a lot depends on the modem that ISP provides08:49
ralsinaor maybe 512Kbps upload, I don't quite recall08:49
ralsinazyga: yeah08:49
zygaralsina, but I suspect that still might be a common case and we should look at fixing this - it gives very bad impression IMHO08:49
ralsinazyga: really, the cap should not even require an internet connection08:50
ralsinaIt's all done through D-Bbus08:50
zygaralsina, that's right but the way UI is constructed it's not really working this way today08:50
zygaralsina, also, when you ask the daemon to disconnect it seems to _finish_ last transfers, that can take a lot of time (minutes, hours?) depending on the size of the uploaded file08:50
zygaralsina, I can record a video of what is happening on my system if you want08:51
ralsinazyga: no need really, I believe you08:51
zygaralsina, I think it will explain how this behaves to a lot of people that do not experience this on their systems08:51
zygaralsina, right, I don't want to convince you I just think it could help to illustrate the problem :)08:51
ralsinazyga: ok, record it then and post it here08:51
zygaI'll log in with english locale so the video is easiler to follow08:52
duanedesignmorning all08:58
ralsinagood morning duanedesign08:58
zygagot it09:02
zygalet me upload that to p.c.c09:03
zygaduanedesign, hi, could you please check the backlog for my messages, I'd like to know what you think09:03
duanedesignmorning rye09:11
ryeduanedesign, morning!09:12
ryeduanedesign, are you using a laptop?09:21
duanedesignrye, yes09:21
ryeduanedesign, is plugging out the AC working for you fine?09:22
zygaduanedesign, what do you think about the upload cap issue?09:23
ryeah, bug #539467, seems like they have disabled sata alpm completely again.09:23
ubot4Launchpad bug 539467 in pm-utils-powersave-policy (Ubuntu Natty) (and 12 other projects) "SATA link power management causes disk errors and corruption (affects: 25) (dups: 1) (heat: 160)" [High,Invalid] https://launchpad.net/bugs/53946709:23
ryezyga, upload cap? bug # ? I've been poking bandwidth throttling recently so would like to know what's not working09:24
duanedesignzyga: i could not add much that ralsina did not already touch on. rye might be able to add something. He was testing upload/download recently09:24
duanedesignhttp://paste.ubuntu.com/568089/  <---rye09:24
zygarye, did you see my earlier messages?09:24
ryebecause it was working for me no matter what i tried to do09:24
duanedesignzyga: I pastebin'd it :)09:25
zygarye, I'm uploading the video of the session to people.c.c, it should be there soon09:25
zygaduanedesign, it's hard to pastebin that ;-)09:25
ryezyga, so you set 10-20KiB and it behaves horribly, right?09:26
ryetesting09:26
zygarye, it either respects the limit and fails to work (no upload, stuck trying) or does not respect it and saturates the link09:26
zygarye, the video I created is pretty interesting - I think you should see it, pictures speak more than words I believe09:27
zyga18 minutes left09:27
ralsinazyga: I am worried about not being able to set the cap once the internet connection is saturated09:28
ralsinazyga: so I am anxiously waiting for the video09:28
zygaralsina, I think there are a few bugs to file here, just wait please :)09:28
rye2011-02-17 11:28:59,168 - twisted - INFO - pause writes for: %s 18.129248046909:29
ryeralsina, you know what, i think i know what's happening09:29
ryeso, syncdaemon works with bandwidth throttling the following way:09:29
ryeit measures the amount of bytes it should write/read to/from the socket for the given speed, pushes that amount to the socket then waits for some time in order to maintain the average speed specified by user09:31
ryebut09:31
ryesince it pushes the whole block at once it is basically using 100% of bandwdith on low bandwidth links for a small amount of time09:31
ryesomething tells me it has to do delays for sending between every sent packet09:32
ryeralsina, does that make sense ^09:33
ryeand we need to fix that pause writes for: %s format09:33
ralsinarye: well, I have never looked at that code09:33
ryezyga, do you happen to know about any quick ways to plot the network link usage?09:34
ralsinaSo I don't want to say anything that can be misunderstood09:34
zygarye, gnome-system-monitor and sudo iftop -B -i ethXX09:36
zygarye, 8 minutes left to upload09:37
zygarye, define "low bandwidth links" please09:37
zygarye, the behavior to upload whole block without capping is IMHO broken, this should not work like that09:37
zygarye, how large is the block size?09:38
ryeerm, i don't understand, i  can't find the code09:40
zyga5 minutes left...09:41
JamesTaitAloha!09:41
ryebecause i am searching in the client, not protocol, phew.09:45
zygarye, ralsina: http://people.canonical.com/~zyga/Maverick%20Movie.avi09:47
zyga139MB09:47
zygaurgh09:48
ralsinazyga: I'm in the middle of an epic code review, but I will look at it today09:52
zygaralsina, thanks09:52
zygaralsina, I09:52
zygaralsina, I'll be here if you want to chat about it09:52
ralsinazyga: cool09:53
ryehm, looks like my system does not want to play that10:03
ryewell, great, on 20KiB it does not want to start uploading :-/10:09
zygarye, mplayer works for me10:09
zygarye, ah, so you reproduced that! great10:09
zygarye, in my video you can also see that the network cap is never respected, as if the setting did not exist10:09
zygarye, it's more interesting when you consider 3G connections - that speed is all you might get (and even then you pay through the nose)10:10
zygarye, we might want to ask n-m about connection type and offer separate cap for 3G10:10
zygarye, does it also try to connect and fails for you? it's using bandwidth without getting any progress10:11
ryezyga, i agree, i think we may need to poke facundobatista when he returns online about the implementation of the bandwidth throttling.10:11
zygarye, I don't get one thing, I keep coming back with the throttling implementation bugs, is it really working for everyone else?10:12
ryezyga, like i said before i've been testing it with various values changing during the transfer, but, since my network could accomodate those values it all went fine, i got the average readings around the requested values and it looked like that was fine.10:13
zygarye, what values did you try?10:14
ryezyga, from 10 to 200010:14
zygarye, wow, you can get 2000 of upload?10:14
ryezyga, yes, max is 3750 for me10:15
zygayou have almost 40Mbit of uplink?10:15
zygawow :-)10:16
zygarye, you could try with iptables rules that would emulate different connection10:16
zygarye, I used a dedicated box a few years ago, it had controls for latency, bandwitdth, packet loss and a few other quirks10:16
zygarye, worked like a hub otherwise10:16
zygarye, it was really good for testing IPTV software we were writing at the time10:17
ryezyga, i think i'll need to find out how tc works and cap myself10:17
ralsinarye: check the Linnux Advnced Routing and Traffic Control Howto10:18
ralsinathe LARTC10:18
zygarye, one more question, do you want me to file a bug about this? I think there are a few more than one based on the video I posted10:18
ralsinarye: short version, it'sa pain10:18
ralsinazyga: yes. Filing bugs is good.10:18
ryeralsina, yes, last time i did that it was pretty quick but i did not understand what i have been doing10:19
ryeralsina, is the video working fine for you? my variant is a slideshow10:19
ralsinarye: that's the usual patter with the lartc. I have even charged clients while not understanding it.10:19
zygarye, try without compiz perhaps10:19
ryezyga, is md5sum of that file 2e6d91408e3ca2fa317aa22cc571385510:19
ryezyga, i am running nouveau, no compiz for me10:20
ryeand no bouncing icons in unity too10:20
zygarye, well the video is rather large but I can play it on my desktop10:20
ryezyga, it starts fine but after 5 second it starts being a turn-based strategy game10:21
zygarye, cpu load/10:21
zygarye, I can transcode it to some other code/resolution10:21
zygarye, the md5 sum is correct10:22
ryezyga, ok, will try to transcode here then10:23
zygarye, that recording was done by vmware btw10:23
ryehm, no, that does not work for me too10:25
zygarye, let me do it10:25
zygarye, what is your screen resolutin?10:26
rye1280x80010:26
ryezyga, vlc, mplayer, gstreamer-things all show slideshow, should it be a smooth video?10:27
ryezyga, wait, looks like it is ok further in the file10:27
zygarye, not smooth, a few fps10:27
zygarye, it's the code, it's optimized for capturing screen sessions10:28
zygaok10:28
zygaI just played this on atom netbook10:28
zygacpu usage is barely noticeable10:28
ryezyga, ok, at 02:24 syncdaemon is in STANDOF state, but network monitor still shows the activity, that's something i have not seen before, i must say10:29
rye STANDOFF10:29
ryezyga, re: indicator - i need to update it to support correct event canceling... 70% hmmm10:30
zygarye, STANDOFF is "sending last file"? what does it do in that state?10:30
zygarye, is it possible that the control panel is stuck waiting on a dbus call to the server that in turn requires network connection (and takes a long time) ?10:32
zygarye, this might explain why I cannot disconnect when the network is saturated10:32
ryezyga, control panel talks directly to the server-side rest api for account, devices, it talks to syncdaemon to get connection status, bandwidth throttling readings and the list of the volumes and their subscription status10:33
zygarye, what about speed control?10:33
ralsinarye: there is no way to remove a package from the "affects"  in launchpad?10:34
ralsinabug #487875 is really about either the screensaver or compiz or something like that, not ubuntuone10:34
ubot4Launchpad bug 487875 in ubuntuone-client (Ubuntu) "Problemas com os efeitos especiais (dup-of: 465230)" [Undecided,Incomplete] https://launchpad.net/bugs/48787510:34
ubot4Launchpad bug 465230 in ubuntuone-client (Ubuntu) "Need better error handling for timestamp failures (affects: 93) (dups: 13) (heat: 370)" [High,Triaged] https://launchpad.net/bugs/46523010:34
ralsinazyga: that should only require local communication between the control panel and syncdaemon.10:34
ralsinazyga: it should even work if you unplug your adsl10:35
zygaralsina, okay10:35
zygarye, I recorded another shorter session that shows the UI is not responding in that case, I'm transcoding for upload10:35
zygarye, and also observe that the speed limit was never effective, I could not see any limit being enforced10:36
ralsinazyga: about that, the best persons to ping are probably lucio and facundobatista10:38
ryeweird, i pushed zyga's movie to ubuntuone folder and current transfer shows nothing, and nothing in waiting content10:38
ralsinazyga: they should be here in a cuple of hours10:38
zygaralsina, I'll keep that in mind, thanks10:38
ryeralsina, i think we need to push to get this looked into since something has been happening with bandwidth throttling for a long time10:39
ralsinarye: sure10:39
ryeralsina, what link is facundobatista on?10:39
ralsinarye: no idea10:39
zygauh, the second movie is just 5MB, vmware codec is crappy compared to h26410:39
ralsinarye: but he can't have more than 5Mbps since he lives nearby and noone sells much more than that here10:40
ryewell, selecting 20KiB in controlpanel enough for the things to go weird10:40
ryeis10:40
ralsinarye: that's good, if it's repeatable.10:41
ralsinabecause then we can really bug foundations about it :-)10:41
zygaplease have a look at http://people.canonical.com/~zyga/Maverick%20Movie002-1.m4v it's very short and shows the same thing10:41
ralsinachecking10:41
zygarye, perhaps the amazon server is dropping connections if the speed is too low?10:44
ryezyga, hm, could you please try u1sdtool --quit the client then run it in debug mode - /usr/lib/ubuntuone-client/ubuntuone-syncdaemon --debug from the terminal?10:45
ryeo_O10:48
ryeMaverick Movie uploaded 12 minutes ago10:48
zygarye, sure just a second10:49
zygarye, done, running in a script session with full transcript10:50
zygarye, do you want me to interact with the preferences in any way while that happens>10:50
zygarye, as before it's saturating my link (the cap is set at 10K10:52
zygarye, another thing, I think that the client is not able to resume previous uploads, is that true? I still see it trying to push one .mp3 file I have10:54
ryezyga, could you please check me, 139MB on 20KiB throttling should take about 2 hours to upload, is that correct?10:54
zyga118 minutes, yes10:55
* zyga has crazy idea10:56
zyganope, not this -- for a second I thought the upload/download caps were swapped10:56
zygarye, why is the client uploading multiple files at the same time?10:58
ryezyga, because it is a new feature we have, concurrent uploads and no more separate meta and content queue which means that files will be uploaded faster10:59
zygaI see10:59
ryeit definitely wan not 2 hours since i started uploading10:59
zygawell I have lots of data already, do you want me to stop this session?10:59
zygarye, I have a movie + script again10:59
zygarye, I was doing the same thing, playing with throttling speed, looking at network usage etc11:00
zygarye, pausing / resuming11:00
rye2011-02-17 12:30:46,298 - hashing starts; 2011-02-17 12:35:55 - file is uploaded11:01
rye5 minutes11:01
ryethat's not 20KiB11:01
zygarye, that's not 20 :-11:01
zygaright11:01
zygarye, so shall I stop the --debug session now?11:01
ryezyga, yes, you may stop debugging11:02
ralsinazyga: I see the UI problem now. We should try to show the local device without pulling the whole list first (that is what requires network)11:02
ralsinazyga: if you had no internet, then syncdaemon would return immediately because it would know it can't pull the list from the server, and it would be quick.11:02
ralsinazyga: if your net was working well, it would be quick, too.11:03
ralsinazyga: but with a very slow net, it sucks badly.11:03
zygare11:03
zygasorry, vm crashed11:03
zygaralsina, that's great news then11:03
ralsinazyga: well, no, I think it sucks :-D11:04
* zyga feels QA work for u1 is becoming useful :-)11:04
zygaralsina, It's good you found it :-)11:04
ralsinazyga: the bad news is, we don't have time slots to handle it, I think.11:04
ryezyga, if we assume that syncdaemon writes whatever it can during 1 second (lets say i have 1MiB/s connection to amazon) then it would have taken 2.5 minutes to upload the file but since we set up some waiting time it could have made this last 5 minutes.11:05
ralsinaBut that part at least deserves its own bug assignerd to ubuntu one desktop+11:05
ryei need to talk to facundobatista, it looks weied11:05
ryeweird11:05
zygaI know you are all busy working on things (bugs and features) but I hope someone can still have a look a this11:07
zygaquality > features11:07
ralsinazyga: yes, I agree.11:07
ralsinazyga: but there is no quality freeze11:07
zygahehe right11:07
zygarye, http://people.canonical.com/~zyga/ , I've just uploaded the --debug session + corresponding video11:19
zygarye, is the --debug log what you wanted?11:27
ryezyga, yes, please11:27
zygarye, I mean is the log I uploaded what you wanted ;-)11:27
zygahttp://people.canonical.com/~zyga/u1-debug-session.txt11:28
ryezyga, ok, so at 2011-02-17 11:52:11,396 it was trying to upload the mp3 file11:29
zygayes11:30
ryezyga, ok, i suppose we will talk to facundobatista about the implementation and then try to find out what goes wrong11:30
zygaok, I'll get back to work, ping me when you want any feedback from me11:31
ralsinanessita: we should really add a link from somewhere in Ubuntu One to the music store UDF if the machine has it subscribed. Don' t you agree?11:59
ralsinaOtherwise the music is hidden unless you know where to look11:59
nessitaI do agree, but I'm pretty sure that is in place already. If the link is not there, we're having a bug11:59
ralsinanessita: it' s there in the machine that buys the song12:00
ralsinait' s not there in your other devices, AFAICS12:00
nessitahum, so is not that trivial12:00
nessitasince we can't add that symlink always12:00
nessitapeople that doesn't purchase music will not want the symlink12:01
ralsinanessita: yes, trivial things I don' t ask around ;-)12:01
nessitaralsina: do you know who is creatying the symlink today (in the box you buy music)?12:01
ralsinaI was thinking, that if you click on subscribing the folder via control panel, then it could be added but separation of concerns bit mr in the ass :-)12:02
ralsinanessita: I am guessing the store plugin12:02
ralsinanessita: but that' s just a wild-ass guess12:02
nessitaI think that too (that is the plugin)12:02
nessitaralsina: so, I'm thinking this:12:02
nessita* we can't move the burden to create the symlink to syncdaemon since syncdaemon is music-agnostic12:03
nessita* the one in charge to create the link in other computer should be the same music store plugin12:03
ralsinaI was thinking control panel because the user has to subscribe it manually.12:03
ralsinawe may not even have the plugin installe12:04
ralsinad12:04
nessita* but, what happen if the user has purchased music but the plugin is not installed?12:04
nessitaright12:04
nessitaralsina: I see that as a hack, you know. But doable, of course.12:04
ralsinayep, a hack12:04
ralsinabut I see noone else that we know is installed except syncdaemon12:04
nessitaralsina: 'is installed'?12:05
ralsinaright, if the store plugin is in charge of symlinking it, it may not be installed, or may never run at all.12:05
ralsinaSo the symlink won' t get done.12:05
nessitaright12:05
ralsinaIf the user is subscribing to thepurchased music folder, he has control panel12:06
ralsina(or knows how to use u1sdtool and we don' t care about him ;-)12:06
ralsinaSo we can assume control panel is there and is being used12:06
nessitawell, I guess we should do both: ensure that the store plugin creates the symlink in any box, and also do the check in the control panel12:06
ralsinanessita: yeah, sounds good.12:07
ralsinaI will chew on it a bit12:07
nessitaralsina: file me a bug please :-)12:07
nessitaah, ok12:07
ralsinamaybe inspiration will strike12:07
ralsinaconfirmed, rhythmbox-ubuntuone-music-store creates the symlink. I' ll check if the banshee store does too.12:10
facundobatistarye, zyga, hola?12:12
zygahi12:13
zygafacundobatista, good day :)12:13
facundobatistazyga, good day!12:14
ralsinaawesome, the banshee music store crashes banshee12:15
ryeralsina, crashee12:15
ralsinathe banshee ubuntu one music store plugin, that is12:15
ralsinaI am going to hack the servers and ship xmms12:15
ryefacundobatista, hola! We have a confirmed issue with bandwidth throttling. But first of all, how does it work?12:15
facundobatistarye, it counts how many bytes are sent/received, and stops for the second when you get the maximum for that second12:16
zygafacundobatista, how does it sends the data? as blocks of some size or as a stream?12:17
facundobatistazyga, it does not change that....12:19
facundobatistazyga, think it as a "waiting tcp proxy":12:19
facundobatistazyga, let's suppose you have 10KBps max12:19
ryefacundobatista, so basically it can write 2Mb of data per second then halt then write 2Mb in one second again?12:19
facundobatistazyga, so, some second starts, and it receives 2KB, it just sends it12:19
facundobatistait receives 5kB, insid the same second, it just sends it12:20
zygafacundobatista, something is not working then, we reproduced that on two different systems12:20
facundobatistait receives 5KB more, in the same second.... oops, max exceeded, let's wait for the next second... ... (wait) ... send the 5KB12:20
zygafacundobatista, I uploaded a --debug traece and a video that shows what I was doing12:20
zygafacundobatista, http://people.canonical.com/~zyga/ check out the third movie and the .txt file12:21
ralsinanessita: I subscribed you to bug #525210 which is kinda the root of the music folder thing we discussed.12:22
ubot4Launchpad bug 525210 in rhythmbox-ubuntuone-music-store (Ubuntu) (and 2 other projects) "UbuntuOne musicstore data isn't saved according to the XDG Base Directory specifications (affects: 3) (heat: 22)" [Wishlist,Confirmed] https://launchpad.net/bugs/52521012:22
ryefacundobatista, what about upload speed setting, will it send maximal amount of data for the given second and then notice that it has sent it?12:22
facundobatistarye, don't understand your question12:23
facundobatistarye, zyga, btw, if you want to check the code, it's ThrottlingStorageClientFactory in client.py in the storageprotocol12:23
zygafacundobatista, how soon are the changes in throttling speed "noticed", let's say you upload 100MB and play with the throttling setting, will it affect the speed in real itme?12:24
ralsinafacundobatista: the granularity may be a bit coarse, by the way it affected zyga12:24
facundobatistazyga, nop, you need to restart the client12:24
ryefacundobatista, does it measure the sent and received data at second boundary only or it applies the delay for every sent/received chunk of data (say, 1024 bytes)12:24
ryeO_O12:24
ralsinafacundobatista: ok, that explains it :-)12:24
ryefacundobatista, why do we have this as a realtime setting?12:25
zygafacundobatista, uh, that's a bug then12:25
zygafacundobatista, on the second hand, it's not respected - from what I've seen12:25
facundobatistarye, "realtime setting"?12:25
zygafacundobatista, it's still sending the fastest way possible, the cap was set to various low settings and was never respected12:25
ryenessita, we have bandwidth throttling in ubuntuone-preferences and control panel and it requires syncdaemon restart to become effective12:25
facundobatistazyga, that may be a bug, yes12:26
ryenessita, as we have just found out12:26
facundobatistanessita, we need to restart the client to get new configs, right?12:26
facundobatista(maybe we could send kill and it will reload?12:27
facundobatistazyga, you can not use "system monitor" to see the bandwidth usage for syncdaemon12:30
facundobatistazyga, we had a lot of "almost bug reports" of "SD uses a lot of my network", and it wasn't syncdaemon at all12:30
facundobatistazyga, you need to use a tool like nethogs12:31
zygafacundobatista, why not?12:31
facundobatistazyga, because something else may be using the network12:31
zygafacundobatista, so you claim that something else was using the link at that time?12:31
zygafacundobatista, I also used iftop - believe me it was u112:31
zygafacundobatista, I know how to check things like that12:31
facundobatistazyga, I don't know, but it's no use for a bug report12:31
zygafacundobatista, I was annoyed by this bug long enough to check this over and over12:31
zygafacundobatista, I can do another session if you really want but it _was_ u1 this time12:32
facundobatistazyga, which one? using more than the bandwith it had, or not changing the behaviour after changing the setting while running12:32
zygafacundobatista, you can also see this in the video when the daemon was stopped and started multiple times12:32
facundobatista?12:32
zygafacundobatista, let me scroll back and copy my original bug12:32
zyga<zyga> hi folks12:33
zyga I'd like to file a bug but I wanted to ask for your opinion first12:33
zyga u1 is quite unusable in my system by default by a collection of issues:12:33
zyga (all issues taken together make me disable u1 daemon as soon as I log in)12:33
zyga the issues are:12:33
zyga 1) default limits for outgoing bandwidth are poorly selected, the default is 20Mbit upload, nobody I know has that much upstream speed, it might work fine in a data center but in "at home" environment it always hits the network cap created by the ISP.12:33
zyga 2) The way most ADSL connections work as soon as you start sending too much you cannot receive traffic normally (lots of packet loss, very large latency). From users' point of view the "internet" does not work anymore. Websites don't load before timing out,DNS often fails to resolve names and so on.12:33
zyga 3) Users that experience this will (hopefully) want to reconfigure upload speed in u1 control panel, here's another set of issues: the panel requires communication with the server (via the daemon most likely), when issue 2) hits this is largely impossible and on my system times out every time I try to access the panel while uploading hits my network limits12:33
zyga 4) Then the nail to the coffin, the upload speed control is broken, at low speeds (10-20KB on my machine) it never manages to connect and send anything, on slightly higher speeds (~50KB) it behaves erratically - sometimes it saturates the network (causing issue 2 again) and sometimes it stops doing anything (almost no upload for a brief period of time)12:33
zyga from my point of view the root cause are bad defaults, I have no such issues with dropbox because they seem to do some smart control of upload speed by default (they have three options: no upload control, "smart" upload control which is selected by default and manual upload control)12:33
zyga so that's it12:33
zyga I'd love to know what you think, I'm going to report this later today12:33
zygafacundobatista, from my point of view the throttling is not working, no matter what you do with the setting and restarting the daemon12:34
facundobatistazyga, ok, let me tackle each point12:34
facundobatista1) why you say the default limit is 20Mbit? in /etc/xdg/ubuntuone/syncdaemon.conf, I see 209715212:35
facundobatista(bytes/sec)12:35
Chipacaso 2MBit12:35
facundobatistaChipaca, yeap12:35
zyga2M bytes/s is roughly 20Mbit12:35
ralsinafacundobatista: 2MB == 16Mbit?12:35
zygahmm?12:35
facundobatistaah, ok12:36
zygafacundobatista, nope, not 212:36
facundobatistasorry12:36
Chipacaah, bytes per second?12:36
zygaI know it's not 20 but it's easier to speak like that12:36
facundobatistazyga, no, I was confused with the bit/bytes, ok12:36
ralsinazyga: with TCP overhead is more than 20Mbps as your ISP measures it12:36
nessitarye: I honestly would not know, I'm just exposing the DBus iface, If it requires restart, is a pain :-( we can force it but from my POV is too violent12:36
facundobatistazyga, anyway, the default is high, but the default is "on = False", so the feature is not activated12:37
zygafacundobatista, that's another bug IMHO, see my rationale12:37
nessitafacundobatista: I don't know, I would expect you to know that. I would say no, but just because I would think is common sense12:37
facundobatistazyga, so, by default, syncdaemon will try to use all your network12:37
facundobatistanessita, maybe verterok knows about the restarting for the config12:38
nessitamaybe. verterok you around?12:38
verteroknessita: whasup?12:38
facundobatistazyga, if that is a bug for you, open a bug in launchpad but do not mix that with the other points12:38
zygafacundobatista, did you check what dropbox does by default? they monitor the network and try to see how much they can send and slow down if some other traffic shows up - while that's tricky to implement it's infinitely better from users point of view - and it's the default12:38
facundobatistazyga, we will fix it, or not (try to find if something similar was filed before)12:38
nessitaverterok: when setting new throttling limits, are those values taken into account without restarting syncdaemon?12:38
verteroknessita: setting the limits how?12:39
nessitaverterok: using the DBis iface12:39
verteroknessita: if you change the config file manually, syncdaemon needs to be restarted12:39
facundobatistazyga, awesome, didn't know what dropbox do regarding network, do you have some code to show that?12:39
zygafacundobatista, my points were not bug reports per se, they were points that lead to conclusion "u1 does not work out of the box"12:39
nessitaverterok: DBus config iface12:39
verteroknessita: no, if you use the Dbus iface the config is applied12:39
nessitafacundobatista, rye, zyga: ^12:40
zygafacundobatista, nope but it's easy to reproduce this - I did not try to automate that if that's what you are asking12:40
nessitaverterok: thanks! I thought so12:40
zygaverterok, thanks12:40
verteroknessita: at least that was the bahaviour at the time it was implemented :)12:40
Chipacaverterok: facundobatista: the bandwidth throttling is not working for a lot of people, I can confirm that much.12:41
verterokChipaca: I'ld say that it's working, but not as expectd :)12:41
zygaverterok, how so?12:41
Chipacaverterok: crashing network hardware isn't "working"12:42
zygaverterok, it's not respecting any limit I set12:42
verterokChipaca: crashign hardware?12:42
Chipacaverterok: (yes, that is happening also)12:42
verterokzyga: don't know about your specific issue12:42
Chipacaverterok: yep :)12:42
facundobatistazyga, so, let's continue with your points?12:42
zygafacundobatista, sure12:42
Chipacaverterok: probably flaky hardware to start with, but still12:43
verterokzyga, Chipaca: the main bug with throttling is that it's too deep in twisted/netwrok stuff, and doesn't know anything what is actually thtrttling12:43
verterok*about what is throttling12:43
facundobatista2) you're right!12:43
verterokso, SD limit the network usage no matter what...and maybe it's stopping sending bytes in the middle of a protocol message12:44
zygafacundobatista, do you agree with 1 too? that was not conclusive12:44
verterokChipaca, zyga: ^12:44
zygaverterok, SD?12:44
verterokzyga: syncdaemon, sorry :)12:44
zygaah12:44
zygaverterok, but how would that break the throttling?12:45
Chipacafacundobatista: what dropbox do is monitor the packet queue (/proc/net/tcp's tx_queue and rx_queue), apparently12:45
verterokChipaca: if an aplication can crash network hardware...it sounds like a serious problem in the stack (IMHO)12:45
zygaChipaca, if it does we can check that with strace easily12:45
facundobatistazyga, regarding 1), I don't know why it's configured with that, you have a better suggestion for the default?12:45
verterokzyga: I'm just pointing the known bugs :) maybe some change completetly broke it12:45
zygafacundobatista, yes, enable the limit by default and change the upload speed to a much much lower value, perhaps show this UI when setting up u1 on a new computer each time12:46
facundobatistaverterok, it's not "completely" broken, remember my problem when I had the limits in 200 and 500 bytes12:46
zygafacundobatista, I have no hard data to back my claims but 20Mbit uplink is probably not something 10% of users even dream of12:46
Chipacaverterok: is there a way to just limit the content queue and not the meta queue?12:46
verterokChipaca: no! that's "the bug"12:47
verterok:)12:47
facundobatistazyga, the default is off, maybe users will change that number when activating the feature?12:47
zygafacundobatista, the feature _should_ be active by default - that's my claim in 1)12:48
zygafacundobatista, if you enable it by default and keep existing speed limit then it's as good as disabled12:48
verterokChipaca: throttling currently works in a lower level, and know nothing about queues or meta or content or syncdaemon :)12:48
facundobatistazyga, ok, it should be active and in a lower limit... say 1Mbit? I like that default, it worths a bug report12:48
facundobatista1Mbit for download, 100kbit for upload12:48
facundobatistathose are nice limits12:48
zygafacundobatista, the actual limit is still not as simple, consider three cases: modem, broadband and 3g, but I agree in general12:49
zygafacundobatista, those sound sane to mee to12:49
facundobatistazyga, yeap, it's not as simple12:49
zygame too even12:49
facundobatistazyga, we don't want to give the image of "syncdaemon is slow" because of too low limits12:49
facundobatistazyga, it's a business decision, not technical, IMHO12:49
zygafacundobatista, I understand but "sync is slow" vs "this breaks internet whenever I use it" is also a business thing12:50
zygafacundobatista, we should not be broken out of the box, whatever we do12:50
Chipacafacundobatista: nobody on adsl in .ar has an uplink greater than 512kbps, fwiw12:50
facundobatistaChipaca, yeap12:50
zygaok12:50
zygaonwards to claims 3 and 412:50
zyga3 is about recovery when the user is smart enough to link slow internet to u1 (and the new notification might help with that)12:51
facundobatistazyga, 3) there it may be a bug also, maybe the control panel should be usable with the network saturated, or even with the network disconnected?12:51
zyga3 is the failure of the control panel UI to work under saturated link12:51
zygafacundobatista, right AFAIR ralsina already found a bug there, correct?12:51
facundobatistazyga, I don't know enough of the control panel to help you, nessita or ralsina will be of more help12:51
Chipacazyga: does it also not work without a network link at all?12:51
zygaChipaca, AFAIR not12:51
ralsinaChipaca: it works without a link12:52
Chipacanessita: ^?12:52
ralsinaChipaca: it works with a fast link12:52
facundobatistazyga, so, point 4, the one that seems more like a problem... which client are you using?12:52
ralsinaChipaca: it doesn' t work with a slow link, because it asks for the list of devices before you can throttle your own12:52
Chipacaralsina: does it work when network manager thinks you have a link but the link isn't connected to the internets?12:52
ralsina(I think)12:52
zygaChipaca, if you disconnect and n-m notices this it tells you that you need to be online, if you drop the link in a way that n-m is not aware (like disconnect your network modem while still being connected to a switch to keep the link up) the U1 will not work12:52
zygafacundobatista, the latest nightly12:53
zygaChipaca, (and by U1 I mean the control panel here)12:53
facundobatistazyga, so, let's see how we can reproduce that, in your machine and mine12:54
zygafacundobatista, which point do you want to focus on reproducing now?12:55
facundobatistazyga, 4, that the limit works12:55
zygaok12:55
facundobatistazyga, give me a couple of minutes so see if we could log a couple of things better12:56
zygasure12:56
nessitazyga: hey there. What is broken with the control panel regarding net limits?12:56
zyganessita, you cannot get to them on a saturated link12:56
zyganessita, and once you do they don't work (But that's another issue not related to UI)12:57
nessitazyga: what does it mean 'you can not get them'?12:57
zyganessita, I posted a few videos on http://people.ubuntu.com/~zyga/12:57
zyganessita, they show what happens, please try the smaller ones first12:57
zyganessita, various things time out12:57
zyganessita, and the whole section is grayed out12:57
zyganessita, this is all on latest nightly12:57
zygaer12:58
zygahttp://people.canonical.com/~zyga/12:58
nessitazyga: I know what is happening, and, I'm not sure what we can do about it. The network limits are asked to syncdaemon via dbus, but the device list is asked to our servers12:58
nessitaso, we're using http traffic to get the device list12:58
nessitawhich can not be retrieved since you have a saturated link12:58
zyganessita, we should have a separate part for the local device that works regardless of the rest12:58
karnihi folks, I see we've got some long discussion :)12:58
zyganessita, IMHO the setting of speed limits should not be there :-)12:58
facundobatistazyga, why you have a "debug" item in your [bandwith_throttling] section?12:58
zygafacundobatista, where?12:59
nessitazyga: maybe, but that's a whole completely separated issue12:59
zygafacundobatista, I ran the third video with --debug12:59
zyganessita, agreed12:59
nessitazyga: the UI design puts that info there12:59
facundobatistazyga, you say that file was changed because you run the client with --debug?12:59
zygafacundobatista, which file, I don't follow you, sorry12:59
nessitazyga: can you please file me a bug for that? description should be 'limits can be set because device list can't be retrieved due to slow connection'13:00
nessitaralsina: not sure what we can do about it ^13:00
zyganessita, perhaps you can construct the list with the "local" machine and give control to the throttling part and asynchronosuly populate it with additional devices13:00
facundobatista/home/zyga/.config/ubuntuone/syncdaemon.conf13:00
zyganessita, I'll queue it, there are a lot of bugs here13:00
ralsinanessita: I don' t know the internals enough either13:00
facundobatistazyga, you do a cat of it around 1:15s13:01
ralsinaIf we could show the local device entry without asking syncdaemon, that may help13:01
zygafacundobatista, ah - no that was present from a previous debugging session13:01
nessitaralsina: the device list is fetched doing a REST api call, we don't have one device at a time13:01
facundobatistazyga, can you remove that item, please? if all is fixed, *that* was a problem13:01
nessitaralsina: and we don't have the information of the local device either, in order to show it separately13:01
zygafacundobatista, sure13:01
zygafacundobatista, that would be a fail on my part too ;-)13:01
ralsinanessita: so ajo & agua13:01
ralsinanessita: so ajo & agua13:01
facundobatistazyga, in that case, it would be a real bug in the config management code13:02
ralsinazyga: sadly we can' t fix the control panel13:02
nessitaralsina: in the same scenario occurs if you have files sync disabled, devie tab is useless13:02
Chipacanessita: why don't we have the info of the local device?13:02
nessitaChipaca: because that info is in the servers, not in syncdaemon13:02
zygafacundobatista, it did not help13:02
zygafacundobatista, I captured the session as video again13:02
nessitaChipaca: syncdaemon knows nothing about the local device (name, type, date added, etc)13:03
Chipacanessita: that's a regression from u1-prefs13:03
zygafacundobatista, the connection saturated the link instantly13:03
facundobatistazyga, wait, wait13:03
zygafacundobatista, the whole traffic was going to amazon/u1 servers13:03
zygafacundobatista, ok13:03
nessitaChipaca: you sure?13:04
Chipacanessita: positive :)13:04
nessitaChipaca: what does preferences show when no device list is in place?13:04
zygaralsina, why not? design constraint?13:04
Chipacanessita: u1-prefs had placeholder values for the local machine until it got the server list13:04
nessitaChipaca: right, the UNKNOWN placeholders, which people complains about... not sure what is best/worse13:05
ralsinazyga: we don' t have the right info to show without connecting to ask for it, but maybe Chipaca and nessita are getting somewhere13:05
zygaralsina, could we not use the hostname before we fetch the true values?13:06
nessitazyga: the host name may not be the device name13:06
zygafacundobatista, I uploaded the session as movie 00413:06
zyganessita, right but it's better than nothing, another idea - since we cannot edit the device name today perhaps you could cache it in the UI?13:06
nessitaChipaca: we could guess the name using the token name. Not sure how to redraw later with the real info without making an overwrite in the UI, maybe surprising the user13:07
nessitazyga: we could, yes. We're not doing for this cycle due to lack of time13:07
Chipacanessita: the local machine should always be first IMHO, so the rewriting would be more of an appending, which wouldn't be so surprising13:07
facundobatistazyga, rye, Chipaca, verterok, found it!13:07
facundobatistazyga, rye, I was bad with how I told you this worked13:08
facundobatistazyga, rye, it works by getting what twisted indicates *what already is written or read"13:08
nessitaChipaca: I mean, rewritting the local machine with server info, that may differ or be more complete13:08
zygafacundobatista, so did you find the bug or did you confirm that it must work (while it does not for me at least)?13:08
zygawait, written _or_ read?13:09
zygaanyway, my question stands13:09
facundobatistazyga, rye, so, if you say that the limit is 10kbps, and twisted just wrote 50kb in the same chunk, it will wait *5* seconds before writing more13:09
zygafacundobatista, so it's not working in practice, now let's figure out why13:09
Chipacazyga: it is!13:09
zygaChipaca, explain pease13:10
zygaplease13:10
facundobatistazyga, the efect is a lot of small pikes that saturates your network, with pauses13:10
Chipacazyga: twisted is probably writing too much at a time13:10
zygafacundobatista, how long will it wait? proportional to the overcommitment of bandwidth limit?13:10
facundobatistazyga, on the average, the limitwrks13:10
Chipacazyga: say twisted writes a chunk of ... what's the default kernel-side buffer size? Probably something big13:10
Chipacachunks of 5MB, say13:10
zygafacundobatista, nope, I can show you that it does not work13:10
alecuhello all!13:11
zygafacundobatista, it never goes below my cap, I don't know how much theory you put behind this it is never slower than without the limit in the first place13:11
Chipacathen we notice that and wait an hour before doing something else13:11
karnihi alecu !13:11
alecuhey there karni, how is it going?13:11
Chipacabut it's already too late! the kernel is already writing this info out, too much data at a time13:11
zygaChipaca, 5MB? what?13:11
ryeChipaca, i had wait times of 18 seconds during my tests13:11
karnialecu: good! made a downloading/uploading notification yesterdays evening! :)13:11
zygaChipaca, how did you come up with 5MB value?13:12
karnialecu: x file(s) uploading, y file(s) downloading (in case there's both up and down tranfsers at the same time)13:12
facundobatistarye, exactly13:12
karnialecu: have you poked around oauth yet :)?13:12
ryewhat's twisted chunk before it calls us back?13:12
facundobatistazyga, you can see how SD waits in your log, see the pauses13:12
Chipacazyga: made it up13:12
alecukarni, I started with it yesterday. still wrapping my head around it.13:12
zygafacundobatista, checking now13:13
Chipacazyga: I'm looking around to see what the actual value is :)13:13
karnialecu: I'll be happy to help anytime13:13
alecugreat, thank! :-)13:13
karni:)13:13
zygafacundobatista, I see values like 5-18 seconds13:13
facundobatistazyga, pauses... in that time, SD does not write anything13:14
zygafacundobatista, what does twisted use at the very bottom to write? send?13:14
Chipacazyga: with what rate limit?13:14
zygaChipaca, yes13:14
Chipacazyga: with a rate limit of how much?13:14
karnialecu: oh, by the way. at the moment that logic uses the browser as a source for the oauth tokens. we may switch to the new API some time soon (1-2 months? that one is not scheduled yet)13:14
zygaChipaca, during the whole session the link was never idle, always saturated, I don't think you can do that this way, the kernel will block if the socket is full, the socket has a limited buffer, something is writing fast enough13:14
zygaChipaca, between 19 and 25Kb/s I was changing it during the test13:15
zygaChipaca, actual traffic was around 80Kb/s13:15
zygaChipaca, I just noticed it wanted to pause for 2+ minutes13:16
facundobatistazyga, don't change the limit during the test, it does not work, and confuses everything here13:16
zygaChipaca,  IMHO it should decide how much to write not how much to sleep afterwards13:16
Chipacazyga: I think we all agree, there13:16
zygafacundobatista, when does it measure how much bandwidth was used? after each block or after each file?13:16
* karni is afraid to think about throttling in U1F seeing all this discussion ;)13:16
verterokChipaca, facundobatista, zyga: ^ that was what I tried to say...but poorly explained :p13:16
ChipacaU1F?13:17
karniChipaca: the Android client for U1 files sync13:17
Chipacaah :)13:17
facundobatistazyga, *after*13:17
karniChipaca: ubuntu one files, to to speak13:17
zygafacundobatista, after what?13:17
facundobatistazyga, oh, sorry, after each block of bytes twisted wrote, whatever that is13:18
zygafacundobatista, do we set the size of that block today? is it by any chance using sendall to send the data?13:18
zygafacundobatista, doe we reconnect for each new file we transfer?13:18
ryeverterok, facundobatista: " don't change the limit during the test, it does not work," - so does it in real time or not?13:18
ryei am confused13:18
* zyga opened a can of worms here, :/13:19
facundobatistazyga, we don't reconnect on each new file13:19
verterokrye: the config change via DBus is in real time13:19
facundobatistaverterok, do we log when that happens?13:19
verterokfacundobatista: when what happens? :)13:19
facundobatistaverterok, we had bugs in the past with the GUI setting the syncdaemon in strange limit values13:19
karnitransfer limit change13:19
zygafacundobatista, the daemon notices, there's a log for that13:19
zyga2011-02-17 11:56:10,260 - ubuntuone.SyncDaemon.DBus - DEBUG - called set_throttling_limits13:20
facundobatistazyga, but it does not say with which values?13:20
zygafacundobatista, not in the log, no13:20
facundobatistazyga, could you please open a bug for *that*13:20
facundobatista?13:20
zygafacundobatista, let me queue the bugs and let's recap before I start loosing context13:20
facundobatistazyga, the log should be explicit for it...13:20
zygafacundobatista, I added this to the bug queue13:21
zyganessita, I also got your bug in the queue ('limits can be set because device list can't be retrieved due to slow connection')13:22
facundobatistazyga, and then please open the real bug we have for throttling: "it does not throttles inside the second, but sends a bunch of data and waits then some second to be below the limit"13:22
zygafacundobatista, ok13:22
zygafacundobatista, and one for the defaults, okay?13:22
facundobatista*"...waits then some secondS..."13:22
zygadefault network limits are too high13:22
facundobatistaok13:23
zygaand "default network speed limit should be enabled"13:23
facundobatistazyga, please, give me the number of the throttling one, so I can comment that with some code13:23
zygaok, let me start reporting them13:23
Chipacafacundobatista: verterok: zyga: what happens if we set SEND_LIMIT on the connection?13:23
nessitazyga: 'can't be set' (I made a mistake before)13:23
zyganessita, fixed, thanks13:23
Chipacathat way only up to SEND_LIMIT will be sent at a time13:23
facundobatistaChipaca, what is SEND_LIMIT?13:24
zygafacundobatista, let's see if we missed anything from my original 4 points13:24
Chipaca(so we'd get to check how much we send more often)13:24
zygaah13:24
zygaright13:24
zygaone more thing13:24
zyga"sync daemon does not manage do upload any files when speed limit is low (10KB)"13:24
zygafacundobatista, I don't know if that description is good but in general with low speed limit it kept disconnecting AFAIR13:25
zygafacundobatista, I can try to see how this worked13:25
zygafacundobatista, but from my point of view it was stuck uploading the same MP3 file over and over13:26
verterokrye: remember this? https://bugs.launchpad.net/ubuntuone-client/+bug/517847 :)13:26
ubot4Launchpad bug 517847 in ubuntuone-client "Bandwidth Throttling is Applied to Content and Control Connection. (affects: 2) (heat: 3)" [Undecided,Confirmed]13:26
zygaall bugs against ubuntuone, ok? I will let you reassign to proper places13:26
facundobatistazyga, if the content transfer saturates the network, it complicates the other commands, yes13:27
facundobatistazyga, that is already known, see the bug verterok just pointed13:27
ryeverterok, sure, i posted that :)13:27
verterokrye: :)13:27
zygafacundobatista, I don't think that's my bug, the speed limit _was_ observed earlier (but on on this nightly installation)13:28
zygafacundobatista, but I'll skip that until I get some hard facts for it13:28
rye"it does not throttles inside the second, but sends a bunch of data and waits then some second to be below the limit" - YES! I am not that crazy after all! Wooo-hooo!13:28
zygafacundobatista, does the client resume previous uploads btw?13:28
* rye goes back to tomboying13:28
* zyga starts reporting bugs now13:28
verterokzyga: not yet....but will start doing it in ~1 week :)13:29
ryei hope this word does not translates to something weird13:29
zygaverterok, great :)13:29
facundobatistazyga, yes13:29
zygafacundobatista, verterok: response conflict13:30
Chipacarye: I think it does (and that is good :) )13:30
facundobatistazyga, ah, "resume" from which point?13:30
verterokfacundobatista: jaja, it doesn't resume uploads (yet)13:30
verterokfacundobatista: it restarts the uploads ;)13:30
facundobatistayes13:30
verterokfacundobatista: or resume from 0 :-)13:30
zygaverterok, so that's what I observed, if it's not reported yet I can add that to the queue13:31
zygafacundobatista, bug 72070213:31
ubot4Launchpad bug 720702 in ubuntuone-client "sync daemon does not log the value of set_throttling_limits (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72070213:31
verterokzyga: report what?13:31
nessitazyga: the control panel bug should go to ubuntuone control panel project13:31
zygaverterok, missing feature / bug13:31
zyganessita, ok13:31
verterokzyga: the feature is already in nightlies, but we need to rollout the server to make the client actually resumae :)13:32
verterok*resume13:32
zygaverterok, I see13:32
zyganessita, bug 72070413:32
ubot4Launchpad bug 720704 in ubuntuone-control-panel "limits can't be set because device list can't be retrieved due to slow connectionnes (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72070413:32
nessitazyga: thanks!13:33
nessitadobey: tarmac is not landing u1client branches failing with 'OSError: [Errno 2] No such file or directory: '/var/cache/tarmac/ubuntuone-client/trunk/_trial_temp/dbus-session.conf' make: *** [test] Error 1'13:34
zygafacundobatista, bug 72070713:35
ubot4Launchpad bug 720707 in ubuntuone-client "it does not throttles inside the second, but sends a bunch of data and waits then some seconds to be below the limit (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72070713:35
facundobatistazyga, gracias!13:36
zygafacundobatista, bug 72071113:39
ubot4Launchpad bug 720711 in ubuntuone-client "default network limits are too high (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72071113:39
zygafacundobatista, and finally 72071213:41
zygathat's all folks, thanks for working on this! :-)13:41
zyga(bug 720712)13:41
ubot4Launchpad bug 720712 in ubuntuone-client "default network speed limit should be enabled (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72071213:41
facundobatistazyga, thank you13:43
ryezyga, thank you very much!13:46
zygarye, it was my pleasure13:46
* zyga still wants to do LAN sync for u1 but as usual does not have enough time :-(13:47
ryefacundobatista, re: autoconflict bug, i should start marking all other as a duplicate of that one?13:48
ryefacundobatista, bug #718924, and maybe remove logs from that first and then mark it as non-private?13:49
ubot4rye: Bug 718924 on http://launchpad.net/bugs/718924 is private13:49
facundobatistarye, the one I commented on? I found a case!13:51
facundobatistarye, if you write continuosly enough in a file, you will hit a point when a command that send EOF to the server is cancelled, and that is "conflict"13:52
ryefacundobatista, so the file gets sent to remote storage (in any state it is at that time, be it empty or anything else) but the client does not know that; Upon subsequent saving it checks the remote hash and it has changed so it marks local as the conflict, right?13:53
ralsinaalecu dobey nessita mandel thisfred standup in 6'13:55
nessitaack13:55
thisfredayeaye13:55
mandelok13:55
alecuayea13:57
ralsinamandel: one of your branches landed out of order and needs extra reviews13:58
mandelralsina: what do you mean?13:59
mandeland which ?13:59
ralsinamandel: the complex dbus landed before the simple one14:00
ralsinaso it failed because the prerequisite was not merged14:00
ralsinaand got set to needs review again14:00
mandeloh, ok14:00
nessitame14:00
facundobatistarye, the process is this14:00
ralsiname14:00
facundobatistarye, the file in the server and client is "A"14:00
mandelme14:01
thisfredme14:01
facundobatistarye, there's an upload of B, it sends to the server "the previous was A"14:01
nessitaalecu, thisfred, dobey?14:01
thisfredha!14:01
nessita:-D14:01
facundobatistarye, the upload gets to the server, but before getting the answer, it is cancelled in the client14:01
dobeyme14:01
facundobatistarye, next upload sends C, and says previous is "A", but in the server it's currently B -> conflict14:01
ryefacundobatista, awesome!14:02
nessitaalecu: say me! :-)14:02
ryefacundobatista, so, can I start marking all other bug reports as a duplicates?14:02
alecume14:02
nessitaDONE: got reviews and tried to land branch for Bug #702616, Bug #709200, Bug #719376. Talked with aquarius re: sync/async credentials API. Started project for files storage API. Control panel bug triage.14:02
nessitaTODO: start working on sync files API. Weekly meeting. IRC discussion re throttling (syncdaemon and control panel).14:02
nessitaBLOCKED: nopes14:02
nessitaNEXT: ralsina14:02
ralsinaDONE: lots of bug triaging, bunch of reviews14:02
ralsinaTODO: reviews, management stuff, sprint planning, triage another 5 tons of bugs, some coding (my days are all alike)14:02
ralsinaBLOCKED: no14:02
ralsinamandel por favor!14:02
ubot4Launchpad bug 702616 in ubuntuone-client "Passing tests with odd DBus errors (affects: 1) (heat: 20)" [Medium,In progress] https://launchpad.net/bugs/70261614:02
ubot4Launchpad bug 709200 in ubuntu-sso-client (Ubuntu Natty) (and 3 other projects) "Service quits even if ref count is not zero (affects: 1) (heat: 6)" [High,Fix released] https://launchpad.net/bugs/70920014:02
ubot4Launchpad bug 719376 in ubuntuone-client "ubuntuone.credentials should allow passing a window xid (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/71937614:02
mandelDONE: UX talks. A lot of IPC. Tests, tests...14:03
mandelTODO:  More test14:03
mandelBLOCKED: No14:03
mandelthisfred: go14:03
thisfredDONE: worked on tests for u1 couchdb API14:03
thisfredTODO: finish and package API, some u1client UI wrap up14:03
thisfredBLOCKED: still no unity14:03
thisfredNEXT: dobey14:03
dobeyĪ» DONE: bug #717829, started maverick SRU release14:03
dobeyĪ» TODO: banshee mustic store fixes, finish maverick SRU14:03
dobeyĪ» BLCK: on-call for jury duty14:03
ubot4dobey: Bug 717829 on http://launchpad.net/bugs/717829 is private14:03
nessitauh, sprint planning, I should book tickets14:03
dobeyalecu: go14:03
alecuDONE: branch to disable notifications from control panel. Worked on OAuth for DroidCouch14:04
alecuTODO: OAuth for DroidCouch14:04
alecuBLOCKED: no14:04
alecuLOVE: eclipse14:04
alecuHATE: java14:04
alecuCOMMENTS: ?14:04
facundobatistarye, if they are about saving lot of times in a row, most probably14:04
nessitaralsina: shall I buy tickets to buenos aires?14:04
thisfrednessita: print is a go then?14:04
thisfredsprint?14:04
ryefacundobatista, like gedit, openoffice14:04
nessitathisfred: not sure. ralsina?14:04
ralsinadon' t buy tickets yet but it' s close14:04
nessitaack14:04
thisfredah ok :)14:04
ralsinaI need to save 20 minutes to finish writing the official proposal14:05
thisfredthought I'd missed a mail14:05
ralsinathen it enters the canonical machinery and out comes a sprint (I guess)14:05
ralsinawe have the weekly call in a little while14:06
ralsinaeom?14:07
nessitaeom!14:07
nessitadobey: verterok filled bug #720696. Is the control panel supposed to work on lucid?14:07
ubot4Launchpad bug 720696 in ubuntuone-control-panel "control panel nightlies doesn't work on Lucid. (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72069614:07
dobeyit should i guess, shouldn't it?14:08
dobeywhy do i have like 6 russian spam messages in my canonical folder14:08
joshuahooverralsina, Chipaca: does this look right to you? https://wiki.ubuntu.com/UbuntuOne/Tutorials/LucidCouchDB14:11
joshuahooverralsina, Chipaca: anyway we can streamline that for lucid users?14:11
dobeyi don't think there is14:12
nessitadobey: is that error fixable on lucid?14:12
ralsinajoshuahoover: that looks good, or at least I don' t know how to make it shorter14:12
dobeynessita: probably.14:13
dobeyalthough, using GLib via gi seems a bit overkill14:13
joshuahooverralsina: yeah...there's 2 things that concern me: 1) the number of steps & 2) that we have lts users enabling "unsupported" backports (at least that's the wording next to the check box)14:13
dobeyjoshuahoover: well, we could have them enable "unsupported" PPA instead, and add a couple steps14:14
ralsinaor use a terminal and make the steps uglier14:14
ralsinaBut it' s pretty much the same thing.14:15
joshuahooverdobey: i'd prefer a ppa over this actually14:15
joshuahooverdobey: then we could potentially get them other fixes more easily (maybe)14:16
dobeywell we already have one, but it might break the world14:19
dobeyand we really haven't devoted any time at all to supporting all this stuff :(14:19
smoserhi. i'm on natty, the "Share this folder" link in the web ui doessn't seem to do anything14:20
smoserneither does the 'More' link14:20
beunosmoser, firefox 4?14:20
smoseryeah14:20
smosera FAQ?14:20
smoserhttps://wiki.ubuntu.com/UbuntuOne/FAQ/WhyDoesntTheFilesWebUIWorkWithFirefox414:20
smoseri see.14:20
beunoright  :)14:20
smoserany other way for me to share a file ?14:21
beunosmoser, chrome?  or on the desktop?14:21
smoseri could use chrome, but would actually prefer desktop if thats possible14:21
beunosure, just right-click on the folder, Ubuntu One > Share14:22
smoserin nautiuls ?14:22
beunoyeap14:22
smoseri dont see an option.14:22
smoserPackage nautilus-ubuntuone is not available, but is referred to by another package.14:23
smoser^ i get that after 'apt-get install nautilus-ubuntuone'14:23
nessitasmoser: ubuntuone-client-gnome is tha package14:23
Chipacajoshuahoover: I'd add a /usr/lib/desktopcouch/desktopcouch-stop; /usr/lib/desktopcouch/desktopcouch-get-port as 5b14:23
Chipacajoshuahoover: (or "reboot")14:24
joshuahooverChipaca: ahhhhhh!!!!!14:24
Chipacajoshuahoover: please don't run screaming from the room14:24
joshuahooverChipaca: when i tested it, it started syncing without rebooting or restarting desktopcouch...that was on 10.04 with latest updates...i was surprised14:24
joshuahooverChipaca: but maybe i just got lucky?14:25
Chipacajoshuahoover: you probably didn't have desktopcouch running before the update, and then did something that triggered it to start running14:25
Chipacajoshuahoover: it only replicates if it's running14:26
joshuahooverChipaca: right..hmmm14:26
smoserso, i right click -> properties -> Share14:26
smoserthen14:26
dobeyno14:26
smoserwait. yeah, right click -> Ubuntu one14:26
dobeynot the sharing tab in file properties14:26
smoserthen i type someting14:26
ralsinarightclick->ubuntuone->share14:26
ralsinaan email14:27
Chipacadobey: maybe ubuntuone-client-gnome should 'provide' nautilus-ubuntuone just for that to work?14:27
smoserok. sorry for being quite dense.14:28
smosernow, i think i did that.14:28
dobeyChipaca: i don't think it works that way14:30
dobeynessita: do you have any pending branches for u1cp?14:54
mandelralsina: ping14:55
ralsinamandel: pong14:56
mandelralsina: ming poping in mumble 3 min before our meeting14:56
mandelas in now hehe :P14:56
ralsinaok. popping14:57
nessitadobey: kinda, why?14:57
nessitadobey: do you need me to do a release?14:58
dobeynessita: no, because need new revno for new nightlies to build :)14:58
nessitadobey: heh. I can give you a needed branch in a sec14:59
mandelralsina: here you go http://twistedmatrix.com/trac/wiki/QTReactor15:03
dobeygah15:04
dobeyi wonder if they break the qt main loop there too15:04
ralsinamandel: https://github.com/ghtdak/qtreactor15:06
ralsinaalecu dobey mandel nessita thisfred Chipaca mumble in 8'15:08
dobeyoh right. blah15:09
nessitayessir15:09
nessitadobey: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/align-devices/+merge/5016415:09
nessitadobey: I can give it a trivial approve for quicker landing15:10
dobeyi'm not in that big of a hurry15:10
nessitawell, it is trivial :-)15:10
dobeyi was just wondering because my u1cp merges folder was empty :)15:10
nessitaheh15:11
dobeyand i pushed a change to the nightlies packaging which should fix verterok's issue15:11
verterokdobey: should I test? :)15:11
dobeyverterok: do you have gir1.0-glib-2.0 installed?15:13
* verterok checks15:13
ralsinadobey chipaca, mumble?15:13
dobeyno15:13
dobey:)15:13
verterokdobey: yes, Installed: 0.6.8-115:13
ralsinaha15:13
dobeyverterok: and python -c "from gi.repository import GLib" fails?15:14
verterokdobey: yes, ImportError: No module named gi.repository15:14
dobeyverterok: and "from gi import repository" also fails?15:15
verterokdobey: yeap: ImportError: No module named gi15:16
dobeyok15:16
dobeyugh, glade15:20
=== yofel_ is now known as yofel
dobeyugh, and splitting the label up into separate labels with the entry in the middle :(15:23
dobeyi can't find the mail/wiki/whatever that says "don't do that"15:30
karnidobey: I do think glade is a great idea. over half a year ago there was a problem that it couldn't attach signals automagically. then something else broke. I ended up coding the whole GUI myself, to be on the safe side. hyhyh15:35
karniand the gui was complex ;[15:35
dobeykarni: rading a .diff of a glade file isn't very informative, though15:38
karnidobey: I can imagine :/15:38
ryeok, so, we have a broken tomboy sync at the moment in case the note was edited via the web ui, bug #70937815:42
ubot4Launchpad bug 709378 in tomboy (Ubuntu) (and 1 other project) "Tomboy fails to sync after editing note via web: "String was not recognized as a valid DateTime." (affects: 17) (dups: 2) (heat: 276)" [Undecided,Invalid] https://launchpad.net/bugs/70937815:42
karni__lucio__: anything up with the servers? I think there's a slowdown15:44
karnibeuno: sometimes (twice since a moment ago), I get a handshake (conn+set_caps+auth) 30 second timeout. I'm thinking whether I should pop a dialog saying 'This is taking longer then usual' ;)?15:46
karnioops *than15:46
karniconnected this time :)15:47
karnibeuno: I'll just show 'Trying to connect' Toast and bail after n-th attempt and inform the user.15:48
dobeynessita: does u1cp run ok on maverick?15:49
nessitadobey: yes, using it right now15:49
dobeyok15:49
beunokarni, sounds good15:52
karnibeuno: ack :)15:52
nessitabrb, lunch groseries shopping15:56
dobeyhrmm, volumes are not subscribed by default now, right?15:58
dobeyfacundobatista, verterok: ^^ do you know if new volumes are still subscribed by default?16:05
=== beuno is now known as beuno-lunch
ralsinaok, I' ll be gone for a few hours. Have a nice day everyone!16:11
nessitaralsina: you too!16:12
=== JanC_ is now known as JanC
ryeso here's the script that will tell what notes are broken http://people.canonical.com/~roman.yepishev/us/tomboy-sync-validator.py16:21
dobeynessita: do you know the answer to my question re: volumes autosubscribe?16:26
nessitadobey: I do, sorry, I missed your question. Yes, volumes are not subscribed by default (neither are shares)16:26
nessitadobey: starting on natty and nigthlies. Plain maverick should be autosubscribed by default16:27
dobeynessita: including music?16:27
nessitadobey: yes16:27
dobeyyeah, i'm wondeirng about narwhal16:27
nessitadobey: we do no special treatment for music (we might, though)16:27
dobeyok. that makes for an interesting scenario i have to fix then16:27
dobeyalright i'm off to lunch, bbiab16:31
thisfredis there something special about classmethods/factory functions, when using mocker? I'm not having much luck mocking one.16:39
ryeis there anybody on maverick w/o nightlies packages installed to test http://people.canonical.com/~roman.yepishev/us/tomboy-sync-validator.py ?16:50
ryeanybody running natty without ubuntuone nightlies?16:56
=== beuno-lunch is now known as beuno
ryenessita, is there any way for maverick standard ubuntu_sso to be contacted via dbus?17:16
ryenessita, i am trying to get sso info from both maverick and natty stable and nightlies and it already works on natty, but in maverick there is no ubuntuone.credentials17:17
karnifacundobatista: I have a question.. states_manager.svg (under the is_connected line) says, that SERVER_RESCAN, QUEUE_MANAGER and STANDOFF have a selfloop of SYS_HANDSHAKE_TIMEOUT event17:23
karnifacundobatista: how would that event occur in QM, if SYS_HANDSHAKE_TIMEOUT is generated in check_Version, set_caps, and authenticate17:24
facundobatistakarni, the handshake timeout is turned off when entered in SERVER_RESCAN17:26
karniah! that's what it means17:26
facundobatistakarni, as it may take a lot of time, and of course it has no sense in QM17:27
nessitarye: hey there. what do you need in particular? u1 creds in maverick?17:27
karnifacundobatista: got it!17:27
karnifacundobatista: thanks17:27
facundobatistakarni, the detail is what happens if the event that changes state is just generated a little before the timeout triggers?17:27
facundobatistaok17:27
karnifacundobatista: right :) thank you17:27
ryenessita, yes, u1 creds in maverick (preferably w/o twisted magic, just dbus calls)17:31
nessitarye: sure, open d-feet, access the com.ubuntu.sso service17:31
ryenessita, hmmm17:32
nessitarye: from there, /credentials path and in the interface (can't remember the name), find_credentials17:32
nessitaparameter is the app_name, 'Ubuntu One'17:32
ryewhy do i need to import from ubuntuone.credentials then... i am so smart17:32
nessitarye: you don't, in maverick it does not exist17:33
alecuthisfred, ralsina: [Branch ~unity-team/libunity/trunk] Rev 40: Add a Python example for the launcher API17:44
alecunice!17:45
thisfredwheeeeee!17:45
dobeywhat the heck. where did all of these sudden g-s-d crashes come from17:54
nessitacan I have a couple of reviews for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/align-devices/+merge/50164 ?18:04
dobeyi must abstain18:08
beunonessita, sure, give me a little while18:12
nessitadobey: why?18:14
dobeybecause splitting strings into multiple labels like that is horrible for localization; and i don't want to spend time arguing about it18:16
nessitaok18:24
nessitadobey: I miss the answer before, will you be able to fix bug #720696? or shall I do something special?18:40
ubot4Launchpad bug 720696 in ubuntuone-control-panel "control panel nightlies doesn't work on Lucid. (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72069618:40
dobeyi am fixing it; i think18:41
beunonessita, can I see a quick screenshot for your branch?18:48
nessitabeuno: yes, sorry, i should do that already18:48
beunoit's ok, I should of set up a good workspace to test the desktop client, I'm just lazy18:49
nessitabeuno: http://ubuntuone.com/p/dnA/18:52
nessitabeuno: don't frek out becasue the lack of styling18:52
nessitabeuno: Daniel Fore is working on coding a RC file (kinda like a CSS file)18:52
nessitabeuno: changes are: labels left aligned, and units to the ight18:53
beunonessita, +118:53
beunovery subtle buy nice change18:53
dobeyoh ugh, and the labels were moved :(18:53
* beuno hugs dobey 18:54
beunoawesomeness can be painful18:54
nessitathanks!18:54
nessitaanother approval, anyone? thisfred, maybe you?18:54
dobeyand they aren't disabled when "[] Limit bandwidth" is unchecked18:54
dobeythis is not awesomeness18:54
dobeyit's breaking a perfectly fine layout for no good reason18:55
thisfrednessita: sure18:55
nessitathisfred: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/align-devices/+merge/5016418:55
thisfredgotcha18:56
dobeyand if i review the branch and say so and disapprove it, it will devolve into a stupid argument about how "well design said it should be like this and you're just trying to block the branch and blah blah blah"18:56
beunoI think the UI looks better18:56
beunonot design said18:56
thisfrednessita: can I trade you a review? (if you don't have time that's fine) https://code.launchpad.net/~thisfred/ubuntu-one-couch/add-tests/+merge/5020618:57
dobeybetter than what?18:57
beunothan what there is now18:57
dobeyto me it looks like i can change the bandwidth limit values and have them work, without actually clicking "limit bandwidth"18:57
beunopeople don't read right-aligned text very well18:57
dobeythe text wasn't right-aligned was it?18:57
beunoyes, now it's left aligned18:58
dobeywhere is the before screenshot then?18:58
beunoI looked at my current control panel18:58
dobeybecause it wasn't right-aligned in ubuntuone-preferences18:58
beunodidn't want to make nessita do even more work just to get work through18:58
beunoit is in control-panel, and this improves it, so I +1ed18:59
thisfredalecu also maybe, since you've looked at it already? :) https://code.launchpad.net/~thisfred/ubuntu-one-couch/add-tests/+merge/5020619:02
dobeyand breaks localization19:02
dobeyanyway, bah. i need chocolate19:02
alecuthisfred, ack19:06
nessitathisfred: sure!19:08
nessitadobey: about disabling the spin buttons when limit bandwidth is not clicked, is a pending taks, but we're dpoing it19:09
nessitaactually I can add it to that same branch, but I thought you needed a quick branch19:10
nessitathisfred: before moving further with this project, you may wanna ask for a project rename19:10
nessitathisfred: all u1 related projects are ubuntuone-something (instead of ubuntu-one-something)19:11
alecuthisfred, will the project be named: "ubuntu-one-couch" or "ubuntuone-couch" ?19:12
alecuoh19:12
alecudidn't read nessita saying the same.19:12
nessitaalecu: :-)19:16
karnibeuno: by the way, if the user would make a folder syncable, it should start downloading it's contents as soon as it confirms there's enough space, right? any objections/suggestions to such scenario?19:17
alecuthisfred, what's the right way to run the tests in your branch?19:18
thisfredalecu: ah:  PYTHONPATH=. u1trial tests/19:18
thisfredfor now19:19
nessitathisfred: did you see the project name concern?19:19
thisfrednessita: sure, I'll ask a losa19:19
joshuahoovernessita: ping19:19
nessitathisfred: also, the python package we provide should be, for consistency, ubuntuone.couch19:20
nessitajoshuahoover: hey there19:20
thisfredsure19:20
nessitathisfred: thanks :-)19:20
joshuahoovernessita: any ideas on what would cause u1-prefs to have contacts, bookmarks, etc. grayed out (only files selectable)?19:20
joshuahoovernessita: on maverick19:20
karnibeuno: the only user-story I can come up against this feature is "I want to sync this folder, but without particular file/folder inside it" - but we can tackle that later.19:21
nessitajoshuahoover: yes, desktopcouch is not available19:21
nessitajoshuahoover: that indicates that the module import failed19:21
joshuahoovernessita: so not started up? user appears to have it installed19:22
nessitajoshuahoover: as per my code knowledge, the module could not be imported19:22
nessitadobey: is that correct? ^19:23
thisfrednessita: another question: do you know how I can set the default reviewers to team ubuntuone for my project?19:24
nessitathisfred: yes, you have to make the project owner and driver 'ubuntuone-hackers' team19:25
thisfredthx19:25
alecuthisfred, I don't like that the request method returns very different things... strings for some errors, nothing for other errors, and parsed json for success.19:25
thisfredalecu: I agree19:25
alecuthisfred, perhaps it should only return parsed json, and exceptions otherwise.19:25
thisfredalecu: this will be fixed. The first passthrough was just picking apart the big ball of twine of the original, without functionality changes19:26
thisfredwell, I made it work, but other than that ;)19:26
alecuthisfred, yeah, it looks like a lot of untwingling :-)19:26
alecuthisfred, and it looks great that there many tests now :-)19:27
alecuthisfred, so, I'll approve, but I'll set up a bug for that change19:27
thisfredawesome, thank you!19:27
dobeynessita: that sounds right19:30
dobeythisfred: which project?19:30
thisfreddobey ubuntu-one-couch, soon to be ubuntuone-couch19:30
thisfreddobey, I want to add that to tarmac, also, but for that it needs automatic testing obviously, which I have not yet set up19:31
dobeythisfred: it also needs to be owned by the right team, and not by you19:32
thisfreddobey: that's done already I think19:32
thisfredI just changed that19:32
dobey"just changed it"?19:32
thisfredI will copy all the testing infrastructure from d-c19:32
thisfredas in just now19:32
alecuthisfred, added bug #720917 and approved.19:33
dobeychanged it how?19:33
ubot4Launchpad bug 720917 in ubuntu-one-couch "the request method returns very different things (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72091719:33
thisfreddobey: I changed the driver and maintainer. Or is there yet another thing?19:33
dobeythisfred: you own the branch19:33
dobeythisfred: thus, nobody else can write to it (ie, tarmac)19:34
thisfredOh right. I have no idea how to fix that19:35
thisfredor how launchpad works in general ;)19:35
thisfredright. Again, no idea how to fix that19:36
dobeywell you have a branch proposed to merge into it right now, so ii'll wait and fix it after you land it, i guess19:37
thisfredawesome, thx19:37
thisfredI'll ask for a project rename as well19:37
dobeyi think it's about time to pkill -9 firefox here19:39
dobeyyup. 632M RES is not fun, no matter how much RAM you have19:40
nessitathisfred: I have a question. WHy do you use ubuntu_sso instead of ubuntone.credentials?19:48
nessitathisfred: I landed a branch yesterday where you can just use:19:48
nessitafrom ubuntuone.platform.linux.credentials import CredentialsManagementTool19:49
nessitacmt = CredentialsManagementTool()19:49
nessitacreds = yield cmt.find_credentials()19:49
thisfrednessita: awesome, did not know this. Again, I mostly just started to refactor what was there, there is *lots* of room for improvement19:49
thisfredthe .request method is about 10 times longer than I'd like it to be for instance :)19:50
dobeymmm, those were some very necessary key lime white chocolate cookies19:50
thisfrednow look, you made me drool19:50
alecuthisfred, I'm running examples/launcher.py from libunity trunk, and it's working as advertised. It shows the progressbar on the launcher icon, sets the progress and shows an emblem.19:50
thisfredawesome!19:50
alecuthisfred, it's not packaged yet, so I had to make install it :-)19:50
alecuthisfred, it looks as simple as this: http://bazaar.launchpad.net/~unity-team/libunity/trunk/view/head:/examples/launcher.py19:51
dobeyunity doesn't have super awesome built-when-landed packages?19:51
alecudobey, perhaps they have some nightlies ppa, don't know.19:51
thisfredalecu: that looks very usable19:52
nessitathisfred: so, shall I file a bug or you change the creds stuff in this branch?19:54
thisfrednessita: file a bug please, this branch is long already, and was really about adding tests19:54
nessitaack19:54
thisfredthanks!19:54
nessitathisfred: bug #72092819:56
ubot4Launchpad bug 720928 in ubuntu-one-couch "Use ubuntuone.platform.linux.credentials module instead of ubuntu_sso (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/72092819:56
thisfredgreat!19:56
thisfrednessita: should that not be: from ubuntuone.platform.credentials import *?19:57
thisfredthe whole point is that we don't want to have the code depend on the platform right?19:58
nessitathisfred: maybe, I'm not sure how this window magic is supposed to work19:59
dobeythisfred: you'll have to verify but i don't think mandel did anything beyond just moving it into the platform dir19:59
thisfredah right19:59
thisfredso we still need to make the __init__ there do the detection magic20:00
nessitathisfred: approved20:00
thisfredthanks!20:00
mandelwhat do you need me for???20:00
dobeywell you probably need to add a platform/credentials.py that does the right imports from platform.foo.credentials20:01
thisfredmandel: nothing, just some confusion about the ubuntuone.platform stuff20:01
mandelthisfred: tell me, I might be able to help :)20:01
thisfredwell, what dobey said ^^20:01
mandelthisfred: all platform code that is going to be present on all platforms should be imported as from ubuntuone.platform import x if the code is specific for a platfrom (such as credentials AFAIK) you have to import it as ubuntuone.platfrom.linux import *20:04
mandelthisfred: or at least that is the logic I have been following so far, I do welcome other approaches :)20:05
thisfredmandel: so we're not gonna have credentials on windows?20:05
dobeywell, i doubt credentials is specific if we're going to have sso on windows20:05
mandelthisfred, dobey: by looking at the code in trunk, atm you can import the CredentialManagement  from platform20:08
thisfredok, awesome :)20:08
dobeyverterok: ping20:08
thisfredI could have done that myself, but I only have two hands :P20:08
verterokdobey: pong20:08
dobeyverterok: are you on 32 bit or 64?20:09
mandelthisfred: nessita mentioned that such a class was just used on linux tools and that is why I considered the removal of it, is you code multiplatfrom?20:09
verterokdobey: lucid-64bits, maverick-32bits20:09
thisfredmandel: yes it is supposed to be20:09
mandelthisfred: cool :) then we have a reason to leave it there :)20:09
mandelthat is a double smile, oh yeah!20:10
mandelthisfred: if there is anything missing just let me know and i'll fix it asap20:10
dobeyverterok: ok, the amd64 build of pygobject is publishing now, so you should be able to apt-get upgrade and have a working control panel on lucid. and hopefully not have everything else break20:10
thisfredmandel thx, should be fine20:10
mandelthisfred: ok, got to go now, laters!20:11
verterokdobey: cool, will test it later20:13
nessitamandel: my ocde is not multiplatform, it uses DBus and twisted20:14
thisfrednessita: yeah, no your code doesn't need to be. Mine will be by (optionally) passing in the u1 couch tokens on the command line (for now)20:15
nessitaah20:15
mandelnessita: yes, but I know, but the 'need' is multiplatform, so your code is an implementation of that need on linux, it just means I have  to write a CredentialsMnagement class for other platforms20:16
mandelwe need to get some other dumb ass to help me with this multiplatform crazyness, any volunteer in the room?20:16
* mandel is going to teach cparrino to codeā€¦.20:17
nessitadobey: ping20:22
thisfreddobey: rename of project, and merge of branch into trunk done20:22
dobeyok20:22
nessitadobey: I have u1client installed at Version: 1.5.4+r867~maverick1, which is the same as trunk:20:23
nessitanessita@dali:~/canonical/u1/client/trunk$ bzr revno20:23
nessita87620:23
nessitaBut the code in trunk/ubuntuone/platform/linux/credentials.py does not match /usr/share/pyshared/ubuntuone-client/ubuntuone/platform/linux/credentials.py20:23
nessitaah no20:23
nessitaI'm dislexic, again20:23
dobeyright20:23
nessitadobey: any idea why u1client is still at 867?20:23
dobeypackages? not specifically. launchpad might hate us for requesting so many recipe builds though20:24
nessitadobey: isn't the3re any failed build?20:24
dobeyno20:25
nessitaok20:26
alecuooooh! It's kindergarten time!20:29
* alecu bbls20:29
dobeywtf20:34
dobeywhy is ubuntuone-control-panel failing to build as a package on narwhal, but works fine on maverick and lucid20:35
nessitadobey: what error?20:35
dobeydh_install: python-ubuntuone-control-panel missing files (debian/tmp/usr/lib/python2.*/*-packages/*/ubuntuone/__init__.py), aborting20:36
dobeywhich of all the possible things that could be a valid error, this makes the least sense20:36
nessitadobey: how long is been failing?20:40
dobeysince i bumped the version and added the missing indicator file, i guess20:41
nessitaah20:47
dobey?20:48
nessita'ah' as in 'ok, not sure how can I help there'20:48
dobeyyeah, it makes no sense. the package is the same for all 3 versions20:49
karniJamesTait: beuno: one day we'll have to adjust the "machines/computers" terminology on the website. during oauth it's "Add this computer", in webUI it's "View machines connected to this account", at the bottom it's "Remove selected computers".21:16
karniJamesTait: beuno: and none of that will suit the forthcoming Android app21:16
karnithe phone/device, I mean. actually, it'll be a bit misleading.. Android phone will be under connected machines section, and not "phones"21:17
dobeymeh, dealing with multi-bug SRUs is annoying21:18
karniI'm mentioning this only because I headed to remove some of the tens of tokens I have generated during testing.21:18
karniJamesTait: I love the Ubuntu one SSO page. I know the changes have been a while around already, but I really like it!21:21
nessitaok, I'm off21:22
nessitabye all!21:22
karnibye nessita21:22
thisfredhmm, no synchronous way to get the credentials. That's unfortunate.21:32
karniworst log message I came up with evar 'discarding connect, connector is connected'21:41
dobeyverterok: did you try to upgrade from nightlies to see if your issue is fixed?21:57
verterokdobey: not yet, let me check21:57
verterokdobey: a new issue :/22:00
verterokdobey:     from gi.repository import Soup, SoupGNOME22:00
verterokImportError: cannot import name Soup22:00
verterokdobey: mayeb it's better to just not package it for lucid? :(22:00
dobeyverterok: and you have gir1.0-soup-2.4 installed?22:00
verterokah, no idea. let me check22:00
dobeyyou should, since it should be in the Depends22:01
verterokyes, Installed: 0.6.5-5ubuntu222:01
dobeyhrmm22:01
dobeyi wonder why it won't import then22:01
verterokdobey: in case it helps: RepositoryError: Failed to load typelib file '/usr/lib/girepository-1.0/Soup-2.4.typelib' for namespace 'Soup': Typelib version mismatch; expected 3, found 222:02
verterokbrb22:02
dobeyok, so it's because libgirepository is incompatible :(22:02
dobeyso i guess we will have to stop building for lucid22:03
dobeyverterok: you should downgrade your python-gobject and gobject-introspection related packages back to what came in lucid22:04
dobeyalright, well, i'm out for the night. cheers all22:09
verterokdobey: ok, will do. thanks122:19

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