Build failure: be tolerant of missing GSettings

Bug #973518 reported by Allan LeSage on 2012-04-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Michal Hruby
Fix Released
libunity (Ubuntu)

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

Allan LeSage (allanlesage) wrote :
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) on 2012-10-05
Changed in libunity:
status: Incomplete → Fix Committed
assignee: nobody → Michal Hruby (mhr3)
Michal Hruby (mhr3) on 2012-10-05
Changed in libunity:
status: Fix Committed → In Progress
Changed in libunity:
status: In Progress → Fix Committed
description: updated
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) on 2013-09-02
Changed in libunity:
status: Fix Committed → Fix Released
milestone: none → 7.1.0
Adolfo Jayme (fitojb) on 2014-05-04
no longer affects: libunity (Ubuntu Quantal)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers