[03:08] <dimeotane> 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] <duanedesign> hello dimeotane
[03:22] <dimeotane> hi
[03:23] <duanedesign> the tutorial you followed was this one probablly, right?  https://wiki.ubuntu.com/UbuntuOne/Tutorials/Contacts
[03:27] <dimeotane> yes
[03:27] <dimeotane> no keyring ever prompted for access though
[03:27] <duanedesign> ok
[03:28] <dimeotane> it seems to suggest you only need to copy your contacts and then voila in 10 minutes it will update
[03:28] <dimeotane> am I missing something?
[03:28] <wgrant> It Just Worked for me, but I'm running Lucid.
[03:29] <dimeotane> ok... I tried in karmic
[03:29] <duanedesign> dimeotane: first verify evololution-couchdb is installed
[03:29] <duanedesign> dimeotane: it should work in Karmic
[03:29] <duanedesign> apt-cache policy evolution-couchdb
[03:29] <duanedesign> dimeotane: ^^
[03:30] <duanedesign> run that in a Terminal (App > Accesories > Terminal)
[03:30] <dimeotane> says 0.3.2 is installed
[03:30] <duanedesign> you should get a line that says: Installed: 0.3.4-0ubuntu2
[03:30] <duanedesign> ok
[03:31] <dimeotane> I tried looking at the .html file in the browser but it kept asking for a username and password
[03:31] <duanedesign> dimeotane: run: killall beam.smp
[03:31] <duanedesign> dont run with sudo
[03:32] <dimeotane> asks for keyring access
[03:32] <duanedesign> allow
[03:33] <duanedesign> then: rm ~/.config/desktop-couch/desktop-couchdb.ini
[03:33] <duanedesign> 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] <dimeotane> ok
[03:34] <duanedesign> dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
[03:34] <duanedesign> now that one will restart desktopcouch
[03:34] <duanedesign> You can ignore messages printed by this command
[03:37] <dimeotane> yea it gave strange message .
[03:37] <dimeotane> ok
[03:37] <duanedesign> you should be able to see your database now at: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html
[03:37] <duanedesign> replacing USERNAME with your username
[03:39] <dimeotane> I'm seeing the database
[03:40] <duanedesign> ok and there is a contacts database
[03:40] <dimeotane> yes there is
[03:42] <duanedesign> dimeotane: ok, the contacts sync every 10 minutes.
[03:45] <duanedesign> dimeotane: i have a script that you can use to speed that up :) http://pastebin.ubuntu.com/380739/
[03:45] <duanedesign> if you save that to your home folder as couchport.py for example
[03:45] <duanedesign> then run it: python couchport.py
[03:46] <duanedesign> that should initiate a sync
[03:50] <dimeotane> 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] <dimeotane> 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] <wgrant> dimeotane: I had that for a while. Then I reinstalled for other reasons, and it all started working.
[03:55] <dimeotane> ok
[03:55] <dimeotane> I
[03:55] <wgrant> dimeotane: Before the reinstallation, it was also failing to replicate, and downloading a lot of data reguarly in the process.
[03:55] <duanedesign> dimeotane: make sure beam has quit
[03:55] <dimeotane> I ran your python script on karmic
[03:55] <duanedesign> ps uaxxc | grep beam
[03:56] <duanedesign> after you run killall beam.smp
[03:57] <dimeotane> no process found
[03:57] <duanedesign> hmmm
[03:57] <dimeotane> I installed on alpha 2
[03:59] <duanedesign> dimeotane: i am starting up my Lucid install to see if i can replicate
[04:00] <dimeotane> I've read that syncing firefox bookmarks is on the way too?
[04:04] <duanedesign> dimeotane: yes it should be really close
[04:07] <dimeotane> Ok.. I rebooted the karmic and after a ubuntuone sync theres my contacts online..  thanx!
[04:10] <duanedesign> dimeotane: ok great
[04:11] <duanedesign> dimeotane: bindwood is the name of the Firefox add on for bookmark sync
[04:11] <dimeotane> I tried adding it today.. but the latest version of firefox can't use it
[04:11] <dimeotane> v 3.6
[04:12] <dimeotane> 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] <duanedesign> dimeotane: looks like there is a version that works with 3.6
[04:16] <duanedesign> 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] <duanedesign> if you dont have it installed, replace the last sudo apt-get upgrade with sudo apt-get install bindwood
[04:19] <dimeotane> W: Failed to fetch http://ppa.launchpad.net/urbanape/bindwood-exp/ubuntu/dists/lucid/main/binary-i386/Packages.gz  404  Not Found
[04:20] <duanedesign> dimeotane: ha ha, i just got the same thing
[04:21] <duanedesign> dimeotane: apparently i spoke to soon. looks like the package has only been added to the Karmic repos
[04:22] <dimeotane> duanedesign: I appreciate your help this eve regardless...
[04:22] <dimeotane> I'
[04:22] <dimeotane> 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] <dimeotane> nite!
[04:33] <duanedesign> dimeotane: if you come back tommorrow there is likely to be more people here to help
[04:33] <duanedesign> if you ping 'rye' he is the Customer Support Manager for Ubuntu one. He is a tremendous help
[04:33] <duanedesign> dimeotane: nite
[17:10] <rye> .msg NickServ HELP
[17:43] <greg-g> 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] <greg-g> 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] <beuno> greg-g, hi!  I think jcastro is working on such a post
[18:07] <greg-g> beuno: awesome. thanks!
[18:36] <statik> greg-g, thanks! keep on keeping us honest :) yeah, i should blog more about this kind of stuff
[18:41] <dimeotane2> Can someone help me with getting contacts to sync on lucid?
[18:41] <greg-g> statik: :) always. And yeah, I appreciate your views/opinions/reasons for things, so tell me about them!
[18:43] <dimeotane2> Yesterday I was helped with karmic and it worked.. but the same steps didn't seem to work on lucid.
[18:46] <rye> dimeotane2, hi. searching for yesterday's log...
[18:48] <rye> 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] <dimeotane2> Yes that worked on karmic..
[18:50] <dimeotane2> do you have a guide online posted with that set of steps of removing the old ini and restarting couchdb?
[18:50] <rye> dimeotane2, were you able to log into futon (couchdb web interface)?
[18:51] <dimeotane2> yes in karmic.. I'm now trying to get my contacts (now on ubuntuone) to sync with a lucid system
[18:51] <rye> dimeotane2, These steps were posted to  http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting
[18:51] <dimeotane2> ok thanks.. I'll go take a look there
[18:52] <rye> dimeotane2, could you please describe what is the current state?
[18:53] <rye> 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] <dimeotane2> desktop:~$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
[18:53] <dimeotane2> 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] <dimeotane2> that command on lucid gives an error
[18:55] <rye> dimeotane2, ok, could you please try the following
[18:55] <rye> dimeotane2, shut down evolution with evolution --force-shutdown
[18:55] <rye> dimeotane2, then stop desktopcouch service -  /usr/lib/desktopcouch/desktopcouch-stop
[18:56] <rye> dimeotane2, then restart the service in the terminal as /usr/lib/desktopcouch/desktopcouch-service
[18:56] <rye> 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] <dimeotane2> desktop:~$ /usr/lib/desktopcouch/desktopcouch-stop
[18:56] <dimeotane2> Traceback (most recent call last):
[18:57] <dimeotane2>   File "/usr/lib/desktopcouch/desktopcouch-stop", line 25, in <module>
[18:57] <dimeotane2>     local_exec = local_files.COUCH_EXEC_COMMAND + ["-k"]
[18:57] <dimeotane2> AttributeError: 'module' object has no attribute 'COUCH_EXEC_COMMAND'
[18:57] <dimeotane2> it seems there was an error on the second step
[18:59] <dimeotane2> 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] <dimeotane2> I guess that means it still has to sync
[18:59] <dimeotane2> the system is updated.. perhaps I should reboot again?
[19:03] <rye> dimeotane2, yes, stop script is not yet fixed on lucid, true, could you please then ps auxw | grep [d]esktopcouch-service ?
[19:03] <rye> dimeotane2, one more, could you please write my nick (rye) before/after response so that I get a notification of the message?
[19:09] <dimeotane2> yup
[19:10] <dimeotane2> 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] <dimeotane2> rye: that's after running  ps auxw | grep [d]esktopcouch-service
[19:12] <rye> dimeotane2, hm, ok , it looks we need to shut down desktopcouch-service completely first
[19:12] <dimeotane2> 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] <dimeotane2> 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] <rye> dimeotane2, hm, i don't think reboot will present more info on this
[19:18] <dimeotane2> rye: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html <-- when I open this it fails to connect
[19:18] <dimeotane2> (with my username etc)
[19:18] <rye> dimeotane2, ok, that means that couchdb has not started properly
[19:19] <rye> dimeotane2, let's kill it completely first, then start it again
[19:21] <dimeotane2> 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] <rye> dimeotane2, re: files - firing up my vm to check this
[19:22] <rye> dimeotane2, hm, when do you get that error? I mean after what?
[19:22] <dimeotane2> rye:   before starting I did :  /usr/lib/desktopcouch/desktopcouch-stop
[19:22] <dimeotane2> and ps auxw | grep [d]esktopcouch-service
[19:23] <rye> dimeotane2, the stop script is broken for Lucid, so that it won't stop the service
[19:23] <dimeotane2> after those i ran: /usr/lib/desktopcouch/desktopcouch-service
[19:23] <rye> that's why i guess it will need to be 'killall beam.smp; killall desktopcouch-service'
[19:23] <dimeotane2> rye: which gave the error
[19:23] <dimeotane2> ok will try that
[19:24] <dimeotane2> time to relax
[19:24] <dimeotane2> that ran
[19:24] <dimeotane2> crap an error.. it crashed
[19:24] <dimeotane2> trying again
[19:26] <dimeotane2> rye: it asks for user and pass when I navigate to the html file
[19:27] <rye> 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] <dimeotane2> yup
[19:28] <dimeotane2> rye: when I start it it says:  Removing stale, deceptive pid file.
[19:28] <dimeotane2> Apache CouchDB has started, time to relax.
[19:28] <dimeotane2> Browse your desktop CouchDB at file:///home/matt/.local/share/desktop-couch/couchdb.html
[19:28] <dimeotane2> Segmentation fault (core dumped)
[19:28] <rye> wow
[19:28] <rye> that's something new
[19:28] <rye> can you please check that 'beam.smp' is running ?
[19:29] <dimeotane2> rye: whats the command?
[19:29] <rye> dimeotane2, if that is running then it means that desktopcouch service has actually crashed
[19:29] <rye> dimeotane2, ps auxw | grep [b]eam.smp
[19:29] <dimeotane2> rye: it seems to be running
[19:30] <dimeotane2> rye: I'm gonna reboot to see if it fixes anything.. I'll be back in a minute
[19:30] <rye> dimeotane2, ok, is " ps auxw | grep [d]esktopcouch-service  " returning anything ?
[19:30] <dimeotane2> rye: no it doesn't
[19:30] <rye> dimeotane2, 'cause if it does then it means that python service has crashed which is really bad
[19:40] <dimeotane2> 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] <rye> dimeotane2, are you running Lucid with all updates applied?
[19:41] <dimeotane2> rye: yup
[19:42] <dimeotane2> rye: not proposed or backports for my software sources.. should I
[19:42] <rye> dimeotane2, good, so I believe we might need to run python under debugger
[19:42] <dimeotane2> rye: those are not selected.. should I have?
[19:43] <rye> dimeotane2, you might try, but I believe that there is no backports since there is no "newer" version than Lucid is
[19:43] <dimeotane2> rye: makes sense
[19:44] <dimeotane2> 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] <rye> dimeotane2, i believe since there is no segfault reports in desktopcouch then this may not be fixed by updates
[19:47] <rye> dimeotane2, therefore it is better to catch it early
[19:48] <dimeotane2> rye: are you on the ubuntone developer team?
[19:48] <rye> dimeotane2, i am in online services, more like a support engineer
[19:49] <dimeotane2> 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] <rye> dimeotane2, i want to see it running as well
[19:50] <rye> i am now testing what steps you will need to perform to debug this
[19:57] <rye> dimeotane2, ok, first of all it will be helpful to install python-dbg package
[19:58] <dimeotane2> rye:  k
[19:59] <rye> then you will need to run python under debugger: gdb /usr/bin/python
[20:01] <dimeotane2> rye: ready
[20:02] <rye> this will start the debugger, you will get (gdb) prompt
[20:02] <rye> paste "set args /usr/lib/desktopcouch/desktopcouch-service" there and press enter
[20:03] <rye> before that make sure that beam.smp is not running, i.e. killall beam.smp to be sure
[20:04] <dimeotane2> rye: ok
[20:05] <rye> dimeotane2, ok, now type "run" and see what happens
[20:05] <rye> you can copy and paste the output of the terminal to paste.ubuntu.com so that I could guide you better
[20:06] <dimeotane2> rye: http://paste.ubuntu.com/381156/
[20:07] <rye> dimeotane2, great, now type "bt" and press enter
[20:07] <rye> this will display the backtrace
[20:09] <dimeotane2> rye: http://paste.ubuntu.com/381160/
[20:11] <rye> 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] <dimeotane2> rye: ok
[20:12] <rye> dimeotane2, now could you please kill beam.smp again and install debug package for dbus
[20:13] <rye> searching for the one...
[20:17] <rye> heh, there is no one
[20:31] <rye> dimeotane2, ok, are you able to open seahorse i.e. Applications/Accessories/Passwords and Encryption Keys
[20:42] <dimeotane2> rye ok
[20:43] <dimeotane2> rye: I'm in there
[20:50] <duanedesign> hello dimeotane2
[20:50] <dimeotane2> hi
[20:50] <duanedesign> getting Lucid sorted out :)
[20:51] <dimeotane2> yup
[20:51] <dimeotane2> rye: still there?
[20:57] <rye> 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] <rye> dimeotane2, regarding seahorse - are you able to open key for ubuntuone authentication?
[20:58] <dimeotane2> rye: i see the ubuntuone token.. it's there
[20:58] <dimeotane2> rye: what should I see or which tab should I check?
[20:59] <rye> 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] <rye> i'm just wondering what can be that different in our setups
[20:59] <dimeotane2> rye: applications paths and permissions are blank.. is that ok?
[20:59] <rye> we got the backtrace but that leads us to gnome-keyring...
[21:00] <dimeotane2> I can open it .. but it doesn't ask for any grant to open
[21:00] <rye> 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] <rye> ah
[21:01] <rye> wait
[21:02] <rye> dimeotane2, are there "Desktop Couch user authentication" entries?
[21:03] <dimeotane2> rye:  in seahorse theres two
[21:03] <dimeotane2> basic and oath
[21:03] <dimeotane2> oauth
[21:04] <rye> dimeotane2, and you are able to open both and see the secret
[21:05] <rye> right?
[21:05] <dimeotane2> I can open both and see things.. but that last tab is blank in both
[21:17] <rye> 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] <dimeotane2> ok