__lucio__karni,         data = dict(is_public=bool(self.is_public))00:11
__lucio__        pdata = urlencode(data)00:11
__lucio__In [4]: urlencode(dict(is_public=True))00:12
__lucio__Out[4]: 'is_public=True'00:12
karni__lucio__: is_public=True is a POST pair (pdata in Request(url, pdata, headers) ), correct?00:17
karni__lucio__: thanks00:19
__lucio__karni, whats a post pair?00:20
karni__lucio__: mhmm.. "data should be a buffer in the standard application/x-www-form-urlencoded format"00:21
__lucio__karni, yes, thats a dict gone thru urlencode in python00:22
karnisimilarly to query string ?is_public=True but POST-style ;)00:22
karni__lucio__: right. so I think it's just an HttpParam in Java. (I don't expect your ACK, but you may know that nevertheless)00:23
__lucio__dont know enough java for that00:24
karni__lucio__: that's what I do http://paste.ubuntu.com/558782/ . looks like I'll have to poke around for a little longer00:24
__lucio__karni, i would need to read the docs. the post data is just data, a string of data, like when you put a file or something. it just has some formatting to represent the arguments00:25
karni__lucio__: I see. I handle it, sooner or later ;)00:26
__lucio__good luck00:26
karni__lucio__: I think I've got it :)00:28
karniI was using a wrong method :x Shame on me.00:28
karni__lucio__: works like a charm :)00:33
karnibeuno: I won't be implementing any visible indication of 'file is published' status, as I don't know what will the design team come up with for that matter (I should probably ping them about that). It will be, however, visible from the Context Menu (either Publish or Unpublish will be visible). I imagine a small earth icon or particular list item background would be a good indication.01:41
karniCrap.. I never know if I didn't write too much. Have to make my irssi auto-split messages.01:42
beunokarni, sure, anything is fine01:42
beunoI'm talking to the design team, so don't worry, we'll have something soon01:42
karnibeuno: I'll do the menus tomorrow. ATM the link lands in the clipboard and a Toast notification pops up.01:42
karnibeuno: cool01:42
karnipublic link, that is01:43
karnitake care beuno, till tomorrow [Thursday]01:44
* karni eods01:44
karnibye for now! o/01:45
beunonight karni02:05
=== dougal_ is now known as dougal_away
=== IAmNotThatGuy is now known as Mohan_chml
karnicanonical.com is down ! :O09:07
karniwebpage is back online.09:23
duanedesignmorning all11:51
=== teknico is now known as teknico_away
=== kklimonda1 is now known as kklimonda
ralsinaGood morning!12:12
karnimorning ralsina12:12
karnihi duanedesign12:12
ralsinakarni,you slacker, you were away from the channel for 7 whole hous last night ;-)12:13
karniralsina: I'm away ATM, but I'm not! magic ;)12:14
karniralsina: I slept 3.5 hours o_O12:14
ralsinakarni: hahaha12:14
* karni went not-away12:14
ralsinaAnyone want to see a video of an app that may be cool in the future? http://is.gd/5Lj5sr12:15
karnimy sleeping schedule has been seriously messed up for last 2 weeks, college got pretty loaded12:15
karniralsina: some sort of e-book reader?12:16
ralsinakarni: more of a manager, but it's becoming a reader too12:16
karniralsina: looks nice12:17
ralsinakarni: but it makes no sense to add a PDF reader to it or anything like that12:17
karniit's got an option to convert to epub, pdf and mobi. cool12:17
ralsinakarni: thanks. I want to make it use u1, but since I am hacking on it at night it may take a while :-)12:17
ralsinakarni: oh,well, that's cheating. It just downloads the other format ;-)12:18
karniralsina: your work? cool!12:18
ralsinalossless conversion :-D12:18
karniOk. Gotta shower, get some rest and lunch, so that I can do some productive code a lil later.12:19
karniI'll be back later guys12:19
duanedesignhello karni o/12:19
karniduanedesign: ^^ \o12:19
duanedesignmorning ralsina12:20
ralsinahi duanedesign12:20
duanedesignkarni: cya after awhile12:20
ralsinabye karni12:20
alecuhello all12:50
duanedesignhello alecu13:03
alecuralsina, rye, nessita: regarding bubbles: my idea is to have a bubble pop up at most 10 seconds after new files are found, with the count of new files found till that point, and then show a bubble with progress every 10 minutes, till the final "all completed" bubble, that will be shown immediately.13:14
ralsinaalecu: sounds great13:14
alecuthe thing is, I have only coded the first delay, so that's why they are still showing every 10 seconds.13:14
alecuI'll be tackling that after I add the remaining events to sd (new shares/udfs), so please consider this work in progress.13:15
nessitaalecu: sounds awesome. How can I dissble the current setup which is very annoying?13:18
nessitait's buggine me big time (I have 1500~ total)13:18
alecunessita, u1sdtool -q13:18
alecuI have that much as well :-)13:19
nessitaalecu: really :-)13:20
nessitahow can I disable that?13:20
alecunessita, in /usr/share/pyshared/ubuntuone/status/aggregator.py, in class DelayedBuffer change the this parameters of the constructor:13:22
alecuthreshold=60, timeout=60013:23
nessitathat would be seconds?13:23
alecunessita, if you want to never see them again, set both to a really big number13:24
nessitaI want to see them, but every 10 minutes~13:26
alecunessita, make that threshold=600, timeout=60013:28
* nessita does13:29
=== teknico_away is now known as teknico
* CardinalFang eyeballs fast protobuffers implementation. https://github.com/Greplin/fast-python-pb13:36
ralsinaalecu:  CardinalFang dobey mandel nessita thisfred vds  standup in 12'13:48
alecuralsina, nessita, mandel?14:03
nessita(sorry, cparrino pinged me)14:03
ralsinaalecu start!14:04
alecuDONE: fixed broken nightlies on lucid, bug #707983.  worked on new folders bubbles, bug #702055 and bug #70213814:04
alecuTODO: make mumble work! weekly mumble. Test IRL new folders branch, propose it. Work on another branch to show new folders events in messaging menu14:04
alecuBLOCKED: branch to fix lucid pending reviews: https://code.launchpad.net/~alecu/ubuntuone-client/disable-zg-on-lucid/+merge/4754914:04
alecuLOVE: no14:04
alecuHATE: no14:04
* alecu passes a branch for review to vds14:04
vdsDONE: third branch for #701029 landed forth started14:04
ubot4Launchpad bug 707983 in ubuntuone-client "zeitgeist integration broken on Lucid (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/70798314:04
vdsTODO: still...continuing with the views14:04
vdsBLOCKED: not really but I think I misunderstood something and the resthelper needs to be fixed but I need to check something with jdobrien14:04
vdsdobey: prego14:04
ubot4Launchpad bug 702055 in ubuntuone-client (Ubuntu) (and 1 other project) "Syncdaemon needs to send a notification when a new UDF is available for subscription (affects: 1) (heat: 230)" [Medium,Triaged] https://launchpad.net/bugs/70205514:04
ubot4Launchpad bug 702138 in ubuntuone-client (Ubuntu) (and 1 other project) "Syncdaemon needs to send a notification when a new share offer comes in (affects: 1) (heat: 230)" [Medium,Triaged] https://launchpad.net/bugs/70213814:04
dobeyλ DONE: fixed ubuntuone-client ftbfs, started looking at bug 673012 and bug 67567514:04
dobeyλ TODO: 3rd party apis?, evaluate SRUs for maverick, lucid bugs14:04
ubot4Launchpad bug 673012 in desktopcouch (Ubuntu) (and 1 other project) "Async monitoring of _changes (affects: 1) (heat: 42)" [Undecided,Confirmed] https://launchpad.net/bugs/67301214:04
ubot4Launchpad bug 675675 in desktopcouch (Ubuntu) (and 1 other project) "Add a property CouchDatabaseBase.server that returns the ._server attribute (affects: 1) (heat: 46)" [Low,Confirmed] https://launchpad.net/bugs/67567514:04
dobeyλ BLCK: None.14:04
dobeythisfred: all you14:04
thisfredDONE: Messaging menu mystery tour14:05
thisfredTODO: somehow get messaging menu to work14:05
thisfredBLOCKED: A clue would be nice14:05
thisfredHATED: python bindings for libindicate14:05
thisfredLOVED: http://tinysong.com/stBx14:05
thisfredralsina: go!14:05
ralsinaDONE: reviews, visited the doctor, did my canonicaladmin work, read code.14:05
ralsinaTODO: reviews, management stuff, someday actual coding ;-)14:05
ralsinaBLOCKED: no14:05
ralsinaLOVE: coffe14:05
ralsinaHATES: the doctor that says I can't drink coffee14:05
nessitaDONE: again, had to dedicate a few hours to report/debug/tets fixes for syncdaemon issues. Started work on bug #708335: is more complicated than expected, I'll give a full report on the weekly call.14:05
nessitaTODO: finish shares subscription branch (or try to)14:05
nessitaBLOCKED: a little, need God verterok to help me14:05
nessitaNEXT: ralsina14:05
ubot4Launchpad bug 708335 in ubuntuone-client "Add subscription capabilities to shares (affects: 1) (heat: 6)" [High,In progress] https://launchpad.net/bugs/70833514:05
nessitaNEXT... mandel!14:05
nessitathisfred: I was next after you! :-)14:06
mandelDONE: Fixed tritcask issue on Windows bug 708017 and bug 708189. Debug, debug, debug I've got some test failing due to time outs on Windows14:06
mandelTODO: More debugging, move to sso (have not done it yet), put everything together.14:06
mandelBLOCKED: debugging multithread issue in the tests.14:06
mandelHATE: multithreaded testing14:06
ubot4Launchpad bug 708017 in ubuntuone-client "Tirtcask does not work on Windows (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/70801714:06
ubot4Launchpad bug 708189 in ubuntuone-client "Extra seek in tritcask as added on Linux (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/70818914:06
ralsinanessita: not according tomy history :-)14:06
ralsinanessita: but we were on the same second!14:06
nessitaralsina: ah, ok :-)14:06
CardinalFangDONE: Fixing tests in desktopcouch.  Found ways python-mocker doesn't .replace() objects.14:06
CardinalFangTODO: Finish testing replication.  Land fix for bug #706939.14:06
CardinalFangBLOCKED: Talking with #couchdb about some kind of infinite loop in couchdb.14:06
ubot4Launchpad bug 706939 in desktopcouch "service tries to access service over dbus, deadlock (affects: 1) (heat: 6)" [Critical,In progress] https://launchpad.net/bugs/70693914:06
mandelnessita: I cannot believe you left me out… you should be ashamed!  ;)14:07
* nessita is14:07
ralsinaok, comments!14:07
nessitacomment: we have our weekly meeting in 1 hour, please have your mics and mubles working14:07
ralsinathere seems to be something strangegoingon with the numbering of the dailies beinglower than main's14:07
thisfrednessita: no you weren't :)14:08
dobeyit's not strange at all14:08
nessitaok, I gotta get back to answer one of the bosses14:08
ralsinanessita: ok14:08
* thisfred starts fiddling with mumble then14:08
ralsinadobey: I suppose the recipe needs a version number nudge?14:08
dobeya few need updating it seems, yes14:09
ralsinadobey: ok, cool14:10
ralsinanot much point in doing lots of comments now since we mumble in 1 hour.14:10
dobeyok, brb14:23
alecuralsina, ubuntuone-client-1.5.3 seems to be broken14:51
ralsinaalecu: rye said that today. :-(14:51
alecuralsina, ubuntuone-client-1.5.2+r822~natty1 seems more up to date (with yesterday changes)14:51
ryedobey, 1.5.3 broken and nightlies are no longer ahead of main14:51
ralsinarye: what error are you getting with 1.5.3?14:52
ralsinarye: and nightlies will be ahead again later today14:52
ryeralsina, status aggregator import failure14:53
ryeImportError: No module named status.aggregator14:53
ralsinarye: ok14:53
nessitadobey: did you write the email to the list letting the people know about the switch to u1devtools? People have a few questions about how to run dedicated tests using u1trial, since u1trial -t <patter> <testfile> will not work properly, at least for sdtool tests14:55
nessitawe're getting several bug reports for the broken natty package14:56
nessitaalecu: did you see bug #616592?14:57
ubot4nessita: Bug 616592 on http://launchpad.net/bugs/616592 is private14:57
ryenessita, i suppose i will need to create a bugpattern14:57
nessitaalecu: as like 20 dupes!14:58
nessitarye: this bug is another one...14:58
nessita    from configglue import TypedConfigParser, glue ImportError: cannot import name TypedConfigParser14:58
ralsinaI 'm getting 1.5.2-r822 what repo am I missing?14:58
ryenessita, that's configglue not having TypedConfigParser in Lucid14:59
nessitarye: ok, all the status listener bugs are being marked as dups of that one, which is wrong14:59
nessitaNo module named status.aggregator bug -> 70863414:59
nessitarye: the bug report of TypedConfigParser is on maverick15:00
ryeempathy! why do you obscure my desktop with invisible window?15:00
nessitaI'm fixing the wrong dupes15:02
dobeyrye: broken how?15:02
nessitadobey: master bug is now 70818315:02
ryedobey, not starting15:02
nessitabug 70818315:02
ubot4Launchpad bug 708183 in ubuntuone-client (Ubuntu) "ubuntuone-syncdaemon crashed with ImportError in /usr/lib/pymodules/python2.7/ubuntuone/syncdaemon/status_listener.py: No module named status.aggregator (affects: 1) (heat: 10)" [Undecided,New] https://launchpad.net/bugs/70818315:02
dobeyah ok15:03
nessitabug 70818315:03
mandelnessita: mumble is now, right?15:04
alecunessita, ok, that's ubuntuone-client-1.5.3. But I don't understand why 1.5.2-r822 does not have that issue!15:04
dobeymandel: 10 min15:04
mandeldobey: ok15:04
dobeyalecu: it's a packaging issue15:04
nessitamandel: in 10 minutes15:04
alecudobey, I guessed so, but I'd like to understand why (and learn a bit more about packaging as a consequence)15:05
dobeyalecu: ubuntuone.status is missing from the package15:06
alecudobey, and in what file should that go? Should I have added that, or notified you about it?15:07
nessitaalecu: I think the packaging bits for nightlies are in a separated branch than the packaging bits for main repo15:07
alecunessita, oh, I see.15:07
alecunessita, do you know what those branches are?15:08
nessitaalecu: so the nightlies are building and installing fine, but the official package is not (I think)15:08
=== teknico is now known as teknico_away
nessitaalecu: I think, at least I know for ussoc. Let me see...15:08
nessitaalecu: ^15:08
nessitaalecu: each project has its own packaging-dailes branch that does the trick15:09
dobeythe autobuild packaging info is in lp:~ubuntuone-control-tower/<project>/packaging-dailies15:09
nessitadobey: is there any way of using the same packaging bits for nightlies than for official package? so we can avoid bugs like this one15:09
nessitadobey: care to explain why not?15:09
dobeybecause nightlies are built on more than one ubuntu version, from trunk, and whenever new change sets land.15:10
ralsinadobey: at least we should takecare from now on that the official package tracks the changes in nightlies, since that's the one we are testing15:12
ralsinaAs in revision 21 "Add the new ubuntuone.status package"15:13
ryenessita, bugpattern for status will be online soon (committed)15:13
nessitarye: thanks!15:14
dobeywell i just uploaded the fix15:14
dobeyshould be built/published soon15:14
dobeywhat we need to do, is move u1sync out of ubuntuone-client15:15
ralsinadobey: cool.15:15
ralsinacan we do a or whatever today with that fix, maybe?15:15
nessitadobey: what issue is u1sync causing?15:15
ralsinanessita dobey mandel CardinalFang thisfred vds alecu mumble!15:16
nessitaralsina: already there!15:16
dobeynessita: it's unmaintained, people tell others to use it to solve something it doesn't solve, it can cause problems with syncdaemon if used incorrectly, and it requires the packaging to be more complex to put it in a separate package15:18
alecunessita, 4 /oauth/sso-finished-so-get-tokens/<your (Unknown)15:19
nessita5 /oauth/sso-finished-so-get-tokens/bevant@gmail.com (Unknown)15:20
dobeyralsina: could you maybe turn your speakers down a tiny bit or something? i hear a very small amount of feedback when you talk. very high pitch tone in the background15:24
dobeyalecu: are we already importing zeitgeist.mimetypes somewhere else?16:16
alecudobey, else than the code that does the detection? Perhaps.16:19
dobeyalecu: hrmm, i see now. if you are going to change the import in the detection, you also need to change the asert there too, no?16:19
alecudobey, I think there's no need there. The assert is just so pylint does not complain.16:20
=== teknico_away is now known as teknico
dobeyalecu: right, but won't it complain about zeitgeist.mimetypes instead of zeitgeist now?16:21
nessitadobey: were you aware of bug #616592?16:21
ubot4nessita: Bug 616592 on http://launchpad.net/bugs/616592 is private16:21
alecudobey, no, it does not complain about the second.16:21
alecudobey, probably because python cannot use those modules directly.16:21
alecu(modules imported as "import soemthing.someother")16:22
alecuwell, it can.16:22
dobeynessita: not exactly, but it is 6 months old and only an issue with the beta ppa i guess?16:22
nessitadobey: it has tons of duplicates, and now apport is somehow marking all the status import error duplicate to that one16:23
nessitadobey: if it' solved, can you please update it?16:23
dobeycan you file a bug against apport for that?16:23
dobeyit's not solved in the beta ppa any way.16:24
dobeynessita: i'll take it and try to set up automatic beta ppa builds16:25
alecudobey, oh, I remember why I finally left out the assert for zeitgeist.mimetypes16:26
alecudobey, it made the tests for the detection a lot more complicated. And since it was only there to make pyflakes happy, I thought it made no sense.16:27
nessitamandel: when you fill bug like this bug #708652, can you please assign to the propoer team to look it up? in this particular case is ubuntuone-foundations team :)16:27
ubot4Launchpad bug 708652 in ubuntuone-client "Tritcask does not support the use of long paths on windows (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/70865216:27
dobeyi guess pyflakes doesn't complain as it is16:27
dobeyalecu: +116:29
dobeyok, i am off to get some lunch. bbiab16:30
nessitaalecu, thisfred: can we add the ubuntuone logo to the bubbles?16:36
thisfredshould be possible. Where does the logo live?16:37
mandelnessita: well, I was going to be the onw fixing it since it is a windows specific thing16:39
nessitamandel: ah, in that case, please 'Triage' so I don't bother looking at it in the entrant queue (that meaning setting status to Triaged, importance to whatever you think, and assign yourself)16:41
mandelnessita: sorted out :)16:42
=== ralsina is now known as ralsina_lunch
alecudobey, cool, thanks.16:48
ryemandel, on windows PATHS longer than 260 chars should be \\\\\\\?\\\\\\\'d ?16:55
mandelrye: yes, you need to add \\?\ to the path16:56
ryemandel, reading "Tritcask does not support the use of long paths on windows "16:57
mandelrye: oh, yes hehe16:58
mandelrye: it would be in the case where the tritcask path is too long, possible will just happen in tests or something like that, but you never know :)16:58
=== ralsina_lunch is now known as ralsina
nessitaalecu, thisfred: not sure if you saw this, but, can we add the ubuntuone logo to the bubbles?17:25
thisfrednessita: sure, where does the logo live?17:25
nessitathisfred: you can just use the icon by name: 'ubuntuone'17:26
alecunessita, I saw thisfred ask that same question earlier :-)17:26
nessitaalecu: sorry I missed it then :-)17:26
thisfredok, I'll see if I can add that17:26
=== tubadaz_ is now known as tubadaz
thisfredsame for the msging menu17:26
nessitaalecu: can we improve the message of '0 completed (1 total)?17:27
ralsinaAlso, maybe change the wording to "Syncing files X of Y" or something a bit more explicit as mentioned earlier.17:27
nessitaas per jdo comments17:27
ralsinaIs that number uploads + downloads?17:27
alecuralsina, that's the number of pending "syncdaemon commands", and that's the number we'll be using for the progress.17:29
ralsinaalecu: so,no way to explain it in two words,right? ;-)17:30
alecuralsina, I plan to add a counter for both uploads and for downloads17:30
ralsinaMaybe "Syncing files X% done"?17:30
alecuralsina, yes, and also "x files were uploaded" and "y files were downloaded" on the final bubble.17:30
ralsinaalecu: ok by me17:30
alecuralsina, also, I plan *NOT* to show any progress if no files are being transferred.17:31
ralsinaalecu: jajaja ok17:32
alecuno, listen!17:32
* ralsina listens17:32
alecuralsina, that means that if operations other than file transfer are going on, (like rescanning, or creating empty folders, or whatever) those won't show up as bubbles.17:33
ralsinaok, good17:33
alecuso we won't see spurious bubbles like right now.17:33
nessitaalecu: but they will count to calculate the %, right?17:34
nessitaand to measure progress17:34
alecunessita, right.17:34
alecunessita, they will count to calculate the %17:34
alecubut they will not "enable" the progressbar if no real file transfer is going on.17:34
ralsinaI suppose "updating metadata on remote files" doesn't deserve its own bubble ;-)17:35
ralsinain any case, good thinking17:35
nessitaalecu: what does 'enabling the progress bar' mean? sparkling?17:35
alecunessita, showing the progress bar at all.17:36
ralsinanessita: someday there will be a progress bar in the launcher icon in unity17:36
nessitaalecu: hum, think operations other than upload and download *should*  make the progress bar advance17:36
alecunessita, they will advance the progressbar, yes.17:37
alecunessita, but if only "operations other" are on the queue, then no progressbar will be shown.17:38
nessitaand the progress bar will be shown?17:38
nessitawhy not?17:38
alecunessita, and no bubbles.17:38
nessitaI would like the progress bar to be shown, a user can have 1000 'operations other' queued17:38
alecunessita, what operations other, for instance?17:38
alecunessita, creating new directories? publishing files?17:38
nessitaMakeFIle, MakeDir, Unlink, GetDelta, PublishFile, GetPublicFiles, etc17:39
alecunessita, no: after each MakeFIle, you have a Upload17:39
alecuso: Unlink is interesting, I will add that to "Upload, Download"17:40
nessitaright, but, let's suppose this scenario:17:40
ralsinaI need to be afk for an hour or so. See you later people.17:40
=== ralsina is now known as ralsina_afk
nessitayou add a million files, with a given dir hierarchy. That, will trigger a million MakeFiles plus some more MakeDirs, plus a million Uploads17:40
nessitait can pass one hours before the million MakeFiles and done17:41
* karni implemented publishing context menus, leaves for a while17:41
nessitaand the user will have one hours without any progress bar17:41
nessitaone hour*17:41
=== beuno is now known as beuno-lunch
alecunessita, that will queue  a million MakeFile plus  a million Uploads17:42
nessitayes, like I said before17:42
alecunessita, so the progress will start showing as soon as an Upload is queued17:42
nessitaah, I understand noe17:42
nessitawhat about:17:42
nessitaconsider creating only dirs, that will not triger any Upload and yet the user will not see any progress bar17:42
alecu(let's be clear: I want this behaviour so we don't see the progressbar flashing for every little bit of activity that makes no sense to the user)17:43
nessitaalecu: I agree to not make it flash. but I would like to be always visible17:44
nessitaso, something like:17:44
nessitasycdaemon is not IDLE => progress bar is visible17:44
nessitaoperations are Upload/Download/Unlink/MakingAFilePUblic/etc => the progress bar flashes17:45
alecuby flash I do not mean "pulsating it". I mean, showing it for brief periods of time.17:46
alecunessita, a user will normally create empty folders one at a time, using nautilus, so I can't see the case of creating a thousand empty folders17:46
alecunessita, and the progressbar will be hidden as soon as the queue is emptied17:46
alecunessita, so we should limit the operations that show it to long running ones.17:47
alecunessita, that's why I think it's a bad idea showing the progressbar every time the sd is not IDLE17:47
nessitaalecu: that makes sense. But I don't see why you don't want show the progress bar when SD is not IDLE. What ad consequences you see on that? (only showing the progress bar in the icon launcher, no flashing, no pulsating, no calling anyone's attention, just having it there progressing)17:48
alecuwhy progressing? for most simple stuff (creating one file, saving one file, creating one folder) it will just jump from 0 to 100%.17:50
alecunessita, that's the most common use case when you have all your files syncd.17:51
nessitaalecu: from my POV, if syncdaemon is not IDLE, is working syncing stuff. If it's syncing stuff, I think is very important to let the users know is working...17:55
nessita(btw, I assigned you bug #708018)17:56
ubot4nessita: Bug 708018 on http://launchpad.net/bugs/708018 is private17:56
alecunice, thanks.17:57
nessitaalecu: anyways, I think you can go ahead with your design and maybe, if needed, we can add the rest of the ops?17:58
alecunessita, ok. Let's look at this from a different pov: if very few operations, that take very little to complete are scheduled, I do not want to grab the attention of the user by showing the progress bar. Perhaps just a bubble, depending on what operations those were. I want the progressbar to be shown for long running operations.17:59
alecunessita, so I want a way to ignore operations that are no so important.18:00
nessitaalecu: that makes sense, we can review it later if users complains about not knowing what is going on18:00
alecuwe can decide on the importance of operations later, sure.18:01
alecunessita, can I ask you a SD question?18:01
alecunessita, SV_VOLUME_CREATED is passed a storageprotocol.Volume18:02
alecu(I assumed it was a vm volume)18:02
nessitaI think you should be listening to VM_UDF_CREATED and18:02
nessitathose are triggered with vm volumes18:02
alecunessita, but only when they are subscribed, right?18:03
nessitaI think no, let me confirm18:03
alecunessita, I want the event that happens when they are available to be subscribed.18:03
nessitaconfirmed: the VM_*_CREATED ones, those add the volume to the volume list with the proper subscribed flag18:04
nessitaalecu: if you want to see it yourself, volume_manager.py:add_udf18:05
nessitaand add_share18:05
nessitawhat is important is 'is_new_share' (or is_new_udf which translates to self.udfs.get(udf.volume_id, None))18:06
nessita... translates to 'self.udfs.get(udf.volume_id, None) is None'18:07
nessitaalecu: makes sense?18:07
alecunessita, right. So that's the way to find out if the volume is "new": by looking in self.udfs or self.shares.18:09
alecunessita, I need to listen for SV_VOLUME_CREATED and see if they are new.18:09
nessitaalecu: no...18:10
nessitaalecu: you should listen to VM_UDF_CREATED and VM_SHARE_CREATED only18:10
nessitaself.udfs and self.shares are 'private'18:10
nessitain the sense that they are used to clean old volumes18:11
alecunessita, hmmm...18:11
alecunessita, but from handle_VM_UDF_CREATED, how do I find out if the volume is new?18:11
nessitaif you get that event, the volume is new18:12
nessitayou will not (should not!) get that for existing volumes18:12
nessitasee that:18:12
alecuif self.udfs.get(udf.volume_id, None) is None:18:13
alecuyes, I see.18:13
nessitaand for shares18:13
nessita if is_new_share:18:13
alecunessita, right.18:14
alecunessita, but VM_SHARE_CREATED is also sent on server rescan...18:14
nessitaonly if the share is new18:15
alecusorry, _volumes_rescan_cb18:15
nessitayeah, only if the share have passed from non accepted to accepted18:15
nessitathat translated to 'is a new share'18:15
nessita(Was not accepted until that point)18:15
alecunessita, what about UDFs in that case?18:15
nessitaUDF are always accepted18:16
nessitasince the user creates them18:16
nessitaso you don't need that check18:16
alecuright: but picture this scenario:18:16
alecumy desktop is on, my laptop is off18:16
alecuI create a new udf on the desktop18:16
alecuit gets created on the cloud18:17
alecuthen I turn on the laptop18:17
alecuwill the VM_UDF_CREATED be triggered?18:17
alecunessita, ^18:17
nessitayes, it will18:17
nessitalet me point you to the exact line18:17
nessita_volumes_rescan_cb -> try except clause -> self._handle_new_volume18:17
alecuwrong key.18:17
nessitaI said:18:18
nessitayes, it will18:18
nessitalet me point you to the exact line18:18
nessita_volumes_rescan_cb -> try except clause -> self._handle_new_volume18:18
nessitahandle_new_volume calls self.add_udf18:18
nessitawhich triggers the VM_UDF_CREATED18:18
alecuok, cool.18:19
alecunessita, thanks a bunch!18:19
nessitaI'm right now drawing in that code, so feel free to ask18:19
krustyany1 help me18:26
CardinalFangNot without a description and question.18:26
krustymy computer has no sound18:27
krustyno audio output device installed18:27
CardinalFangI suspect you want #ubuntu instead.18:27
alecukrusty, this channel is about the "Ubuntu One" synchronization service: http://one.ubuntu.com/18:28
alecua "ok, thanks" would have been fine.18:29
CardinalFangHe was struggling with the language, I think.  C'est dommage.18:30
nessitaso, wild berry skittles are terrible, really bad. Nothing compared to traditional skittles.18:32
* nessita chews unhappy18:32
CardinalFangI think they'd both make my molars pop out and shatter.18:33
=== beuno-lunch is now known as beuno
alecuhey all: can anyone share me an empty folder? I need to test them bubbles18:51
beunoalecu, sure18:52
beunoalecu, done18:54
alecubeuno, thanks!18:55
alecunessita, VM_UDF_CREATED worked just fine, but I'm having some trouble with VM_SHARE_CREATED19:06
alecunessita, the thing is that VM_SHARE_CREATED receives a share_id instead of the share19:06
alecunessita, and the only part where that message is listened for (dbus) goes back to vm to retrieve the share object from the vm19:06
alecunessita, so... would it make sense to change VM_SHARE_CREATED to pass the share instead of the share_id?19:07
nessitaalecu: maybe, I would ask verterok about that particular change19:07
nessitadidrocks: ping19:07
alecuverterok, ^ ?19:08
didrocksnessita: hey19:08
nessitadidrocks: hey there! quick question. Did Ubuntu One will be listed as favourite apps in unity 2D?19:08
verterokalecu: sounds reasonable19:08
didrocksnessita: it will as they will share the same gsettings key than us19:08
didrocksnot sure it's already the case though19:09
nessitadidrocks: because I just installed a clean natty VM with unity-2d and I don't have U1 in the launcher19:09
nessitaand I do have u1cp installed19:09
didrocksso, they are still using gconf :)19:09
didrocksthe dconf qt binding is quite new19:09
nessitadidrocks: can I stop using gconf somehow?19:09
nessitain this unity2d desktop, to see u1 in the launcher :-D19:10
didrocksnessita: well, you need to code in unity2d to load from dconf :)19:10
nessitaah, ja19:10
didrocksit's just not a switch, it's rewritting the settings backend :)19:10
nessitaok, thanks!19:10
alecunessita, more questions: in order to have a share_id, the share has to be in the metadata, right?19:12
alecunessita, that means, it should have an entry in fsm19:12
nessitaas far as I know all shares has that19:13
alecunessita, so... now that we'll be having per-share-subscription (PSS!), the VM_SHARE_CREATED may not be able to have a share_id, yet.19:13
nessitaif they are accepted, of course19:13
nessitaalecu: no no! let me explain :-)19:14
nessitaalecu: every volume gets an entry in the metadata19:14
nessitano matter if it's subscribed or not19:14
nessitaalecu: that is done by calling:19:14
nessitaself._create_fsm_object(share.path, share.volume_id, share.node_id)19:15
nessitaalecu: if you see add_share, you have:19:15
nessita    820         if share.accepted:19:15
nessita    821             self._create_fsm_object(share.path, share.volume_id, share.node_id)19:15
nessitait doesn't matter if it's sunscribed or not19:15
nessitaalecu: am I answering your question?19:15
alecuI was confused by share_id and volume_id19:16
alecuI know understand that they are the same.19:17
nessitaalecu: question for you: how can ssh between my host machine and VB VM?19:17
alecuyou need to touch VB xml19:17
aleculet me find a sample19:17
nessitanah, is oik19:17
nessitaI'll gmail as transport layer :-D19:17
nessitaI'll use*19:17
alecunessita, it's easy from the vm to your computer, but complicated otherwise.19:18
alecunessita, oh, to transfer files, just use a vbox shared folder.19:18
nessitaalecu: I did, but I can't find it in the guest machine19:18
nessitawhere are they mounted?19:18
alecunessita, they show up as "microsoft network" shares.19:19
nessitaright, it says  'unable to mount location, failed to retrieve list from server'19:19
alecuwell, I'm using that on a win vm and it works :-(19:20
nessitano problem19:20
alecunessita, if you have openssh-server running on the host, you can ssh to it, or mount it thru nautilus19:20
nessitassh to what address? the 'real' one?19:20
alecunessita, any address on your host should do.19:21
* nessita tries19:21
nessitayou're right!19:21
nessitaI gues VB builds bridges for me19:22
alecunessita, by default it builds a nat from the guest to the host19:22
nessitadidrocks: can I ask another question? is about the indicator-me19:25
didrocksnessita: not sure I can answer, but try :)19:26
nessitaso, I have the /usr/share/indicators/me/ubuntuone.menu with a single line in it: the path to the u1cp-gtk desktop file19:26
nessitaand that file gets properly installed19:26
nessitaany idea why U1 is not in the me-menu?19:26
didrocksnessita: no sorry, for the messaging menu I could have tell you, but not on the me menu19:30
didrocksnessita: ask tedg, he will know19:30
nessitadidrocks: any clue who to ask?19:30
didrockstedg is the man :)19:31
nessitaI'll ask! thanks19:31
dobeynessita: did you make that .menu file by hand?19:31
nessitadobey: what do you mean 'by hand'? if you ask about the prefix, no, I'm using the installation prefix given to the install process19:33
didrocksnessita: yw, sorry to not be more precise :)19:33
dobeynessita: i mean, i don't see that file in trunk19:33
nessitadidrocks: giving me a name was a lot! thanks19:33
nessitadobey: is not, I'm building a new branch19:35
nessitabut I'm testing it first19:35
=== ChrisWoollard_ is now known as ChrisWoollard
dobeynessita: did you restart the indicator-session after installing the file?19:36
nessitadobey: I restart the session, is that enough?19:38
dobeyshould be19:39
=== ralsina_afk is now known as ralsina
karniverterok: Hey :) Remember you once told me there was a way to fetch all files that were public - did that method include their public urls?20:03
verterokkarni: yes, but isn't in the protocol, is an http request20:04
karniverterok: a, still cool. is it somewhere in syncdaemon sources?20:05
verterokkarni: yes, action_queue.py20:05
karniverterok: thanks :)20:05
karniverterok: i've got (un)publishing working. now interested in fetching a batch of public urls during sync :)20:06
alecunessita, ping20:20
nessitaalecu: pong20:20
alecunessita, I think that the name of the users when you get a new share is blank for users created thru sso20:20
nessitaalecu: yes...20:21
alecuso it says "... has shared a folder with you."20:21
alecuwithout the ..., obviously20:22
nessitaalecu: can you use the email address (or username) if the name is empty?20:22
alecunessita, I'll try, sure.20:23
nessitaalecu: you can file a bug in ussoc about that20:23
nessitasince the rest api will not accept the name20:23
alecunessita, but I also see that they are created on the web and on disk without a name...20:23
nessitathat sucks!20:24
nessitaand they get overwritten?20:24
alecunessita, probably, didn't try that.20:24
alecunessita, I even tried going into the website -> account, updating the users fullname, and sharing a new folder, but it's still sharing with an empty name.20:25
alecuwell... I need to run20:25
alecuI have to pick up Amelia from kindergarten.20:25
alecusee you all later!20:25
ralsinabye alecu!20:25
alaa_any idea when would the ubuntuone client and dolphin integration for syncing folders will be available for Kubuntu ?20:51
beunoalaa_, it's not on our roadmap, so it's uncertain20:52
beunothere are community efforts20:52
beunoand some of the devs are working on it on their free time20:52
alaa_hm,... so i take it if its not available yet on kubuntu so its not the other distros (likse suse,arch,etc) but my question is,can i get an ubuntu one account while on other distro and manage the uploads from the website and let alone the desktop integration feature ?20:55
dobeyalaa_: what distro are you on?20:56
alaa_am currently on kubuntu20:56
alaa_and i have the ubuntu desktop installed20:57
dobeyalaa_: you can use u1 on kubuntu; it just requires that some parts of gnome are installed, and some of those are running.20:57
dobeyalaa_: what version of kubuntu are you on?20:58
alaa_10.10 with kde 4.620:58
=== dougal_away is now known as dougal_
dobeyalaa_: if you install ubuntuone-client, you should be able to use the file sync service. let me see if i can find some documentation about using it on kubuntu21:00
alaa_please do21:01
dougal_howdy folks21:01
karniverterok: got a minute? GetPublicFiles fetches only volumeId,nodeId pairs, no public links. it signals with AQ_PUBLIC_FILES_LIST_OK/ERROR -- is there any component that listens to this signal and starts fetching public urls? or is it on demand with Right Click -> Copy Public URL and it fetches he url at that moment.21:02
alaa_coz am about to move to rolling release distros but ubuntu one keeps me hanging to it21:02
dougal_I'm playing with ubuntuone-java-storageprotocol client at the moment, but can't get my head around the oAuth tokens...21:02
karnidougal_: you need the tokens :)?21:03
dobeyalaa_: https://wiki.ubuntu.com/UbuntuOne/FAQ/HowDoIInstallTheGNOMEUbuntuOneClientOnKubuntu21:03
karnidougal_: there's a python script to extract them, if you'd like it21:03
dougal_key karni21:03
dougal_I was wondering if they came from the user, or from sso or where?21:03
karnidougal_: from the SSO21:04
dobeyalaa_: if you really want rolling release with ubuntu, you could always just keep up to date with the development version21:04
alaa_the "pre-release"21:05
dougal_karni, i c - so SSO client auths with Ubunto sso, and a token gets passed to both U1 client and U1 server?21:05
karnidougal_: copy and run this script in terminal http://paste.ubuntu.com/559213/21:05
dobeyalaa_: yeah, for instance, i am currently running 11.0421:05
karnidougal_: firstly, SSO is a service running on u1 servers21:05
dougal_karni - Thanks!21:05
verterokkarni: check again :)21:05
dobeyalaa_: so you just need to install ubuntuone-client and it should install what you need.21:05
karnidougal_: there's sso-client on the pc, which fetches that tokens for you and keeps them in the keyring21:05
karniverterok: haha ok, thanks!21:06
karnidougal_: if you want to plug the device running your software to u1 by means of retrieving the tokens, you can do that, too. for time being, play around using your tokens.21:07
alaa_i heard that its takes real courage to put the updates to pre-release21:07
dougal_karni, cool21:07
dougal_For the time being?  Changes afoot?21:07
karnidougal_: no. I mean that getting them yourself is just a little pain. you need to launch the browser from your software and catch the redirect back -- all that, unless you use the new API which is not yet implemented in JAva21:08
karnidougal_: plus, if you're runing your software on the PC -- all that is done for you. you just get the tokens from gnomekeyring (like the script does)21:10
dougal_karni, so can I also use U1 SSO to authorise access to third party services?21:10
karnidougal_: SSO can authorize thir party services to access U1 by means of sharing the tokens - anybody correct me if I'm wrong21:11
karnidougal_: I'm not really SSO guy TBH ;)21:12
dobeyalaa_: well, a rolling distro is just constant pre-release. if you want it, you don't really have to go to another distro. if you don't want it, then you're fine staying on each release for 6 months, which is already an extremely short time anyway :)21:12
dougal_karni, heh - to many layers of indirection :-p21:13
alaa_yeahgood point21:14
karnidougal_: Single Sign On lets the user sign in once, and use many services. if a service has been authorized (that is, has access to the oauth tokens for instance), it can connect and use U1.21:14
dougal_karni, cool.  I think I see where all the bits fit together now. And the only interface for generating a new authorisation is through a browser?21:16
karnidougal_: no, there's a new API that 10.10 u1 uses, with captcha21:17
dougal_karni: aha.21:18
dougal_should give me enough to play with for a while :-)21:19
alaa_alright thanks for all the help guys,.. (relogging to ubuntu)21:21
ralsinaI'm EODing now. My kid came back from the pool with a foot completely blistered, so off to the doctor :-(21:34
ralsinanessita: I'm approving the branch. Gotta run.21:37
nessitaralsina: thanks21:37
CardinalFangI'm EOD too.  See y'all in ~14 hours.21:38
nessitabye all!21:59
dobeylater too21:59
karnibeuno: sure, just a sec22:37
dougal_hey karni, you still here?23:52
karnidougal_: yes23:52
dougal_that script didn't work for me as it was...23:52
karnistudying to exam in 7 hours. what's up ;)?23:52
dougal_aha ;-D23:52
karnidid you try python thescript.ph ?23:52
dougal_I've got it working now23:53
karnior chmod u+x thescript.py && ./thescript.py23:53
dougal_gah - i'm almost insulted!23:53
karnidougal_: :D23:53
dougal_running it was fine, but it wasm't finding the key in the keystore23:53
karniyou must sign up first. login to u1, that is.23:53
karniso, is it working now?23:53
dougal_yus yus yus :-)23:53
karnithe script is fine, works for me23:53
dougal_I had the key in the keyring23:54
dougal_it still doesn't work for me23:54
dougal_as it was23:54
karniit has to.. wait23:55
dougal_ok - signing up creates a "Ubunto One" key/token23:55
karnidougal_: wget http://ubuntuone.com/p/aXT/23:55
dougal_but that's not found using 'ubuntuone-realm': 'https://ubuntuone.com', 'oauth-consumer-key': 'ubuntuone'23:56
karnipython oauth.py23:56
karniif the script still won't work for you, you can ping rye tomorrow23:56
dougal_I'm wondering if I've got an SSO key, but not an oAuth key23:58
dougal_karni: my problem is that the keys in my keystore don't match the attributes in that script23:59

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