Build failure: be tolerant of missing GSettings

Bug #973518 reported by Allan LeSage
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libunity
Fix Released
High
Michal Hruby
6.0
Fix Released
High
Unassigned
libunity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Test Case]
1. Open a terminal
2. Run `XDG_DATA_DIRS=/home python -c "from gi.repository import Unity; print Unity.LauncherFavorites.get_default();"`
   -> Verify there is no crash, just warnings

[Regression Potential]
Schema related errors.

Original description:

Discovered while setting up a Jenkins build in a clean env: if the lib isn't already installed, tests fail due to missing GSettings schemas. Ted suggests either setting up GSettings to use the local schemas or make the lib tolerant of finding none.

Upping priority as this build will appear broken until fixed.

Related branches

Revision history for this message
Allan LeSage (allanlesage) wrote :
Revision history for this message
Michal Hruby (mhr3) wrote :

The schemas it is checking are actually coming from unity, and iirc libunity deps these days on the unity-common package which has those schemas.

Changed in libunity:
status: New → Incomplete
Michal Hruby (mhr3)
Changed in libunity:
status: Incomplete → Fix Committed
assignee: nobody → Michal Hruby (mhr3)
Michal Hruby (mhr3)
Changed in libunity:
status: Fix Committed → In Progress
Changed in libunity:
status: In Progress → Fix Committed
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libunity - 6.90.0daily12.12.05-0ubuntu1

---------------
libunity (6.90.0daily12.12.05-0ubuntu1) raring; urgency=low

  [ Michael Terry ]
  * New upstream release
  * debian/control:
    - Update Vcs-Bzr
    - Build-Depend on dh-autoreconf
  * debian/rules:
    - Use dh_autoreconf

  [ Didier Roche ]
  * Automatic snapshot from revision 194 (bootstrap):
    - lp:libunity headless-tests fail (LP: #1069831)
    - Unable to use AsyncPreview.preview_ready() from python (LP: #1062331)
    - Build failure: be tolerant of missing GSettings (LP: #973518)
    - Fix incorrect printf format string: (LP: #937464)

  [ Automatic PS uploader ]
  * debian/*symbols: auto-update new symbols to released version
  * Automatic snapshot from revision 201
 -- Automatic PS uploader <email address hidden> Wed, 05 Dec 2012 09:26:32 +0000

Changed in libunity (Ubuntu):
status: New → Fix Released
Michal Hruby (mhr3)
Changed in libunity:
status: Fix Committed → Fix Released
milestone: none → 7.1.0
no longer affects: libunity (Ubuntu Quantal)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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