After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 431006 - Addressbook location should be relative to $HOME
Addressbook location should be relative to $HOME
Status: RESOLVED DUPLICATE of bug 425512
Product: evolution
Classification: Applications
Component: Contacts
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-04-18 13:17 UTC by Ted Percival
Modified: 2007-08-15 04:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Ted Percival 2007-04-18 13:17:56 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:
Comment 1 Ted Percival 2007-04-18 13:28:19 UTC
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 ***
Comment 2 Ted Percival 2007-04-18 13:47:01 UTC
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.
Comment 3 Gilles Dartiguelongue 2007-04-20 15:04:17 UTC
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.
Comment 4 Øystein Gisnås 2007-04-21 11:49:45 UTC
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?
Comment 5 Ted Percival 2007-08-15 04:56:29 UTC
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 ***