Summary: | mail-client/evolution-2.32.1 fails to copy address book | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Allan Gottlieb <gottlieb> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | deduktionstheorem, joshua.rich, julien.sanchez, lukas.schneiderbauer, per, rose |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=634897 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 339225 |
Description
Allan Gottlieb
2010-12-07 19:11:10 UTC
Yeah, I already got this but forgot the problem since only affects me when clicking in "contacts" and, since I only use "Mail" view most of the times :-/ I would probably try to apply this patch to evolution as maybe it would help: http://git.gnome.org/browse/evolution/commit/?h=gnome-2-32&id=d3d6d96ed54b29787d79863e4808dbaab56a0f02 But I don't have much time right now (and my dev machine gets a lot of time to build evolution) then, I would highly appreciate if you could test if it works for you or we should research a bit more :-) Thanks a lot (In reply to comment #1) > Yeah, I already got this but forgot the problem since only affects me when > clicking in "contacts" and, since I only use "Mail" view most of the times :-/ > > I would probably try to apply this patch to evolution as maybe it would help: > http://git.gnome.org/browse/evolution/commit/?h=gnome-2-32&id=d3d6d96ed54b29787d79863e4808dbaab56a0f02 > > But I don't have much time right now (and my dev machine gets a lot of time to > build evolution) then, I would highly appreciate if you could test if it works > for you or we should research a bit more :-) > > Thanks a lot > I will be away from the machine for the rest of this week, but will try the patch next tuesday. To CCed people: There are more information about this issue and possible solution on upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=634897#c2 Maybe you have time to try them :-) (In reply to comment #3) > To CCed people: > > There are more information about this issue and possible solution on upstream > bug report: > https://bugzilla.gnome.org/show_bug.cgi?id=634897#c2 > > Maybe you have time to try them :-) Pacho, could you please look at https://bugzilla.gnome.org/show_bug.cgi?id=632962 it seems that this issue has been corrected for evolution-data-server and evolution 2.32.2+. Thanks for your excellent effort. Fine, but looks like upstream has not released any 2.32.2 tarball yet :-/, I would prefer to wait a bit more before including a lot of patches for e-d-s and evolution on a new revision bump gnome-extra/evolution-data-server-2.32.1-r1 mail-client/evolution-2.32.1-r1 include all upstream patches from 2.32 branch (In reply to comment #6) > gnome-extra/evolution-data-server-2.32.1-r1 > mail-client/evolution-2.32.1-r1 > > include all upstream patches from 2.32 branch > I am now running 2.32.1-r1. I am not seeing my contacts. The system has not moved .evolution/addressbook/local/system to .local/share/evolution/addressbook/system. I can move the directory manually, but am not sure if that is the appropriate action. Please reopen this because it seems like both Allan and I are having issues still. My evolution is missbehaving using 2.32.1-r1 for evolution and evolution-data-server. I did my upgrade 2011-01-05 so i never hit the "original" bug but went directly to 2.32.1-r1 from 2.30.3. The problem I am having is that my addressbook never got moved and since evolution didn't want to delete non-empty directories I saved my adressbook in a temp-folder while deleting the now empty directories. Evolution still doen't seem to know what to do and complains that there are addressbook-files missing. So my quesition is What do I do now? Do I start over with a new evolution setup or can I fix my current manually. What do need to delete to make evolution start over completely. Is everything gathered in .local/share/evolution ? The problems you are suffering are probably caused by files don't getting properly moved to .config when updating from 2.30 to 2.32 (people coming now from 2.30 to latest 2.32 shouldn't suffer that problems). Please take a look on "evolution" messages when running in terminal, you will probably see some files are not being moved as they already exists in their new locations, then, maybe you would move ~/.evolution to ~/.evolution.old and see what happens. Maybe you will also need to "play" a bit with gconf-editor as pointed in upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=634897 (In reply to comment #9) > Maybe you will also need to "play" a bit with gconf-editor as pointed in > upstream bug report: > https://bugzilla.gnome.org/show_bug.cgi?id=634897 > I appreciate your answer but I don't believe that this is the case no more. I certainly had some iussues with things that wasn't moved correctly but I created a completely new user and tried setting up evoultion from scratch. This is what happens: 1) First time around everythings seems fine and dandy, I create my mail-account (an imap account) and nothing more. 2) I restart evolution, I now find that it hangs for a while on "Formatting message", after or during which stdout says (evolution:17082): libebook-WARNING **: e-book.c:3079: cannot activate book: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached (evolution:17082): evolution-mail-WARNING **: search_address_in_addressbooks: Unable to create addressbook 'Personal': Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached 3) I now go to contacts to see what's wrong. There I have a "Personal" addressbook "On This Computer" and after a while I get a popup saying: "This address book cannot be opened. Please check that the path /home/obergtest/.local/share/evolution/addressbook/system exists and that permissions are set to access it. Detailed error message: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached" I naturally checked the permissions and existance of mentioned file/directory but to no success. Look for example at: ls -la /home/obergtest/.local/share/evolution/ drwx------ 6 obergtest obergtest 4096 12 jan 22.09 . drwxr-xr-x 5 obergtest obergtest 4096 12 jan 22.09 .. drwx------ 3 obergtest obergtest 4096 12 jan 22.09 calendar -rw-r--r-- 1 obergtest obergtest 2595 12 jan 22.09 categories.xml drwx------ 5 obergtest obergtest 4096 12 jan 22.11 mail drwx------ 3 obergtest obergtest 4096 12 jan 22.09 memos drwx------ 3 obergtest obergtest 4096 12 jan 22.09 tasks Now, If someone want's to argue that having to use gconf-editor on a fresh user setup to make it behave correctly is NOT a bug then be my gest. =) (In reply to comment #9) > The problems you are suffering are probably caused by files don't getting > properly moved to .config when updating from 2.30 to 2.32 (people coming now > from 2.30 to latest 2.32 shouldn't suffer that problems). > > Please take a look on "evolution" messages when running in terminal, you will > probably see some files are not being moved as they already exists in their new > locations, then, maybe you would move ~/.evolution to ~/.evolution.old and see > what happens. > I (reporter of this bug) am still not able to get my addressbook and tasks since ungrading to 2.32.1. I was planing to wait for 2.32.2 (can search addressbook data with emacs, thank you text files), but comments here suggest that 2.32.1-r1 has all the fixes and I still don't get addressbook and tasks. Should I wait for 2.32.2 or is there something else to try? (I also get some duplicate "on this computer" entries, but can live with that). Should I take this question to evolution-list@gnome.org or is it appropriate here? When started from a terminal evo says Migrating cached data Migrating config data Migrating local user data rmdir /home/gottlieb/.evolution/addressbook FAILED: Directory not empty (contents follows) local rmdir /home/gottlieb/.evolution/tasks FAILED: Directory not empty (contents follows) tasks (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or out of range for property `width' of type `gdouble' (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or out of range for property `width' of type `gdouble' (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or out of range for property `width' of type `gdouble' (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' is invalid or out of range for property `width' of type `gdouble' thanks. (In reply to comment #10) > (In reply to comment #9) > > Maybe you will also need to "play" a bit with gconf-editor as pointed in > > upstream bug report: > > https://bugzilla.gnome.org/show_bug.cgi?id=634897 > > > > I appreciate your answer but I don't believe that this is the case no more. I > certainly had some iussues with things that wasn't moved correctly but I > created a completely new user and tried setting up evoultion from scratch. > > This is what happens: > This is a different problem then and you will need to open a separate bug report for it. > 1) First time around everythings seems fine and dandy, I create my mail-account > (an imap account) and nothing more. > > 2) I restart evolution, I now find that it hangs for a while on "Formatting > message", after or during which stdout says > > (evolution:17082): libebook-WARNING **: e-book.c:3079: cannot activate book: > Error calling StartServiceByName for > org.gnome.evolution.dataserver.AddressBook: Timeout was reached > > (evolution:17082): evolution-mail-WARNING **: search_address_in_addressbooks: > Unable to create addressbook 'Personal': Error calling StartServiceByName for > org.gnome.evolution.dataserver.AddressBook: Timeout was reached > > > 3) I now go to contacts to see what's wrong. There I have a "Personal" > addressbook "On This Computer" and after a while I get a popup saying: > > "This address book cannot be opened. Please check that the path > /home/obergtest/.local/share/evolution/addressbook/system exists and that > permissions are set to access it. > > Detailed error message: Error calling StartServiceByName for > org.gnome.evolution.dataserver.AddressBook: Timeout was reached" > > > I naturally checked the permissions and existance of mentioned file/directory > but to no success. Look for example at: > > ls -la /home/obergtest/.local/share/evolution/ > > drwx------ 6 obergtest obergtest 4096 12 jan 22.09 . > drwxr-xr-x 5 obergtest obergtest 4096 12 jan 22.09 .. > drwx------ 3 obergtest obergtest 4096 12 jan 22.09 calendar > -rw-r--r-- 1 obergtest obergtest 2595 12 jan 22.09 categories.xml > drwx------ 5 obergtest obergtest 4096 12 jan 22.11 mail > drwx------ 3 obergtest obergtest 4096 12 jan 22.09 memos > drwx------ 3 obergtest obergtest 4096 12 jan 22.09 tasks > > Now, If someone want's to argue that having to use gconf-editor on a fresh user > setup to make it behave correctly is NOT a bug then be my gest. =) > Obviously it's not normal is running on a new created user with latest evolution-2.32.1-r1 and latest evolution-data-server (it's also important to run latest evolution-data-server) But will go to discuss it on the new bug report ;-) (In reply to comment #11) > (In reply to comment #9) > > The problems you are suffering are probably caused by files don't getting > > properly moved to .config when updating from 2.30 to 2.32 (people coming now > > from 2.30 to latest 2.32 shouldn't suffer that problems). > > > > Please take a look on "evolution" messages when running in terminal, you will > > probably see some files are not being moved as they already exists in their new > > locations, then, maybe you would move ~/.evolution to ~/.evolution.old and see > > what happens. > > > I (reporter of this bug) am still not able to get my addressbook and tasks > since ungrading to 2.32.1. Please only try with -r1 for both: evolution and evolution-data-server > I was planing to wait for 2.32.2 (can search > addressbook data with emacs, thank you text files), but comments here suggest > that 2.32.1-r1 has all the fixes and I still don't get addressbook and tasks. > Should I wait for 2.32.2 or is there something else to try? (I also get some > duplicate "on this computer" entries, but can live with that). Should I take > this question to evolution-list@gnome.org or is it appropriate here? They will probably point yo to: https://bugzilla.gnome.org/show_bug.cgi?id=634794#c1 https://bugzilla.gnome.org/show_bug.cgi?id=632962 > > When started from a terminal evo says > > Migrating cached data > Migrating config data > Migrating local user data > rmdir /home/gottlieb/.evolution/addressbook > FAILED: Directory not empty (contents follows) > local > rmdir /home/gottlieb/.evolution/tasks > FAILED: Directory not empty (contents follows) > tasks > What does occur when you move .evolution dir to .evolution.old ? > (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' > is invalid or out of range for property `width' of type `gdouble' > > (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' > is invalid or out of range for property `width' of type `gdouble' > > (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' > is invalid or out of range for property `width' of type `gdouble' > > (evolution:3603): GLib-GObject-WARNING **: value "-3.000000" of type `gdouble' > is invalid or out of range for property `width' of type `gdouble' > These are only warnings that shouldn't cause problems :-/ (In reply to comment #12) My issue is now reported as Bug 351606 I failed to reproduce the exact same scenario but the behaviour is still strange. (In reply to comment #13) > (In reply to comment #11) > > I (reporter of this bug) am still not able to get my addressbook and tasks > > since ungrading to 2.32.1. > > Please only try with -r1 for both: evolution and evolution-data-server I should have been clearer. I did have -r1 for both. > > When started from a terminal evo says > > > > Migrating cached data > > Migrating config data > > Migrating local user data > > rmdir /home/gottlieb/.evolution/addressbook > > FAILED: Directory not empty (contents follows) > > local > > rmdir /home/gottlieb/.evolution/tasks > > FAILED: Directory not empty (contents follows) > > tasks > > > > What does occur when you move .evolution dir to .evolution.old ? The error messages do NOT appear, but I still do not have my addressbook (the files are there in the directory now called .evolution.old). After a few seconds a dialog box appears saying that there is a problem reading /home/gottlieb/.local/share/evolution/system. It wasn't there so I created it and started again with the same result, which now is an incorrect complaint that it can't read a directory that is definitely readable (by my user). Can I just copy the files from .evolution.old/addressbook/local/system/addressbook.db{, .summary} to .local/share/evolution/system or has the format of the files changed? (In reply to comment #15) > The error messages do NOT appear, but I still do not have my addressbook > (the files are there in the directory now called .evolution.old). > > After a few seconds a dialog box appears saying that there is a problem reading > /home/gottlieb/.local/share/evolution/system. > > It wasn't there so I created it and started again with the same result, which > now is an incorrect complaint that it can't read a directory that is definitely > readable (by my user). > > Can I just copy the files from > .evolution.old/addressbook/local/system/addressbook.db{, .summary} to > .local/share/evolution/system or has the format > of the files changed? > What exact error is shown in terminal and opened window showing the problem? Hi, I have this same problem on x86 (this isn't arch specific). I've just tried the latest addition to the tree, evolution-2.32.2, but the problem is the same. The problem in fact seems to be that the e-addressbook-factory process just spirals, consuming 100% CPU time of one core. If I strace the process, I get a repeated message: sched_yield() = 0 sched_yield() = 0 sched_yield() = 0 ..before the process eventually dies with: +++ killed by SIGKILL +++ It seems to be some kind of dbus interaction that's failing. So the problem is not that evolution can't move the contacts to the new location under ~/.local/share/evolution/ due to fs permissions, but it seems that e-addressbook-factory can't communicate through dbus properly, so the process fails. If I remove all evolution data from home, and configure evolution from scratch, I get the same e-addressbook timeout errors when I try and create address books and contacts. Not sure whey this bug was closed? The original bug poster, and now myself, still have no fix. Cheers, jcat (In reply to comment #16) > (In reply to comment #15) > > The error messages do NOT appear, but I still do not have my addressbook > > (the files are there in the directory now called .evolution.old). > > > > After a few seconds a dialog box appears saying that there is a problem reading > > /home/gottlieb/.local/share/evolution/system. > > > > It wasn't there so I created it and started again with the same result, which > > now is an incorrect complaint that it can't read a directory that is definitely > > readable (by my user). > > > > Can I just copy the files from > > .evolution.old/addressbook/local/system/addressbook.db{, .summary} to > > .local/share/evolution/system or has the format > > of the files changed? > > > > What exact error is shown in terminal and opened window showing the problem? > OK. Current Status: ~amd64 evolution-2.32.2, e-d-s-2.32.2, evo-python-2.32.0, evo-webcal-2-32-0. Calendar works; addressbook fails; tasks fail (I don't use evo for Mail) When I try evolution --component=addressbook evo starts and asserts "there are no items to show in this view". Some seconds later a dialog box appear saying Unable to open address book This address book cannot be opened. Please check that the path /home/gottlieb/.local/share/evolution/addressbook/system exists and that permissions are set to access it. Detailed error message: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached Note that /home/gottlieb/.local/share/evolution/addressbook/system *does* exist and I can read it. The directory is empty. I had been asked to move my ~/.evolution to ~/.evolution.old, which I did. If I move it back and try evolution --component=addressbook, the same dialog box appears but I get the following on the screen Migrating cached data Migrating config data Migrating local user data rmdir /home/gottlieb/.evolution/addressbook FAILED: Directory not empty (contents follows) local rmdir /home/gottlieb/.evolution/tasks FAILED: Directory not empty (contents follows) tasks (evolution:13026): libebook-WARNING **: e-book.c:3079: cannot activate book: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached (evolution:13026): e-utils-WARNING **: Something called e_alert_dialog_constructed() with a NULL parent window. This is no longer legal, please fix it. (In reply to comment #17) Jcat, please open a new bug report for your issues(In reply to comment #18) > (In reply to comment #16) And the same for you ;-) (In reply to comment #19) > (In reply to comment #17) > Jcat, please open a new bug report for your issues(In reply to comment #18) > > > (In reply to comment #16) > > And the same for you ;-) > I am sorry but could not quite understand all the references. I am the author of comment #18. Do you want that submitted as a new bug? thanks, allan gottlieb Yes, I think it will clarify present problems you are still suffering, thanks Is this issue anyway solved? On some computers the contact data are not copied from .evolution to .local, at some others I have the contact data under .local/share/evolution/addressbook/system/ rose@moose:/home/rose(434)$ ls -l .local/share/evolution/addressbook/system/ insgesamt 16 -rw-r----- 1 rose rose 12288 10. Mär 12:46 addressbook.db -rw-r----- 1 rose rose 164 10. Mär 12:46 addressbook.db.summary But I am not able to access them. Adressbuch konnte nicht geöffnet werden Dieses Adressbuch konnte nicht geöffnet werden. Bitte überprüfen Sie, ob der Pfad /home/rose/.local/share/evolution/addressbook/system existiert und Sie darauf zugreifen dürfen. Ausführliche Fehlernachricht: Fehler beim Aufruf von StartServiceByName für org.gnome.evolution.dataserver.AddressBook: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.gnome.evolution.dataserver.AddressBook timed out (This addressbook could not be opened. Please check, if the path ... exists and if you can access it....) I created a new user test_rose and a new evolution mail account. If seclect contacts I get the same error messages. If I try to import an vcf files with contacts in vcard format evolution crashes with: rose_test@orca ~ $ evolution (evolution:21175): evolution-network-manager-WARNING **: network_manager_check_initial_state: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files (evolution:21175): libebook-WARNING **: e-book.c:3079: cannot activate book: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached (evolution:21175): e-utils-WARNING **: Something called e_alert_dialog_constructed() with a NULL parent window. This is no longer legal, please fix it. eplugin-readdbx-Message: DBX Plugin enabled (evolution:21175): libebook-WARNING **: e-book.c:3079: cannot activate book: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached Evolution-Importer-Message: evolution-vcard-importer.c:498:Couldn't create EBook. And I think that I have the newest evolution packages: rose_test@orca ~ $ qlist -Iv evo dev-python/evolution-python-2.32.0 gnome-extra/evolution-data-server-2.32.2-r1 gnome-extra/evolution-webcal-2.32.0 mail-client/evolution-2.32.2-r3 @jurgen, if you followed the gnome 2.32 upgrade guide, please open a new bug report so as to not mix old supposedly fixed issues with yours. |