org.gnome.desktop.default-applications.gschema.xml references undefined child schema org.gnome.desktop.default-applications.at

Bug #796578 reported by Eliah Kagan
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gsettings-desktop-schemas (Debian)
Fix Released
Unknown
gsettings-desktop-schemas (Fedora)
Fix Released
Undecided
gsettings-desktop-schemas (Ubuntu)
Fix Released
Undecided
Rodrigo Moya

Bug Description

Binary package hint: gsettings-desktop-schemas

On two similar Oneiric i386 systems with gsettings-desktop-schemas 3.0.1-1ubuntu2, the following text appeared in the Terminal while upgrading libglib2.0-0 from 2.29.6-0ubuntu3 to 2.29.6-0ubuntu4 via "sudo apt-get upgrade":

Setting up libglib2.0-0 (2.29.6-0ubuntu4) ...
warning: undefined reference to <schema id='org.gnome.desktop.default-applications.at'/>

I found that the same warning message was reported as a bug in Fedora rawhide (https://bugzilla.redhat.com/show_bug.cgi?id=706078). The analysis in that bug suggested that this is due to the file /usr/share/glib2/schemas/org.gnome.desktop.default-applications.gschema.xml referring to but not defining org.gnome.desktop.default-applications.at. In Ubuntu, the corresponding file is in /usr/share/glib-2.0/schemas (same filename), and this is the case. The file specifies org.gnome.desktop.default-applications.at as a child schema of org.gnome.desktop.default-applications, but unlike the other specified child schemas, the file does not contain an entry for org.gnome.desktop.default-applications.at.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gsettings-desktop-schemas 3.0.1-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic i686
Architecture: i386
Date: Mon Jun 13 07:38:29 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110604)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.utf8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gsettings-desktop-schemas
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Stijn (stijn-redhat-bugs) wrote :

Description of problem:

Install a package that invokes glib-compile-schemas, then witness this:

  Updating : webkitgtk3-1.4.0-2.fc16.x86_64 41/181
warning: undefined reference to <schema id='org.gnome.desktop.default-applications.at'/>

Version-Release number of selected component (if applicable):

gsettings-desktop-schemas-3.0.1-1.fc16.noarch

This seems to be because /usr/share/glib2/schemas/org.gnome.desktop.default-applications.gschema.xml contains a reference to child schema 'org.gnome.desktop.default-applications.at' while no such schema ID is then defined in the rest of the file.

Note that I have on clue whatsoever about gsettings schemas, so I might be 100% wrong here.

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :
summary: - gsettings-desktop-schema's org.gnome.desktop.default-
+ gsettings-desktop-schemas's org.gnome.desktop.default-
applications.gschema.xml references undefined schema
org.gnome.desktop.default-applications.at
summary: - gsettings-desktop-schemas's org.gnome.desktop.default-
- applications.gschema.xml references undefined schema
- org.gnome.desktop.default-applications.at
+ org.gnome.desktop.default-applications.gschema.xml references undefined
+ child schema org.gnome.desktop.default-applications.at
Revision history for this message
In , Eliah (eliah-redhat-bugs) wrote :

I have produced and reported this bug in Ubuntu oneiric (see https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-schemas/+bug/796578).

Revision history for this message
In , Michal (michal-redhat-bugs) wrote :

I can confirm the same issue is existing now in Fedora 15.

This command will fail and end with coredump:
gsettings list-recursively org.gnome.desktop.default-applications

Revision history for this message
In , Michal (michal-redhat-bugs) wrote :

I forgot the output of the command

$ gsettings list-recursively org.gnome.desktop.default-applications

GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.default-applications.at' is not installed

aborting...
Aborted (core dumped)

Best regards
Michal Ambroz

Revision history for this message
In , Michal (michal-redhat-bugs) wrote :

It seems that the "at" child was already removed in the upstream:
http://mail.gnome.org/archives/commits-list/2011-May/msg03106.html

After removing the child line and compiling the schemas the error goes away.

#glib-compile-schemas /usr/share/glib-2.0/schemas
# gsettings list-recursively org.gnome.desktop.default-applications
org.gnome.desktop.default-applications.terminal exec 'gnome-terminal'
org.gnome.desktop.default-applications.terminal exec-arg '-x'

I have also checked other schemas and none of the others suffers the same issue:
#!/bin/bash
SCHEMAS=`gsettings list-schemas`
for I in $SCHEMAS ; do
 echo "=== $I ==="
 gsettings list-recursively $I

done

Best regards
Michal Ambroz

Changed in gsettings-desktop-schemas (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: New → In Progress
Changed in gsettings-desktop-schemas (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gsettings-desktop-schemas - 3.0.1-1ubuntu3

---------------
gsettings-desktop-schemas (3.0.1-1ubuntu3) oneiric; urgency=low

  * debian/patches/02_git_remove_default_apps_at.patch:
    - Add upstream patch to remove non existing child schema (LP: #796578)
 -- Rodrigo Moya <email address hidden> Thu, 23 Jun 2011 10:29:24 +0200

Changed in gsettings-desktop-schemas (Ubuntu):
status: Fix Committed → Fix Released
Changed in gsettings-desktop-schemas (Debian):
status: Unknown → Confirmed
Changed in gsettings-desktop-schemas (Debian):
status: Confirmed → Fix Released
Revision history for this message
In , Michal (michal-redhat-bugs) wrote :

Seems to be fixed in current gsettings-desktop-schemas-3.2.0-1.fc16.noarch

Best regards
Michal Ambroz

Changed in gsettings-desktop-schemas (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.