it gives: mail-notification ** (mail-notification:5725): WARNING **: cannot find default value of configuration key "/apps/mail-notification/tooltip-mail-summary-limit" ** (mail-notification:5725): WARNING **: cannot find default value of configuration key "/apps/mail-notification/popups/expiration/delay-2" ** (mail-notification:5725): WARNING **: cannot find default value of configuration key "/apps/mail-notification/fallback-charsets" ** (mail-notification:5725): WARNING **: cannot find default value of configuration key "/apps/mail-notification/popups/expiration/delay-2" and it popped up a window about wrong default mail notification installation Reproducible: Always
I see the same on AMD64. Downgrading to 5.0-r1 fixes the problem.
This seems to work fine for me (on amd64), and checking with gconf-editor shows me that I do have all of those keys. I would assume that mail-notification would just install the defaults if they are not there. Normally these new keys should be in the updated gconf schema file which should be located in /etc/gconf/schemas/mail-notification.schemas. Did this file get updated during installation? Does it contain the new keys (eg the tooltip-mail-summary-limit key at the end of the file)?
the file /etc/gconf/schemas/mail-notification.schemas does not exist. /usr/share/gconf/schemas/mail-notification.schemas has yhe key tooltip-mail-summary-limit.
as user had to run: gconftool-2 --install-schema-file=//usr/share/gconf/schemas/mail- notification.schemas
Comment 4 fixed the problem for me. Is this an upstream problem or an omission from the ebuild?
Comment 4 didn't fix the problem for me.
(In reply to comment #4) > as user had to run: > gconftool-2 --install-schema-file=//usr/share/gconf/schemas/mail- > notification.schemas > Worked for me. Köszi a tippet. :)
For those of you that had or have this problem, could you include the output of gconftool-2 --get-default-source
It would also be useful to know the output of the following command: bzgrep GNOME2_ECLASS_SCHEMAS /var/db/pkg/mail-client/mail-notification-5.2*/environment.bz2
xml:merged:/etc/gconf/gconf.xml.defaults and GNOME2_ECLASS_SCHEMAS= if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then for F in ${GNOME2_ECLASS_SCHEMAS}; export GNOME2_ECLASS_SCHEMAS=$(find 'etc/gconf/schemas/' -name '*.schemas' 2> /dev/null); if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then for F in ${GNOME2_ECLASS_SCHEMAS}; declare -x GNOME2_ECLASS_SCHEMAS="" respectively. Let me know if you need anything else. :-)
The issue might be the one mentioned on the projects homepage: "A crash affecting Evolution mailboxes on 64-bit systems has been fixed." which seems to be fixed in 5.3. But perhaps not, since I don't have any Evolution mailboxes. I haven't the new version yet though, waiting for it to get into portage.
(In reply to comment #11) > The issue might be the one mentioned on the projects homepage: > "A crash affecting Evolution mailboxes on 64-bit systems has been fixed." No, that crash is completely unrelated to this issue and fixed in 5.2-r1.
(In reply to comment #11) > The issue might be the one mentioned on the projects homepage: > "A crash affecting Evolution mailboxes on 64-bit systems has been fixed." > > which seems to be fixed in 5.3. But perhaps not, since I don't have any > Evolution mailboxes. I haven't the new version yet though, waiting for it to > get into portage. > Comment 4 fixed the issue for me, thanks! Just wished I had looked at the bugzilla two weeks ago ;)
The problem still exists in mail-notification-5.3. It would be nice if someone could rename this bug, e.g. >mail-notification-5.0-r1 : default configuration is not installed correctly. comment #4 fixed it for me ( @ those for whom the fix does not work : execute as the correct user ) The problem seems to be the wrong installation path of the schemas file(s).
For those of you who have or had this problem, please try to provide the information in comment 8 and comment 9 so that we can work towards a solution. Even though the command in comment 4 solves the problem, it is not the solution we should be looking for in the ebuild, since the files should not be in /usr/share in the first place.
(In reply to comment #15) gconftool-2 --get-default-source is correct ( /etc/... ). Probably its a bug in the -propietary- build system of mail-notification. The function which sets the value is in jbsrc/lib/src/core/jb-feature.c : static void gconf_configure (void) { JBVariable *variable; jb_require_program("gconftool-2"); if (! strcmp(jb_variable_get_string("gconf-config-source"), "autodetect")) { char *config_source; if (! jb_exec_expand(&config_source, NULL, "$gconftool-2 --get-default-source", NULL)) jb_error("unable to detect the GConf configuration source address"); jb_variable_set_string("gconf-config-source", config_source); g_free(config_source); } /* fix the default schemas dir on Ubuntu */ variable = jb_variable_get_variable_or_error("gconf-schemas-dir"); if (! variable->user_set) { static const char *ubuntu_dir = "$datadir/gconf/schemas"; char *expanded; expanded = jb_variable_expand(ubuntu_dir, NULL); if (g_file_test(expanded, G_FILE_TEST_IS_DIR)) jb_variable_set_string("gconf-schemas-dir", ubuntu_dir); g_free(expanded); } } I assume the bug is in there - either the correct value doesnt get set in the first part or the value gets overwritten in the ubuntu part in any case. Rant : I really wonder why someone writes his own brand new build system for such a tiny app. It has no chance of becoming a standard ( autotools are the standard / cmake maybe will be a standard, jbsrc never will be a standard ) imposing additional work on distributions / maintainers.
(In reply to comment #15) > For those of you who have or had this problem, please try to provide the > information in comment 8 and comment 9 so that we can work towards a solution. > Even though the command in comment 4 solves the problem, it is not the solution > we should be looking for in the ebuild, since the files should not be in > /usr/share in the first place. > I am using mail-notification-5.3 right now, but 5.2 needed this workaround to work. Here comes the info you asked. xml:merged:/etc/gconf/gconf.xml.defaults GNOME2_ECLASS_SCHEMAS= if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then for F in ${GNOME2_ECLASS_SCHEMAS}; export GNOME2_ECLASS_SCHEMAS=$(find 'etc/gconf/schemas/' -name '*.schemas' 2> /dev/null); if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then for F in ${GNOME2_ECLASS_SCHEMAS}; declare -x GNOME2_ECLASS_SCHEMAS=""
I've just added mail-notification 5.4 to the tree. In this version I've removed the ubuntu special case code mentioned in comment 16. I hope that this fixes the problem, but I would like to get some feedback on that from people who had the earlier problems. Note that the problem may not be obvious as you already installed the correct schema files manually, so the thing to look for is to see where emerge places the schema files. You should see this among the files: >>> /etc/gconf/schemas/mail-notification.schemas If you see this file being installed in /usr/share then it would be helpful if you could attach a full build log to the bug.
(In reply to comment #18) > I've just added mail-notification 5.4 to the tree. In this version I've removed > the ubuntu special case code mentioned in comment 16. I hope that this fixes > the problem, but I would like to get some feedback on that from people who had > the earlier problems. > > Note that the problem may not be obvious as you already installed the correct > schema files manually, so the thing to look for is to see where emerge places > the schema files. You should see this among the files: > > >>> /etc/gconf/schemas/mail-notification.schemas > > If you see this file being installed in /usr/share then it would be helpful if > you could attach a full build log to the bug. > mail-notification 5.4 now works fine for me - schemas file is where it belongs.
(In reply to comment #19) > mail-notification 5.4 now works fine for me - schemas file is where it belongs. Same here!