Audio-recorder doesn't run under Quantal Ubuntu distribution
Bug #1074928 reported by
Xavier Farret
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Audio Recorder |
Fix Released
|
Critical
|
moma | ||
Arch Linux |
In Progress
|
Undecided
|
moma |
Bug Description
I've just upgrade audio-recorder to 0.9.7 on quantal distrib and i've got trouble to launch it :
Error: Cannot find settings for /apps/audio-
registry. Please run "make install" as sudo or root user.
I try on a fresh quantal install, the trouble is the same. All installation are on 64bits.
Changed in audio-recorder: | |
assignee: | nobody → moma (osmoma) |
importance: | Undecided → Critical |
Changed in audio-recorder: | |
status: | New → In Progress |
Changed in archlinux: | |
assignee: | nobody → moma (osmoma) |
assignee: | moma (osmoma) → nobody |
status: | New → Incomplete |
Changed in archlinux: | |
assignee: | nobody → moma (osmoma) |
status: | Incomplete → In Progress |
summary: |
- udio-recorder doesn't run under Quantal Ubuntu distribution + Audio-recorder doesn't run under Quantal Ubuntu distribution |
To post a comment you must log in.
This bug has been fixed in version 0.9.8. recorder/ schema was visible in dconf-editor.
Audio-recorder failed to find configuration settings in DConf and exited (in version 0.9.7 of audio-recorder).
Some facts:
1) The /apps/audio-
$ dconf-editor
2) Dump of /apps/ did not returned anything for a.r when this bug was present.
$ dconf dump /apps/
3) The schema (template) was correctly installed to /usr/share/ glib-2. 0/schemas/ glib-2. 0/schemas/ *audio* glib-2. 0/schemas/ org.gnome. audio-recorder. gschema. xml
$ ls -l /usr/share/
-rw-r--r-- 1 root root 4897 Nov 4 21:43 /usr/share/
4) Gsettings list-schemas correctly reported all keys. audio-recorder audio-recorder. track audio-recorder. skype audio-recorder. players
$ gsettings list-schemas | grep -i audio
org.gnome.
org.gnome.
org.gnome.
org.gnome.
5) The user's private values for /apps/audio- recorder/ are saved to "$HOME/ .config/ dconf/user" file. It's a binary file. This file had no entries for a.r because it was never started in the actual Ubuntu-machine (with this bug). config/ dconf/user
$ ls -l $HOME/.
The error was located in src/dconf.c, function conf_get_ base_settings( ) where g_settings_ schema_ source_ lookup( ) failed to find config schema for /apps/audio- recorder/ . This schema is configured by data/org. gnome.audio- recorder. gschema. xml that is compiled and installed to the system.
This error was fixed by calling g_settings_ schema_ source_ lookup( ) and setting its last parameter to TRUE. (recursive=TRUE). schema_ source_ lookup( source, APPLICATION_ SETTINGS_ SCHEMA, TRUE);
GSettingsSchema *schema = g_settings_
Now the program correctly finds the /apps/audio- recorder/ in Gsettings (with DConf backend). User's private values (values != default) are saved to $HOME/. config/ dconf/user. And all is good.
Thanks to Yéna for making several tests to fix this bug.