Bug 753944 - Missing GCONF key (/desktop/gnome/interface/monospace_font_name)
Summary: Missing GCONF key (/desktop/gnome/interface/monospace_font_name)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: monodevelop
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Christian Krause
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-14 22:05 UTC by Robert Hollencamp
Modified: 2011-11-18 22:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-18 22:24:46 UTC
Type: ---


Attachments (Terms of Use)

Description Robert Hollencamp 2011-11-14 22:05:34 UTC
Description of problem:
Trying to open a .vala file fails with an exception (The file '/home/rhollencamp/Projects/Wala/Wala/main.vala' could not be opened. Key '/desktop/gnome/interface/monospace_font_name' not found in GConf.)

Steps to Reproduce:
1. Install MonoDevelop, vala addin
2. Create new Vala project
3. Open main.vala
  
Actual results:
Exception about missing GConf key


Expected results:
File opens

Comment 1 Christian Krause 2011-11-18 18:01:51 UTC
I can't reproduce the problem. This gconf key should never be empty since it has a default in its schema set.

Please can you run the following commands as the user you have tried to start monodevelop and attach the output to this bug report?

gconftool-2 --get /desktop/gnome/interface/monospace_font_name

ls -la /etc/gconf/schemas/desktop_gnome_interface.schemas

rpm -q libgnome

rpm -V libgnome

Comment 2 Robert Hollencamp 2011-11-18 18:31:14 UTC
I booted into the live cd and checked; libgnome is not installed. I am installing to a VM right now, will check again after install / updates / etc.

Comment 3 Christian Krause 2011-11-18 19:15:19 UTC
In that case somehow the dependencies were not completely resolved during installation (or the creation of the live cd).

monodevelop requires gnome-sharp
gnome-sharp requires libgnome

Please can you check with:

rpm -V monodevelop gnome-sharp libgnome

Comment 4 Robert Hollencamp 2011-11-18 21:15:11 UTC
libgnome does indeed get installed correctly when you install MonoDevelop; the issue is you have to log out and back in in order for the schema to have been applied :)

Comment 5 Christian Krause 2011-11-18 22:24:46 UTC
Ok, thanks for the test!

So it looks like that there is no problem with monodevelop. Given the dependencies and the default value for the gconf key it seems to be OK to assume that this key exists.

I'm closing this bug report.

However, I'm a little bit worried that the default values are not seen in gconf unless the user logs out and back in again. If you could spare a minute, probably a bug report against gconf would be good.


Note You need to log in before you can comment on or make changes to this bug.