/srv/irclogs.ubuntu.com/2009/12/03/#ubuntuone.txt

rtgz_dobey, ping00:11
rtgz_who wants to live forever?00:11
rtgz_okay, since dobey is away I will tell the fairy tale. The emblems are broken but the fix is pretty easy. It looks like the code was refactored for some reason and some pieces went missing00:14
rtgz_Done, patch sent, battery's dying, wife's asleep :)00:22
rtgz_And directories are not handled properly but that would be another fix :)00:23
donpdonprtgz_: i want to live forever! i assume that was an offer of some sort. :)00:23
rtgz_donpdonp, don't know, i became a little bit crazy after finding the reason behind the emblems, so that was just an attention-attractor, sorry, no U1 support for eternal life for now.00:24
rtgz_donpdonp, but you may file a feature request :)00:24
donpdonpok. carry on providing freedom in distributed storage.00:25
eric_Idahohow do you sync all you files w/ this service00:34
eric_Idahoz/00:35
eric_Idaho?00:35
hackelAnyone know if someone is working on UbuntuOne support for gnote?03:50
chiapagringohey, how us U1 working?05:34
* rtgz really needs to learn how to do the bzr things...07:32
rtgzubottu, search bug for timestamps not being preserved, launchpad search does not help08:01
ubottu(search <word>) -- Searches for <word> in the current configuration variables.08:01
ubottuFound: ubuntuone, restrictedformats, omgvorian-#ubuntuforums, kde docs, browsers, scp, supybot-#ubuntu-bots, lgpl, ichthux, free formats08:01
rtgzubottu, pleeeease08:01
rtgzNote to self and ubuntulog: Is CouchDB sync happening independently from syncdaemon connection state, i.e. replication is being performed even if we force our "cloud" to be disconnected?08:53
rtgzlp does not allow to link tickets. Why?08:59
teknicortgz, you can use tags to link tickets together09:15
teknicoas in, put the same tag in two or more tickets you want to link09:16
rtgzteknico, hm... good idea, I will try this next time :). Thanks!09:16
teknicothen you can refer to them with a link like https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bugs?field.tag=apport-bug09:16
teknicoyou're welcome :-)09:17
=== rtgz is now known as rtg|very_away
=== rtg|very_away is now known as rtg|z
rtg|zUbuntOne notifies "finished updating 0 files" if no files were added, only removals were made11:33
=== rtg|z is now known as rtgz
* rtgz is uploading 2.6 Gb of data, wanna see how this is handled...11:39
aquariusrtgz, I put 9GB of music into U1 a few days ago :)11:40
rtgzaquarius, are you a user of free 2Gb account?11:41
aquariusrtgz, nope, paid account11:42
rtgzaquarius, eeexactly11:42
aquariusrtgz, oh, you're testing "what happens if I go over quota"?11:42
rtgzaquarius, yup11:42
rtgzaquarius, if I had 50Gb account it would take forever to test it since my ISP caps the upload to 1Gb and I don't have 50Gb of data... Unless i craft it via /dev/random...11:44
aquariusheh11:44
rtgz* 1Mbit/s11:44
rtgzhmmmm11:49
rtgzguys, if sha1 sum matches something that you already have on the server then it is not uploaded, right?11:50
rtgzah, false alarm, it is not hashed so Nautilus shows it as (checked) (see bug 479475, comment 2)11:53
ubottuLaunchpad bug 479475 in ubuntuone-client "File emblems don't display correct sync status" [Medium,Triaged] https://launchpad.net/bugs/47947511:53
rtgzmisleading, indeed.11:53
rtgzok, since this is gonna take some time, will go see the real clouds (since sun is missing for some reason)...11:54
=== rtgz is now known as rtg|away
statik`hello hackers12:50
=== statik` is now known as statik
urbanapemorning, all13:49
=== rtg|away is now known as rtgz
dobeyrtgz: hrmm14:01
rtgzdobey, emblems ?14:02
dobeyyes14:02
dobeyrtgz: and yes, couchdb sync has nothing to do with syncdaemon14:04
dobeyrtgz: couchdb has built-in replication support, which we use14:04
rtgzdobey, yup, then ubuntuone-client-applet controls file sync only, everything els happens automagically14:08
dobeyyes14:09
rtgzdobey, sorry about hit-post-run cycle in that ticket, it was too late in the evening, I was on the battery so I wanted the logic of debugging to be available no matter what :)14:10
ChipacaI want you all to know: UNTESTED CODE IS BROKEN CODE14:16
Chipacaok, thanks, you can continue now14:16
Chipacadobey: you have a critical bug assigned to you. Please work on that before anything else bar none (well, mostly. I think you can go to the doctor's)14:17
dobeyyou're too kind to the code14:17
dobeyALL CODE IS BROKEN CODE14:17
rtgzChipaca, http://www.google.com.ua/search?q=No+marshaller+for+signature+of+signal14:17
rtgzChipaca, it looks like ubuntuone-nautilus has some share in the results :(14:18
Chipacanessita: is that link from rtgz relevant to your crash from minutes ago?14:18
nessitaChipaca: let me see, I was running nautilus with gdb to try to gather some helpful info14:19
rtgzAm i missing some replies ? nessita?14:19
nessitartgz: what can I do for you?14:20
rtgzdobey, but I clearly remember that some time before karmic went into production the emblems were actually changing somehow, at least they were different and then, after karmic release it all turned to checkmarks14:20
rtgznessita, are you debugging the Nautilus for UbuntuOne emblems?14:21
nessitartgz: not really, I'm trying to reproduce a bug for the syncdaemon and nautilus crashed on me, the bastard14:21
* rtgz had pyinotify crashed on me yesterday after clicking 'connect' button in the Nautilus and syncdaemon stopped seeing the files... But I hope that's only because I was switching libraries too fast...14:22
rtgzHmmm... 2009-12-03 13:11:41,386 - pyinotify - ERROR - The path /home/rtg/Ubuntu One/testing/untitled folder of this watch <Watch wd=109 mask=3064 auto_add=False proc_fun=None path=/home/rtg/Ubuntu One/testing/untitled folder dir=True > must not be trusted anymore14:24
dobeyChipaca: hrmm, that is not critical. i am not sure why it is marked as critical.14:25
rtgzErm14:25
Chipacadobey: because a lot of people are getting it14:26
rtgzLaunchpad OpenId page: You are signing into: Ubuntu One             Your info will be sent to the blog.14:26
rtgzthe blog o_O ?14:26
Chipacaheh14:26
urbanapethe borg. Typo14:26
nessitaChipaca: bug report #491896 I couldn't get any more info using gdb :-/14:28
rtgzbtw, may I start a flame about the default state of the emblems?14:28
nessitaChipaca: it happens all the time on my installation14:28
Chipacartgz: probably not. You can start a discussion, however. But, mailing list is probably better than here14:28
dobeysigh14:30
dobeyi think the problem is already fixed14:30
Chipacadobey: the critical?14:30
dobeyyes14:30
Chipacadobey: how?14:30
Chipacadobey: actually I should've said "great! how?" :)14:31
rtgzbtw, my upload rate to U1 is 1Mbit so it hits the ISP shaper, don't know how to reproduce "Slow upload" speed in this case...14:31
Chipacartgz: slow upload seems to be due to lots of small files, not few big files14:31
dobeyfacundo's fix to the error handling, where syncdaemon/protocol was thinking some other error was "INTERNAL_ERROR"14:31
Chipacadobey: there are two things14:32
Chipacadobey: one is that before (and in karmic right now), getting INTERNAL_ERROR on authorization was interpreted as auth failure14:32
Chipacadobey: that was fixed by facundo's branch14:32
Chipacadobey: another is starting syncdaemon without a token14:32
rtgzChipaca, ah, so it is not the single file which goes via snail mail to U1, it is the number of files together taking more than expected, I see14:32
Chipacadobey: that is being fixed also (right, __lucio__?) so that syncdaemon goes to auth failure in that case also14:33
dobeyChipaca: starting syncdaemon without a token is harmless because it doesn't give us AUTH_FAILED14:33
__lucio__Chipaca, dobey: in the queue, yes.14:33
dobeyso it wouldn't cause a loop of authentication14:33
rtgzThere was an error sharing the folder 'testing/Perl Development Toolkit':14:33
rtgzcallback() takes exactly 2 arguments (1 given)14:33
dobeybut i have a branch in review that avoids starting syncdaemon before we get the token14:34
dobeyin the applet14:34
Chipacadobey: sorry, I didn't follow that. How is it harmless? it blows up in the user's face14:34
Chipacadobey: the problem is nautilus also14:34
dobeyChipaca: how does it blow up in the user's face?14:34
rtgzNautilus = There was an error sharing the folder 'testing/Perl Development Toolkit':14:34
rtgzcallback() takes exactly 2 arguments (1 given)14:34
Chipacadobey: syncdaemon currently raises NoAccessToken when started without a token14:34
rtgzre: bug nessita has posted14:34
rtgzthe ShareCreateError was not properly handled in the code14:34
dobeyChipaca: yes, but that isn't shown to the user.14:34
Chipacadobey: they get the apport dialog...14:35
rtgzonce it is handled, the error message is shown as I provided14:35
rtgzdobey, Chipaca, nessita ^14:35
nessitadobey: that branch needs tests, I had to remove my Approve on it14:35
dobeyChipaca: only if they're running lucid14:36
dobeyChipaca: apport doesn't pop up automatically in stable release, as i understand things14:36
dobeynessita: huh?14:36
rtgzSYN14:36
nessitadobey: the branch you're referring to, doesn't provide any tests14:37
nessitadobey: so "Needs Fixing" as per what Chipaca mentioned a few minutes ago14:37
dobey-ENOTPOSSIBLE14:38
rtgznessita, may I give you the DEB file so that you check whether the crash is actually an unhandled ShareCreateError signal?14:39
nessitartgz: sure!14:39
rtgznessita, http://buzz.rtg.in.ua/~rtg/ubuntuone-client-gnome_1.1+r283-0ubuntu1~ppa1~karmic_i386.deb14:40
nessitadobey: what's not possible? :-)14:40
rtgznessita, that is just the standard r283 + the patch from bug #47947514:40
ubottuLaunchpad bug 479475 in ubuntuone-client "File emblems don't display correct sync status" [Medium,Triaged] https://launchpad.net/bugs/47947514:40
dobeynessita: unit tests for the applet14:41
Chipacadobey: why?14:41
dobeynessita: to do so basically means rewriting the entire applet as a mocked object, which means the applet isn't being tested, the mocked object is.14:41
Chipacadobey: 1 sec14:41
Chipacadobey: *maybe* you can convince me that adding tests to the applet now, when it is about to die, is silly14:42
Chipacadobey: *maybe* :)14:42
dobeyChipaca: well i don't think python lets you import scripts from bin/ either14:42
rtgznessita, afterward, exit nautilus completely, nautilus -q, since it does not want to reload the libs just because there is a new one...14:42
nessitadobey: I disagree. Test one: if we have no token, syncdaemon is not started. Test two: if we do have a token, syncdaemon is started. I let you discuss the details with your manahger :-)14:42
dobeyChipaca: and adding tests that are going away in a few weeks seems silly as well14:42
Chipacadobey: but, going forwards, if we were doing the applet from scratch, I'd definitely want it done TDD14:42
dobeyalso, integration tests are not unit tests14:43
Chipacadobey: I didn't say unit tests, necessarily14:43
nessitaChipaca, dobey: the logic authtoken-syncdaemon should not be in applet code. For instance, you will need that exact same code on the non-applet application14:43
Chipacadobey: and for the parts that are not dying (e.g. nautilus), I want us to add tests to that14:44
dobeynautilus is even more difficult to test14:44
dobeynessita: the oauthdesktop code is a module and is already tested.14:45
Chipacadobey: I know, I'm not saying it's blowing and making glass14:45
* Chipaca wonders if that expression translates well14:45
nessitaChipaca: I think it would be a good exercise to separate logic from view, so you can be sure to have tests for the business logic14:45
nessitadobey: yes, and I'm not saying you test oauth. I'm saying I would like to see tests for the oauth<->syncdaemon code14:45
Chipacanessita: yes. But again, the applet is dying.14:45
dobeynessita: it's going away.14:46
nessitaChipaca: yes. But again, there is code that you will be using in the new app.14:46
dobeyno14:46
Chipacadobey: oauth <-> syncdaemon isn't, which is I think nessita's point14:46
dobeyChipaca: yes it is14:46
Chipacadobey: oh? why?14:46
Chipacadobey.verbose = 114:47
dobeyChipaca: because having a thin wrapper to check that a token exists and start the syncdaemon or request one, is silly. syncdaemon should be doing that check itself for lucid14:47
dobeysyncdaemon should say "oh we don't have a token, make a dbus call to get one"14:47
nessitadobey: you're coupling interests14:48
dobeyeh? i am trying to decouple them.14:49
nessitadobey: ok, let me rephrase :-)14:49
nessitaChipaca: by "design", which layer should be managing authentication, and which layer can assume is already authenticated?14:50
nessita__lucio__: ^ same question for you14:50
Chipacanessita: authentication is one thing, getting the token is another, right?14:51
dobeyno14:51
dobeyauth includes getting a token. if you don't have a token, you're not authenticated.14:51
urbanapeIMO it only needs decoupling if there will be alternate means of getting credentials.14:51
* __lucio__ reads14:51
nessitaChipaca: hum, I see them both as one thing14:51
urbanapetwo separate steps.14:51
dobeyurbanape: auth should have NO relation to the applications requesting auth14:52
urbanapeauthentication can happen according to whatever rules we wish. We happen to act on oauth tokens as the credentials.14:52
dobeyurbanape: which is not how it is now. currently auth is very tied to the start-up of syncdaemon/etc... stuff14:52
Chipacahold on14:52
dobeyand that's what needs to be decoupled14:52
* nessita holds14:53
Chipacawhen nessita says "authenticating" I hear "connecting to the server, showing our creds, and getting an AUTH_OK message"14:53
urbanapewhy does it need to be decoupled if that's the only way we will authenticate people? If there are no affordances for alternate means of authenticating, I don't see a need for decoupling.14:53
Chipacaurbanape: I think when you say authenticating, you're saying something else14:54
urbanapeauthentication is the process of establishing the identity of the requestor14:54
Chipacaok, so we agree :)14:54
urbanapeI wrote pluggable authentication system for Zope. I get the authn/authz distinction.14:54
Chipacaurbanape: *you* wrote the pluggable auth system for zope?14:55
dobeywhen i say authentication, i am talking about the openid/oauth process, and not the use of those credentials by other applications to validate themselves with another part of our services14:55
Chipacaurbanape: wow :) i have some friends that hate you, but wow :)14:55
urbanapeChipaca: for Zope 2. Tres Seaver and I14:55
urbanapeChipaca: hah!14:55
Chipacaurbanape: unfortunately, what dobey just said is not what I said I understand nessita means by authentication, but it does match your definition. Is that your intention?14:57
dobeyit's a very important distinction, especially if we're going to switch to having per-app authorization tokens14:58
dobeyas opposed to one token per user, per machine14:58
urbanapeI may have missed some context14:58
urbanapewhat is the behavior/process that nessita suggests needs decoupling?14:59
* Chipaca gives nessita back her voice14:59
dobeyand it means the piece that gets the token, can't be starting syncdaemon or other apps, when something else requests a new token14:59
nessitaChipaca: I still don't get the difference of concepts15:00
CardinalFangMEETING BEGINS.  Say 'me' to claim a slice of the stand-up meeting, then take your turn by saying DONE/TODO/BLOCKED.15:01
Chipacanessita: we continue after the standup15:01
teknicome15:01
urbanapeme15:01
CardinalFangme15:01
aquariusme15:01
Chipacame15:01
dobeyme15:02
vds1me15:03
jblountme15:04
CardinalFangteknico, go!15:04
teknicoDONE: done more reviews, triaged my 20 bugs, finished exposing SMS methods in Funambol Server API (#381398)15:04
teknicoTODO: expose Funambol Server API via REST/HTTP, disable free phone sync after 30 days (#403941)15:04
teknicoBLOCK: none15:04
tekniconext: urbanape15:04
urbanapeDONE: Went through my bug list and marked many "fixed released", updated some to tie to specific branches, commented on some. Basically cleaned my shit up.15:05
urbanapeDONE (cont'd): Chatted with aquarius, CardinalFang, and thisfred about desktopcouch delete propagation techniques. Got some good feedback on Bindwood 0.5 PPA release.15:05
urbanapeTODO: Get some branches landed, work on SRU for Bindwood 0.5 PPA release.15:05
urbanapeCardinalFang: The comfy CHAIR!15:05
urbanapeBLOCK: None15:05
CardinalFangDONE: some work on attachments.  thinking and talking about record deletion of deletion.15:05
CardinalFangTODO: finish attachments.15:05
CardinalFangBLOCKED: My understanding of attachments.  Bah.15:05
CardinalFangaquarius, sir!15:05
aquarius⚀ DONE: music store planning; music store user flows mockup; discussion about delete propagation in DC15:05
aquarius⚁ TODO: look at oauth-enabling twisted; make tomboy first-sync experience nicer; continue work on desktopcouch developer docs; write up things learned at UDS/sprint; work with rodrigo on Music Store, much more music store architecture planning; talk to thisfred and vds about sequence numbers etc; list of music store tasks for joshuahoover; feel less rough15:05
aquarius⚂ BLOCKED:15:05
aquariusChipaca: go15:05
vds1DONE: proposed branch to close #381398 again mail to funambol support, skype with funambol, support ticketing with funambol support on the same topic, packaging funambol and sort timestamps out15:05
vds1TODO: looks like the next thing is the 30 days plan but I'm not sure, I'll find out soon15:05
vds1BLOCKED: nope15:05
vds1jblount: go go go15:06
jblountDONE: Touched base with mt. about getting stuff finalized on /files/, got a branch landed15:06
jblountTODO: Work on the invoices for mattgriffin15:06
dobeyi think vds hit a time dilation bubble15:06
jblountBLOCKED: Nope15:06
jblountNext: EOM?15:06
CardinalFangThanks, all.15:06
dobeyno no no15:06
urbanapenext is Chipaca15:06
dobeyyou sill humans. you have erred. :)15:06
ChipacaDONE: ran around the city doing paperwork and trying to build my tech base back up to a tolerable level. TODO: get back on top of bugs, plans, planning, etc. BLOCKED: no15:06
ChipacaNEXT: dobey15:07
dobey☺ DONE: Triage, Found/fixed #49157315:07
dobey☹ TODO: Fix #437165, Review/Fix #479375, Finish Backporting, Triage, Prepare releases/SRUs15:07
thisfredaquarius: re sequence numbers and such: I'm about to start on a funambol exchange timestamps branch15:07
dobey☹ BLCK: None.15:07
dobeynow you can EOM i guess15:07
vds1dobey: I wish I have, I could fine more time to fix the new office :)15:07
thisfred(oops sry for disrupting, thought the meeting was over) aquarius: so any discussion would be good sooner rather than later15:08
dobeyaquarius: "oauth-enabling twisted" <- eh?15:08
urbanapethisfred, aquarius: Thinking on the funambol thing: I think it would be really helpful for us to come up with a shared understanding of the processes whereby we sync information that is multi-homed (lives on the desktop but gets synced to the cloud for replication, not just resident in the cloud (or Desktop Couch))15:08
aquariusdobey, the twisted getpage stuff15:09
aquariusdobey, I have a plan to look at it to see how hard it is to make it do oauth15:09
urbanapeHaving the algorithm hashed out for how various apps should approach syncing/merging would mean that all our apps act consistently WRT DesktopCouch.15:09
thisfredurbanape: +1 on shared understanding15:09
urbanapeI'm sure I've been going over the same space with bindwood15:09
aquariusthisfred, yep, it would be good to chat about it15:09
dobeyaquarius: but... why would we do that anyway?15:10
thisfredurbanape: although funambol and bindwood are different in that all communication to and from funambol goes through a single point15:10
aquariusdobey, hrm, I am now trying to remember what put it on my list :)15:10
urbanapeall communication to and from Firefox goes through a single point, too.15:10
thisfredour server, and hence we can do all the funambol timestamps there15:10
urbanapeah15:10
urbanapefunambol isn't dc?15:10
urbanapedoesn't use, rather15:11
thisfredurbanape: correct15:11
urbanapeah15:11
urbanapewhy not?15:11
thisfredurbanape: it's a server application15:11
urbanapedoesn't use Couch at all?15:11
dobey"Why in Golgafrinchum would we do that?"15:11
urbanapeto whom was that addressed, your bathiness?15:12
dobeynessita: where are you confused about the authn/authz separation?15:12
thisfredurbanape: the data (contacts) is in couchdb, and ultimately ends up on the desktop15:12
thisfredbut funambol only talks to the cloud server directly15:12
dobeyurbanape: generally about twisted+oauth15:12
urbanapeah15:12
nessitadobey: I don't know what those two are :-)15:12
dobeynessita: authentication vs. authorization15:13
nessitadobey: well, I see those two as a single layer15:13
dobeynessita: ie "i am me" vs. "i allow this other thing to access my information"15:13
urbanapeauthentication is the means of establishing identity. Authorization is the means of determining whether an identity is allowed to do something.15:13
urbanapethey're very much not a single layer15:13
nessitaurbanape: from my point of view (syncdaemon) yes they are15:14
dobeynessita: you're confused about what "authentication" in syncdaemon actually means then i guess?15:15
dobeynessita: what syncdaemon does isn't exactly authentication of the user. it validates that it was authorized by the user to access user's data.15:15
nessitadobey: are you referring to the  AUTHENTICATING state on the state machine?15:17
urbanapeWhat are the processes at work? Something gets the credentials, something verifies the credentials, something authorizes verified credentials.15:17
dobeynessita: yes.15:17
nessitadobey: so it's correct to expect to have the access token when the syncdaemon is running :-)15:18
dobeyno15:19
dobeythat would be equivalent to expecting that the user already typed in their password when they go to a newly visited web page15:19
nessitadobey: but the user goes to a newly visited page because he want to. The syncdaemon is not started by the user15:20
Chipacadobey: re #437165, please also check all the ones with tag no-access-token15:21
hackelI never would have thought a program like Ubuntu One would need to be so complicated (obviously it is), I've never had more problems with something like this in my life!15:21
nessitathe user triggers some user-application, like the applet, nautilus, or similar. So those apps should be ensuring the token is present15:21
Chipacaok, bbiab15:21
hackelLast night I added about 48M of files and it's been trying to sync them for the last 10 hours...it seems to take about 5 seconds for each file (which are only 10-20k each), and use up 100% cpu in the process. :(15:22
dobeynessita: no, applications needing a token should request one if they don't have one15:22
hackelIt's also timestamping the syncdaemon log files in 2030....15:22
nessitadobey: IMHO syncdaemon is not an "application", but a core to other applications15:23
dobeynessita: it's not a gui application, no15:23
dobeynessita: it is a consumer of ubuntu one services. some applications might be GUI things, some might be services like syncdaemon.15:24
dobeynessita: but consumers that need credentials should request them if they don't have them.15:24
dobeynessita: not blindly expect they are always available15:24
urbanapedobey: +115:24
nessitadobey: but if you don't design some dedicated layers to do dedicated job, you'll end up with a lot of duplicated code15:25
nessitaso, I agree syncdaemon shouldn't die like a rat in that case15:25
dobeynessita: "request" here is "call a dbus method"15:25
nessitawe have a ticket for it, let me grab the number15:25
dobeyit's not a code duplication issue15:25
nessitait is, you'll end up with N applications all implementing the same "if token doesn't exist -> get token, If that fails, do that, etc etc"15:27
dobeyit's like all those applications implementing try: import ssl; except ImportError: do_something_else15:28
dobeyor all of them implementing main()15:28
nessitaI'm that sure is an accurate comparison15:29
nessita:-)15:29
urbanapethen it's not problematically duplicated code.15:29
dobeytry: authenticate(); except INVALID_TOKEN: get_a_token()15:30
dobeythere is only so much you can do with that to avoid duplicating it15:30
dobeynot all applications use the same protocols15:30
nessitaheh I meant I'm *not* that sure15:30
urbanapenot all applications use the same language/libraries15:30
dobeyand as i said, if we're going to do per-application tokens, then each app is going to have to request separately anyway15:31
dobeyurbanape: and that too, but that's actually easier to solve for us, than solving the protocol problem15:31
dobeyurbanape: we can presume that anyone integrating with u1, will probably want to use our client libraries.15:31
dobeyurbanape: however, we can't presume they are all the same application.15:33
nessitadobey, urbanape: this is the issue we're gonna fix on syncdaemon for the noaccesstoken problem #48841415:35
urbanapedobey: well, the applications should be working at the authorization level. I think it's conceivable to change that try: except: to:15:35
dobeythe noaccesstoken thing isn't actually a problem right now.15:35
urbanapehrm15:35
nessitadobey: it is, there are tons of bug reports15:36
dobeyurbanape: yes, the application says "i am not authorized, allow me to get some authorization plz"15:36
urbanapeand so the authentication step could be decoupled.15:36
dobeynessita: the NoAccessToken thing is a symptom though, not the problem.15:36
dobeyurbanape: well authentication and authorizing an app will be coupled in the new log-in ui stuff. but it will be separate from the applications themselves15:37
nessitadobey: I agree, but we need to do something about it, people can't connect to the cloud and are hating us because of that ;-)15:37
dobeynessita: one valuable metric for that i think, is how many of those bugs are filed from a 1.0.2 versioned package vs. from a 1.1 versioned package15:39
verteroknessita, dobey: in the current state, Syncdaemon can't call oauthdesktop to get a token...because that implies starting the applet15:39
dobeyverterok: well the dbus call will start the applet. but for lucid that won't be the case.15:40
dobeyverterok: for karmic we have to live with what we have :)15:41
nessitadobey: so, we have 2 scenarios. The one I care about now (because of the amount of bug reports) is karmic15:41
nessitadobey: I know that everything will be better on Lucid :-)15:41
dobeynessita: yes, but we need to determine the problem first. i am pretty certain that the presence of NoAccessToken in the exceptions log isn't the problem.15:43
dobeyit is merely a symptom15:43
nessitadobey: I agree, but I think we first need to provide a fix, and the look for the root of the problem15:44
dobeynessita: but provide a fix for what? hiding the symptom and just throwing hands up and exiting instead isn't going to show us the problem :)15:45
rtgzdobey, yep, NoAccsesToken is preceeded by something failed earlier, but I can't reproduce it locally at the moment.15:45
dobeyrtgz: reproducing NoAccessToken is pretty easy15:46
rtgzdobey, yep, if I don't put the token there, right :)15:46
rtgzdobey, but it is hard to make it work first, then suddenly make it stop working as it happens, according to some bug reports15:47
rtgzdobey, and I definitely cannot tie up the issue with CouchDB empty management database which got populated after user restarted couchdb and restarted applet...15:48
dobeyit's nothing to do with couchdb15:48
CardinalFangBreakfast!  Back in a bit.15:48
dobeybreakfast?15:48
dobeybrunch more like it15:48
dobeywe stop serving breakfast at 10:3015:48
nessitadobey: ok, so. Let's round up a bit: right now, the syncdaemon has no ways of getting a token if it doesn't have one, so it's needs to be started only when there is a token in place. Ergo, for now we need the applet to start syncdaemon only when the token was gathered.15:49
rtgzdobey, yes, it is not, however ubuntuone-client-applet somehow interracts with desktopcouch.records, which read some pairing info from management db, i guess15:49
dobeynessita: and that's what we do15:49
nessitadobey: the branch you proposed does that, as per you commit messages15:49
dobeywell unless you somehow try to avoid using the applet. but that's not realy supported15:50
nessitadobey: the branch you proposed doesn't have any test that backups that commit message, so until Lucio and Chipaca say otheriwse, I can not approve15:50
dobeyrtgz: yes, it puts the token in desktopcouch AFTER it gets a token15:50
dobeyi need to get one of those cupcake 3d printers15:53
dobeyi could make a fortune selling replacement door handles for nissan sentras15:53
* rtgz 2.0 GB Used (98.8%)16:24
rtgzadded one more file of 70 Mb and...16:24
rtgznothing16:24
rtgzso if user puts more than 2Gb he might never know that the files are not being synced anymore until he visits the Web UI that says 'Upgrade to 50Gb'...16:25
rtgzis this bug filed?16:25
rtgzand checkmarks... grrr. I hate checkmarks-by-default, sent a message to ubunutone-users mailing list...16:26
rtgzwhere's the "Community iFace" message?16:27
dobeywhat message?16:28
rtgzdobey, the one that used to be in the room subject line... at least it was so some weeks ago16:30
dobeyrtgz: i guess whoever was setting the topic for that hasn't been doing so16:30
dobeyjoshuahoover: was that you doing that?16:30
rtgzok, nobody knows about ignoring the files that exceed the quota?16:35
rtgzBug #40409816:36
ubottuLaunchpad bug 404098 in ubuntuone-client "Storage quota notification and enforcement" [High,Confirmed] https://launchpad.net/bugs/40409816:36
joshuahooverdobey: i was when i was on face duty16:40
joshuahooverwebm0nk3y is on face today16:40
* webm0nk3y blushes 16:41
dobeymust eat... bbiab :)16:58
rtgzHere's what came to my mind the other day17:16
rtgzit is possible to get more than 2Gb in free accounts IF:17:17
rtgz1. the user is determined enough17:17
rtgz2. GOTO 117:17
rtgzHm..., should I file that as a private bug instead17:17
rtgzbut that is not a bug in the real sense, it is just a workaround, I guess...17:18
joshuahooverrtgz: yeah, it's possible...but (imo) if a user wants free storage that bad, then he/she is paying a price, just not to us :) their time (setting up multiple accounts, managing files across multiple accounts, etc.) must not be worth too much17:19
rtgzjoshuahoover, ah, i guess you know how this is possible :)17:19
rtgzAnd... additionally, we might need to check that "Shared with Me/someshare from someone" folder is also protected by 'The other user has used all his quota, so stop adding more files'17:22
verterokrtgz: getting syncdaemon working for multiple accounts isn't a simple task17:23
rtgzokay. next: Is there a bug report regarding the 'Share' dialog on the Web UI17:30
rtgzIt is good to know that i have shared my folder with openiduser19154... but I'd rather have it as an email17:32
joshuahooverrtgz: i don't think there is a bug for that17:33
rtgzjoshuahoover, I searched for e-mail, email, share, openid - no results, going to create one17:36
joshuahooverrtgz: great, thanks!17:36
=== rtgz is now known as rtg|bugReportGen
rtg|bugReportGenjoshuahoover, https://bugs.launchpad.net/ubuntuone-servers/+bug/402775/comments/117:49
ubottuUbuntu bug 402775 in ubuntuone-servers "Files that I've shared with a given e-mail address being treated as though they are shared with an openid user" [Undecided,Incomplete]17:50
rtg|bugReportGenah, there are several Joshuas here17:50
=== rtg|bugReportGen is now known as rtgz
joshuahooverrtgz: hmmm...well, apparently that's not quite true based on what you're seeing17:52
rtgzjoshuahoover, and dialog contains <h7> with "view and copy" in it that got display: none... strange, ok will comment and file new bug for other stuff17:53
rtgzHas web ui got some nice common name, like... oneweb, frontier or something like this :) ?18:03
webm0nk3yI wish we did have a cool name :)18:05
dobeyit's not a separate project (yet) no18:05
webm0nk3yhehe18:05
dobeyfarfignugen18:05
webm0nk3ydobey, what does the exception: NoAccessToken: No access token found generally mean for users?18:05
webm0nk3ydobey, do they need to reauthenticate the client?18:06
rtgzdobey, okay, farfignugen-share-dialog - new tag for bug reports18:06
rtgzdobey, driving pleasure?18:07
dobeywebm0nk3y: yes. it means there's no token in the keyring18:09
dobeywebm0nk3y: it's generally a symptom of some other problem though, as most of the reports with that are of the form "ubuntuone won't connect"18:09
dobeywhich means it's not trying to do the auth process for some confounded reason18:10
dobeyrtgz: i like driving, usually, yes18:10
dobeyi don't tend to like other people driving though. they tend to make a mess of the roads18:10
rtgz"$email has not accepted the share you sent just now", huh? o_O18:16
rtgzah, then it goes to "has not accepted the share you sent 5 minutes ago"18:17
webm0nk3yrtgz, nice bug tag!18:18
webm0nk3yhehe18:18
rtgzwebm0nk3y, yup, like dobey said. Now I will try to memorize that... Can I tag the tag with the URL of the conversation...18:21
dobey__lucio__: why is bug #472287 critical?18:32
ubottuLaunchpad bug 472287 in ubuntuone-client "Applet says "Your files are up to date" while the daemon is still syncing" [Critical,Triaged] https://launchpad.net/bugs/47228718:33
rtgzgood18:36
rtgzno more bug reports planned today18:37
webm0nk3ydobey, is there still a dependency on Network Manager?18:46
dobeyelaborate please18:47
webm0nk3y"Unable to contact NetworkManager".18:47
dobeythe fix is not released as an update to karmic yet18:47
hackelWhy is Ubuntu One sooooo slow?  It's taking like 12 hours to upload 50M (8000 files, 5 seconds each!)19:00
* rtgz is uploading madwifi, will see how fast it goes19:07
__lucio__dobey, i dont know.19:08
rtgzhackel, there appears to be a pretty noticeable overhead for a single file to be processed locally. This is a known issue and the team is working on that, you may subscribe to the bug #485004 and mark that it is affecting you as well19:12
ubottuLaunchpad bug 485004 in ubuntuone-servers "MakeFile and Upload takes too much time, because of locks and serialization issues" [Undecided,Triaged] https://launchpad.net/bugs/48500419:12
hackelrtgz:  Ahh, thanks.19:13
rtgznautilus does not have 'refresh' method for files... utime() seems to be the only way... but that's bad...19:34
dobeywhy is that bad?19:36
rtgzdobey, http://www.youtube.com/watch?v=ydb6KvfCKbM19:36
dobeyoh youtube, thou hath failued me19:37
rmcbridestatik: bip appears to be down?19:37
rtgzdobey, i can give the url of the theora/vorbis file if youtube is not acceptable19:38
* rtgz wants to have html5 youtube w/ gstreamer playing the video...19:39
dobeyrtgz: the video doesn't play/queue properlly19:39
dobeyrtgz: you can do that already19:39
dobeyalthough i don't think it uses gstreamer19:39
rtgzdobey, gstreamer on linux, quicktime on mac, something else on windows...19:40
dobeybut would be better to embed totem playing the mp419:40
dobeyrtgz: i think on linux firefox just uses libogg19:40
dobeyor rather, it looks like it probably uses a statically linked internal copy of libogg/libvorbis19:41
rtgzdobey, oops, outdated knowledge, I remember the talk somewhere on mozilla that were searching for applicable implementation19:42
dobeybut anyway19:42
rtgzdobey,  http://buzz.rtg.in.ua/~rtg/Bug%20%23491777.ogv19:43
dobeyrtgz: so thumbnails get regenerated?19:46
dobeyrtgz: that is a bug in nautilus probably then19:46
rtgzdobey, yes19:46
dobeyit shouldn't be doing that for mtime changes19:46
rtgzsince utime() sets the file modification time to now, nautilus drops the thumbnail (since it might be a brand-new file) and calls the thumbnailer again19:46
rtgzmtime?19:47
dobeyatime, mtime, ctime (access, modification, creation)19:47
rtgzdobey, yes, I just thought  that there are more xtimes, yup, mtime is sufficient to make it regenerate the thumbnails19:48
* dobey thinks that is a nautilus bug19:49
dobeyi wonder if just changing atime would work instead19:50
rtgzdobey, nautilus could provide something like update_file_emblems, update_file_thumbnail calls so that it would not need to guess the action19:51
dobeyit doesn't need to guess19:51
dobeythumbnails should only get regenerated if the contents changed (if the md5sum is different)19:52
rtgzdobey, it does not store the checksum, it is the job of the external indexer to perform that19:54
dobeywhat external indexer?19:55
urbanapewell, crap. I don't know what's happened now, but this branch seems to have withered on the vine. Time to recreate it.19:55
* rtgz recalls that MacOS X has something built in for metadata... But I have never used an OS X19:55
dobeythe checksum is stored19:55
dobeythe filename of the thumbnail is the md5sum of the file's path19:55
rtgzdobey, yep, the file path, but not contents19:55
dobeyyeah i forgot the thumbnail spec was dumb and didn't specify contents19:56
urbanapertgz: xattrs?19:56
dobeyit uses extended attributes, yes19:57
rtgz_Sorry, router crashed19:58
* rtgz_ gets new openwrt firmware...20:02
dobeyChipaca: https://bugs.edge.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/437165/comments/15 <- comments?20:07
ubottuUbuntu bug 437165 in ubuntuone-client "UbuntuOne stuck in an endless authentication loop (always changes to «Authentication failed»)" [Critical,Confirmed]20:07
Chipacadobey: reading...20:11
=== rtgz_ is now known as rtgz
Chipacadobey: is there a bug for the handling of 50x?20:16
dobeyi don't know20:19
Chipacadobey: we never picked up the discussion re NoAccessToken and nautilus and such20:25
Chipacadobey: we are getting a lot of users clicking 'connect' in nautilus for the first time, and having nothing happen20:25
jblountBBIAB need to go pick up new glasses.20:25
dobeyChipaca: ok. that's easy to fix. we need to make syncdaemon call the dbus method to get the token, instead of raising an error and doing nothing20:27
Chipacadobey: what is the dbus method to get the token?20:27
dobeylogin(realm, consumer) on com.ubuntuone.Authentication20:29
Chipacadobey: and what does that answer with?20:30
Chipacadobey: if that answers with the token, we just got rid of gnomekeyring dep in syncdaemon :)20:30
dobeyit returns immediately20:30
* Chipaca bashes his head against a rock20:31
dobeybut it does the browser open/etc.../etc... in the background20:31
Chipacadobey: and how do we know when it's done?20:31
dobeyit has to20:31
dobeyotherwise it would just timeout20:31
dobeyChipaca: listen for the NewCredentials signal on that interface20:31
Chipacadobey: yes, but usually you pass in a callback or something20:31
dobeywell on dbus you listen to signals :)20:32
Chipacadobey: and if we already have creds?20:32
nessitaChipaca, dobey: are you taking into account this bug #485824?20:32
ubottuLaunchpad bug 485824 in ubuntuone-client "com.ubuntuone.Authentication by ubuntuone-client-applet" [Undecided,Triaged] https://launchpad.net/bugs/48582420:32
Chipacadobey: does it do the browser dance, or does it just signal somehting?20:32
dobeyif the token is already in the keyring, then you don't get the NoAccessToken20:32
dobeynessita: that isn't changing for karmic, no20:32
Chipacadobey: right, but I was wondering if we had something where we could get rid of the keyring dep20:32
dobeyChipaca: not for karmic. once we fix up the new log-in ui stuff, sure20:33
Chipacadobey: ok, good20:33
Chipaca__lucio__: I have good news, and bad news for you20:33
Chipaca__lucio__: the good news is that I'm passing all the no-access-token bugs back to you20:34
__lucio__Chipaca, whats the source of the issue?20:34
Chipaca__lucio__: nautilus does not check with the keyring, it just starts syncdaemon20:35
Chipaca__lucio__: and, that is correct behavior20:35
Chipaca__lucio__: syncdaemon should handle not having a access token, by calling the appropriate service that gets one, and listening for the event20:36
Chipaca__lucio__: read up to what dobey explained so lucidly20:36
__lucio__Chipaca, ok. right now the applet provides that service. what should we do about that?20:36
Chipaca__lucio__: dbus handles that20:36
Chipaca__lucio__: and there is a bug for lucid timeframe to make that be provided by oauthdesktop, which will be in its own package20:37
Chipaca__lucio__: that's the bug above nessita mentioned20:37
__lucio__Chipaca, ok, so right now we call dbus, the applet should answer. later on, oauthdesktop will take care. ok?20:38
Chipaca__lucio__: correct20:38
dobey__lucio__: yes, for lucid, there won't be an applet. the dbus service will be more robust, etc... :)20:38
__lucio__verterok, nessita: everything ok with that?20:39
dobeyChipaca: and i've assigned that oauthdesktop bug to me20:39
* Chipaca hugs dobey20:40
* verterok reads the backlog20:40
nessita__lucio__: I have no idea what "right now we call dbus" means. Are we doing that already? do we have to make that happen?20:40
Chipacadobey: while you're at it, I assigned the one of splitting oauthdesktop out to tim, but maybe you would be a better assignee?20:40
* Chipaca is being devoured by mosquitoes20:40
dobeyChipaca: yes, that should be me too. i don't know the bug # though20:41
Chipacadobey: #44035120:41
__lucio__nessita, means we have to make syncdaemon get the token using dbus20:41
Chipacadobey: bug 44035120:41
ubottuLaunchpad bug 440351 in ubuntuone-client "Cannot install without a GUI desktop." [Undecided,Triaged] https://launchpad.net/bugs/44035120:41
dobeyoh20:42
* Chipaca smiles evily20:42
nessita__lucio__: sounds reasonable. Is it complicated?20:42
Chipacadobey: maybe you want it assigned to tim for a while :)20:42
dobeyi think that's a different problem20:42
__lucio__nessita, really easy20:42
verterok__lucio__: I'm ok with it, I need to check if oauthdesktop properly implements the async api20:42
Chipacabug 44035120:43
ubottuLaunchpad bug 440351 in ubuntuone-client "split oauthdesktop into its own package to enable headless installs" [Undecided,Triaged] https://launchpad.net/bugs/44035120:43
* Chipaca notes the mosquitoes in question are aedes aegypti20:44
dobeythat's the same bug, but you just changed the summary20:44
dobeyi call shenanigans!20:44
nessitaChipaca: dengue?20:44
Chipacadobey: yes, I changed the summary to make it more findable. Any shenanigans were completely unintentional. We are working for your safety.20:44
dobeyChipaca: headless support is a very different problem from splitting oauthdesktop into a separate package/project20:45
Chipacadobey: apparently all we need is to depend on oauthdesktop and only recommend the keyring20:46
dobeyChipaca: which won't work20:46
Chipacadobey: why?20:46
dobey:)20:46
dobeybecause keyring is a requirement20:47
Chipacadobey: you pass in oauth from the commandline, and it should work. At least, it worked when I tried it on ec2 a while ago20:47
Chipaca(from source, I mean)20:47
dobeyChipaca: you mean, for u1sync20:47
Chipacadobey: yes20:47
dobeyChipaca: oauthdesktop doesn't handle gnome-keyring not being there20:48
Chipacaheh, ok, it was the other way round then20:49
Chipacaright, oauthdesktop isn't needed for u1sync, and it is the bit that depends on keyring? was that it?20:49
dobeysort of20:49
ChipacaI know I looked at it before opening my mouth the first time20:49
dobeyif oauthdesktop isn't there, u1sync will just ImportError20:50
dobeyand if gnomekeyring isn't there, oauthdesktop will ImportError20:50
dobeyso while it isn't necessary for it to be running, it is necessary to be installed20:50
rtgzdobey, found a bug regarding create share from nautilus... http://paste.ubuntu.com/334105/ . This error is not delivered currently in PPA and elsewhere since there is no signal handler for ShareCreateError. In fact, share is created...20:54
Chipacadobey: can you please correct me on the bug, and change its title to something still yet more descriptive?20:57
dobeyChipaca: i already did that, yes :)20:58
Chipacadobey: yay20:58
rtgzdobey, the patch for emblems is incomplete - share emblems do not show up, probably because they are returned w/o the leading basedir21:05
rtgzok, this will be the last bug report for today, House M.D. is about to start...21:09
dobeyi know it's incomplete. but i haven't had time to scrutinize it fully yet :)21:10
dobeyChipaca: what about the rest of bug #437165 then? :)21:11
ubottuError: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/437165)21:11
rtgzdobey, If i ever go to sleep today, then I might fix that path tomorrow, this is pretty trivial and I haven't written in C for ssoooo long...21:14
rtgzOkay, definitely no more bug reports, time to sleep. Have a great $timeofday!21:27
dobeylater!22:01
=== rmcbride_ is now known as rmcbride
wesley_Can someone help me troubleshoot this?  http://paste.ubuntu.com/334187/23:36
verterokwesley_: hi23:37
wesley_hi verterok.23:37
verterokwesley_: could you pastebin the contents of: ~/.config/ubuntuone/syncdaemon.conf ?23:37
wesley_Thanks mate: http://paste.ubuntu.com/334189/23:38
verterokwesley_: looks like you'r hittinh Bug #45554423:39
ubottuLaunchpad bug 455544 in ubuntuone-client ""Protocol version error" - when bandwidth throttling is enabled with the default values" [Undecided,Confirmed] https://launchpad.net/bugs/45554423:39
wesley_Ok cool - any way to turn off bandwidth throttling?  I think I turned it on and then off.23:39
verterokwesley_: basically, you need to disable bandwidth throttling :)23:39
verterokwesley_: the simples way is:23:39
wesley_Is it the option "Limit Bandwidth usage"?23:39
verterok1) quite the client23:39
verterok*quit23:39
verterok2) rm ~/.config/ubuntuone/syncdaemon.conf23:40
verterok:)23:40
verterokwesley_: yes23:40
wesley_My client was showing the "limit bandwidth" as not enabled - but the syncdaemon log was showing it as enabled?23:41
verterokwesley_: the config says it's enabled23:41
verterokwesley_: the preferences app show it as disabled?23:41
wesley_Well the checkbox isn't checked in the preferences.23:42
wesley_However23:42
wesley_I did try re-installing the client as a solution.23:42
verterokwesley_: hmm, I think there is a bug about the preference app not getting the config correctly on startup23:42
verterokwesley_: no need to reinstall23:42
joshuahooververterok: yes, there is a gui bug that's assigned to dobey i believe23:43
verterokjoshuahoover: hi :) and thanks23:43
joshuahooververterok: :)23:43
wesley_Well removing the config file did the trick anyway!  I must say I think this system is a great idea.23:43
verterokwesley_: cool :)23:43
wesley_Has anyone got a project for a windows client open?23:43
wesley_IE 7 doesn't seem to handle the ubuntu one web page too well - and I think the bulk of the market would be people who use linux at home and windows at work.23:44
verterokwesley_: I don't know of anyone working in a windows port23:45
wesley_Anyway - I'll leave the decisions to the experts!  Thanks and good night all!23:45
verterokwesley_: np, g'night!23:45

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