GNOME Bugzilla – Bug 431006
Addressbook location should be relative to $HOME
Last modified: 2007-08-15 04:56:29 UTC
Please describe the problem: I moved a user's home directory, then when starting evolution an error message would come up saying it could not find the addressbook. To workaround it I symlinked /home/olduser/.evolution to /home/newuser/.evolution and it started OK. After removing the symlink, Evolution seems to automatically find it in the right place. It would be good, however, if moving a user's home directory did not lead to this problem. My suggestion is to make the addressbook location be a path relative to $HOME (when possible), rather than an absolute path. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Hmm.. I can't reproduce this with a test user account. I guess it is a duplicate of #339146. Maybe an evolution process was still running in the background the whole time. *** This bug has been marked as a duplicate of 339146 ***
OK, I logged in again and get the error again that it is looking in the old directory, so that filename must be stored somewhere. Perhaps this is not a duplicate.
This is probably stored in gconf. I think it is wise to stored this relatively to ${HOME} if the resource is under ${HOME} and absolutely otherwise.
Somehow it magically works when I create an addressbook, log out, move $HOME from /home/test to /test, log in and start evolution again. I tried that with evolution 2.10.1. Ted, can you try again with 2.10.1?
I tested this with evolution 2.6 and 2.10, it turns out to be a duplicate of 425512 (aka 339146). *** This bug has been marked as a duplicate of 425512 ***