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 528336 - configuration variable is not initialized in tracker-configuration.c
configuration variable is not initialized in tracker-configuration.c
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Preferences
unspecified
Other All
: Normal major
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2008-04-16 01:35 UTC by Joshua Gerrish
Modified: 2008-04-24 03:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to initialize configuration (580 bytes, patch)
2008-04-16 01:38 UTC, Joshua Gerrish
none Details | Review

Description Joshua Gerrish 2008-04-16 01:35:31 UTC
Please describe the problem:
Running tracker-properties fails to load the tracker properties from the config file because the GKeyFile configuration variable is not initialized.

Steps to reproduce:
1. Create new configuration by running trackerd
2. Run tracker-properties
3. Many glib assertion errors about g_key_file* functions


Actual results:
The preference window only shows the default configuration.  Any changes to the config file are not loaded.

Expected results:
The preference window only shows the default configuration.  Any changes to the config file are not loaded.

Does this happen every time?
Yes

Other information:
Small patch that fixes this issue is attached
Comment 1 Joshua Gerrish 2008-04-16 01:38:27 UTC
Created attachment 109349 [details] [review]
Patch to initialize configuration
Comment 2 Tshepang Lekhonkhobe 2008-04-17 11:23:44 UTC
Thanks so much for this patch for it fixes such a long-standing problem for me, if applied with #528339.
Comment 3 Jamie McCracken 2008-04-24 03:30:59 UTC
Added to svn - thanks