=== elehack|afk is now known as elehack [03:08] can anyone give me some suggestions in how to get my evolution contacts to sync with Ubuntuone? I've followed a tutorial, but it hasn't synced yet. [03:21] hello dimeotane [03:22] hi [03:23] the tutorial you followed was this one probablly, right? https://wiki.ubuntu.com/UbuntuOne/Tutorials/Contacts [03:27] yes [03:27] no keyring ever prompted for access though [03:27] ok [03:28] it seems to suggest you only need to copy your contacts and then voila in 10 minutes it will update [03:28] am I missing something? [03:28] It Just Worked for me, but I'm running Lucid. [03:29] ok... I tried in karmic [03:29] dimeotane: first verify evololution-couchdb is installed [03:29] dimeotane: it should work in Karmic [03:29] apt-cache policy evolution-couchdb [03:29] dimeotane: ^^ [03:30] run that in a Terminal (App > Accesories > Terminal) [03:30] says 0.3.2 is installed [03:30] you should get a line that says: Installed: 0.3.4-0ubuntu2 [03:30] ok [03:31] I tried looking at the .html file in the browser but it kept asking for a username and password [03:31] dimeotane: run: killall beam.smp [03:31] dont run with sudo [03:32] asks for keyring access [03:32] allow [03:33] then: rm ~/.config/desktop-couch/desktop-couchdb.ini [03:33] this will remove the desktopcouch configuration file, which will then be re-generated. (This will not lose any data stored in desktopcouch, do not worry.) [03:33] ok [03:34] dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort [03:34] now that one will restart desktopcouch [03:34] You can ignore messages printed by this command [03:37] yea it gave strange message . [03:37] ok [03:37] you should be able to see your database now at: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html [03:37] replacing USERNAME with your username [03:39] I'm seeing the database [03:40] ok and there is a contacts database [03:40] yes there is [03:42] dimeotane: ok, the contacts sync every 10 minutes. [03:45] dimeotane: i have a script that you can use to speed that up :) http://pastebin.ubuntu.com/380739/ [03:45] if you save that to your home folder as couchport.py for example [03:45] then run it: python couchport.py [03:46] that should initiate a sync [03:50] i tried repeating this process on another laptop (with lucid) and it hangs on dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort [03:50] Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [03:54] dimeotane: I had that for a while. Then I reinstalled for other reasons, and it all started working. [03:55] ok [03:55] I [03:55] dimeotane: Before the reinstallation, it was also failing to replicate, and downloading a lot of data reguarly in the process. [03:55] dimeotane: make sure beam has quit [03:55] I ran your python script on karmic [03:55] ps uaxxc | grep beam [03:56] after you run killall beam.smp [03:57] no process found [03:57] hmmm [03:57] I installed on alpha 2 [03:59] dimeotane: i am starting up my Lucid install to see if i can replicate [04:00] I've read that syncing firefox bookmarks is on the way too? [04:04] dimeotane: yes it should be really close [04:07] Ok.. I rebooted the karmic and after a ubuntuone sync theres my contacts online.. thanx! [04:10] dimeotane: ok great [04:11] dimeotane: bindwood is the name of the Firefox add on for bookmark sync [04:11] I tried adding it today.. but the latest version of firefox can't use it [04:11] v 3.6 [04:12] I also looked at firefox weave.. but I dont' like how it says it can also sync passwords, browsing history.. and alot of other information.. when I only want my bookmark collection synced [04:15] dimeotane: looks like there is a version that works with 3.6 [04:16] dimeotane: if you already have bindwood installed you can run the following to run the newest one: sudo add-apt-repository ppa:urbanape/bindwood-exp && sudo apt-get update && sudo apt-get upgrade [04:17] if you dont have it installed, replace the last sudo apt-get upgrade with sudo apt-get install bindwood [04:19] W: Failed to fetch http://ppa.launchpad.net/urbanape/bindwood-exp/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found [04:20] dimeotane: ha ha, i just got the same thing [04:21] dimeotane: apparently i spoke to soon. looks like the package has only been added to the Karmic repos [04:22] duanedesign: I appreciate your help this eve regardless... [04:22] I' [04:22] I'll mess more with my lucid system tomorrow to try and get it to sync my contacts... but my karmic does now... [04:22] nite! [04:33] dimeotane: if you come back tommorrow there is likely to be more people here to help [04:33] if you ping 'rye' he is the Customer Support Manager for Ubuntu one. He is a tremendous help [04:33] dimeotane: nite === hersoy is now known as ersoy === rmcbride__ is now known as rmcbride === Yorvik is now known as Yorvyk [17:10] .msg NickServ HELP === rye is now known as rtgz === rtgz is now known as rye === rye is now known as rtgz === rtgz is now known as rye [17:43] statik: I feel like I have to say it again: I do appreciate your (and the team's) work a ton. Especially your concern for the community's concerns. Thanks for that. [17:48] statik: thought: I know it hasn't even been officially launched yet, but maybe a post from you addressing that concern? Why the choice was made (business wise, eg: "either mp3 or no SONY-label music") specifically. [18:04] greg-g, hi! I think jcastro is working on such a post [18:07] beuno: awesome. thanks! [18:36] greg-g, thanks! keep on keeping us honest :) yeah, i should blog more about this kind of stuff [18:41] Can someone help me with getting contacts to sync on lucid? [18:41] statik: :) always. And yeah, I appreciate your views/opinions/reasons for things, so tell me about them! [18:43] Yesterday I was helped with karmic and it worked.. but the same steps didn't seem to work on lucid. [18:46] dimeotane2, hi. searching for yesterday's log... [18:48] dimeotane2, ok, I believe you have checked that you have evolution-couchdb installed, that desktopcouch-service is started and that evolution has CouchDB addressbook, right? [18:49] Yes that worked on karmic.. [18:50] do you have a guide online posted with that set of steps of removing the old ini and restarting couchdb? [18:50] dimeotane2, were you able to log into futon (couchdb web interface)? [18:51] yes in karmic.. I'm now trying to get my contacts (now on ubuntuone) to sync with a lucid system [18:51] dimeotane2, These steps were posted to http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting [18:51] ok thanks.. I'll go take a look there [18:52] dimeotane2, could you please describe what is the current state? [18:53] dimeotane2, you may continue here I guess, I am running Lucid (after upgrade from Karmic) and the contacts are being replicated w/o any issue [18:53] desktop:~$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort [18:53] Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [18:53] that command on lucid gives an error [18:55] dimeotane2, ok, could you please try the following [18:55] dimeotane2, shut down evolution with evolution --force-shutdown [18:55] dimeotane2, then stop desktopcouch service - /usr/lib/desktopcouch/desktopcouch-stop [18:56] dimeotane2, then restart the service in the terminal as /usr/lib/desktopcouch/desktopcouch-service [18:56] it might print something to the terminal, if that contains something like 'error' or exception - please copy&paste it here - it may have some info about the origin of the issue [18:56] desktop:~$ /usr/lib/desktopcouch/desktopcouch-stop [18:56] Traceback (most recent call last): [18:57] File "/usr/lib/desktopcouch/desktopcouch-stop", line 25, in [18:57] local_exec = local_files.COUCH_EXEC_COMMAND + ["-k"] [18:57] AttributeError: 'module' object has no attribute 'COUCH_EXEC_COMMAND' [18:57] it seems there was an error on the second step [18:59] I don't know if this is related.. but in the ubuntuone folder when I click connect... nothing happens.. one of my new files shows a double loop arrow [18:59] I guess that means it still has to sync [18:59] the system is updated.. perhaps I should reboot again? [19:03] dimeotane2, yes, stop script is not yet fixed on lucid, true, could you please then ps auxw | grep [d]esktopcouch-service ? [19:03] dimeotane2, one more, could you please write my nick (rye) before/after response so that I get a notification of the message? [19:09] yup [19:10] rye: 2010-02-21 14:10:47,332 - We seem to be running already, or can't publish our zeroconf advert. org.freedesktop.Avahi.CollisionError: Local name collision [19:11] rye: that's after running ps auxw | grep [d]esktopcouch-service [19:12] dimeotane2, hm, ok , it looks we need to shut down desktopcouch-service completely first [19:12] rye: what do you make of this: I don't know if this is related.. but in the ubuntuone folder when I click connect... nothing happens.. one of my new files shows a double loop arrow [19:13] rye: I guess that means it still has to sync... do you think that is a sign of a related problem? Shall I reboot first? [19:17] dimeotane2, hm, i don't think reboot will present more info on this [19:18] rye: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html <-- when I open this it fails to connect [19:18] (with my username etc) [19:18] dimeotane2, ok, that means that couchdb has not started properly [19:19] dimeotane2, let's kill it completely first, then start it again [19:21] rye: same error 2010-02-21 14:20:58,527 - We seem to be running already, or can't publish our zeroconf advert. org.freedesktop.Avahi.CollisionError: Local name collision [19:21] dimeotane2, re: files - firing up my vm to check this [19:22] dimeotane2, hm, when do you get that error? I mean after what? [19:22] rye: before starting I did : /usr/lib/desktopcouch/desktopcouch-stop [19:22] and ps auxw | grep [d]esktopcouch-service [19:23] dimeotane2, the stop script is broken for Lucid, so that it won't stop the service [19:23] after those i ran: /usr/lib/desktopcouch/desktopcouch-service [19:23] that's why i guess it will need to be 'killall beam.smp; killall desktopcouch-service' [19:23] rye: which gave the error [19:23] ok will try that [19:24] time to relax [19:24] that ran [19:24] crap an error.. it crashed [19:24] trying again [19:26] rye: it asks for user and pass when I navigate to the html file [19:27] dimeotane2, you mean that it does not just say "you are about to log in to localhost with username a", it actually asks for the credentials? [19:27] yup [19:28] rye: when I start it it says: Removing stale, deceptive pid file. [19:28] Apache CouchDB has started, time to relax. [19:28] Browse your desktop CouchDB at file:///home/matt/.local/share/desktop-couch/couchdb.html [19:28] Segmentation fault (core dumped) [19:28] wow [19:28] that's something new [19:28] can you please check that 'beam.smp' is running ? [19:29] rye: whats the command? [19:29] dimeotane2, if that is running then it means that desktopcouch service has actually crashed [19:29] dimeotane2, ps auxw | grep [b]eam.smp [19:29] rye: it seems to be running [19:30] rye: I'm gonna reboot to see if it fixes anything.. I'll be back in a minute [19:30] dimeotane2, ok, is " ps auxw | grep [d]esktopcouch-service " returning anything ? [19:30] rye: no it doesn't [19:30] dimeotane2, 'cause if it does then it means that python service has crashed which is really bad [19:40] rye: when I check for desktopcouch to be running it returns nothing... when I run the service it gives "Segmentation fault (core dumped)" [19:41] dimeotane2, are you running Lucid with all updates applied? [19:41] rye: yup [19:42] rye: not proposed or backports for my software sources.. should I [19:42] dimeotane2, good, so I believe we might need to run python under debugger [19:42] rye: those are not selected.. should I have? [19:43] dimeotane2, you might try, but I believe that there is no backports since there is no "newer" version than Lucid is [19:43] rye: makes sense [19:44] rye: Hey a question for you: is this 'debugging' job we're doing helpful to ubuntuone.. or just a support pain ... should I just be more patient until newer updates? [19:47] dimeotane2, i believe since there is no segfault reports in desktopcouch then this may not be fixed by updates [19:47] dimeotane2, therefore it is better to catch it early [19:48] rye: are you on the ubuntone developer team? [19:48] dimeotane2, i am in online services, more like a support engineer [19:49] rye: well I really appreciate the time you've taken with me on this so far.. I love Ubuntu.. and I think the direction it's going is really exciting.. I like to see it 'Just Work' [19:49] dimeotane2, i want to see it running as well [19:50] i am now testing what steps you will need to perform to debug this [19:57] dimeotane2, ok, first of all it will be helpful to install python-dbg package [19:58] rye: k [19:59] then you will need to run python under debugger: gdb /usr/bin/python [20:01] rye: ready [20:02] this will start the debugger, you will get (gdb) prompt [20:02] paste "set args /usr/lib/desktopcouch/desktopcouch-service" there and press enter [20:03] before that make sure that beam.smp is not running, i.e. killall beam.smp to be sure [20:04] rye: ok [20:05] dimeotane2, ok, now type "run" and see what happens [20:05] you can copy and paste the output of the terminal to paste.ubuntu.com so that I could guide you better [20:06] rye: http://paste.ubuntu.com/381156/ [20:07] dimeotane2, great, now type "bt" and press enter [20:07] this will display the backtrace [20:09] rye: http://paste.ubuntu.com/381160/ [20:11] great! that's gnome keyring calling python lib calling dbus library, ok, could you please now quit the debugger ("quit" and yes for terminating the app) [20:12] rye: ok [20:12] dimeotane2, now could you please kill beam.smp again and install debug package for dbus [20:13] searching for the one... [20:17] heh, there is no one [20:31] dimeotane2, ok, are you able to open seahorse i.e. Applications/Accessories/Passwords and Encryption Keys [20:42] rye ok [20:43] rye: I'm in there [20:50] hello dimeotane2 [20:50] hi [20:50] getting Lucid sorted out :) [20:51] yup [20:51] rye: still there? [20:57] dimeotane2, yep, but I can't find anything related to gnome keyring, python and dbus, though I heard just recently that there is something bad with dbus and its python bindings that may crash that [20:57] dimeotane2, regarding seahorse - are you able to open key for ubuntuone authentication? [20:58] rye: i see the ubuntuone token.. it's there [20:58] rye: what should I see or which tab should I check? [20:59] dimeotane2, ok, are you able to open it and see the token itself? It should ask you whether you grant seahorse to open the key [20:59] i'm just wondering what can be that different in our setups [20:59] rye: applications paths and permissions are blank.. is that ok? [20:59] we got the backtrace but that leads us to gnome-keyring... [21:00] I can open it .. but it doesn't ask for any grant to open [21:00] dimeotane2, yep, probably because the application (desktopcouch-service hasn't got a chance to read the token - it crashes right before that happens) [21:01] ah [21:01] wait [21:02] dimeotane2, are there "Desktop Couch user authentication" entries? [21:03] rye: in seahorse theres two [21:03] basic and oath [21:03] oauth [21:04] dimeotane2, and you are able to open both and see the secret [21:05] right? [21:05] I can open both and see things.. but that last tab is blank in both [21:17] dimeotane2, i believe I will need to consult with the devs to find out how can this be debugged. So far I see that it is a pretty strange state [21:21] ok === wgrant_ is now known as wgrant