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 519767 - Absolute filename in GConf as addressbook reference
Absolute filename in GConf as addressbook reference
Status: RESOLVED DUPLICATE of bug 540274
Product: evolution
Classification: Applications
Component: general
2.12.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-03-01 17:20 UTC by lionelaran
Modified: 2012-01-29 00:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description lionelaran 2008-03-01 17:20:43 UTC
I have change my ubuntu user name (from beluga to adelita). Since I cannot access contact because evolution looks in /home/"oldUserName"/.evolution... folder wich does not exist no more and I dont find any where I could change this 


Distribution: Ubuntu 7.10 (gutsy)
Gnome Release: 2.20.1 2007-10-19 (Ubuntu)
BugBuddy Version: 2.18.1
Comment 1 Tobias Mueller 2008-03-01 22:17:55 UTC
Uh. Evolution does indeed save the *full* path of it's addressbook in GConf, instead of using a relative one.

At least on my system, the /apps/evolution/addressbook/sources key contains a <group> tag with a "base_uri" attribute where the absolute path is saved.

This might be a design decision, although I don't see any good reason to do so right now and guess that the developers were just not aware of the fact, that some people are moving users across the filesystem. So I think this is indeed an issue. Thus marking as NEW and either close it as WONTFIX or save a relative path.

To fix your issue: Did you move your entire home directory? If so, you have a good chance, that /home/newUser/.evolution/addressbook/ exists. If so, you can edit your GConf Keys by starting the "gconf-editor" and searching for the key /apps/evolution/addressbook/sources. You will find there a reference to your old home directory which you can safely change to your new directory. Hope this helps.
Comment 2 André Klapper 2008-03-02 01:10:56 UTC
perhaps fixing bug 513951 would also fix this
Comment 3 Matthew Barnes 2008-03-02 01:50:11 UTC
Probably not but whomever submits a patch for this should be aware of bug #513951 since it may affect the solution.
Comment 4 lionelaran 2008-03-02 13:39:13 UTC
I have tried with gconf-editor but I did not find any sources ou group keys under addressbook. Thks for helping me with this
Comment 5 André Klapper 2012-01-29 00:16:42 UTC
This should have been fixed by bug 540274 comment 2.
Please reopen if I am wrong and you still have this problem.

*** This bug has been marked as a duplicate of bug 540274 ***