/srv/irclogs.ubuntu.com/2010/02/21/#ubuntuone.txt

=== elehack|afk is now known as elehack
dimeotanecan 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:08
duanedesignhello dimeotane03:21
dimeotanehi03:22
duanedesignthe tutorial you followed was this one probablly, right?  https://wiki.ubuntu.com/UbuntuOne/Tutorials/Contacts03:23
dimeotaneyes03:27
dimeotaneno keyring ever prompted for access though03:27
duanedesignok03:27
dimeotaneit seems to suggest you only need to copy your contacts and then voila in 10 minutes it will update03:28
dimeotaneam I missing something?03:28
wgrantIt Just Worked for me, but I'm running Lucid.03:28
dimeotaneok... I tried in karmic03:29
duanedesigndimeotane: first verify evololution-couchdb is installed03:29
duanedesigndimeotane: it should work in Karmic03:29
duanedesignapt-cache policy evolution-couchdb03:29
duanedesigndimeotane: ^^03:29
duanedesignrun that in a Terminal (App > Accesories > Terminal)03:30
dimeotanesays 0.3.2 is installed03:30
duanedesignyou should get a line that says: Installed: 0.3.4-0ubuntu203:30
duanedesignok03:30
dimeotaneI tried looking at the .html file in the browser but it kept asking for a username and password03:31
duanedesigndimeotane: run: killall beam.smp03:31
duanedesigndont run with sudo03:31
dimeotaneasks for keyring access03:32
duanedesignallow03:32
duanedesignthen: rm ~/.config/desktop-couch/desktop-couchdb.ini03:33
duanedesignthis 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
dimeotaneok03:33
duanedesigndbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort03:34
duanedesignnow that one will restart desktopcouch03:34
duanedesignYou can ignore messages printed by this command03:34
dimeotaneyea it gave strange message .03:37
dimeotaneok03:37
duanedesignyou should be able to see your database now at: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html03:37
duanedesignreplacing USERNAME with your username03:37
dimeotaneI'm seeing the database03:39
duanedesignok and there is a contacts database03:40
dimeotaneyes there is03:40
duanedesigndimeotane: ok, the contacts sync every 10 minutes.03:42
duanedesigndimeotane: i have a script that you can use to speed that up :) http://pastebin.ubuntu.com/380739/03:45
duanedesignif you save that to your home folder as couchport.py for example03:45
duanedesignthen run it: python couchport.py03:45
duanedesignthat should initiate a sync03:46
dimeotanei 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.getPort03:50
dimeotaneError 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:50
wgrantdimeotane: I had that for a while. Then I reinstalled for other reasons, and it all started working.03:54
dimeotaneok03:55
dimeotaneI03:55
wgrantdimeotane: Before the reinstallation, it was also failing to replicate, and downloading a lot of data reguarly in the process.03:55
duanedesigndimeotane: make sure beam has quit03:55
dimeotaneI ran your python script on karmic03:55
duanedesignps uaxxc | grep beam03:55
duanedesignafter you run killall beam.smp03:56
dimeotaneno process found03:57
duanedesignhmmm03:57
dimeotaneI installed on alpha 203:57
duanedesigndimeotane: i am starting up my Lucid install to see if i can replicate03:59
dimeotaneI've read that syncing firefox bookmarks is on the way too?04:00
duanedesigndimeotane: yes it should be really close04:04
dimeotaneOk.. I rebooted the karmic and after a ubuntuone sync theres my contacts online..  thanx!04:07
duanedesigndimeotane: ok great04:10
duanedesigndimeotane: bindwood is the name of the Firefox add on for bookmark sync04:11
dimeotaneI tried adding it today.. but the latest version of firefox can't use it04:11
dimeotanev 3.604:11
dimeotaneI 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 synced04:12
duanedesigndimeotane: looks like there is a version that works with 3.604:15
duanedesigndimeotane: 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 upgrade04:16
duanedesignif you dont have it installed, replace the last sudo apt-get upgrade with sudo apt-get install bindwood04:17
dimeotaneW: Failed to fetch http://ppa.launchpad.net/urbanape/bindwood-exp/ubuntu/dists/lucid/main/binary-i386/Packages.gz  404  Not Found04:19
duanedesigndimeotane: ha ha, i just got the same thing04:20
duanedesigndimeotane: apparently i spoke to soon. looks like the package has only been added to the Karmic repos04:21
dimeotaneduanedesign: I appreciate your help this eve regardless...04:22
dimeotaneI'04:22
dimeotaneI'll mess more with my lucid system tomorrow to try and get it to sync my contacts... but my karmic does now...04:22
dimeotanenite!04:22
duanedesigndimeotane: if you come back tommorrow there is likely to be more people here to help04:33
duanedesignif you ping 'rye' he is the Customer Support Manager for Ubuntu one. He is a tremendous help04:33
duanedesigndimeotane: nite04:33
=== hersoy is now known as ersoy
=== rmcbride__ is now known as rmcbride
=== Yorvik is now known as Yorvyk
rye.msg NickServ HELP17:10
=== rye is now known as rtgz
=== rtgz is now known as rye
=== rye is now known as rtgz
=== rtgz is now known as rye
greg-gstatik: 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:43
greg-gstatik: 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.17:48
beunogreg-g, hi!  I think jcastro is working on such a post18:04
greg-gbeuno: awesome. thanks!18:07
statikgreg-g, thanks! keep on keeping us honest :) yeah, i should blog more about this kind of stuff18:36
dimeotane2Can someone help me with getting contacts to sync on lucid?18:41
greg-gstatik: :) always. And yeah, I appreciate your views/opinions/reasons for things, so tell me about them!18:41
dimeotane2Yesterday I was helped with karmic and it worked.. but the same steps didn't seem to work on lucid.18:43
ryedimeotane2, hi. searching for yesterday's log...18:46
ryedimeotane2, 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:48
dimeotane2Yes that worked on karmic..18:49
dimeotane2do you have a guide online posted with that set of steps of removing the old ini and restarting couchdb?18:50
ryedimeotane2, were you able to log into futon (couchdb web interface)?18:50
dimeotane2yes in karmic.. I'm now trying to get my contacts (now on ubuntuone) to sync with a lucid system18:51
ryedimeotane2, These steps were posted to  http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting18:51
dimeotane2ok thanks.. I'll go take a look there18:51
ryedimeotane2, could you please describe what is the current state?18:52
ryedimeotane2, you may continue here I guess, I am running Lucid (after upgrade from Karmic) and the contacts are being replicated w/o any issue18:53
dimeotane2desktop:~$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort18:53
dimeotane2Error 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
dimeotane2that command on lucid gives an error18:53
ryedimeotane2, ok, could you please try the following18:55
ryedimeotane2, shut down evolution with evolution --force-shutdown18:55
ryedimeotane2, then stop desktopcouch service -  /usr/lib/desktopcouch/desktopcouch-stop18:55
ryedimeotane2, then restart the service in the terminal as /usr/lib/desktopcouch/desktopcouch-service18:56
ryeit 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 issue18:56
dimeotane2desktop:~$ /usr/lib/desktopcouch/desktopcouch-stop18:56
dimeotane2Traceback (most recent call last):18:56
dimeotane2  File "/usr/lib/desktopcouch/desktopcouch-stop", line 25, in <module>18:57
dimeotane2    local_exec = local_files.COUCH_EXEC_COMMAND + ["-k"]18:57
dimeotane2AttributeError: 'module' object has no attribute 'COUCH_EXEC_COMMAND'18:57
dimeotane2it seems there was an error on the second step18:57
dimeotane2I 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 arrow18:59
dimeotane2I guess that means it still has to sync18:59
dimeotane2the system is updated.. perhaps I should reboot again?18:59
ryedimeotane2, yes, stop script is not yet fixed on lucid, true, could you please then ps auxw | grep [d]esktopcouch-service ?19:03
ryedimeotane2, one more, could you please write my nick (rye) before/after response so that I get a notification of the message?19:03
dimeotane2yup19:09
dimeotane2rye: 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 collision19:10
dimeotane2rye: that's after running  ps auxw | grep [d]esktopcouch-service19:11
ryedimeotane2, hm, ok , it looks we need to shut down desktopcouch-service completely first19:12
dimeotane2rye:  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 arrow19:12
dimeotane2rye: 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:13
ryedimeotane2, hm, i don't think reboot will present more info on this19:17
dimeotane2rye: file:///home/YOURUSERNAME/.local/share/desktop-couch/couchdb.html <-- when I open this it fails to connect19:18
dimeotane2(with my username etc)19:18
ryedimeotane2, ok, that means that couchdb has not started properly19:18
ryedimeotane2, let's kill it completely first, then start it again19:19
dimeotane2rye: 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 collision19:21
ryedimeotane2, re: files - firing up my vm to check this19:21
ryedimeotane2, hm, when do you get that error? I mean after what?19:22
dimeotane2rye:   before starting I did :  /usr/lib/desktopcouch/desktopcouch-stop19:22
dimeotane2and ps auxw | grep [d]esktopcouch-service19:22
ryedimeotane2, the stop script is broken for Lucid, so that it won't stop the service19:23
dimeotane2after those i ran: /usr/lib/desktopcouch/desktopcouch-service19:23
ryethat's why i guess it will need to be 'killall beam.smp; killall desktopcouch-service'19:23
dimeotane2rye: which gave the error19:23
dimeotane2ok will try that19:23
dimeotane2time to relax19:24
dimeotane2that ran19:24
dimeotane2crap an error.. it crashed19:24
dimeotane2trying again19:24
dimeotane2rye: it asks for user and pass when I navigate to the html file19:26
ryedimeotane2, 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
dimeotane2yup19:27
dimeotane2rye: when I start it it says:  Removing stale, deceptive pid file.19:28
dimeotane2Apache CouchDB has started, time to relax.19:28
dimeotane2Browse your desktop CouchDB at file:///home/matt/.local/share/desktop-couch/couchdb.html19:28
dimeotane2Segmentation fault (core dumped)19:28
ryewow19:28
ryethat's something new19:28
ryecan you please check that 'beam.smp' is running ?19:28
dimeotane2rye: whats the command?19:29
ryedimeotane2, if that is running then it means that desktopcouch service has actually crashed19:29
ryedimeotane2, ps auxw | grep [b]eam.smp19:29
dimeotane2rye: it seems to be running19:29
dimeotane2rye: I'm gonna reboot to see if it fixes anything.. I'll be back in a minute19:30
ryedimeotane2, ok, is " ps auxw | grep [d]esktopcouch-service  " returning anything ?19:30
dimeotane2rye: no it doesn't19:30
ryedimeotane2, 'cause if it does then it means that python service has crashed which is really bad19:30
dimeotane2rye: when I check for desktopcouch to be running it returns nothing... when I run the service it gives "Segmentation fault (core dumped)"19:40
ryedimeotane2, are you running Lucid with all updates applied?19:41
dimeotane2rye: yup19:41
dimeotane2rye: not proposed or backports for my software sources.. should I19:42
ryedimeotane2, good, so I believe we might need to run python under debugger19:42
dimeotane2rye: those are not selected.. should I have?19:42
ryedimeotane2, you might try, but I believe that there is no backports since there is no "newer" version than Lucid is19:43
dimeotane2rye: makes sense19:43
dimeotane2rye: 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:44
ryedimeotane2, i believe since there is no segfault reports in desktopcouch then this may not be fixed by updates19:47
ryedimeotane2, therefore it is better to catch it early19:47
dimeotane2rye: are you on the ubuntone developer team?19:48
ryedimeotane2, i am in online services, more like a support engineer19:48
dimeotane2rye: 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
ryedimeotane2, i want to see it running as well19:49
ryei am now testing what steps you will need to perform to debug this19:50
ryedimeotane2, ok, first of all it will be helpful to install python-dbg package19:57
dimeotane2rye:  k19:58
ryethen you will need to run python under debugger: gdb /usr/bin/python19:59
dimeotane2rye: ready20:01
ryethis will start the debugger, you will get (gdb) prompt20:02
ryepaste "set args /usr/lib/desktopcouch/desktopcouch-service" there and press enter20:02
ryebefore that make sure that beam.smp is not running, i.e. killall beam.smp to be sure20:03
dimeotane2rye: ok20:04
ryedimeotane2, ok, now type "run" and see what happens20:05
ryeyou can copy and paste the output of the terminal to paste.ubuntu.com so that I could guide you better20:05
dimeotane2rye: http://paste.ubuntu.com/381156/20:06
ryedimeotane2, great, now type "bt" and press enter20:07
ryethis will display the backtrace20:07
dimeotane2rye: http://paste.ubuntu.com/381160/20:09
ryegreat! 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:11
dimeotane2rye: ok20:12
ryedimeotane2, now could you please kill beam.smp again and install debug package for dbus20:12
ryesearching for the one...20:13
ryeheh, there is no one20:17
ryedimeotane2, ok, are you able to open seahorse i.e. Applications/Accessories/Passwords and Encryption Keys20:31
dimeotane2rye ok20:42
dimeotane2rye: I'm in there20:43
duanedesignhello dimeotane220:50
dimeotane2hi20:50
duanedesigngetting Lucid sorted out :)20:50
dimeotane2yup20:51
dimeotane2rye: still there?20:51
ryedimeotane2, 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 that20:57
ryedimeotane2, regarding seahorse - are you able to open key for ubuntuone authentication?20:57
dimeotane2rye: i see the ubuntuone token.. it's there20:58
dimeotane2rye: what should I see or which tab should I check?20:58
ryedimeotane2, ok, are you able to open it and see the token itself? It should ask you whether you grant seahorse to open the key20:59
ryei'm just wondering what can be that different in our setups20:59
dimeotane2rye: applications paths and permissions are blank.. is that ok?20:59
ryewe got the backtrace but that leads us to gnome-keyring...20:59
dimeotane2I can open it .. but it doesn't ask for any grant to open21:00
ryedimeotane2, yep, probably because the application (desktopcouch-service hasn't got a chance to read the token - it crashes right before that happens)21:00
ryeah21:01
ryewait21:01
ryedimeotane2, are there "Desktop Couch user authentication" entries?21:02
dimeotane2rye:  in seahorse theres two21:03
dimeotane2basic and oath21:03
dimeotane2oauth21:03
ryedimeotane2, and you are able to open both and see the secret21:04
ryeright?21:05
dimeotane2I can open both and see things.. but that last tab is blank in both21:05
ryedimeotane2, 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 state21:17
dimeotane2ok21:21
=== wgrant_ is now known as wgrant

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