/srv/irclogs.ubuntu.com/2009/11/24/#ubuntuone.txt

* rtagger advised his wife to use ubuntuone some weeks ago. Initial reaction - "don't need it, does not have KDE applet (now it does, but we haven't compiled it yet)", etc. Now all study info is stored in Ubuntu One, moreover most edits take place in Ubuntu One directory directly.08:22
rtaggerBug!08:37
rtaggerIn case oauth server replied with some server error, not auth_failed, or something like this, then oauth token gets removed from the keyring even if it is valid08:38
rtaggerThis is the reason behind Bug#452589 and the reason why this person - http://irclogs.ubuntu.com/2009/11/20/%23ubuntuone.html#t00:22 (slide) has missing auth token08:39
rtaggerubottu: Bug 45258908:40
ubottuLaunchpad bug 452589 in ubuntuone-client "U1 client never connects." [High,Triaged] https://launchpad.net/bugs/45258908:40
ubottuSorry, I don't know anything about Bug 45258908:40
rtaggeram I alone at home?08:40
rtaggerBecause for elif message.type == protocol_pb2.Message.ERROR: self.error(request.StorageRequestError(self, message)) there is a check in ubuntuone/syncdaemon/action_queue.py, which checks message.type against protocol_pb2.Error.AUTHENTICATION_FAILED.09:31
rtaggerAnd if we look at MessageType ERROR - descriptor.EnumValueDescriptor(name='ERROR', index=1, number=1, options=None, type=None), It is the same index as for descriptor.EnumValueDescriptor( name='AUTHENTICATION_FAILED', index=1, number=1, options=None, type=None).09:33
rtaggerLater on, self.event_queue.push('SYS_OAUTH_ERROR', error=str(e)) is called, via syncdaemon/states.py SYS_OAUTH_ERROR is translated to AUTH_FAILED, and then...             elif state == "AUTH_FAILED": [...]  iface.clear_token(OAUTH_REALM, OAUTH_CONSUMER, reply_handler=token_cleared, error_handler=reauthorize_error)09:35
rtaggerThat's how we loose Auth Tokens when OAuth server is not cooperative09:36
teknicortagger, interesting10:01
rtaggerteknico: yep, the other issue is that for some reason it does not get re-authed. Will reproduce this in vm in an hour.10:02
teknicortagger, great, thanks!10:03
rodrigo_hmm, that would explain why the u1 client tokens get lost, but what about the tomboy ones? some people seem to be losing them10:10
rodrigo_although, well, removing the dc ones from the keyring and trying again solves it for them, so might be relateds10:11
rtaggerrodrigo_: erm, Do you mean that removing desktopcouch auth info allows tomboy to reconnect with web-based service?10:13
rodrigo_rtagger: for some people that were getting auth problems, yes10:16
rtaggerrodrigo_: hm, yes, tomboy should receive tokens somehow. Okay, will check Tomboy as well10:18
rodrigo_rtagger: tomboy doesn't remove them, it just uses the same token he got when doing the initial oauth dance10:25
rodrigo_that's why it might be get lost on the server, not sure10:25
rtaggersomething is wrong with my assumption here. The client should use existing tokens at all times and clear them only if the server fails to authenticate with it... Hmm...11:10
rtaggerLooks like this is pretty hard to reproduce w/o proper server support. I assume that there was some server-side problem that made clients forget their token after they were denied access by fs-1.one.ubuntu.com for some reason.11:49
thomastpwhy do ubuntuone-storage-protocal and ubuntuone-client both install in the ubuntuone python namespace ?12:19
aquariuscos they're both to do with Ubuntu One, no?12:20
=== Tehfoe is now known as Darkfoe
thomastpaquarius: sure, but so they both try to install the same files12:39
thomastpaquarius: why isn't it simply included in the same package ?12:39
thomastpthe practical reason is that currently I need to mark storage as noarch, but the ubuntuoneclient as arch-specific, so things break12:39
aquariuswhich files do they both install? that seems odd12:39
thomastpubuntuone/__init__.py12:39
thomastparguably that one will be empty, but still silly for packagers12:40
aquariusthat's weird12:40
aquariuskenvandine, ping?12:40
aquariuskenvandine knows Much about packaging ;)12:40
thomastpI imagine that current packages hardcode exclusion of those __init__.py*12:40
kenvandineaquarius, pong13:35
aquariuskenvandine, heya, pal. thomastp asked why ubuntuone/__init__.py is in both  ubuntuone-storage-protocal and ubuntuone-client packages13:36
kenvandineshouldn't be13:37
* kenvandine checks13:37
thomastpnot in the packages13:37
thomastpin the install of each13:37
thomastpobviously they can't be in both packages, and so a packager I assume will currently have to exclude them by hand from the ubuntuone-client package13:38
kenvandineah13:38
kenvandineso i suspect those files are in the source tarballs because the u1 developers like to run them from the checkout13:42
kenvandineso it needs to be importable13:42
kenvandinethe packaging doesn't really work around it... it just doesn't include them in the .install files13:42
kenvandineso if are packaging for something other than ubuntu, i would suggest including it in the python-ubuntuone-storageprotocol package but not in the client package13:43
kenvandinejust for consistency13:43
kenvandinethomastp, also feel free to ping me anytime if you have questions13:44
kenvandinei would love to see more packages for it :)13:44
thomastpkenvandine: what I know is that I install both with setup.py in my specs13:45
thomastpkenvandine: so the same file is installed by both packages13:45
thomastpkenvandine: sorry, by both install steps of the source tarballs13:45
thomastpI'm working around it for now by deleting them in the ubuntuone-client package13:45
kenvandineyeah, so exclude it from the client package13:45
kenvandinethomastp, was it your blog that i saw about packaging u1 for fedora?13:46
thomastpkenvandine: yep13:46
kenvandineawesome!13:46
thomastpkenvandine: I still recommend fixing the install though, it's still wrong13:47
kenvandinethat would be up to aquarius, it would make it harder for them to run it from their source checkout13:47
kenvandinethomastp, but i agree it is a bit of a pain for packaging13:47
thomastpkenvandine: source checkout and install are two different ways of running no ?13:52
thomastpwe do the same in flumotion13:52
kenvandinethomastp, yes13:52
kenvandinethe developers are going to want to import ubuntuone from their checkout, but that can be worked around13:53
kenvandinei guess we can just exclude it from the tarball13:53
* kenvandine will prepare a branch with that :)13:53
kenvandinegood morning mattgriffin13:56
mattgriffinkenvandine: morning ken!13:56
dobeyhmm14:00
dobeyhi thomastp14:00
dobeythomastp: ubuntuone-client doesn't install ubuntuone/__init__.py14:03
dobeyor it shouldn't anyway14:03
=== joshuahoover changed the topic of #ubuntuone to: Have a question? Ask for joshuahoover | Updated client software is now available to everyone running Ubuntu 9.10. Please run Update Manager to install it, and then restart the client. Enjoy 9.10! | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Current Testing Client Revno is 278, Protocol Revno is 73
dobeykenvandine: we can't exclude it from the tarball either14:05
kenvandinewhy?14:05
dobeykenvandine: tests need it to be able to import things?14:05
kenvandinethomastp, i know it isn't installed in our package14:05
dobey"make test" should work from the tarball14:05
kenvandinedobey, but do tests run from the tarball?14:05
kenvandinetrue14:05
kenvandineit just means packagers need to work around it14:06
dobeyor "make check" i guess is the right thing14:06
kenvandinewhich isn't terrible14:06
dobeywell it shouldn't be installed to the system14:06
kenvandineright, so thomastp has to work around it and other packagers will too14:06
kenvandinewhich isn't that uncommon14:06
kenvandineactually14:06
kenvandineit should be in the tarball14:06
kenvandinebut make install shouldn't install it :)14:07
kenvandineso we should just remove ubuntuone from pypackages?14:07
kenvandineor would that prevent the clientdefs.py from getting installed?14:07
dobeykenvandine: right we need clientdefs14:08
kenvandineyeah, that would prevent it from installing clientdefs14:09
kenvandinethomastp, basically it isn't trivial to fix that case and it is a pretty common issue packagers run into14:10
dobeyit is trivial14:12
dobeyi'll fix it today14:12
kenvandineok14:12
kenvandinedobey, btw autotools is evil, mkay'14:12
dobeynah14:14
dobeyi am evil14:14
dobeyautotools is just a minion14:14
kenvandinehehe14:15
* kenvandine agrees with that14:15
kenvandinedobey, btw at UDS aquarius asked me why our desktopcouch package can't be maintained with quickly commands...14:15
kenvandinei blamed you :)14:15
kenvandinealthough i do understand we want to build for < karmic14:16
dobeywhy can't it be?14:16
dobeyi don't know what quickly wants or why :)14:16
dobeyif quickly can't handle proper distutils/setuptools without the -extras stuff, i think that's a quickly bug14:17
kenvandinedobey, quickly was the driver for -extras, the point was make distutils smarter14:37
dobeywell it was the driver for the auto() thing14:38
dobeyusing it by default doesn't mean it should depend on it though if you write a more explicit setup.py14:39
* rtagger finally implemented simple local file status w/o weird hacks, perl-like code and strange assumptions: http://paste.ubuntu.com/326901/... And I love pylint :)14:54
CardinalFangDesktop+ MEETING BEGINS.  Say 'me' to claim a slice of the stand-up meeting, then take your turn by saying DONE/TODO/BLOCKED.15:02
teknicome15:02
CardinalFangme15:02
aquariusme15:02
rodrigo_me15:03
jblountme15:03
dobeyme15:04
urbanapeme15:04
aquariusvds, ?15:05
vdsme15:05
teknicoshall I? shall I?15:06
urbanapeand where's our fearless leader?15:06
jblountteknico: Yes, please get started.15:07
teknicoTHEN WHO WAS PHONE15:07
CardinalFangI don't think it's mutinous to start without him.15:07
teknicoops15:07
teknicoDONE: continued updating the Funambol code to v. 8.0 in our code (#403435)15:07
teknicoTODO: land the branch to fix Funambol config and tests for v. 8.0 (#403435), finish updating the Funambol code to v. 8.0 in our code (#403435)15:07
teknicoBLOCK: none15:07
tekniconext: CardinalFang15:07
CardinalFangDONE: Triaged desktopcouch bugs.  Fixed a few minor bugs.  Worked a tiny bit on contacts views api.15:07
CardinalFangTODO: On the road, working.  Contacts views.15:07
CardinalFangBLOCKED: None15:07
CardinalFangaquarius, please...15:07
aquarius⚀ DONE: start work on desktopcouch developer docs; talk to thomasvs about desktopcouch for Fedora15:07
aquarius⚁ TODO: look at oauth-enabling twisted; make tomboy first-sync experience nicer; work on desktopcouch developer docs; write up things learned at UDS/sprint; work with rodrigo on Music Store15:07
aquarius⚂ BLOCKED:15:07
aquariusgo go rodri go15:07
rodrigo_• DONE: Auto* setup of libubuntuone. Looked at webkit-gtk and started music store widget that uses it. Talked with Thomas about couchdb on n900 and RPM packages15:08
rodrigo_• TODO: Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). Make sandy's snowy test suite work with our server (http://git.gnome.org/cgit/snowy/tree/api/tests.py). Discuss with jdo and aquarius about oauth token per app, not per machine?15:08
rodrigo_• BLOCKED: no15:08
rodrigo_jblount: go15:08
jblountDONE: Not much, got distracted trying to diagnose some js weirdness and trying to fix some broken tests.15:08
jblountTODO: talk to the urbanape about his inline-edit branch, get my js minifying and css minifying proposed15:09
jblountBLOCKED: Nope15:09
jblountdobey: dude, yeah, man15:09
dobey☺ DONE: Work estimation, Review of "no notifications" branch, Discussion, Triage15:09
dobey☹ TODO: Finish work estimates, Backport fixes to stable-1-0, Prepare an SRU15:09
dobeyurbanape: roll out15:09
dobey☹ BLCK: None.15:09
urbanapeDONE: Tried to get some help from jblount with new lazr-js composition branch, but it's currently harder to build than it needs to be.15:09
urbanapeTODO: Get a pre-built version of lazr-js into our own project space and pull it from there via sourcedeps until we have a proper package built.15:09
urbanapeBLOCK: None15:09
urbanapevds: you're up15:09
vdsDONE: face duty, discussed status of mobile sync with chipaca and teknico, started two branches to port funambol v8 in sourcedeps with teknico15:09
vdsTODO: land the two branches15:09
vdsBLOCKED: nope15:09
vdsthat's it!15:09
CardinalFangThanks all.15:09
urbanape(oh, and get my part of dobey's estimate done)15:09
jblounturbanape: Any idea where we stand in the bindwood web ui stuff? Is that a few weeks away?15:12
dobeyblah, amazon won't let me add mp3s to the shopping cart15:15
rodrigo_dobey: wait for our music store to buy music :D15:19
dobeyrodrigo_: i have a $25 certificate for amazon, but it only works for stuff i can stick in the cart :(15:20
thomastpdobey, kenvandine: well the problem I additionally had was that the ubuntuoneclient package has arch-specific parts15:22
urbanapejblount: yeah, I think we're gonna want the manifest stuff to land first, so we have a structure to work from.15:22
jblounturbanape: Right on, it just came to mind so I thought I'd poke you about it.15:23
dobeythomastp: that's an rpm problem i think. you just have to build arch-specific rpms15:25
thomastpdobey: yep, and so recently rpm was changed so that you could have your main package arch, but the rest noarch if you want15:26
thomastpthe reverse doesn't work, so  I worked around it by creating a separate ubuntuone-client-gnome arch package15:27
dobeythomastp: well that's nice15:27
thomastpand everything else noarch15:27
thomastpit's a hack, but hey, it works for now15:27
dobeywell the concept of a "main" package is sort of silly15:27
dobeythere's source, and then there's the binary packages it creates15:27
dobeybut alas, rpm can be silly often15:28
dobeyyay firefox is back down to 282M after closing all the amazon tabs :-/15:31
aquariusI am seriously debating switching to chrome ;(15:35
dobeyyeah15:35
dobeyi need to try chromium some more15:35
thomastpdobey: so is there a ubuntuone-client 1.0.2 official tarball15:37
thomastp?15:37
thomastpaquarius: do you have bindwood for chrome?15:37
aquariusno15:38
dobeythomastp: yes, it's on the +download page, but it's at the bottom i think, because it's from the stable-1-0 series, and not trunk15:38
mandelaquarius: hello, do you mind if I propose to merge the contact wrapper I have done to desktopcouch, I do not want people to depend on my app to be able to use it, and you already have the module name ;)15:40
mandelaquarius: Is basic, but it adds some nice stuff to easy the pain of using desktopcouch15:41
thomastpdobey: ok, found it.  Any reason for not actually promoting it to 'latest' ?15:42
dobeythomastp: i believe the lp ui is buggy and the "latest" is the "latest" from the trunk series15:44
dobeythomastp: and 1.0.1 from trunk was before i branched stable-1-0 and did 1.0.215:44
thomastpoh, ok, ouch15:44
dobeyyeah :-/15:44
thomastpok, packages done, now to figure out all python issues I still have15:45
dobeyi need to see if that's filed, and file if not15:45
dobeythomastp: could you file a bug for the __init__.py conflict?15:45
thomastpdobey: sure15:45
dobeythanks15:46
rtaggerIs there any reason why bindwood does not store favicon image blob along with the bookmark itself?15:46
dobeyfacundobatista: is bug 476632 not fixed with r73 of storageprotocol?15:48
ubottuLaunchpad bug 476632 in ubuntuone-storage-protocol "Errors are not handled correctly" [Undecided,New] https://launchpad.net/bugs/47663215:48
dobeyrtagger: couchdb isn't really suited for storing binary blobs15:49
dobeydon't know if there are other reasons too...15:50
thomastpin this case it'd be fine, it's just a small e.g. base64 blob15:51
dobeymaybe15:52
rtaggerdobey: this makes synced bookmarks really stand-out, like they are broken. We got so used to seeing the nice icons by now and this will definitely raise many questions later. I.e. is it a Google Search or help forum topic...15:52
dobeyrtagger: well, you should also give your bookmarks meaningful titles :)15:52
rtaggerdobey: yes, will tell this to the makers of page <title>s :)15:53
* dobey thinks Mozilla Evangelists should be doing that...15:53
aquariusrtagger, interesting idea, though. Can you file a wishlist request about that? It would be a good idea15:54
aquariusmandel, heya! Yes, definitely propose it15:54
mandelaquarius: sweet, just did, but I have not added any type of copyright, I do not know which one to use :P15:55
aquariusmandel, propose for review with a note saying you're not sure which copyright to add, and we can work out which one is needed15:56
rtaggerLike for "About Us" link that is now in my Desktop Couch folder. Who is "Us"?... The mozilla head nearby would definitely resolve this issue :)15:56
mandelaquarius: ok, I'll do so, right now I'm writing some code as an example in a comment15:57
* dobey kicks firefox... just because i maximized one window, doesn't mean i want all new ones to be too!15:58
facundobatistadobey, no... r73 fixed an specific not-handled-correctly issue... but there are more15:59
dobeyfacundobatista: ok15:59
dobeythomastp: btw, did you see my last comment on the MANIFEST bug?16:26
thomastphttps://bugs.launchpad.net/desktopcouch/+bug/487353 <- anyone seen either failure ? I still don't have my desktopcouch replicating to ubuntuone16:30
ubottuLaunchpad bug 487353 in desktopcouch "replicating to ubuntuone failed after successfully pairing with it" [Undecided,New]16:30
joshuahooverthomastp: i'm looking into this now16:30
thomastpjoshuahoover: awesome, thanks16:31
joshuahooverthisfred: bug 487353 ...any thoughts?16:32
ubottuLaunchpad bug 487353 in desktopcouch "replicating to ubuntuone failed after successfully pairing with it" [Undecided,New] https://launchpad.net/bugs/48735316:32
thomastpdobey: yeah, commenting now16:34
thomastpdobey: so I'm not sure.  can you give me a new tarball to test ?16:36
joshuahooveraquarius: ping16:37
dobeythomastp: sure16:37
aquariuspong16:37
dobeythomastp: http://www.gnome.org/~dobey/ubuntuone-storage-protocol-1.0.0.tar.gz16:38
dobeythomastp: although, interestingly enough, it looks like sdist didn't stick the MANIFEST in the tarball...16:39
thomastpdobey: well, the MANIFEST in there doesn't have pems :)16:39
dobeythomastp: what MANIFEST?16:39
joshuahooveraquarius: can you look at 487353 which thomastp filed?16:39
dobeythomastp: i guess this is another sdist bug :(16:40
thomastpdobey: oh, so the MANIFEST isn't actually in the tarball16:40
thomastpdobey: got it16:40
thomastpdobey: so sdist generates it in place or something ?16:40
dobeythomastp: it's in the checkout where i ran sdist, yes16:40
dobeyit's generated from the MANIFEST.in and the standard stuff that gets included16:41
thisfredjoshuahoover: will have a look16:42
joshuahooverthisfred: ok, i asked aquarius since i wasn't sure if you were around or not, thanks!16:42
aquariuswtf? sock is None?16:43
* aquarius does the baffled look16:44
dobeythomastp: hrmm, we have 0.4.0 in ubuntu karmic16:46
thisfredaquarius: ok, sounds like you have it16:46
thisfred:P16:46
aquariusthomastp, I don't think this is httplib216:49
aquariusthomastp, unless I'm confused. /usr/lib/python2.6/httplib.py is in the python2.6 package16:49
aquariuspython-httplib2 is a separate package16:50
dobeyaquarius: the trace looks like httplib2 is calling httplib, and couchdb is using httplib216:50
aquariusdobey, agreed16:51
aquariusbaffled as to why there wouldn't be a socket, though. I mean, if sock is none, how does anything work?16:51
aquariuswe are using httplib2 0.4.0, though16:51
dobeyi don't know. maybe angela lansbury can answer it16:51
aquariusthe timeout error in httplib2 0.4.0 is a weird one, too, thomastp16:52
aquariusthomastp, can you find out what self.timeout *is* in that situation, given that it's not a float?16:58
thomastpaquarius: it looked like a None, which didn't make sense to me with all the if timeout is not None checks17:02
thomastpaquarius: I'd have to roll back, I can do that17:02
aquariusthomastp, yeah -- we're using httplib2 0.4.017:02
thomastpah, ok17:02
thomastpso yeah, I'll roll back and try17:02
=== CardinalXiminez_ is now known as CardinalFang
dobeythomastp: so i'm not really sure what to do about the MANIFEST not existing in the tarball exactly18:49
=== imlad is now known as imlad|away
=== imlad|away is now known as imlad
dobeymaybe i should just override bdist_foo in setup.py to just error out20:35
dobeyapachelogger: around?21:15
apacheloggerdobey: like 20%21:15
dobeyapachelogger: you're doing the c++ kde ui right?21:15
apacheloggerdobey: yes21:16
dobeyapachelogger: great. we should chat a bit, but maybe would be better when you're more around :)21:16
apacheloggerdobey: tomorrow sometime?21:18
dobeyapachelogger: yeah. what part of the earth are you located at? :)21:18
apacheloggerdobey: central europe21:19
dobeyapachelogger: ok. i will try to ping you at a better time for you tomorrow :)21:20
apacheloggerdobey: I should be around the better part of pm UTC21:20
dobeygreat21:20
apacheloggerok :)21:20
chewitIs Ubuntu One working on improvements to the web interface21:38
chewitI'm having to use the web interface on the windows computers at University, when I want to upload files to ubuntu one, I have to do it one at a time.21:39
dobeyas in immediately, or in general?21:39
chewitwell, when ever, just wondering if you are21:39
chewitcause i really would like multi uploading21:39
chewitlike in dropbox21:39
dobeyyes, the one-at-a-time from the web is a known problem that is being looked into21:40
dobeydropbox lets you upload multiple files via the web?21:40
chewityeh, thats what i am using atm21:40
dobeyor you mean, as in "they have a windows client"?21:40
chewitno, i just need a web client i can access in windows which will allow me to do multi uploading21:40
chewiti am using drop box cause of that feature, but if ubuntu one can, that will be brilliant21:41
dobeyhow does dropbox do it?21:41
chewitwhen you choose the files to upload, it allows you to select more than one21:42
chewiti could host a screenshot showing you, maybe easier for you to understand21:42
dobeythanks21:43
chewithttp://edhewitt.co.uk/dropbox/21:45
chewitnot sure how much you can get from it21:46
dobeyah, interesting21:46
chewitif you click on 'Basic Upload' (as seen in screenshot 1), that uploader works like ubuntu one21:47
dobeycool21:47
chewitany ideas when you are planning to improve the web interface?21:47
dobeythe web ui is able to get ongoing improvements, as it doesn't have to abide by the ubuntu release schedule. so we can change the UI whenever. i work on some of the desktop client stuff, so i probably won't be doing anything to the web ui personally.21:48
dobeybut i know there are definitely improvements in the works, though i'm not sure where multi-file upload is prioritized in all that work :)21:49
chewitok, well I am glad its a known problem :D21:50
dobeyi'll bug some people and see if it's in the works to be fixed soonish22:02
dobeywill probably have to wait until tomorrow to bug them though, since it's pretty much end of day now :)22:03
dobeyand it's time for me to head off a bit as well22:03
dobeylater, and thanks for the feedback :)22:03
=== imlad is now known as imlad|away
=== imlad|away is now known as imlad
=== joshuahoover changed the topic of #ubuntuone to: Updated client software is now available to everyone running Ubuntu 9.10. Please run Update Manager to install it, and then restart the client. Enjoy 9.10! | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Current Testing Client Revno is 278, Protocol Revno is 73

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