Quickly package installs GSettings schema files into the wrong location

Bug #936546 reported by Frederik Elwert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When using GSettings in an ubuntu-application app, the application runs fine when run via "quickly run" from the source directory. But when running the app installed from a quickly-generated package, it fails with this message:

GLib-GIO-ERROR **: Settings schema 'net.launchpad.yourapp' is not installed

It seems like the schema files are installed into the wrong location: While other schema files are installed into "/usr/share/glib-2.0/schemas/", quickly installs the schemas into "/usr/share/yourapp/glib-2.0/schemas/".

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quickly 11.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Sun Feb 19 22:36:31 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
PackageArchitecture: all
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
 /usr/share/quickly/templates/ubuntu-application
 /usr/share/quickly/templates/ubuntu-flash-game
 /usr/share/quickly/templates/ubuntu-pygame
 /usr/share/quickly/templates/ubuntu-cli
QuicklyTemplatesDirectories: /usr/share/quickly/templates/
SourcePackage: quickly
UpgradeStatus: Upgraded to precise on 2012-01-22 (28 days ago)

Related branches

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :
Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

I guess this issue should be handled in python-distutils-extra? I added a pretty simple function to DistUtilsExtra/auto.py that seems to do the job. Feedback appreciated (actually, this is the first time I publish a bugfix branch).

Martin Pitt (pitti)
Changed in python-distutils-extra:
status: New → Fix Committed
affects: python-distutils-extra → python-distutils-extra (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-distutils-extra - 2.32-1

---------------
python-distutils-extra (2.32-1) unstable; urgency=low

  * auto.py: Add support for installing GSettings schema files
    (*.gsettings.xml). Thanks to Frederik Elwert! (LP: #936546)
 -- Martin Pitt <email address hidden> Fri, 02 Mar 2012 17:52:08 +0100

Changed in python-distutils-extra (Ubuntu):
status: Fix Committed → Fix Released
Michael Terry (mterry)
no longer affects: quickly (Ubuntu)
no longer affects: quickly
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.