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 419332 - gnome-about-me prints a gconf warning
gnome-about-me prints a gconf warning
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] about-me
2.18.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-17 13:02 UTC by Sebastien Bacher
Modified: 2007-04-21 19:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-03-17 13:02:34 UTC
The bug has been opened on https://launchpad.net/bugs/91069

"Binary package hint: gnome-control-center

Description of the problem:
Starting gnome-about-me from a terminal prints a gconf warning.

Steps to reproduce:
1. Start
gnome-terminal .
2. Within the terminal start
gnome-about-me .

Expected results:
No output on the terminal.

Actual results:
The following is printed on the terminal:
(gnome-about-me:7054): about-me-properties-WARNING **: e_book_get_self: there was no self contact UID stored in gconf

Version information:
Ubuntu Feisty
gnome-control-center 2.17.92-0ubuntu1
..."
Comment 1 Jens Granseuer 2007-03-18 13:39:08 UTC
This isn't a gconf warning. It's a warning issued by libebook (e-d-s) when you call e_book_get_self with no self contact created. Since there isn't any other API afaics to find out whether it is available before calling get_self(), I don't see any way we could avoid this warning. Moving to e-d-s since that is where printing that warning to the console needs to be removed.
Comment 2 Øystein Gisnås 2007-04-21 17:19:28 UTC
No, it's not a warning from libebook. Libebook has always done this the "right way" by returning a GError when no self contact exist. The warning is thrown by gnome-about-me at http://svn.gnome.org/viewcvs/gnome-control-center/trunk/capplets/about-me/gnome-about-me.c?view=annotate#l809
Comment 3 Jens Granseuer 2007-04-21 19:09:26 UTC
I stand corrected. Thanks for pointing this out. Should be fixed now.

2007-04-21  Jens Granseuer  <jensgr@gmx.net>

        * gnome-about-me.c: (about_me_setup_dialog): don't print a warning to
        the console if the "self" contact does not yet exist (closes bug
        #419332). Also fix a small memory leak