=== zyga is now known as zyga-greece === karlo_ is now known as karlo94 [14:05] Hey guys. Have a few questions. I think ubuntu one is a great functionality in ubuntu. But why cant I connect? [14:05] In ubuntu one Preferences. It is always showing disconnected. [14:06] I pressed Connect button. But nothing happens. [14:24] argh, I wish people would idle a while.. [17:12] Hm, I don't get my computer associated with my ubuntu one account. Any clues? [17:12] I don't get the question up during login. [17:18] Ok, nevermind. I found the answer on the wiki. [17:33] honk [19:52] kklimonda: hink [19:53] Chipaca: Any chance I could get a raw dump of my contacts? :/ [19:53] kklimonda: many. Why? [19:53] I haven't been able to access them for months and till now I've coped with that but now I can't find one number anywhere else :/ [19:53] kklimonda: a sec [19:55] kklimonda: https://one.ubuntu.com/contacts/get_all_contacts/ [19:56] Chipaca: hmm, there is nothing there other than names :/ [19:57] looks like my database may be in even worse shape than I've expected. [19:57] kklimonda: right, that doesn't list all the details [19:58] Chipaca, smart man, (ab)using the merge contacts API! [19:58] :) [19:59] kklimonda: but then you can go to /contacts// [19:59] kklimonda: and get the individual contact [20:00] beuno: was disappointed that I had no contacts api to put in my brand new web api tool gui :) [20:00] Chipaca: damn, it works! thanks :) [20:00] I wonder if I can fix database this way [20:01] by accessing the broken record and doing something with it.. [20:01] kklimonda: probably. But you'd be on your own, there :) [20:01] kklimonda: the end point is /contacts///edit/ [20:02] nope, I get "Something went wrong" [20:02] has gone* [20:02] kklimonda: right, that's the target for the POST of the edit [20:03] kklimonda: you should be able to figure it out from looking at the source of the edit page [20:03] kklimonda: in fact, loading a contact that "works", saving the page, editing it to be the contact you want to change, and submitting that form should work :) [20:04] kklimonda: this is not exactly recommended practice, mind you [20:04] kklimonda: especially not on a sunday evening [20:06] Chipaca: It can't get worse - unless by doing that I'll find a bug in server and crash it ;) [20:06] and it still won't be worse *for me* ;) [20:06] kklimonda: you could delete the same contact you're trying to 'save' :) [20:06] but I don't really care that much now that I have a phone I've been looking for [20:07] I'll leave it broken so you can take a look at it and figure out the reason for it being broken in the first place. [20:11] kklimonda: do you know your user id? [20:12] Chipaca, kklimonda, 1473 [20:12] under 10k *wink* [20:12] beuno: right [20:12] kklimonda: give me a sec... [20:13] kklimonda: do you still have an old-style oauth token in your keyring? [20:13] Chipaca: no [20:15] kklimonda: lp:~chipaca/+junk/watgui [20:15] kklimonda: wait a second for revno 2 [20:15] kklimonda: there, pushed [20:16] kklimonda: before you get your hopes up, this doesn't work for me right now :-/ [20:16] kklimonda: this == talking to couch directly using this tool [20:16] kklimonda: but we can try :) [20:16] Chipaca, he will need the new couchdb packages, no? [20:17] beuno: you know something I don't, I suspect. What new couchdb packages, for what? [20:17] Chipaca, because replication only works with the new packages [20:17] and new erlang, for that matter [20:18] how new? [20:18] beuno: ah! but I'm not going to try to replicate :) [20:18] maverick new or bleeding edge new? :) [20:18] kklimonda: still-in-the-process-of-groveling-to-get-into-maverick new [20:18] leaving it a bit late for that, aren' [20:18] kklimonda: but we're not going to try to replicate, just to GET stuff [20:19] ajmitch: we're not "leaving" it [20:19] ajmitch, we like excitement [20:19] the thrill of getting stuff into release this late into cycle? [20:19] yeah, Chipaca really enjoys adrenaline [20:19] Chipaca: these fixes only just got in upstream? [20:20] the amount of grovelling required at this point of the release is phenomenal [20:20] it can even require bribes [20:20] yes, an SSL bug in erlang [20:20] quite the security issue, really [20:20] Chipaca: btw, you can probably take a look at bug 601932 as it's what I've reported and it may have something you can use [20:20] kklimonda: Bug 601932 on http://launchpad.net/bugs/601932 is private [20:20] oh those are easier to get in :) [20:21] we only grovel because we like to give the impression of being the nice guys, whiles any guy in the know knows we're actually Push Evil Incarnate [20:21] of course [20:21] *Pushy*, not push [20:22] kklimonda: so, if you pulled that branch, I have instructions :) [20:23] kklimonda: your couchdb lives at a certain url that is easy to build [20:23] Chipaca: sure, I'm all ears [20:23] kklimonda: ok, first, go to the /account/ uri (the first one in the dropdown) [20:23] (should be selected by default) [20:23] right [20:24] kklimonda: your couchdb url is built like this: [20:24] take the 'dbpath' entry (under 'couchdb') [20:24] replace all the /'s with %2f's [20:25] attach it at the end of the couchdb 'host' [20:25] (yes, 'root' should be that, but it's not) [20:25] kklimonda: take *that* url and go to it, also in the tool, also with the Ubuntu One sso key [20:26] tell me if you get an ugly json message about you being wrong, wrong, wrong [20:26] * Chipaca crosses fingers [20:27] if it works, you should get a json welcome message [20:27] something like {"couchdb":"Welcome","version":"OMG we have a version"} [20:27] so I should create https://couchdb.one.ubuntu.com/x%2Fy%2Fz ? [20:29] kklimonda: yes [20:29] I get simple 404 so I'm not doing it right :) [20:30] add a / [20:30] right [20:30] {"error":"invalid_consumer","reason":"Invalid consumer (key or signature method)."} [20:30] how to add my sso key? [20:31] when did you sign up to sso? [20:31] I mean, when did you create your current token? [20:31] want to try creating a new one just in case? [20:31] Chipaca: I've created a new one yesterday [20:31] that should've worked then [20:32] kklimonda: you want to try again, but this time pointing your sso client at edge? [20:32] kklimonda: hang on, let me check the revnos [20:34] kklimonda: to me it seems like the error message means we're not copying the tokens over to the couchdb on token creation [20:34] oh! hold on [20:34] you could try re-pinging, instead of creating the whole thing again :) [20:35] that's nondestructive, even :) [20:35] re-pinging? [20:35] https://edge.one.ubuntu.com/oauth/sso-finished-so-get-tokens/ [20:36] using the same tool and the Ubuntu SSO token [20:36] Ubuntu One token i mean [20:36] Ubuntu One SSO token [20:37] ok 1/2 [20:37] 1 new token copied over [20:37] 2 tokens total [20:39] ok, that's good, right? :) [20:39] i thought you were quiet because you were retrying the couchdb query [20:39] yes, it's good :) [20:39] retry the couchdb query please :) [20:39] sorry, I'm on like 30 channels and from time to time I get pinged :) [20:39] excuses! [20:40] nope, still the same error - I'm beginning to think that I can't add two strings without writing code that does it for me ;) [20:41] ok, that's as far as I go today on this. I need to ping people tomorrow to see (a) if it should work (I understand that it should), and (b) why not :) [20:42] ok, thanks for you help and this nifty tool :) [20:43] I'm probably going to be adding some magic so you don't have to do so many calls by hand to get at stuff [20:43] but not today :) [20:43] today was a "send my offpsring to their grandparent's and hack" day, but it's almost over [20:44] a dedicated hacker you are :) [20:44] not that much... first one of these this year, i think [20:44] i needed some larva time [20:44] * kklimonda said and went to read about gobject introspection ;) [20:44] but then I don't have any offspring to care about so I can do that! ;) [20:46] heh, good luck reading about gobject introspection [20:46] if you find anything useful let me know :) [20:46] * ajmitch wonders what new stuff will come with the 1.5.x branch of ubuntuone-client [20:46] ajmitch: hoo! no promises [20:46] Chipaca: I find it all useful. I'm in love with gobject, introspection and Vala ;) [20:46] Chipaca: that's no fun! :) [20:46] ajmitch: but I'm hoping to not spawn a process to do a darned rest call [20:46] heh [20:47] ajmitch: libproxy and threads do not mix [20:47] oh? liproxy and threads or libproxy, threads and python? [20:47] I've sort of held on on the debian uploads for awhile, due to things changing fast enough [20:47] so they'll go to experimental soon & you can be flooded with a whole new set of bugreports [20:47] kklimonda: libproxy, gtk behind-the-scenes threads, and possibly python [20:48] ajmitch: we have a stable branch you might want to work on, unless you *like* things that break :) [20:48] Chipaca: do you use multiprocessing? [20:48] Chipaca: yeah, I'll stick with the 1.4.x branch for debian for a little while [20:48] kklimonda: yes [20:48] ajmitch: right [20:48] ajmitch: that would be my recommendation [20:48] maybe after squeeze is released, that can go into sid, then the unstable branch to experimental [20:49] ajmitch: sounds like a Plan! [20:49] Chipaca: I remember kenvandine loosing his hair on this combination few months back. [20:49] depends on how much you want it tested on a non-ubuntu system :) [20:49] though debian is by far the closest you can get [20:49] ajmitch: we'll be breaking a lot of stuff in the upcoming weeks [20:50] ajmitch: I mean, breaking stuff is not the objective, but we probably will anywya [20:50] excellent, that's what I like to hear :) [20:51] ok, stopping for a little while, coffee drinking and sock hanging [20:51] * ajmitch wishes it weren't monday morning already === derlinuxer1 is now known as derlinxer [21:31] kklimonda: revno 3 has magic couch url ftw [21:32] Chipaca: something is wrong, I still get "{"error":"invalid_consumer","reason":"Invalid consumer (key or signature method)."}" [21:32] kklimonda: yes, I didn't *fix* it [21:32] Chipaca: sure, but It's good to know that it wasn't my fault after all :) [21:33] kklimonda: just the last entry in the dropdown is what's new [21:34] Chipaca: ok, next time I'll run bzr diff before complaining :) [21:36] kklimonda: as the couch url should be where you start messing around with couch, it doesn't make sense to play hard to get :) [21:38] true [21:39] mattgriffin: hi! [21:39] mattgriffin: do you still have an old-style ubuntu token lying around? [21:40] mattgriffin: ubuntu *one* token that is [21:40] mattgriffin: i.e. a pre-sso token [21:40] Chipaca: i may. how cal i tell? [21:41] mattgriffin: in your keyring you'll have either "Ubuntu One @ mycomputer" or "ubuntu one token for http://ubuntuone.com" or sthing like that [21:41] the latter is the one i'm after [21:41] Chipaca: i have "UbuntuOne token for https://ubuntuone.com" [21:41] ooohhh [21:41] mattgriffin: can you try something for me? [21:41] sure [21:41] mattgriffin: lp:~chipaca/+junk/watgui [21:42] Chipaca: ready [21:42] mattgriffin: python watgui.py [21:43] mattgriffin: open the dropdown, click on "magic:couch", click the "go" button [21:43] Chipaca: http://pastebin.ubuntu.com/501126/ [21:44] mattgriffin: ah! apt-get install gir1.0-soup or whatever it's called [21:44] * Chipaca searches [21:44] gir1.0-soup-2.4 [21:44] mattgriffin: ^ [21:44] installing now [21:45] Chipaca: couchdb URL ready [21:45] mattgriffin: click "go" again [21:45] {"error":"unauthorized","reason":"Authentication required."} [21:46] mattgriffin: and if you turn off hmac? [21:46] Chipaca: {"error":"not_found","reason":"no_db_file"} [21:46] what is the hmac option anyway? [21:46] oooohhhh [21:46] kklimonda: oauth signature method [21:47] mattgriffin: add /contacts/ to the end of the url and try again [21:47] Chipaca: {"db_name":"u/1f0/e3d/19/contacts","doc_count":1161,"doc_del_count":15,"update_seq":2989,"purge_seq":0,"compact_running":false,"disk_size":113504356,"instance_start_time":"1285531032400015","disk_format_version":4,"committed_update_seq":2989} [21:47] mattgriffin: you're in! [21:48] kklimonda: that's what you're looking for, pretty much ^ [21:48] mattgriffin: you want to see all your contacts in json? :) [21:48] Chipaca: yes please [21:48] mattgriffin: add /all_docs?include_docs=true [21:49] mattgriffin: so the url ends /contacts/_all_docs?include_docs=true [21:49] after /contacts? [21:49] o [21:49] mattgriffin: i forgot the _ before _all_docs in the first example [21:49] mattgriffin: change /contacts/ for /notes/ and you get all your notes [21:49] Chipaca: oh cool! [21:50] kklimonda: so, to get your stuff, all you need is to get an old-style token into your keyring :-/ [21:50] Chipaca: heh [21:50] kklimonda: this is a bug on our side wrt not copying the tokens into couch; I'll chase people about that next week [21:51] Chipaca: how do you have couchdb set on server side? [21:51] kklimonda: uh, what's the question again? (-ENOPARSE) [21:51] Chipaca: well, do you have a "single" (for a bizzare values of single) couchdb for all users and use authentication? [21:52] kklimonda: we have a few couchdbs with the user dbs spread out between them; there's an apache doing routing, and then couchdb does auth, yes [21:54] beuno: you too: if you get an old-style token into your keyring (boot into lucid?), you can use the gui thing to tool around in couch [21:54] Chipaca: and how does it cope? Well, I know you have had some problems after 10.04 release but can you, at this time, say whether it has been a good choice to use couchdb? [21:55] Chipaca: also, have you guys took a look at the couchdb for android? Would it be possible to ditch the funambol client and write u1 sync with it? [21:56] kklimonda: we've been fighting it quite a bit, but I think it's the right architectural choice. The other option we have for delivering the same service don't leave the users in charge of their data without us doing a ton more work [21:56] kklimonda: I haven't, but maybe beuno knows more [21:57] kklimonda: he's the web+mobile person right now [21:57] kklimonda: I'm merely a humble desktop guy :-p [21:57] :) [21:58] Chipaca: do you have any idea whether there is any upstream discussion, within GNOME and maybe KDE, on providing a framework for applications to sync with the cloud? I know there is a Conduit or something similar but, afair, it's dead or dying. [21:59] Chipaca: I was wondering if it's even in Canonical's good interest to work on such a framework and tools to move from one cloud to another.. [22:00] kklimonda: I am not aware of a single coordinated effort in that direction, no. It is happening around the edges, rather haphazardly (rather like the web itself) [22:01] kklimonda: TBH sync-to-the-cloud is a mess, and there is no clear winner behind which to rally [22:02] Chipaca: well, I can't disagree. It's still at this point when we all play with random solutions hoping that this one is going to be the best, but not being sure that's going to be the case. [22:03] kklimonda: yep [22:05] * ajmitch just hopes that it hasn't put too many people off using it [22:05] ajmitch: "it"? [22:06] contact sync, couchdb sync in U1, various other pieces like that [22:06] right, a lot of people has complained and not without a merit [22:07] unfortunately the "Beta" doesn't mean what it did few years back. [22:07] so people are expecting an almost perfect product, even if it's called beta.. [22:08] it's not really advertised as being in beta [22:08] ajmitch: ah! yes, that is a bummer :( [22:08] ajmitch: I know it put *me* off my work on unote [22:08] ajmitch: well, it has a little "beta" in its logo :) [22:08] kklimonda: yeah, that's about the only place I can see it :) [22:09] ajmitch: Hello, and thank you for trying Ubuntu One! We're sorry it isn't working for you. [22:09] (from memory) [22:10] what's worse Canonical is failing at advertising U1 imo [22:10] people still see U1 as a dropbox alternative [22:10] while it's so much more [22:10] kklimonda: that's changing this release. I hope! :) [22:11] pity that some of the distro stuff was deferred [22:11] kklimonda: thing is, with couch offline, we didn't have much more "visible" [22:11] kklimonda: much more than file sync i mean [22:11] Chipaca: true, that was really unfortunate. [22:12] * ajmitch would like to see oneconf working & in by default [22:12] yeah, I'd love to be able to sync some of my settings, empathy logs etc. [22:12] I could just wipe my disk from time to time and get everything from the cloud [22:13] something better that just dropping .local into ~/Ubuntu One/ :) [22:13] along with the numerous other files needed [22:13] there are two separate projects, one is OneConf, the other ... has a name that continually escapes me [22:13] stipple [22:13] or something like that ;) [22:13] there you go [22:13] OneConf is primarily the list of software installed on a system, iirc [22:13] Are there any file sync Problems at the moment with the servers ? [22:13] I can never remember that - probably checking dictionary would help [22:13] ulio: not afaik; why? [22:14] Chipaca: btw, what are you going to do about no indication of sync in progress? [22:14] Chipaca: I've had sync disabled for a week because I didn't know it's disabled :) [22:14] kklimonda: :( [22:14] Chipaca: I have installed it the first time and have some problems with syncing. [22:14] Chipaca: I've thought of making an animated icon and, in case of sync, replace the current empathy status with it. [22:15] Chipaca: I think it would look pretty nice [22:15] kklimonda: like the panel applet used to show? [22:15] kklimonda: several things are on the table right now. We'll be cutting it down before starting work, but, dumping events into zeitgeist and throwing notification / using the messagning stuff [22:15] ajmitch: yes - but integrate it with me menu [22:15] ulio: what distribution are you using? [22:16] ajmitch: this way we wouldn't get yet another icon in the indicator applet. [22:16] kklimonda: a good thing, I think you'd find a bit of opposition to having yet another icon :) [22:16] Chipaca: 10.10 beta with apt update [22:16] ajmitch: well, I would be the first to oppose it :) [22:17] ulio: hmm... [22:17] ulio: can you open a terminal and run some commands to help debug? [22:18] Chipaca: I will first take a look in the forums, when everthing is up there must be a config problem on my site [22:18] ulio: as you wish. However, given that you're on maverick already, you might find the forums misleading [22:18] heh, that's the worst thing with forums :/ [22:19] that they're frequently wrong? [22:19] given the speed with which Ubuntu is developed all those howtos become outdated really fast [22:19] ajmitch: there isn't much to configure in ubuntu one, so I don't think that is the source of your problem [22:20] ajmitch: yeah - you can still find tips like "compile alsa from sources" or "install upstream nvidia/ati drivers" in some places. [22:20] Chipaca: wrong person :) [22:20] oops [22:20] ajmitch: I cry a little every time people ask for help after doing things like that :/ [22:20] ulio: there isn't much to configure in ubuntu one, so I don't think that is the source of your problem [22:20] Chipaca: I have reboot maverick, now I have a dialog for a password and diretory i was looking for is there :-) [22:20] kklimonda: it's a frequent source of issues, & then people file bugs & it takes a little while to figure out how things went wrong [22:20] ulio: ok! [22:21] * ajmitch wonders if there'll be some interesting apps developed to use U1 once maverick releases [22:21] * kklimonda is working on a couchdb-powered rss client [22:22] kklimonda: written in html+js? :-D [22:22] kklimonda: couch apps ftw [22:22] Chipaca: nope - Gtk+ :) [22:22] Chipaca: I'm planning on writing an android client or using a couchdb directly with html+js [22:23] kklimonda: do look at couchapp.org and the couchapp framework if you do [22:23] Chipaca: yeah, I've heard about it [22:23] kklimonda: storing the app in couch is cool [22:23] * ajmitch needs to be creative & have an imagination to do such things :) [22:23] kklimonda: with replication and all :) [22:23] Chipaca: that's the reason I've decided to use couchdb - so I can sync between desktop and phone (and othe desktops etc.) [22:24] unfortunately I'm still stuck on adding stuff to couchdb-glib so it works. [22:25] oh my [22:25] you're doing it in *C*? [22:26] Chipaca: no, Vala :) [22:26] what's wrong with good old C? :) [22:26] Chipaca: actually I could write it in C and I've written part of it, just for the sake of it. [22:26] admittedly I haven't touched any gtk+ stuff in C since probably gtk+ 1.2 [22:26] ajmitch: nothing! oh, wait, except that interfacing a static language with a schemaless store is always hard :) [22:26] * ajmitch tends to prefer python :) [22:27] I like coding in C because it cleanses me [22:27] but I only need cleansing once a month, tops [22:27] heh [22:27] desktop stuff in C just tends to feel a bit too verbose [22:27] well, python is nice but I cringe every time I see a small desktop application or an indicator using 20M+ of ram [22:28] like looking through the nautilus U1 extension [22:28] ajmitch: that's why we have Vala [22:28] I know, and I've been meaning to learn it [22:28] it makes writing in Gtk+ almost enjoyable. [22:29] sure, from time to time you still see a construct that reminds you that Vala is only a thin wrapper over C [22:29] but it's still better then upcasting-fest [22:29] from what I've seen, it feels similar to C# in a number of ways [22:30] yeah, the syntax is based on C# (and probably Java) [22:32] but it's an adventure to debug applications written in Vala - when you use gdb you get a mix of generated C and Vala code. It's pretty scary first time you see it. [23:02] A folder is displaying the gray "not synchronized" emblem. What does this mean? [23:05] (honk) [23:06] aendruk: hi [23:07] aendruk: you see how the "Ubuntu One" has an expander to the left of it? expanding the expander should show a little explanatory blurb [23:09] hi. where should I be looking for this? [23:09] ah! *emblem* [23:09] sorry, I got confused [23:09] aendruk: is this maverick, or lucid? [23:09] it's in lucid. [23:10] aendruk: the good news is it probably doesn't mean anything, then; emblems are rather broken in lucid [23:10] aendruk: things being broken is not often good news, but there you go [23:11] hmm, okay. [23:11] aendruk: if you want a larger level of detail, you could try installing magicicada; it involves a ppa [23:11] aendruk: but it's a fairly innocent ppa in that it can't break anything :) [23:12] aendruk: sudo add-apt-archive ppa:chicharreros/ppa [23:12] um [23:12] what's it do? [23:12] aendruk: sudo add-apt-repository ppa:chicharreros/ppa [23:13] aendruk: it gives you a window into the guts of the file sync daemon [23:13] ah, i found it on launchpad. I'll check it out. [23:14] thanks. [23:15] aendruk: if you can upgrade to maverick, the file sync side of things is much improved. Especially if you have a lot (10k) of files [23:16] aendruk: if you can't, we'll be backporting these improvements at some point, but probably not in the next six months [23:18] Chipaca: wow? you shedule is that strined? [23:18] strained* [23:19] alright. I'll be upgrading to the maverick rc, and just bear with any lucid bugs until then. === yofel_ is now known as yofel