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

rtgz_tchernobog, the only way I can explain this is that couchdb was not very cooperative to evolution. When couchdb got restarted, existing e-d-s did not spot the change of the credentials, environment or the phase of the moon. Killing e-d-s made it reconnect to couchdb server.00:00
rtgz_BUT00:00
rtgz_the question is why it did not work earlier00:01
tchernobognice question00:01
tchernobogprobably because the credentials went wrong for both the sync daemon and evo00:01
rtgz_tchernobog, yes, but you say that sync stopped this friday or so.00:02
rtgz_tchernobog, okay, the only thing required is to reproduce it somehow with some dummy data to make sure this will not get 'WTF?' questions in the future00:03
tchernobogoh, for heaven sake. i don't know if i should shiver or cheer00:05
tchernobogit has also sent online the contact I copied from my evolution addressbook00:06
tchernobogto the couchdb one00:06
tchernobogit took ages, but it did that00:06
rtgz_tchernobog, the contacts are first created in local couchdb and then replicated to u1 service every $some minute.00:07
tchernobogyes, so we know now it works00:07
tchernobogbut i'm still wondering why it didn't before00:07
rtgz_tchernobog, unfortunately I've seen at least 2 such cases here in the last 2 weeks, when it "magically" started to work.00:09
tchernobogso, the fastest route seems to remove the auth keys from seahorse and, if you're not familiar with the terminal, log out and in again00:09
rtgz_tchernobog, okay, that was a nice chat but it's 2AM over here and it looks like this is time to sleep :) So good luck with your BhD! And stay tuned to #ubuntuone, not only if something bad happens but when something good happens as well :)00:10
tchernobogit's 1 AM here, so I agree00:10
rtgz_tchernobog, in your case it was necessary to kill the management00:10
rtgz_:)00:10
rtgz_* the management database :)00:10
tchernobogsleep tight, thanks for everything00:10
tchernobogoh, i do that at work everyday00:10
tchernobogdamn, you beat me on time00:10
tchernoboggoodbye, and thanks00:11
rtgz_tchernobog, yep, you too. good night :)00:11
* rtgz_ copies the log 'cause ubuntulog does not seem to log this weekend's conversations00:11
TaoYinqinghello is anybody here04:23
TaoYinqingi have a question that when i synchronize notes use tomboy with one.ubuntu there is a error that "Could not synchronize notes"04:24
TaoYinqingmy tomboy is new install but i have some notes in the ubuntuone before some notes write using tomboy under ubuntu and some under xp04:25
TaoYinqing???????????04:27
aquariusthomasbe, hey09:19
mandelaquarius: is launchpad down?09:20
aquariuslooks like it09:21
mandelaquarius: question, have you notice that when working with desktopcouch trunk if you try to access the db through the bookmark it asks for username and password?09:22
mandelI've been dealing with it most of the weekend and I do not know it is is 'cause I broke it or 'cause it happens in every machine09:22
aquariusmandel, it shouldn't do; if it does, that means the couchdb.html file is out of date. that's what we tried to fix in dallas, no?09:22
mandelaquarius, dallas was another issue, there the bookmark was not updated with the right port and password, in this case the port is correct but it ask for auth09:23
aquariusah, you mean that it says "you are about to log into localhost port 23423 with username KLHFOIUHEFPHP are you sure you want to allow this?"09:24
mandelno, it actually asks for the user name and password, that message I know09:25
aquariusso the port is right but the username/password are wrong?09:25
aquariusthat's broken09:25
aquariusdelete the ini file and restart DC09:25
aquariusI actually have instructions for how to do that in http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting now :)09:26
mandelthat is what I have been doing all day :P09:28
aquariusmandel, LP back up anyway09:28
mandelwell, and fight with bloody quickly to make a package...09:28
aquariusmandel, confused :(09:28
mandelaquarius, funny, anyways, I just wanted to check if my ppa was there with the new version09:29
homeasvs_aquarius, hi09:30
mandelI'll hang around here all day anyway, I'm working from home, the business is deciding if the cancel yet another project I'm working on at the office, so nothing to do there today :D09:30
homeasvs_aquarius, so, currently struggling with figuring out why couchdb internally fails to replicate with ubuntuone09:30
homeasvs_aquarius, works on my ubuntu macbook, fails on my two f11 machines09:30
aquariushomeasvs_, and the replication log isn't showing anything massively obvious?09:31
homeasvs_aquarius, currently suspecting certificate stuff, but don't know how erlang/ssl/couchdb/desktopcouch works09:31
homeasvs_aquarius, nope, nothing obvious09:31
homeasvs_aquarius, and pretty sure it's in ssl_esock09:31
homeasvs_which is what I've been stracing for a while now09:31
homeasvs_it would help if someone could look at the u1's couchdb log :)09:31
aquariusah, man, you think it's actuallly failing in the SSL stuff?09:31
homeasvs_yeah09:31
aquariusI can look at that log, sort of09:31
homeasvs_that's my best guess atm09:31
aquariuswe only get it refreshed once an hour09:31
aquarius(debugging this stuff was really hard for us, too)09:32
homeasvs_oh well, should be fine, it's been failing all weekend :)09:32
homeasvs_but first of all, know anything about how the certificate part works ?09:32
* aquarius grins. I'll have a look09:32
homeasvs_maybe erlang is just internally failing because it doesn't know the certificate09:32
aquariuscould be -- have you said your couch debugging level to debug?09:32
homeasvs_also, what's the 'weird' part from this url:  https://couchdb.one.ubuntu.com/u%2F0a4%2F330%2F97870%2Fgtd/09:33
homeasvs_is that some hash tied to my user ?09:33
aquariusyes09:33
homeasvs_aquarius, yes, I did, also on the working one, to see where it compares09:33
homeasvs_aquarius, ok, do you have a way to see if it's actually there on the server ?09:33
aquariuswe need that because you might have a gtd database and so might i09:33
homeasvs_understood09:33
homeasvs_how long is an oauth token valid for ? I tried to do manual curl requests to see if I could debug it, but couldn't get a working token09:34
aquariusI don't have such a way, but I think I can find an admin who does :)09:34
aquariusoauth token should be valid forever09:34
aquariusBUT09:34
homeasvs_can only be used once ? :)09:34
aquariuswe've had a couple of server problems with oauth tokens09:34
aquariusthe token for filesync occasionally doesn't end up correctly in couchdb09:34
aquariusmeaning that you can't authenticate09:34
homeasvs_hm, well filesync has worked from the beginning09:35
aquariusyep09:35
homeasvs_my problem is pretty much only with the couchdb sync part09:35
homeasvs_so, anyone who knows about the certificates part and how I can debug it ?09:35
aquariusyeah, the issue is that for some people, their oauth token never gets copied to couchdb, so they can't sync to couch.09:35
homeasvs_the weird thing is, on the macbook, I see it looking for a .pem file, but it fails to find it09:35
aquariusit only seems to happen occasionally, and we're not sure why09:35
homeasvs_and it goes on without it09:35
homeasvs_on my machine, it does find it, reads through it, and then goes on09:36
homeasvs_hm09:36
homeasvs_maybe I should try *moving* my ssl certs temporarily just to see what would happen09:36
aquariusI don't get that, though09:36
aquariusgive me a quick primer on SSL -- do you suspect that the problem is that our SSL server is signed with a root cert that's not in Fedora but is in Ubuntu? or do you suspect something stranger?09:37
homeasvs_I assume u1's couch is only available over https ?09:37
aquariuscorrect, https only.09:37
homeasvs_aquarius, at the moment I'm suspecting the reverse - ubuntu's ssl_esock is not finding any certificates, so just happily accepts09:38
aquariusotherwise all your data is sniffable :)09:38
* aquarius laughs09:38
homeasvs_fedora's does find certificates, and then hangs up because it doesn't match09:38
homeasvs_it's a wild intuition based on the logs however09:38
aquariusif that's actually the case, then I do believe we have a bug to fix, since SSL is flat not meant to work like that :)09:38
homeasvs_my previous guess was 'fedora doesn't know about u1's cert, so it hangs up' haven't ruled that out yet09:38
homeasvs_yeah :)09:39
homeasvs_well, it's harder with the exponential backoff :) right now it's waiting for 256 secs before giving up finally09:39
homeasvs_definitely, desktopcouch-service doesn't handle this error case nicely - a bunch of threads are left hanging09:39
homeasvs_(when you run -stop)09:39
homeasvs_(why are you even spawning threads at all if you're using twisted ?)09:40
aquariuson threads, I'm not sure -- chad knows more about that piece of the code.09:41
aquariusOn error handling -- from my perspective that's a slightly philosophical issue. It should work. We shouldn't deal with auth not working, because there's no reason why it shouldn't work, in the same way that apps shouldn't have to deal well with "I wrote the letter A to a file and when I read it back it was B", because that should just work09:43
homeasvs_what do you mean, 'auth should just work' ? the internet is a hostile place, code should handle failures gracefully09:44
homeasvs_hm, any idea what cert auth your cert is signed by ? the go daddy one ?09:44
aquariusthere isn't any graceful handling, though. If replication doesn't work then the whole replication daemon is screwed, basically09:45
aquariuswhat should it do at that point?09:45
homeasvs_not sure which use case specifically we're talking about here09:46
homeasvs_for the filesync I'd expect the notification applet to tell me there is a problem09:47
homeasvs_(but right now it's still using 100% CPU when it's running, that's after this ssl bug on my list of things to fix)09:47
homeasvs_hm09:47
homeasvs_so, might it be possible that you need one of the two u1-storage-protocol .pem files installed for this to work at all ?09:47
aquariusasking our admin people about the cert09:47
homeasvs_if that's the case, *and* I am lucky, then it's just a matter of installing those .pems in the different locatino for fedora09:48
aquariusadmins say: godaddy09:49
aquariusfingers crossed that you are lucky :-)09:50
* aquarius gives bug 489963 a baffled look09:51
ubottuLaunchpad bug 489963 in desktopcouch "desktop pairing only works when starting desktopcouch-service manually" [Undecided,New] https://launchpad.net/bugs/48996309:51
aquariuswhy would d-bus starting desktopcouch-service make a difference? don't understand that.09:52
homeasvs_yeah, me neither09:52
homeasvs_I will do a bunch of repeat tests, maybe it's entirely random09:52
homeasvs_hm, so those two pem's you ship with u1-storage.... are they CA certs ? or something else ?09:53
* homeasvs_ always gets those things confused09:53
aquariusI don't know about the pems either -- I *think* they are certs09:57
homeasvs_ok, so let's start simple here.09:57
homeasvs_How can I issue a curl request to my local desktopcouch to make it try and replicate to u1 ?09:57
homeasvs_that would make this debug process a lot faster09:57
aquariusright, let me construct that for you, hang on09:59
homeasvs_I'm not convinced I have a cert problem.  When I browse manually with firefox or links to https://couchdb.one.ubuntu.com/(hash)/contacts/, it pops up a dialog saying 'administrator' asking for user/pass10:04
homeasvs_that would indicate there is no cert issue, I'd think10:05
aquariushomeasvs_, curl -X POST http://basicauthusername:pw@localhost:LOCALPORT/_replicate -d '{"source":"database", "target": { "url": "", "auth": { "oauth": {"token":"", "token_secret": "", "consumer_key": "", "consumer_secret": "" } } } }'10:12
aquariushomeasvs_, I agree on the cert thing10:12
aquariussee your local management database for the oauth details, specifically the record about Ubuntu One10:13
rtgzcould somebody with sufficient permissions please poke ubuntulog so that it starts logging to irclogs.ubuntu.com?10:14
homeasvs_aquarius, I tried that this weekend, let's see if I can try that again10:15
homeasvs_aquarius, did you know that jsut changing the http:// part of that to be correct makes the request hang ?10:16
homeasvs_aquarius, ie, with all empty vars10:16
homeasvs_aquarius, can you reproduce that problem ?10:16
aquariusso, with correct basicauthusername/password, a correct source dbname, and a correct target url?10:18
homeasvs_yes10:20
homeasvs_wait10:20
homeasvs_that's not what I meant10:20
homeasvs_with correct basicauthusername/pw, and everything else as you typed10:20
aquariusdoesn't hang for me; I get {"error":"db_not_found","reason":"could not open https://couchdb.one.ubuntu.com/u%2F3c5%2F9dc%2F21%2Ftest/"}10:20
homeasvs_ie, empty variable values10:20
aquariuswhich I'd expect10:20
aquariuswith an empty target url, I get an erlang traceback error,no_scheme10:21
aquariuswhich I'd also expect10:21
homeasvs_really ? I get no result10:21
homeasvs_just hangs10:21
homeasvs_I'd expect it to error out10:21
aquariusbecause it's trying to connect to a target URL that isn't there10:21
homeasvs_maybe I should try this against my 'normal' one10:21
homeasvs_so it should tell me it's not there instead of hanging!10:22
aquariuscurl -X POST http://UUU:PPP@localhost:39834/_replicate -d '{"source":"test", "target": { "url": "", "auth": { "oauth": {"token":"", "token_secret": "", "consumer_key": "", "consumer_secret": "" } } } }'10:22
aquariusthat gives me an erlang traceback10:22
homeasvs_it does so too on my macbook10:22
homeasvs_not on my fedora machines10:22
aquariusare you using the same version of couch?10:22
aquariuswe carry a couple of couch patches10:22
homeasvs_yeah, I pulled in those patches this weekend10:23
homeasvs_so afaik yes, but not sure how to be sure :)10:23
* aquarius grins10:23
homeasvs_I just noticed though you guys carry erlang 13b while fedora has r12b10:23
aquariusI'm not sure either10:23
aquariusaha10:23
aquariusthat might have something to do with it10:24
homeasvs_you think there might be important bugs fixed there ?10:24
homeasvs_sheesh, I would *not* look forward to rebuilding erlang :/10:24
aquariusyes. the couch people bumped their required erlang version up a few notches10:24
aquariusI don't know exactly which minimum version is required, but I am pretty sure that you need r1310:24
aquariuswe rely on #couchdb to tell us that...10:25
aquariusI'll ask them10:25
homeasvs_ok, so interesting!10:30
homeasvs_I can get curl to do replication now10:30
homeasvs_on my fedora machine10:30
homeasvs_when source is local, and target is ubuntuone, it seems to 'work' in the sense that it finishes properly10:31
homeasvs_when I reverse source and target, to pull from u1, then I get all the worker dead errors in my couchdb log10:31
mandelrodrigo_ ping10:31
homeasvs_trying the same now on the macbook10:31
homeasvs_so on the macbook, it works both ways10:31
homeasvs_interesting!10:31
homeasvs_now what could cause the push to work and the pull to fail ?10:31
homeasvs_aquarius, I think we could really use those server logs right about now :)10:32
=== homeasvs_ is now known as homeasvs
aquariuslooking for them :)10:33
aquariuscan you name a specific database that you've been trying to replicate that other people may not have?10:35
homeasvswell, right now I'm doing it with contacts10:36
homeasvsI know it's there, since it works on the macbook with ubuntu10:36
homeasvsand u1's web shows me the contacts I created10:37
homeasvsone is me, one is one i created through the web, and one from evo10:37
homeasvsthis particular db I cannot 'pull' from u1 on my f11 machine10:37
homeasvsto me it seems like it's failing internally somewhere10:37
homeasvsI'll show you what debug messages I get from that10:37
aquariusok, looking at logs10:39
rodrigo_mandel: pong10:39
homeasvsaquarius, http://pastebin.com/m251b350810:39
homeasvsaquarius, so, as soon as I ask to replicate, I get these couch_rep_httpc errors10:40
mandelrodrigo_: I was wondering what are we going to be doing about the groups, are we using the categories field?10:40
aquariusooooo.10:40
rodrigo_mandel: not on the stable version, but we should be adding it soon10:41
mandelrodrigo_: and how are the groups represented, string, lists of strings...10:41
aquariusthey're not good. Like you say, that's an internal-to-couchdb error10:41
rodrigo_mandel: comma-separated strings10:41
mandelrodrigo_: which field?10:41
rodrigo_mandel: categories10:42
mandelrodrigo_: ok, I'll work on my side with that assumption to try and get my stuff working, gracias :P10:43
rodrigo_mandel: for simulating groups, we could use '/', so friends/madrid, work, work/design_team, etc10:43
mandelrodrigo_: I was thinking of that as well, it should be easy to implement without much problems10:44
aquariusonce again, don't do that10:47
aquariusmake a group a list10:47
aquarius[ ["friends", "madrid"], ["work"], ["work", "design team"] ]10:48
aquariusotherwise fans/AC/DC is a problem10:48
aquarius:)10:48
mandelaquarius: bloody AC/DC10:48
aquariushey, they have a number of fans, what with being the most popular rock band in the world and all :-)10:49
mandelaquarius: the worst thing is that you used the same example in dallas10:49
aquariusI know :)10:49
homeasvsaquarius, f12 has a 13B erlang, will try and rebuild that one and see what happens10:56
aquariusaha, that sounds useful10:56
homeasvsI wish erlang tracebacks were more readable10:56
aquariusI don't know how easy it is to backpor10:56
aquarius*backport10:56
homeasvscome to think of it, I wish erlang were more readable :)10:56
homeasvswe'll see soon enough10:56
aquariushomeasvs, hahaha. You are not the first person to complain about this, my man :)10:56
homeasvsdo you guys carry specific erlang patches ?10:57
aquariuswe hate it just as much as you do :)10:57
homeasvsI don't know yet if it's hate or ignorance :)10:57
aquariuserlang...not sure, hang on10:57
homeasvsI need to context-switch into work10:57
aquariusbah10:58
aquariuswork's not important. :)10:58
aquariusI concede that I have the advantage that this *is* work for me :)10:58
mandelaquarius: that is not fair... wanna swap jobs? :P11:02
aquariusnah, i like my job :)11:02
mandelaquarius: sigh, had to try ;)11:03
aquariushomeasvs, I don't *think* we're carrying any relevant erlang patches to 13b1. There *is* an ssl patch, but it says that it's to add ipv6 support for ssl11:18
aquariusI suppose it's possible that that alters the way ssl works in some way. But I'd try the stock r13b from f12 first, I think11:19
=== rtgz_ is now known as rtgz
gourgihi all,. QUESTION: is birthday & anniversary contact sync working ?  what is the proper format for birthday so that i can test it from the webUI ?  01/15/2001 is correct ?12:11
homeasvsaquarius, ok, it looks like exactly the same request with 13b erlang works12:11
aquariushomeasvs, aha. so, I conclude that r13b is required :)12:12
homeasvswill file a couchdb bug and see what they say12:13
homeasvsand verify some more12:13
aquariusgourgi, that's a rodrigo_ question, that is :)12:13
homeasvsthis might be close to the end of the tunnel12:13
aquariushomeasvs, heh, enjoy interacting with the glory that is Jira :)12:13
gourgi:)12:13
aquariusrodrigo_, ^^12:13
rodrigo_gourgi: yyyy-mm-dd12:13
rodrigo_gourgi: but there is a bug in the version in karmic, so please use the updates in our beta ppa12:14
gourgity rodrigo_ , so it should work , right?12:14
aquariusrodrigo_, if date format matters, should we be enforcing it?12:14
gourgiah ok , i will thanks rodrigo_12:14
gourgikeep up the good work guys ;) U1 is great so far12:14
rodrigo_aquarius: we enforce it in the web UI12:14
rodrigo_aquarius: and evolution knows how to deal with the current locale12:14
aquariusah, OK12:14
aquariusgourgi, where were you entering a date?12:15
gourgiat evolution firstrly, now i;ll try the PPA and the webUI12:15
gourgievolution first didn't work, only for birthday data12:15
rodrigo_gourgi: https://edge.launchpad.net/~ubuntuone/+archive/beta12:16
gourgirodrigo_ ty :)12:16
rodrigo_gourgi: yeah, it was broken, so was not saving any date at all12:16
thomasbeaquarius: https://issues.apache.org/jira/browse/COUCHDB-58512:18
homeasvsalright, let's see if I can get full sync working now12:18
gourgirodrigo_ another question : in the webUI contacts sort by first name. wouldn't be better to be sorted by last name?12:18
gourgiat least that is the default sorting in my country (Greece)12:19
aquariushomeasvs, good work. We make progress!12:19
aquariushomeasvs, s/We/You/, obviously :P12:19
homeasvsaquarius, heh.  where progress is me suffering all weekend and you coming in on a monday :)12:19
aquariushomeasvs, I'd have been here over the weekend if I had the net12:20
aquariusas it is I am still using my mobile phone12:20
aquariusstupid cable provider :(12:20
homeasvsaquarius, no worries, I'm a free man, it's my choice to waste my weekend on exciting new and fragile tech :)12:20
* aquarius grins12:20
rtgzgourgi, I guess the better option is to be able to specify the sorting method, 'cause it is common to sort by last name here, in post-USSR countries, but the 'new generation' uses first name sorting12:20
rodrigo_gourgi: yeah, maybe, file a bug if you think so please12:21
homeasvsaquarius, btw I submitted a patch to make desktop-pair a little cleaner code-wise - not sure if I need to sign anything if you want to accept those ?12:21
aquariusmost mobile phones etc seem to default to first-name sorting, because people think of their friends as "George", not "Mr Kite"12:21
gourgirtgz agree, rodrigo_ what is the proper package.place to fill a bug ?12:21
aquariushomeasvs, I saw the patch (and good work!); we need the contributor agreement signed, yeah (http://www.canonical.com/contributors), if you would12:22
aquariusgourgi, file a bug with "ubuntu-bug evolution-couchdb" from a terminal12:22
rtgzgourgi, I guess it will be the https://bugs.launchpad.net/ubuntuone-servers/+filebug. aquarius isn't it the Web UI setting, re: sorting method?12:23
gourgiaquarius ok thanks, i've asked because it is a suggestion against the webUI12:23
aquariusrtgz, hm, yes, true -- gourgi, please use the URL that rtgz gives :) sorry :)12:23
gourgiokk :)12:24
homeasvssweet jesus12:24
homeasvshere are all my contacts and bookmarks, sitting pretty in my desktopcouch12:24
aquariushomeasvs, w00! rawk.12:24
homeasvsok, now I can get into the more interesting questions12:24
homeasvsstill left: 100% CPU in the applet to fix12:24
homeasvsso, first question12:24
homeasvswhy are the replications not continuous ? :)12:24
aquariusah, now, we thought about continuous replication, and there were some issues with it12:25
homeasvsI find it weird to go through all this trouble, then notice a delay between editing on one machine and seeing them on another12:25
aquariusbut, annoyingly, I can't remember precisely what led us to do every-10-minutes rather than continuous12:25
rtgzone more, there were some disruptions of the service yesterday, i.e. no files were accessible via the web interface. Is there any way for u1 to set up some 'status' service, i.e. "the storage service is inaccessible because it broke. ETA: 12 hours, workarounds:", "couchdb service: ok", "sync service": ok12:25
homeasvsit's like running the race, then falling over right before arriving at the finish line, dropping your pants, and sticking your bottom out12:25
aquariuswhen cardinalfang shows up we'll ask him, since I bet he remembers. :)12:25
aquariushomeasvs, colourful analogy ;-)12:26
homeasvsaquarius, all I'm saying is, we should be going the last mile :)12:26
rtgzbecause the users are made to think about u1 as a 'magical world' where everything happens by itself :)12:26
homeasvsaquarius, if there's a reason, I'd like to know, because all your eager testers are going to wonder exactly the same thing.  'why does this thing not sync automatically?'12:26
aquariushomeasvs, agreed12:27
homeasvsok, I'll clean up my packaging so I can put stuff online.  I've patched everything that didn'twork on stock python 2.6.0, without needing to touch python12:27
homeasvsit's a fragile balance but it seems to work, except for the applet.12:27
gourgibug submitted # 49031112:27
homeasvsI should try desktop pairing again to see if sync now works fine there12:27
aquariusthanks for doing that. It's a touch difficult for us to check whether a thing we're relying on actually appeared in python 2.6.1 or whatever :(12:28
homeasvsaquarius, buildbots ?12:28
homeasvsshouldn't be too hard12:28
aquariusthe horror that is httplib being a case in point12:28
homeasvscome to think of it - do you have a testsuite that would have shown me these bugs ?12:29
aquariusthere's a test suite, yes, but it doesn't test replication at the moment12:29
aquarius"trial desktopcouch" will run the test suite12:29
aquariushomeasvs, on buildbots, yeah, but we rely on a load of stuff that appeared in 9.10, so we don't test against 9.04, which had a lower version of Python12:30
homeasvsaquarius, second question, is my data encrypted on u1 ?12:34
homeasvsaquarius, if not, any plans for that ?12:34
homeasvsaquarius, not yet sure I *want* my personal data readable by your admins12:34
aquariushomeasvs, it's not encrypted on the back end, because we want to integrate with encryption on the desktop; obviously data that's encrypted ont he desktop will be encrypted on the server too12:35
aquariustesting replication is hard, btw, because the test suite would need to set up two couchdbs and an ssl proxy to do it properly :(12:35
homeasvsaquarius, so you're basically saying, the client should encrypt docs somehow before sending to ubuntuone ?12:36
aquariusUbuntu has the concept of an "encrypted Private directory" (it uses ecryptfs), so we'd like to integrate with that12:36
gourgihomeasvs try cryptkeeper, it uses EncFS for encryption , i use it and it works. you only need to remember the passprhase and keep .encfs6.xml for restore purposes.12:36
homeasvsaquarius, gourgi: not sure how either would work for my data in couchdb ?12:37
aquariushomeasvs, oh, couchdb data? that's not encrypted, but it is secured with your oauth token, which I do not have12:37
homeasvsaquarius, but anyone who's root on that machine can get my data no ?12:38
homeasvsaquarius, or am I missing something ?12:38
aquariushomeasvs, correct, because they can read your oauth token out of your keyring12:38
homeasvsok12:39
homeasvsso encryption might still be a desired feature12:39
homeasvsmaybe that should be a couchdb feature12:39
homeasvsok, third question12:39
homeasvsit looks like replication doesn't replicate any of my views/templates/...12:39
aquariusinteresting idea. I'm not sure how it'd work, but it needs talking about12:39
homeasvsis that possible ?12:39
homeasvsit'd be nice if it was possible to get something futon-like accessible for the u1 couchdb12:40
homeasvsit makes it hard to debug certain things without seeing what's going on there12:40
aquariusit would be nice. We're still talking about that.12:40
aquariuspart of the problem is that browsers don't do oauth :(12:40
gourgiis there a way to force a contact sync from evolution ?12:40
aquariushomeasvs, there are certain issues with you being able to create views that actually run on one.ubuntu.com, like we need to stop you writing a view which eats all the CPU for example. This is why it's not currently possible :)12:41
aquariushomeasvs, but I really like the idea of being able to write CouchApps on top of couchdb and deploy them on our infrastructure12:42
homeasvsaquarius, yeah, the views was what I was suspecting would be the major blocker, but it ought to be doable to limit that12:42
homeasvsaquarius, I don't necessarily need to run my couchapp on your infrastructure, I just want that couchapp replicated to all my clients12:43
aquariusagreed it ought to be doable, we just haven't yet had a chance to figure out how :)12:43
homeasvsaquarius, right now it seems it doesn't do that12:43
homeasvsaquarius, am I missing something maybe ? Or has it not been tried ?12:43
homeasvsI'm not 100% sure how these things work, I  think they are attachments to a database12:43
aquariusyeah. A temporary get-halfway-there approach would be to allow replicating the views but not allow them to run on the infrastructure12:44
aquariusI believe the issue is this: views are defined in design documents. To create a design document you have to be an admin. you're not an admin on couchdb.one.ubuntu.com, so the views don't replicate12:44
homeasvsoh, ok12:44
aquariusthisfred knows Much about this area, though, so we'll ping him when he arrives12:44
homeasvsok12:45
homeasvsso I guess for now I need to use couchapp to push it to my desktopcouch instance12:45
aquariusyeah, although couchapp won't push it there by default because it doesn't know about oauth12:45
aquariuson my list of Cool Stuff I Would Like To Do is teach it :)12:45
aquarius(you could just use the basic auth username adn password, which you are Not Supposed To Do, but I didn't just suggest that :))12:46
gourgicontact sync with birthday works with the ppa version. cool! :)12:46
aquariusgourgi, excellent!12:47
homeasvsaquarius, don't worry, I was already planning to do just that12:47
homeasvsaquarius, let's ping thisfred now that he's arrived12:47
thisfredhomeasvs: actually I just dropped in on IRC to say that I'm sick, sorry. You can mail me at eric.casteleijn@canonical.com, and I promise I'll have a look at it when I get better, if no ome else here can help you12:49
homeasvsthisfred, get better soon12:49
aquariushomeasvs, have submitted your patch for code review at https://code.edge.launchpad.net/~sil/desktopcouch/pick-or-listen-non-global-489925/+merge/1541913:14
aquariushomeasvs, I don't know if you're using bzr, but if you are then you are welcome to submit branches yourself?)13:15
mandelaquarius: question, is when creating a record passing a dict, the dict contains and "_id", should't the record_id be set up?13:35
aquariusmandel, yes.13:35
aquariusI think13:35
* aquarius checks :)13:35
mandelaquarius, do you mind if i send a patch then :D13:36
aquariusmandel, it works for me13:38
aquariuspython -c "from desktopcouch.records.server import CouchDatabase; from desktopcouch.records.record import Record; db=CouchDatabase('test', create=True); r=Record({'_id':'someid','name':'sil'}, record_type='http://example.org'); db.put_record(r)"13:38
mandelaquarius, 'cause the couchdatabase class does the check, but not if you do: record = Record({"_id":"2323"}, record_type="url")13:39
mandelserver_base does record_id = record.record_id or record._data.get('_id', '')13:39
mandelwhile record does not13:39
aquariusmandel, ah, so you want Record by itself to set up record_id? gotcha. Yep, patch patch patch away :)13:40
mandelaquarius: ok, thanks :D13:40
mandelaquarius: what should happen if the data passed to record have an _id and we pass the record_id parameter?13:43
mandelaquarius, I'd say exception13:43
aquariusissue a warning with warnings.warn and use the one in _id13:44
aquariusI suppose we could throw an exception, but it seems a bit harsh13:44
mandelaquarius, ok13:44
mandelaquarius, patch done and summited :)14:20
aquariusmandel, nice :) did you link your newly created bug to the branch?14:21
mandelaquarius, yes14:21
aquariuswinner14:21
mandelaquarius, I'm getting better at this ;)14:21
* rtgz has been browsing google wave for 6 hours and still can't get the point...14:37
rtgzhttp://www.linux-magazine.com/Online/News/Ubuntu-One-Clients-for-KDE-and-Fedora: Independent of the Kubuntu project, Fedora developer Thomas Vander Stichele is working on an Ubuntu One client for Fedora. Because Ubuntu One is at least partially a closed code project, it creates somewhat of a challenge. (Marcel Hilzinger)14:40
mandelyou, close source bastards! hehe14:43
rtgzyep, we demand the access to the closed-source billing system including credit cards data14:44
homeasvsit's amazing how many pingbacks I get on the fact that I'm doing this14:50
=== vds1 is now known as vds
=== rtgz is now known as rtgz|very_away
=== 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
CardinalFangmandel, I reviewed "record_id" branch.15:24
mandelCardinalFang: replying right now, I agree with most of it, including removing record_id and use a property that just looks into _data15:26
mandelin the branch I already removed all the uses of _id outside record that I know15:26
CardinalFangYou rock.15:26
mandelCardinalFang: I'll update the code and will let u know through lp :P15:28
mandelCardinalFang: wondering about the setter... we probably need it to make sure that we do not brak anything that already uses it15:36
mandelprobably when someone does a put_record he also sets it, which is something that the CouchDatabase object does not take care of15:37
mandelCardinalFang: ping16:25
rtgzjoshuahoover, have you seen the diagnostic script for u1 client?16:29
joshuahooverrtgz: i have not, i was out the past few days16:29
CardinalFangmandel, hi16:32
mandelCardinalFang, hello16:32
CardinalFang"What if the record_id is not None and the data['_id']is indeed None? we could try to put in the db {'_id':None} which will raise an exception."16:33
mandelCardinalFang, yes, that16:33
mandelso record_id is None so we do not get in the if statement and therefore we do not check if _id is None16:33
mandelshould the exception be raised when putting the record or when creating the record16:34
CardinalFangmandel, since there is a way to update the record, after creation, raise error only at putting it.16:34
mandelok, fair enough, I'll push the other if instead16:35
mandelCardinalFang: done, I'm done for the day, thanks for your help16:40
CardinalFangmandel, Thank you sir.  I hope to have attachments ready for you tomorrow morning.16:42
mandelCardinalFang: awesome, hopefully nicola finishes reviewing the other branch and I can start adding them to the contact class16:43
mandelhave a good evening, adios16:43
GoliathSalve a tutti, ho sottoscritto il servizio sul sito ma tra le pagine non ho trovato da nessuna parte come aggiungere il mio pc a quelli da sincronizzare, qualcuno puo` aiutarmi? Grazie17:09
dobeyvds: ^ decypher please? :)17:10
vdsciao Goliath17:10
Goliathvds: ciao17:10
vdsGoliath: cosa hai fatto fin'ora?17:11
Goliathvds: Mi sono registrato sul sito di ubuntu one, ho avviato ubuntu one ma non sincronizza.17:12
vdsGoliath: come hai avviato ubuntuone?17:12
vdsdal menu` internet?17:13
Goliathvds: Applicazioni -> Internet -> UbuntuOne17:13
vdsGoliath: vedi l'applet nel pannello?17:13
Goliathvds: Il punto e` che sul sito non trovo come autenticare il mio pc alla sincronizzazione17:13
Goliathvds: si17:13
vdsGoliath: clicka con il destro e seleziona go to web17:14
Goliathvds:ok17:14
Goliathvds:mi chiede di loggarmi17:15
vdsGoliath: ok fai il login17:15
Goliathvds:fatto17:15
Goliathvds: ok sono su: https://one.ubuntu.com/files/#path=/My%20Files17:16
vdsGoliath: e non ti ha chiesto prima di aggiungere il computer?17:16
vdsdirei di no :)17:16
Goliathno17:16
Goliath:-)17:16
Goliathvds: Per caso, non e` che potresti mandarmi il link della pagina in cui lo chiede17:17
vdsGoliath: vai su account17:17
vdsvedi la tab account?17:17
Goliathvds: done17:17
vdsGoliath: aggiunto?17:18
Goliathvds: no17:18
Goliathvds: ho il link che mi manda alla pagina per vedere quali macchine possono loggarsi17:18
Goliathvds: ma quando arrivo li, mi dice che devo andare a guardare l'help17:19
Goliathvds:e l'help mi rimanda al link che ti ho gia` inviato17:20
vdsjblount: when you're supposed to been asked to add a computer?17:20
vdsjblount: and where to go if you want to register a new machine?17:20
vdsdobey: ^^ do you know?17:20
dobeyit's the first thing that's supposed to happen when you run the applet17:22
Goliathdobey: I can tell you that it is not happened to me17:22
dobeyit also happens when you click "Connect" on the applet's menu, if you've not got a token in the keyring17:22
vdsdobey: yes, but what to do if it doesn't happen?17:22
dobeyvds: file a bug?17:22
vdsdobey: :)17:23
dobey(right click on applet and choose "Report a Problem")17:23
vdsdobey: that's the second thing I guess :)17:23
jblountvds: Clicking connect is what dobey always tells me.17:23
dobeyvds: debug and figure out why it's failing17:23
vdsGoliath: se apri la cartella Ubuntu One in alto a destra hai connect17:23
vdsGoliath: prova a premere li17:23
Goliathvds: si, gia` fatto, tenta di connettersi all'infinito e basta17:24
dobeyvds: if it's not working, there should be an error dialog popping up. if there isn't an error dialog, then there is something new wrong and i have no idea what it is exactly :)17:24
Goliathjblount: where i can find log files?17:25
vdsGoliath: .cache/ubuntuone/log/syncdaemon.log17:25
dobeysyncdaemon.log is probably irrelevant17:25
dobeyoauth-login.log is more useful17:25
vdsGoliath: are you using karmic?17:26
Goliathvds: yes karmic17:28
Goliathdobey: oauth-login says: Avvio client Ubuntu One versione 1.0.217:29
GoliathUnable to contact NetworkManager17:29
vdsGoliath: preferisci continuare in inglese o in italiano?17:30
Goliathdobey: the first line only says: starting client17:30
Goliathvds: as you want17:30
dobeyright17:30
vdsGoliath: do you have NetworkManager intalled on your machine17:30
vds?17:30
Goliathvds: certo se dobbiamo parlare con dobey forse conviene proseguire in inglese17:30
dobeyyour problem is that you're not using networkmanager, and there is a bug that is fixed, but not backported to karmic yet17:30
dobeythe beta PPA packages have the fix though17:31
Goliathdobey: then what i must do?17:31
Goliathvds: but networkmanager isn't installed by default in karmic?17:32
dobeyupgrade to the "unstable" beta PPA packages, or wait for an update to Karmic17:32
dobeynetwork manager is installed/used by default in karmic, yes17:32
vdsGoliath: unless you removed it, networkmanager is there by default17:32
dobeyi must go get lunch, be back in a bit17:33
rtgzjoshuahoover, may I start spamming about the ubuntuone-client-diagnose over here?17:33
joshuahooverrtgz: sure :)17:33
rtgzhe he he17:33
Goliathvds: damn you are right, I've uninstalled netman!17:34
Goliathvds: but i don't remember y i did it!17:34
Goliath:-)17:34
rtgzIntroducing Ubuntu One Client Diagnostic script that is aimed to provide professional ubuntuone client diagnostic without the need of the developers!17:34
vdsGoliath: so you can choose whether to re-install NM or use the packages in dobey PPA17:35
Goliathvds-dobey: can you wait till i reboot? I just reinstalled NM17:35
rtgzThe script is documented at https://wiki.ubuntu.com/RomanYepishev/UbuntuOne/Diagnostics and provides support to detect most common errors for U1 installations17:35
vdsGoliath: sure17:36
Goliathvds: I'll be back ;-)17:36
rtgze.g. missing Network Manager, Capabilities mismatch error, Turkish locale error (yes, i switched to turkish locale to test this), Error with applet not being able to connect automatically, Protocol version error with throttling enabled, Invalid UTF characters in filenames (AND it gives you the names for all the files and directories that needs your attention)...17:37
rtgzThe trunk version of the script is available at http://ubuntuone-client-diagnose.googlecode.com/svn/trunk/ubuntuone-client-diagnose.py17:38
rtgzJust download it and give it a try: python ubuntuone-client-diagnose.py17:38
rtgzLegal copy: this is an alpha version, not all test cases are covered. Written by long-time Perl programmer, code revised by verterok (no "WTF?" code found)17:39
rtgz</spam>17:39
GoliathI'm back17:45
Goliath...and...17:45
GoliathIT WORKS!!!17:45
Goliaththanks a lot!!17:45
Goliathvds: Grazie mille17:45
vdsGoliath: prego!17:46
Goliathvds: purtroppo devo scappare, ciao e ancora grazie17:46
Goliathbye bye17:46
vdsGoliath: bye :)17:46
vdstoo late17:46
CardinalFangrodrigo_, What's with Bug#417800?  Surely not "fix released".  Either "Invalid", dup, or "Needs information".17:49
CardinalFanghttps://bugs.edge.launchpad.net/desktopcouch/+bug/41780017:49
ubottuLaunchpad bug 417800 in desktopcouch "test_can_construct_contactspicker fails" [Low,Fix released]17:49
=== JulioNeto is now known as julioneto
CardinalFangrodrigo_, When I see this later when making the next release, I will wonder what code we released to fix it.17:50
dobeyrtgz: what is the "turkish locale problem" exactly?18:19
=== lamalex_2 is now known as lamalex
urbanapeafternoon, all18:24
urbanapeHope everyone had a good Thanksgiving (who's into such things)18:25
dobeyhey urbanape18:25
CardinalFangurbanape, j0.18:25
rtgzdobey, bug #46739718:28
ubottuLaunchpad bug 467397 in python2.6 "KeyError: 'ROUND_CEiLiNG' when using turkish locale" [Undecided,New] https://launchpad.net/bugs/46739718:28
rtgzdobey, however this is python bug but it affects ubuntuone since it does not show any user-meaningful error, just silently fails18:30
CardinalFangThat bug is hilarious.18:32
dobeyhrmm18:34
dobeyhrmmph18:35
rtgzat first I thought that ROUND_CEiLiNG is somehow misspelled but it turns out to be the exact message for KeyError :)18:36
dobeyanother reason to oust twisted18:39
CardinalFangdobey, It's "decimal" that is trying to be too clever.18:40
CardinalFangrtgz, we can't fix that.  What do you think the error message should be?18:40
dobeyCardinalFang: yes, but we're getting the error because twisted web server bits are doing some funky things18:40
dobeyCardinalFang: we can't forward the error message to the client's error handler, unfortunately18:41
rtgzCardinalFang, actually we can work around it, since it makes everyone with tr_* locale unable to use ubuntuone18:41
CardinalFangrtgz, what's the work around?  Unsetting the locale?18:42
dobeyswitching away from using twisted in the client applet and oauthdesktop will solve this, and a few other problems18:42
dobeyunless we decide to use the decimel module for some insane reason18:43
rtgzCardinalFang, the most non-intrusive solution is to force setting the locale in .desktop file for ubuntuone-client-applet.18:43
dobeyrtgz: that's more intrusive, since translations would break for everyone not using english :)18:43
rtgzi don't like this but it is better than a cloud with exclamation mark for all Turkey18:43
dobeycloud with ! doesn't mean what you think it means18:44
rtgzdobey, yep, broken in any way18:44
CardinalFangrtgz, that's bad.  When FR users get "5.123 MB used", is that 5 MB or 5 GB?  I expect 5.  They expect 5000.18:44
dobeyhard drive with cloud with ! does mean what you think it means, though18:44
rtgzdobey, okay, not only !, but it just does not sync the files, which is an intended behavior. It does not get to couchdb/ubuntuone pairing since it crashes on startup...18:45
dobeyrtgz: i know it doesn't work in that case18:46
rtgzthe cloud just sits there, attracts attention and any "I SAID CONNECT!" requests are silently failing18:46
dobeyrtgz: but i was alluding to the fact that the icon in the Humanity theme isn't really very accurate of what is going on (or not going on as it may be)18:46
dobeyjoshuahoover: what's the canonical bug # for the "add back timestamps" issue? :)18:47
CardinalFangrtgz, dobey, TR users are going to have lots of problems in everything until Python is fixed.  Anything that does exact, non-2s-complement math is going to break.18:48
rtgzdobey, yep, it is either fluffy cloud (everybody is happy) or a cloud with exclamation mark telling you that there is something... not connected, broken...18:49
rtgzdobey, are you talking about oauth-login.log?18:49
dobeyrtgz: the line-art cloud with ! only means "disconnected"18:49
dobeyrtgz: the error icon in Humanity is actually the two sync arrows with a ! in the middle18:49
dobeyrtgz: for timestamps bug #, yes18:50
rtgzdobey, yes, true. sorry18:50
rtgzdobey, part of bug #48842518:50
dobeyi'm trying to get some fixes backported, so that we can get some SRU loving18:50
ubottuLaunchpad bug 488425 in ubuntuone-client "oauthdesktop/logger.py should have configurable log level" [Undecided,New] https://launchpad.net/bugs/48842518:50
dobeyrtgz: no there was another bug specifically about missing timestamps18:51
dobeywell, there were multiple other bugs, because joshuahoover filed the same one at least twice :)18:51
rtgzdobey, bug #47331418:52
ubottuLaunchpad bug 473314 in ubuntuone-client "oauth-login.log files don't have timestamps" [Medium,Triaged] https://launchpad.net/bugs/47331418:52
rtgzdobey, btw, according to the early logs for u1 client the timestamps were there and disappeared later  :)18:52
* dobey dupes that18:53
dobeyrtgz: yes, they were missing for a bit when we squelched some of the other log messages and tweaked the oauthdesktop logging stuff to do rotation18:54
dobeyrtgz: but they are fixed in trunk (and the beta/nightlies PPA packages of 1.1)18:54
rtgzCardinalFang, I finally understood the limitations of such approach for locale setting, I am using en_US locale only so the delimiters are common. Not an option. If it does not break in ubuntuone then it will break elsewhere :(18:57
CardinalFangSad.  I've visited a few places, and Istanbul is by far my favorite walking-around city.18:58
dobeyNot Constantinople?19:00
dobey</ref:tmbg>19:01
CardinalFangEvery girl in Constantinople lives in Istanbul (not Constantinople), so if you've a date in Constantinople, she'll be waiting in Istanbul.19:01
dobeyi don't think those are the lyrics to that song19:02
dobeyhaha19:03
dobeyMagellan GPS is advertising some OneTouch technology19:04
CardinalFangExplain Plz.19:04
dobeyah the lyrics are mostly right i guess19:04
dobeys/girl/gal/19:04
CardinalFangNo karaoke for me!19:05
statikChipaca, i missed the standup meeting today, did it get moved?19:13
dobeystatik: i think it was sort of supplanted by the desktop+ team meeting we had today?19:14
CardinalFangstatik, we had a different team meeting an hour before and it spanned over the normal time.19:14
statikah, that explains it. voice call or something?19:14
CardinalFangIRC.  Other server, #desktop+19:15
Chipacahm, I coudl've done it in freenode19:16
dobeynext time19:16
statikthanks! I was just curious19:17
dobeyi really really really wish loggerhead and bzr had wasy to easily view revprops19:18
rtgzPlease forgive my ignorance, but what is "Desktop+" ?19:29
jblountrtgz: One of the three teams that Canonical employees working on Ubuntu One are split into.19:32
jblountrtgz: Foundations+ Ops+ and Desktop+19:32
jblountrtgz: Desktop+ deals with "stuff users see" like client software and websites. Chipaca is our fearless leader.19:33
Chipacajblount: fear*some*19:34
rtgzjblount, ah, then it started to make sense to me, re: "Desktop+ standup meeting" :)19:34
CardinalFangChipaca, Fear*ed*.19:35
rtgzdobey, may i poke you about bug #472287?20:52
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/47228720:52
dobeyi guess20:53
dobeyrtgz: not sure i'll be able to answer anything though, as i'm not sure how to reproduce the issue exactly20:55
rtgzdobey, I had this bug triggered a while ago after filling up the UbuntuOne directory in large chunks, like 100 audio files at a time, then 50 etc. syncdaemon was happily syncing and then applet told me that the files are all synced. Syncdaemon was not performing any activities, so I checked the metadata and it turned up that 20 files were still missing20:55
rtgzdobey, "a while ago" means "last week" in this context20:55
dobeyrtgz: were they still syncing, or just ignored?20:55
dobeyif they were just ignored, i'm guessing it's a different issue20:56
rtgzdobey, they were completely ignored, client connect/disconnect did not trigger their update, syncdaemon restart made it see the files again and it finished syncing20:56
dobeyrtgz: that is a separate issue20:57
rtgzdobey, ok20:57
dobeyrtgz: this issue is that syncdaemon is apparently still syncing things after the client thought stuff was done20:57
=== 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!