ERROR: Settings schema 'org.gnome.SimpleScan' does not contain a key named 'brightness'

Bug #1119227 reported by Michael Nagel
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Simple Scan
Invalid
Undecided
Unassigned

Bug Description

I grabbed the trunk today from bzr and built it on my Fedora 17 system. Reason? the version in the Fedora repos (simple-scan-3.4.1-1.fc17) is old and buggy.

I also grabbed the Fedora source RPM and looked at the .spec file to figure out build dependencies.

Then I built as per the README.md. The build seemed fine. But when I run it:

$ ./install/bin/simple-scan --debug
[+0.04s] DEBUG: simple-scan.vala:582: Starting Simple Scan 3.6.0, PID=12918
[+0.04s] DEBUG: Connecting to session manager
[+0.11s] WARNING: g_object_set_valist: invalid object type `GtkAdjustment' for value type `GtkWidget'
[+0.12s] ERROR: Settings schema 'org.gnome.SimpleScan' does not contain a key named 'brightness'
Trace/breakpoint trap (core dumped)

I don't know what that means. Where are these settings? Why are they indigestible? What should I do to make it work?

Revision history for this message
Robert Ancell (robert-ancell) wrote :

(Answered in the question)

Changed in simple-scan:
status: New → Invalid
Revision history for this message
Dan S. (dan4launchpad) wrote :

Similar issue building on Arch trying to follow the directions. For me (4 years later) it's missing 'page-delay'. What was the resolution to this bug? If it's a user config issue, what's missing? Thanks!

Revision history for this message
Robert Ancell (robert-ancell) wrote :

You need to set the XDG_DATA_DIRS environment variable to point to the updated schema. In the case above you would need:

$ XDG_DATA_DIRS=install/share:$XDG_DATA_DIRS ./install/bin/simple-scan

Revision history for this message
Dan S. (dan4launchpad) wrote :

Thank you, that works!

When I first tried building, I was running a command to `set` XDG_DATA_DIRS, which didn't work. For others' future reference, it will work if you `export` the variable.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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