[00:11] <__lucio__> karni,         data = dict(is_public=bool(self.is_public))
[00:11] <__lucio__>         pdata = urlencode(data)
[00:12] <__lucio__> In [4]: urlencode(dict(is_public=True))
[00:12] <__lucio__> Out[4]: 'is_public=True'
[00:17] <karni> __lucio__: is_public=True is a POST pair (pdata in Request(url, pdata, headers) ), correct?
[00:19] <karni> __lucio__: thanks
[00:20] <__lucio__> karni, whats a post pair?
[00:21] <karni> __lucio__: mhmm.. "data should be a buffer in the standard application/x-www-form-urlencoded format"
[00:22] <__lucio__> karni, yes, thats a dict gone thru urlencode in python
[00:22] <karni> similarly to query string ?is_public=True but POST-style ;)
[00:23] <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:24] <__lucio__> dont know enough java for that
[00:24] <karni> __lucio__: that's what I do http://paste.ubuntu.com/558782/ . looks like I'll have to poke around for a little longer
[00:25] <__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 arguments
[00:26] <karni> __lucio__: I see. I handle it, sooner or later ;)
[00:26] <karni> *'ll
[00:26] <__lucio__> good luck
[00:26] <karni> thanks
[00:28] <karni> __lucio__: I think I've got it :)
[00:28] <karni> I was using a wrong method :x Shame on me.
[00:33] <karni> __lucio__: works like a charm :)
[01:41] <karni> beuno: 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:42] <karni> Crap.. I never know if I didn't write too much. Have to make my irssi auto-split messages.
[01:42] <beuno> karni, sure, anything is fine
[01:42] <beuno> I'm talking to the design team, so don't worry, we'll have something soon
[01:42] <karni> beuno: I'll do the menus tomorrow. ATM the link lands in the clipboard and a Toast notification pops up.
[01:42] <karni> beuno: cool
[01:43] <karni> public link, that is
[01:43] <beuno> awesome
[01:44] <karni> take care beuno, till tomorrow [Thursday]
[01:44]  * karni eods
[01:45] <karni> bye for now! o/
[02:05] <beuno> night karni
[09:07] <karni> canonical.com is down ! :O
[09:23] <karni> webpage is back online.
[11:51] <duanedesign> morning all
[12:12] <ralsina> Good morning!
[12:12] <karni> morning ralsina
[12:12] <karni> hi duanedesign
[12:13] <ralsina> karni,you slacker, you were away from the channel for 7 whole hous last night ;-)
[12:14] <karni> ralsina: I'm away ATM, but I'm not! magic ;)
[12:14] <karni> ralsina: I slept 3.5 hours o_O
[12:14] <ralsina> karni: hahaha
[12:14]  * karni went not-away
[12:15] <ralsina> Anyone want to see a video of an app that may be cool in the future? http://is.gd/5Lj5sr
[12:15] <karni> my sleeping schedule has been seriously messed up for last 2 weeks, college got pretty loaded
[12:16] <karni> ralsina: some sort of e-book reader?
[12:16] <ralsina> karni: more of a manager, but it's becoming a reader too
[12:17] <karni> ralsina: looks nice
[12:17] <ralsina> karni: but it makes no sense to add a PDF reader to it or anything like that
[12:17] <karni> it's got an option to convert to epub, pdf and mobi. cool
[12:17] <ralsina> karni: thanks. I want to make it use u1, but since I am hacking on it at night it may take a while :-)
[12:18] <ralsina> karni: oh,well, that's cheating. It just downloads the other format ;-)
[12:18] <karni> ralsina: your work? cool!
[12:18] <karni> heehhe
[12:18] <ralsina> lossless conversion :-D
[12:19] <karni> =)
[12:19] <karni> Ok. Gotta shower, get some rest and lunch, so that I can do some productive code a lil later.
[12:19] <karni> I'll be back later guys
[12:19] <duanedesign> hello karni o/
[12:19] <karni> duanedesign: ^^ \o
[12:20] <duanedesign> morning ralsina
[12:20] <ralsina> hi duanedesign
[12:20] <duanedesign> karni: cya after awhile
[12:20] <ralsina> bye karni
[12:20] <karni> \o
[12:50] <alecu> hello all
[13:03] <duanedesign> hello alecu
[13:14] <alecu> ralsina, 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] <ralsina> alecu: sounds great
[13:14] <alecu> the thing is, I have only coded the first delay, so that's why they are still showing every 10 seconds.
[13:15] <alecu> I'll be tackling that after I add the remaining events to sd (new shares/udfs), so please consider this work in progress.
[13:18] <nessita> alecu: sounds awesome. How can I dissble the current setup which is very annoying?
[13:18] <nessita> it's buggine me big time (I have 1500~ total)
[13:18] <alecu> nessita, u1sdtool -q
[13:18] <alecu> :-P
[13:19] <alecu> I have that much as well :-)
[13:20] <nessita> alecu: really :-)
[13:20] <nessita> how can I disable that?
[13:22] <alecu> nessita, in /usr/share/pyshared/ubuntuone/status/aggregator.py, in class DelayedBuffer change the this parameters of the constructor:
[13:23] <alecu> threshold=60, timeout=600
[13:23] <nessita> that would be seconds?
[13:23] <alecu> right
[13:24] <alecu> nessita, if you want to never see them again, set both to a really big number
[13:26] <nessita> I want to see them, but every 10 minutes~
[13:28] <alecu> hmm....
[13:28] <alecu> nessita, make that threshold=600, timeout=600
[13:29]  * nessita does
[13:35] <alecu> @ping
[13:35] <ubot4> pong
[13:36]  * CardinalFang eyeballs fast protobuffers implementation.  https://github.com/Greplin/fast-python-pb
[13:48] <ralsina> alecu:  CardinalFang dobey mandel nessita thisfred vds  standup in 12'
[13:49] <thisfred> sí!
[13:49] <thisfred> ¡^
[13:49] <CardinalFang> jawohl
[13:49] <alecu> ack
[14:00] <alecu> me
[14:00] <vds> me
[14:00] <dobey> me
[14:00] <thisfred> me
[14:03] <alecu> ralsina, nessita, mandel?
[14:03] <ralsina> me
[14:03] <nessita> me
[14:03] <mandel> me
[14:03] <nessita> (sorry, cparrino pinged me)
[14:04] <ralsina> alecu start!
[14:04] <CardinalFang> me
[14:04] <alecu> DONE: fixed broken nightlies on lucid, bug #707983.  worked on new folders bubbles, bug #702055 and bug #702138
[14:04] <alecu> TODO: make mumble work! weekly mumble. Test IRL new folders branch, propose it. Work on another branch to show new folders events in messaging menu
[14:04] <alecu> BLOCKED: branch to fix lucid pending reviews: https://code.launchpad.net/~alecu/ubuntuone-client/disable-zg-on-lucid/+merge/47549
[14:04] <alecu> LOVE: no
[14:04] <alecu> HATE: no
[14:04]  * alecu passes a branch for review to vds
[14:04] <vds> DONE: third branch for #701029 landed forth started
[14:04] <ubot4> Launchpad bug 707983 in ubuntuone-client "zeitgeist integration broken on Lucid (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/707983
[14:04] <vds> TODO: still...continuing with the views
[14:04] <vds> BLOCKED: not really but I think I misunderstood something and the resthelper needs to be fixed but I need to check something with jdobrien
[14:04] <vds> dobey: prego
[14:04] <ubot4> Launchpad 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/702055
[14:04] <ubot4> Launchpad 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/702138
[14:04] <dobey> λ DONE: fixed ubuntuone-client ftbfs, started looking at bug 673012 and bug 675675
[14:04] <dobey> λ TODO: 3rd party apis?, evaluate SRUs for maverick, lucid bugs
[14:04] <ubot4> Launchpad bug 673012 in desktopcouch (Ubuntu) (and 1 other project) "Async monitoring of _changes (affects: 1) (heat: 42)" [Undecided,Confirmed] https://launchpad.net/bugs/673012
[14:04] <ubot4> Launchpad 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/675675
[14:04] <dobey> λ BLCK: None.
[14:04] <dobey> thisfred: all you
[14:05] <thisfred> DONE: Messaging menu mystery tour
[14:05] <thisfred> TODO: somehow get messaging menu to work
[14:05] <thisfred> BLOCKED: A clue would be nice
[14:05] <thisfred> HATED: python bindings for libindicate
[14:05] <thisfred> LOVED: http://tinysong.com/stBx
[14:05] <thisfred> ralsina: go!
[14:05] <ralsina> DONE: reviews, visited the doctor, did my canonicaladmin work, read code.
[14:05] <ralsina> TODO: reviews, management stuff, someday actual coding ;-)
[14:05] <ralsina> BLOCKED: no
[14:05] <ralsina> LOVE: coffe
[14:05] <ralsina> HATES: the doctor that says I can't drink coffee
[14:05] <ralsina> nessita!
[14:05] <nessita> DONE: 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] <nessita> TODO: finish shares subscription branch (or try to)
[14:05] <nessita> BLOCKED: a little, need God verterok to help me
[14:05] <nessita> NEXT: ralsina
[14:05] <ubot4> Launchpad bug 708335 in ubuntuone-client "Add subscription capabilities to shares (affects: 1) (heat: 6)" [High,In progress] https://launchpad.net/bugs/708335
[14:05] <nessita> oops
[14:05] <nessita> NEXT... mandel!
[14:06] <nessita> thisfred: I was next after you! :-)
[14:06] <mandel> DONE: Fixed tritcask issue on Windows bug 708017 and bug 708189	. Debug, debug, debug I've got some test failing due to time outs on Windows
[14:06] <mandel> TODO: More debugging, move to sso (have not done it yet), put everything together.
[14:06] <mandel> BLOCKED: debugging multithread issue in the tests.
[14:06] <mandel> HATE: multithreaded testing
[14:06] <ubot4> Launchpad bug 708017 in ubuntuone-client "Tirtcask does not work on Windows (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/708017
[14:06] <ubot4> Launchpad bug 708189 in ubuntuone-client "Extra seek in tritcask as added on Linux (affects: 1) (heat: 6)" [Medium,Fix committed] https://launchpad.net/bugs/708189
[14:06] <ralsina> nessita: not according tomy history :-)
[14:06] <ralsina> nessita: but we were on the same second!
[14:06] <nessita> CardinalFang?
[14:06] <nessita> ralsina: ah, ok :-)
[14:06] <CardinalFang> DONE: Fixing tests in desktopcouch.  Found ways python-mocker doesn't .replace() objects.
[14:06] <CardinalFang> TODO: Finish testing replication.  Land fix for bug #706939.
[14:06] <CardinalFang> BLOCKED: Talking with #couchdb about some kind of infinite loop in couchdb.
[14:06] <ubot4> Launchpad bug 706939 in desktopcouch "service tries to access service over dbus, deadlock (affects: 1) (heat: 6)" [Critical,In progress] https://launchpad.net/bugs/706939
[14:07] <mandel> nessita: I cannot believe you left me out… you should be ashamed!  ;)
[14:07]  * nessita is
[14:07] <ralsina> ok, comments!
[14:07] <nessita> comment: we have our weekly meeting in 1 hour, please have your mics and mubles working
[14:07] <nessita> mumbles*
[14:07] <ralsina> there seems to be something strangegoingon with the numbering of the dailies beinglower than main's
[14:08] <thisfred> nessita: no you weren't :)
[14:08] <dobey> it's not strange at all
[14:08] <nessita> ok, I gotta get back to answer one of the bosses
[14:08] <ralsina> nessita: ok
[14:08]  * thisfred starts fiddling with mumble then
[14:08] <ralsina> dobey: I suppose the recipe needs a version number nudge?
[14:09] <dobey> a few need updating it seems, yes
[14:10] <ralsina> dobey: ok, cool
[14:10] <ralsina> not much point in doing lots of comments now since we mumble in 1 hour.
[14:10] <ralsina> eom?
[14:17] <nessita> eom!
[14:23] <dobey> ok, brb
[14:51] <alecu> ralsina, ubuntuone-client-1.5.3 seems to be broken
[14:51] <ralsina> alecu: rye said that today. :-(
[14:51] <alecu> ralsina, ubuntuone-client-1.5.2+r822~natty1 seems more up to date (with yesterday changes)
[14:51] <rye> dobey, 1.5.3 broken and nightlies are no longer ahead of main
[14:52] <ralsina> rye: what error are you getting with 1.5.3?
[14:52] <ralsina> rye: and nightlies will be ahead again later today
[14:53] <rye> ralsina, status aggregator import failure
[14:53] <rye> ImportError: No module named status.aggregator
[14:53] <ralsina> rye: ok
[14:55] <nessita> dobey: 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 tests
[14:56] <nessita> we're getting several bug reports for the broken natty package
[14:57] <nessita> alecu: did you see bug #616592?
[14:57] <ubot4> nessita: Bug 616592 on http://launchpad.net/bugs/616592 is private
[14:57] <rye> nessita, i suppose i will need to create a bugpattern
[14:58] <nessita> alecu: as like 20 dupes!
[14:58] <nessita> rye: this bug is another one...
[14:58] <nessita>     from configglue import TypedConfigParser, glue ImportError: cannot import name TypedConfigParser
[14:58] <ralsina> I 'm getting 1.5.2-r822 what repo am I missing?
[14:59] <rye> nessita, that's configglue not having TypedConfigParser in Lucid
[14:59] <nessita> rye: ok, all the status listener bugs are being marked as dups of that one, which is wrong
[14:59] <nessita> No module named status.aggregator bug -> 708634
[15:00] <nessita> rye: the bug report of TypedConfigParser is on maverick
[15:00] <rye> empathy! why do you obscure my desktop with invisible window?
[15:02] <dobey> huh
[15:02] <nessita> I'm fixing the wrong dupes
[15:02] <dobey> rye: broken how?
[15:02] <nessita> dobey: master bug is now 708183
[15:02] <rye> dobey, not starting
[15:02] <nessita> bug 708183
[15:02] <ubot4> Launchpad 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/708183
[15:03] <dobey> ah ok
[15:03] <nessita> bug 708183
[15:04] <mandel> nessita: mumble is now, right?
[15:04] <alecu> nessita, 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] <dobey> mandel: 10 min
[15:04] <mandel> dobey: ok
[15:04] <dobey> alecu: it's a packaging issue
[15:04] <nessita> mandel: in 10 minutes
[15:05] <alecu> dobey, I guessed so, but I'd like to understand why (and learn a bit more about packaging as a consequence)
[15:06] <dobey> alecu: ubuntuone.status is missing from the package
[15:07] <alecu> dobey, and in what file should that go? Should I have added that, or notified you about it?
[15:07] <nessita> alecu: I think the packaging bits for nightlies are in a separated branch than the packaging bits for main repo
[15:07] <alecu> nessita, oh, I see.
[15:08] <alecu> nessita, do you know what those branches are?
[15:08] <nessita> alecu: so the nightlies are building and installing fine, but the official package is not (I think)
[15:08] <nessita> alecu: I think, at least I know for ussoc. Let me see...
[15:08] <nessita> https://code.launchpad.net/~ubuntuone-control-tower/ubuntuone-client/packaging-dailies
[15:08] <nessita> alecu: ^
[15:09] <nessita> alecu: each project has its own packaging-dailes branch that does the trick
[15:09] <dobey> the autobuild packaging info is in lp:~ubuntuone-control-tower/<project>/packaging-dailies
[15:09] <nessita> dobey: is there any way of using the same packaging bits for nightlies than for official package? so we can avoid bugs like this one
[15:09] <dobey> no
[15:09] <nessita> dobey: care to explain why not?
[15:10] <dobey> because nightlies are built on more than one ubuntu version, from trunk, and whenever new change sets land.
[15:12] <ralsina> dobey: at least we should takecare from now on that the official package tracks the changes in nightlies, since that's the one we are testing
[15:13] <ralsina> As in revision 21 "Add the new ubuntuone.status package"
[15:13] <rye> nessita, bugpattern for status will be online soon (committed)
[15:14] <nessita> rye: thanks!
[15:14] <dobey> well i just uploaded the fix
[15:14] <dobey> should be built/published soon
[15:15] <dobey> what we need to do, is move u1sync out of ubuntuone-client
[15:15] <ralsina> dobey: cool.
[15:15] <ralsina> can we do a 1.5.3.1 or whatever today with that fix, maybe?
[15:15] <nessita> dobey: what issue is u1sync causing?
[15:16] <ralsina> nessita dobey mandel CardinalFang thisfred vds alecu mumble!
[15:16] <nessita> ralsina: already there!
[15:17] <vds> joining
[15:18] <dobey> nessita: 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 package
[15:19] <alecu> nessita, 4 /oauth/sso-finished-so-get-tokens/<your (Unknown)
[15:20] <nessita> 5 /oauth/sso-finished-so-get-tokens/bevant@gmail.com (Unknown)
[15:24] <dobey> ralsina: 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 background
[16:16] <dobey> alecu: are we already importing zeitgeist.mimetypes somewhere else?
[16:19] <alecu> dobey, else than the code that does the detection? Perhaps.
[16:19] <dobey> alecu: 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:20] <alecu> dobey, I think there's no need there. The assert is just so pylint does not complain.
[16:21] <dobey> alecu: right, but won't it complain about zeitgeist.mimetypes instead of zeitgeist now?
[16:21] <nessita> dobey: were you aware of bug #616592?
[16:21] <ubot4> nessita: Bug 616592 on http://launchpad.net/bugs/616592 is private
[16:21] <alecu> dobey, no, it does not complain about the second.
[16:21] <alecu> dobey, probably because python cannot use those modules directly.
[16:22] <alecu> (modules imported as "import soemthing.someother")
[16:22] <alecu> hmmm
[16:22] <alecu> well, it can.
[16:22] <dobey> nessita: not exactly, but it is 6 months old and only an issue with the beta ppa i guess?
[16:23] <nessita> dobey: it has tons of duplicates, and now apport is somehow marking all the status import error duplicate to that one
[16:23] <nessita> dobey: if it' solved, can you please update it?
[16:23] <dobey> weird.
[16:23] <dobey> can you file a bug against apport for that?
[16:24] <dobey> it's not solved in the beta ppa any way.
[16:24] <nessita> hm
[16:25] <dobey> nessita: i'll take it and try to set up automatic beta ppa builds
[16:26] <alecu> dobey, oh, I remember why I finally left out the assert for zeitgeist.mimetypes
[16:27] <alecu> dobey, 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] <nessita> mandel: 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] <ubot4> Launchpad 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/708652
[16:27] <dobey> i guess pyflakes doesn't complain as it is
[16:29] <dobey> alecu: +1
[16:30] <dobey> ok, i am off to get some lunch. bbiab
[16:36] <nessita> alecu, thisfred: can we add the ubuntuone logo to the bubbles?
[16:37] <thisfred> should be possible. Where does the logo live?
[16:39] <mandel> nessita: well, I was going to be the onw fixing it since it is a windows specific thing
[16:41] <nessita> mandel: 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:42] <mandel> nessita: sorted out :)
[16:42] <nessita> thanks!
[16:48] <alecu> dobey, cool, thanks.
[16:55] <rye> mandel, on windows PATHS longer than 260 chars should be \\\\\\\?\\\\\\\'d ?
[16:56] <mandel> rye: yes, you need to add \\?\ to the path
[16:57] <mandel> why?
[16:57] <rye> mandel, reading "Tritcask does not support the use of long paths on windows "
[16:58] <mandel> rye: oh, yes hehe
[16:58] <mandel> rye: 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 :)
[17:25] <nessita> alecu, thisfred: not sure if you saw this, but, can we add the ubuntuone logo to the bubbles?
[17:25] <thisfred> nessita: sure, where does the logo live?
[17:26] <nessita> thisfred: you can just use the icon by name: 'ubuntuone'
[17:26] <alecu> nessita, I saw thisfred ask that same question earlier :-)
[17:26] <nessita> alecu: sorry I missed it then :-)
[17:26] <thisfred> ok, I'll see if I can add that
[17:26] <thisfred> same for the msging menu
[17:27] <alecu> yay!
[17:27] <nessita> alecu: can we improve the message of '0 completed (1 total)?
[17:27] <ralsina> Also, maybe change the wording to "Syncing files X of Y" or something a bit more explicit as mentioned earlier.
[17:27] <nessita> as per jdo comments
[17:27] <nessita> right
[17:27] <ralsina> Is that number uploads + downloads?
[17:29] <alecu> ralsina, that's the number of pending "syncdaemon commands", and that's the number we'll be using for the progress.
[17:30] <ralsina> alecu: so,no way to explain it in two words,right? ;-)
[17:30] <alecu> ralsina, I plan to add a counter for both uploads and for downloads
[17:30] <ralsina> Maybe "Syncing files X% done"?
[17:30] <alecu> ralsina, yes, and also "x files were uploaded" and "y files were downloaded" on the final bubble.
[17:30] <ralsina> alecu: ok by me
[17:31] <alecu> ralsina, also, I plan *NOT* to show any progress if no files are being transferred.
[17:32] <ralsina> alecu: jajaja ok
[17:32] <alecu> no, listen!
[17:32]  * ralsina listens
[17:33] <alecu> ralsina, 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] <ralsina> ok, good
[17:33] <alecu> so we won't see spurious bubbles like right now.
[17:34] <nessita> alecu: but they will count to calculate the %, right?
[17:34] <nessita> and to measure progress
[17:34] <alecu> nessita, right.
[17:34] <nessita> nice
[17:34] <alecu> nessita, they will count to calculate the %
[17:34] <alecu> but they will not "enable" the progressbar if no real file transfer is going on.
[17:35] <ralsina> I suppose "updating metadata on remote files" doesn't deserve its own bubble ;-)
[17:35] <ralsina> in any case, good thinking
[17:35] <nessita> alecu: what does 'enabling the progress bar' mean? sparkling?
[17:36] <alecu> nessita, showing the progress bar at all.
[17:36] <ralsina> nessita: someday there will be a progress bar in the launcher icon in unity
[17:36] <alecu> jajaja
[17:36] <nessita> alecu: hum, think operations other than upload and download *should*  make the progress bar advance
[17:37] <alecu> nessita, they will advance the progressbar, yes.
[17:38] <alecu> nessita, but if only "operations other" are on the queue, then no progressbar will be shown.
[17:38] <nessita> and the progress bar will be shown?
[17:38] <nessita> why not?
[17:38] <alecu> nessita, and no bubbles.
[17:38] <nessita> I would like the progress bar to be shown, a user can have 1000 'operations other' queued
[17:38] <alecu> nessita, what operations other, for instance?
[17:38] <alecu> nessita, creating new directories? publishing files?
[17:39] <nessita> MakeFIle, MakeDir, Unlink, GetDelta, PublishFile, GetPublicFiles, etc
[17:39] <alecu> nessita, no: after each MakeFIle, you have a Upload
[17:40] <alecu> so: Unlink is interesting, I will add that to "Upload, Download"
[17:40] <nessita> right, but, let's suppose this scenario:
[17:40] <ralsina> I need to be afk for an hour or so. See you later people.
[17:40] <nessita> you add a million files, with a given dir hierarchy. That, will trigger a million MakeFiles plus some more MakeDirs, plus a million Uploads
[17:41] <nessita> it can pass one hours before the million MakeFiles and done
[17:41]  * karni implemented publishing context menus, leaves for a while
[17:41] <nessita> and the user will have one hours without any progress bar
[17:41] <nessita> one hour*
[17:42] <alecu> nessita, that will queue  a million MakeFile plus  a million Uploads
[17:42] <nessita> yes, like I said before
[17:42] <alecu> nessita, so the progress will start showing as soon as an Upload is queued
[17:42] <nessita> ah, I understand noe
[17:42] <nessita> now*
[17:42] <nessita> what about:
[17:42] <nessita> consider creating only dirs, that will not triger any Upload and yet the user will not see any progress bar
[17:43] <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:44] <nessita> alecu: I agree to not make it flash. but I would like to be always visible
[17:44] <nessita> so, something like:
[17:44] <nessita> sycdaemon is not IDLE => progress bar is visible
[17:45] <nessita> operations are Upload/Download/Unlink/MakingAFilePUblic/etc => the progress bar flashes
[17:46] <alecu> by flash I do not mean "pulsating it". I mean, showing it for brief periods of time.
[17:46] <alecu> nessita, 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 folders
[17:46] <alecu> nessita, and the progressbar will be hidden as soon as the queue is emptied
[17:47] <alecu> nessita, so we should limit the operations that show it to long running ones.
[17:47] <alecu> nessita, that's why I think it's a bad idea showing the progressbar every time the sd is not IDLE
[17:48] <nessita> alecu: 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:50] <alecu> why progressing? for most simple stuff (creating one file, saving one file, creating one folder) it will just jump from 0 to 100%.
[17:51] <alecu> nessita, that's the most common use case when you have all your files syncd.
[17:55] <nessita> alecu: 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:56] <nessita> (btw, I assigned you bug #708018)
[17:56] <ubot4> nessita: Bug 708018 on http://launchpad.net/bugs/708018 is private
[17:57] <alecu> nice, thanks.
[17:58] <nessita> alecu: anyways, I think you can go ahead with your design and maybe, if needed, we can add the rest of the ops?
[17:59] <alecu> nessita, 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.
[18:00] <alecu> nessita, so I want a way to ignore operations that are no so important.
[18:00] <nessita> alecu: that makes sense, we can review it later if users complains about not knowing what is going on
[18:01] <alecu> we can decide on the importance of operations later, sure.
[18:01] <alecu> nessita, can I ask you a SD question?
[18:02] <nessita> sure!
[18:02] <alecu> nessita, SV_VOLUME_CREATED is passed a storageprotocol.Volume
[18:02] <nessita> right
[18:02] <alecu> (I assumed it was a vm volume)
[18:02] <nessita> I think you should be listening to VM_UDF_CREATED and
[18:02] <nessita> VM_SHARE_CREATED
[18:02] <nessita> those are triggered with vm volumes
[18:03] <alecu> nessita, but only when they are subscribed, right?
[18:03] <nessita> I think no, let me confirm
[18:03] <alecu> nessita, I want the event that happens when they are available to be subscribed.
[18:04] <nessita> confirmed: the VM_*_CREATED ones, those add the volume to the volume list with the proper subscribed flag
[18:05] <nessita> alecu: if you want to see it yourself, volume_manager.py:add_udf
[18:05] <nessita> and add_share
[18:06] <nessita> what is important is 'is_new_share' (or is_new_udf which translates to self.udfs.get(udf.volume_id, None))
[18:07] <nessita> ... translates to 'self.udfs.get(udf.volume_id, None) is None'
[18:07] <nessita> alecu: makes sense?
[18:09] <alecu> nessita, right. So that's the way to find out if the volume is "new": by looking in self.udfs or self.shares.
[18:09] <alecu> nessita, I need to listen for SV_VOLUME_CREATED and see if they are new.
[18:10] <nessita> alecu: no...
[18:10] <nessita> alecu: you should listen to VM_UDF_CREATED and VM_SHARE_CREATED only
[18:10] <nessita> self.udfs and self.shares are 'private'
[18:11] <nessita> in the sense that they are used to clean old volumes
[18:11] <alecu> nessita, hmmm...
[18:11] <alecu> nessita, but from handle_VM_UDF_CREATED, how do I find out if the volume is new?
[18:12] <nessita> if you get that event, the volume is new
[18:12] <nessita> you will not (should not!) get that for existing volumes
[18:12] <nessita> see that:
[18:13] <alecu> if self.udfs.get(udf.volume_id, None) is None:
[18:13] <alecu> yes, I see.
[18:13] <nessita> and for shares
[18:13] <nessita>  if is_new_share:
[18:13] <nessita> ...
[18:14] <alecu> nessita, right.
[18:14] <alecu> nessita, but VM_SHARE_CREATED is also sent on server rescan...
[18:15] <nessita> only if the share is new
[18:15] <alecu> sorry, _volumes_rescan_cb
[18:15] <nessita> yeah, only if the share have passed from non accepted to accepted
[18:15] <nessita> that translated to 'is a new share'
[18:15] <nessita> (Was not accepted until that point)
[18:15] <alecu> nessita, what about UDFs in that case?
[18:16] <nessita> UDF are always accepted
[18:16] <nessita> since the user creates them
[18:16] <nessita> so you don't need that check
[18:16] <alecu> right: but picture this scenario:
[18:16] <alecu> my desktop is on, my laptop is off
[18:16] <alecu> I create a new udf on the desktop
[18:17] <alecu> it gets created on the cloud
[18:17] <alecu> then I turn on the laptop
[18:17] <alecu> will the VM_UDF_CREATED be triggered?
[18:17] <alecu> nessita, ^
[18:17] <nessita> yes, it will
[18:17] <nessita> let me point you to the exact line
[18:17] <alecu> sorry
[18:17] <nessita> _volumes_rescan_cb -> try except clause -> self._handle_new_volume
[18:17] <alecu> wrong key.
[18:18] <nessita> I said:
[18:18] <nessita> yes, it will
[18:18] <nessita> let me point you to the exact line
[18:18] <nessita> _volumes_rescan_cb -> try except clause -> self._handle_new_volume
[18:18] <nessita> handle_new_volume calls self.add_udf
[18:18] <nessita> which triggers the VM_UDF_CREATED
[18:19] <alecu> ok, cool.
[18:19] <alecu> nessita, thanks a bunch!
[18:19] <nessita> :-)
[18:19] <nessita> I'm right now drawing in that code, so feel free to ask
[18:25] <krusty> hi
[18:26] <krusty> any1 help me
[18:26] <CardinalFang> Not without a description and question.
[18:27] <krusty> my computer has no sound
[18:27] <krusty> no audio output device installed
[18:27] <CardinalFang> I suspect you want #ubuntu instead.
[18:27] <krusty> ?
[18:28] <alecu> krusty, this channel is about the "Ubuntu One" synchronization service: http://one.ubuntu.com/
[18:29] <alecu> a "ok, thanks" would have been fine.
[18:30] <CardinalFang> He was struggling with the language, I think.  C'est dommage.
[18:31] <alecu> hahahah
[18:32] <nessita> so, wild berry skittles are terrible, really bad. Nothing compared to traditional skittles.
[18:32]  * nessita chews unhappy
[18:33] <CardinalFang> I think they'd both make my molars pop out and shatter.
[18:35] <nessita> :-)
[18:51] <alecu> hey all: can anyone share me an empty folder? I need to test them bubbles
[18:52] <beuno> alecu, sure
[18:54] <beuno> alecu, done
[18:55] <alecu> beuno, thanks!
[19:06] <alecu> nessita, VM_UDF_CREATED worked just fine, but I'm having some trouble with VM_SHARE_CREATED
[19:06] <alecu> nessita, the thing is that VM_SHARE_CREATED receives a share_id instead of the share
[19:06] <alecu> nessita, and the only part where that message is listened for (dbus) goes back to vm to retrieve the share object from the vm
[19:07] <alecu> nessita, so... would it make sense to change VM_SHARE_CREATED to pass the share instead of the share_id?
[19:07] <nessita> alecu: maybe, I would ask verterok about that particular change
[19:07] <nessita> didrocks: ping
[19:08] <alecu> verterok, ^ ?
[19:08] <didrocks> nessita: hey
[19:08] <nessita> didrocks: hey there! quick question. Did Ubuntu One will be listed as favourite apps in unity 2D?
[19:08] <nessita> Will*
[19:08] <verterok> alecu: sounds reasonable
[19:08] <didrocks> nessita: it will as they will share the same gsettings key than us
[19:09] <didrocks> not sure it's already the case though
[19:09] <nessita> didrocks: because I just installed a clean natty VM with unity-2d and I don't have U1 in the launcher
[19:09] <nessita> and I do have u1cp installed
[19:09] <didrocks> so, they are still using gconf :)
[19:09] <didrocks> the dconf qt binding is quite new
[19:09] <nessita> didrocks: can I stop using gconf somehow?
[19:10] <nessita> in this unity2d desktop, to see u1 in the launcher :-D
[19:10] <didrocks> nessita: well, you need to code in unity2d to load from dconf :)
[19:10] <nessita> ah, ja
[19:10] <didrocks> it's just not a switch, it's rewritting the settings backend :)
[19:10] <nessita> argh
[19:10] <nessita> ok, thanks!
[19:12] <alecu> nessita, more questions: in order to have a share_id, the share has to be in the metadata, right?
[19:12] <alecu> nessita, that means, it should have an entry in fsm
[19:13] <nessita> as far as I know all shares has that
[19:13] <alecu> nessita, 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] <nessita> if they are accepted, of course
[19:14] <nessita> alecu: no no! let me explain :-)
[19:14] <nessita> alecu: every volume gets an entry in the metadata
[19:14] <nessita> no matter if it's subscribed or not
[19:14] <nessita> alecu: that is done by calling:
[19:15] <nessita> self._create_fsm_object(share.path, share.volume_id, share.node_id)
[19:15] <nessita> alecu: 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] <nessita> it doesn't matter if it's sunscribed or not
[19:15] <nessita> alecu: am I answering your question?
[19:16] <alecu> right!
[19:16] <alecu> I was confused by share_id and volume_id
[19:16] <nessita> ah
[19:16] <nessita> :-)
[19:17] <alecu> I know understand that they are the same.
[19:17] <nessita> alecu: question for you: how can ssh between my host machine and VB VM?
[19:17] <alecu> you need to touch VB xml
[19:17] <alecu> let me find a sample
[19:17] <nessita> nah, is oik
[19:17] <nessita> I'll gmail as transport layer :-D
[19:17] <nessita> I'll use*
[19:18] <alecu> nessita, it's easy from the vm to your computer, but complicated otherwise.
[19:18] <alecu> nessita, oh, to transfer files, just use a vbox shared folder.
[19:18] <nessita> alecu: I did, but I can't find it in the guest machine
[19:18] <nessita> where are they mounted?
[19:19] <alecu> nessita, they show up as "microsoft network" shares.
[19:19] <nessita> right, it says  'unable to mount location, failed to retrieve list from server'
[19:20] <alecu> well, I'm using that on a win vm and it works :-(
[19:20] <nessita> no problem
[19:20] <nessita> thanks!
[19:20] <alecu> nessita, if you have openssh-server running on the host, you can ssh to it, or mount it thru nautilus
[19:20] <nessita> ssh to what address? the 'real' one?
[19:21] <alecu> nessita, any address on your host should do.
[19:21]  * nessita tries
[19:21] <nessita> you're right!
[19:22] <nessita> I gues VB builds bridges for me
[19:22] <alecu> nessita, by default it builds a nat from the guest to the host
[19:25] <nessita> didrocks: can I ask another question? is about the indicator-me
[19:26] <didrocks> nessita: not sure I can answer, but try :)
[19:26] <nessita> so, I have the /usr/share/indicators/me/ubuntuone.menu with a single line in it: the path to the u1cp-gtk desktop file
[19:26] <nessita> and that file gets properly installed
[19:26] <nessita> any idea why U1 is not in the me-menu?
[19:30] <didrocks> nessita: no sorry, for the messaging menu I could have tell you, but not on the me menu
[19:30] <didrocks> nessita: ask tedg, he will know
[19:30] <nessita> didrocks: any clue who to ask?
[19:31] <didrocks> ^^
[19:31] <didrocks> tedg is the man :)
[19:31] <nessita> I'll ask! thanks
[19:31] <dobey> nessita: did you make that .menu file by hand?
[19:33] <nessita> dobey: what do you mean 'by hand'? if you ask about the prefix, no, I'm using the installation prefix given to the install process
[19:33] <didrocks> nessita: yw, sorry to not be more precise :)
[19:33] <dobey> nessita: i mean, i don't see that file in trunk
[19:33] <nessita> didrocks: giving me a name was a lot! thanks
[19:33] <didrocks> :)
[19:35] <nessita> dobey: is not, I'm building a new branch
[19:35] <nessita> but I'm testing it first
[19:36] <dobey> ok
[19:36] <dobey> nessita: did you restart the indicator-session after installing the file?
[19:38] <nessita> dobey: I restart the session, is that enough?
[19:39] <dobey> should be
[20:03] <karni> verterok: 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:04] <verterok> karni: yes, but isn't in the protocol, is an http request
[20:05] <karni> verterok: a, still cool. is it somewhere in syncdaemon sources?
[20:05] <verterok> karni: yes, action_queue.py
[20:05] <karni> verterok: thanks :)
[20:06] <karni> verterok: i've got (un)publishing working. now interested in fetching a batch of public urls during sync :)
[20:20] <alecu> nessita, ping
[20:20] <nessita> alecu: pong
[20:20] <alecu> nessita, I think that the name of the users when you get a new share is blank for users created thru sso
[20:21] <nessita> alecu: yes...
[20:21] <alecu> so it says "... has shared a folder with you."
[20:22] <alecu> without the ..., obviously
[20:22] <nessita> alecu: can you use the email address (or username) if the name is empty?
[20:23] <alecu> nessita, I'll try, sure.
[20:23] <nessita> alecu: you can file a bug in ussoc about that
[20:23] <nessita> since the rest api will not accept the name
[20:23] <alecu> nessita, but I also see that they are created on the web and on disk without a name...
[20:24] <nessita> that sucks!
[20:24] <nessita> and they get overwritten?
[20:24] <alecu> nessita, probably, didn't try that.
[20:24] <nessita> OMG
[20:25] <alecu> nessita, 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] <alecu> well... I need to run
[20:25] <alecu> I have to pick up Amelia from kindergarten.
[20:25] <alecu> see you all later!
[20:25] <ralsina> bye alecu!
[20:50] <alaa_> hi,...
[20:51] <alaa_> any idea when would the ubuntuone client and dolphin integration for syncing folders will be available for Kubuntu ?
[20:52] <beuno> alaa_, it's not on our roadmap, so it's uncertain
[20:52] <beuno> there are community efforts
[20:52] <beuno> and some of the devs are working on it on their free time
[20:55] <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:56] <dobey> alaa_: what distro are you on?
[20:56] <alaa_> am currently on kubuntu
[20:57] <alaa_> and i have the ubuntu desktop installed
[20:57] <dobey> alaa_: you can use u1 on kubuntu; it just requires that some parts of gnome are installed, and some of those are running.
[20:58] <dobey> alaa_: what version of kubuntu are you on?
[20:58] <alaa_> 10.10 with kde 4.6
[21:00] <dobey> alaa_: 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 kubuntu
[21:01] <alaa_> please do
[21:01] <dougal_> howdy folks
[21:01] <alaa_> hello
[21:02] <karni> verterok: 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 it
[21:02] <dougal_> I'm playing with ubuntuone-java-storageprotocol client at the moment, but can't get my head around the oAuth tokens...
[21:03] <karni> dougal_: you need the tokens :)?
[21:03] <dobey> alaa_: https://wiki.ubuntu.com/UbuntuOne/FAQ/HowDoIInstallTheGNOMEUbuntuOneClientOnKubuntu
[21:03] <karni> dougal_: there's a python script to extract them, if you'd like it
[21:03] <dougal_> key karni
[21:03] <dougal_> ahaaa...
[21:03] <dougal_> I was wondering if they came from the user, or from sso or where?
[21:04] <karni> dougal_: from the SSO
[21:04] <dobey> alaa_: if you really want rolling release with ubuntu, you could always just keep up to date with the development version
[21:05] <alaa_> the "pre-release"
[21:05] <alaa_> ?
[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] <karni> dougal_: copy and run this script in terminal http://paste.ubuntu.com/559213/
[21:05] <dobey> alaa_: yeah, for instance, i am currently running 11.04
[21:05] <karni> dougal_: firstly, SSO is a service running on u1 servers
[21:05] <dougal_> karni - Thanks!
[21:05] <verterok> karni: check again :)
[21:05] <dobey> alaa_: so you just need to install ubuntuone-client and it should install what you need.
[21:05] <karni> dougal_: there's sso-client on the pc, which fetches that tokens for you and keeps them in the keyring
[21:06] <karni> verterok: haha ok, thanks!
[21:07] <karni> dougal_: 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-release
[21:07] <dougal_> karni, cool
[21:07] <dougal_> For the time being?  Changes afoot?
[21:08] <karni> dougal_: 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 JAva
[21:09] <dougal_> ok
[21:10] <karni> dougal_: 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:11] <karni> dougal_: SSO can authorize thir party services to access U1 by means of sharing the tokens - anybody correct me if I'm wrong
[21:12] <karni> dougal_: I'm not really SSO guy TBH ;)
[21:12] <dobey> alaa_: 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:13] <dougal_> karni, heh - to many layers of indirection :-p
[21:14] <alaa_> yeahgood point
[21:14] <karni> dougal_: 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:16] <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:17] <karni> dougal_: no, there's a new API that 10.10 u1 uses, with captcha
[21:18] <dougal_> karni: aha.
[21:18] <dougal_> thanks
[21:19] <karni> np
[21:19] <dougal_> should give me enough to play with for a while :-)
[21:21] <alaa_> alright thanks for all the help guys,.. (relogging to ubuntu)
[21:34] <ralsina> I'm EODing now. My kid came back from the pool with a foot completely blistered, so off to the doctor :-(
[21:37] <ralsina> nessita: I'm approving the branch. Gotta run.
[21:37] <nessita> ralsina: thanks
[21:38] <CardinalFang> I'm EOD too.  See y'all in ~14 hours.
[21:59] <nessita> bye all!
[21:59] <dobey> later too
[22:37] <karni> beuno: sure, just a sec
[23:52] <dougal_> hey karni, you still here?
[23:52] <karni> dougal_: yes
[23:52] <dougal_> that script didn't work for me as it was...
[23:52] <karni> studying to exam in 7 hours. what's up ;)?
[23:52] <karni> no?
[23:52] <dougal_> aha ;-D
[23:52] <karni> did you try python thescript.ph ?
[23:53] <dougal_> I've got it working now
[23:53] <karni> or chmod u+x thescript.py && ./thescript.py
[23:53] <dougal_> gah - i'm almost insulted!
[23:53] <karni> dougal_: :D
[23:53] <dougal_> running it was fine, but it wasm't finding the key in the keystore
[23:53] <karni> oh
[23:53] <dougal_> gnomekeyring.NoMatchError
[23:53] <karni> you must sign up first. login to u1, that is.
[23:53] <karni> so, is it working now?
[23:53] <dougal_> yus yus yus :-)
[23:53] <karni> the script is fine, works for me
[23:54] <karni> cool
[23:54] <dougal_> I had the key in the keyring
[23:54] <dougal_> it still doesn't work for me
[23:54] <dougal_> as it was
[23:54] <dougal_> hmmss
[23:55] <karni> it has to.. wait
[23:55] <dougal_> ok - signing up creates a "Ubunto One" key/token
[23:55] <karni> yes
[23:55] <karni> dougal_: wget http://ubuntuone.com/p/aXT/
[23:56] <dougal_> but that's not found using 'ubuntuone-realm': 'https://ubuntuone.com', 'oauth-consumer-key': 'ubuntuone'
[23:56] <karni> python oauth.py
[23:56] <karni> if the script still won't work for you, you can ping rye tomorrow
[23:58] <dougal_> I'm wondering if I've got an SSO key, but not an oAuth key
[23:59] <dougal_> karni: my problem is that the keys in my keystore don't match the attributes in that script