Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Fedora F16 (with XFCE rather than Gnome 3) and ever since I installed it I've been getting errors like this one whenever I run GUI software from the terminal:

(file-roller:4828): Gtk-CRITICAL **: gtk_style_provider_get_style_property: assertion `g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed
(file-roller:4828): Gtk-CRITICAL **: gtk_style_provider_get_style_property: assertion `g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed
(file-roller:4828): Gtk-CRITICAL **: gtk_style_provider_get_style_property: assertion `g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed
(file-roller:4828): Gtk-CRITICAL **: gtk_style_provider_get_style_property: assertion `g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed

This particular error was from opening a zip file using gnome-open, while opening gedit gives no error on launch, but the following error on every save operation:

** (gedit:4900): CRITICAL **: gedit_spell_checker_language_to_key: assertion `lang != NULL' failed

I'm not 100% sure they're related, but I've been getting a lot of these and it seems basically any GUI program is likely to have one or more "CRITICAL" error before starting up so something fundamental seems to be broken somewhere I just don't even know where to start. Does anyone have any ideas of how to track this down?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

in the gedit preferences, under plugins, under the spell check plugin, do you have a list of languages to select from?

If not, you may need to verify that all the dependent packages are installed. ( pango and/or aspell-en (for engligh) )

As for the file-roller errors, what version of gnome libraries are being used by xfce?

You mention that this problem has occured since installation... do you mean the installation of fedora 16, or the installation of XFCE. if the latter, can you switch to gnome3 and see if the error persists?

If it doesn't, use strace to follow the system calls of file-roller under XFCE or under Gnome3, and see if they're calling the same libraries, or if one or the other has a lot of ENOENT statuses while looking for files.

It might be as simple as the case that there is a dependent package that is not properly tagged as such, and thus is not installed. Like gedit being installed without any languages.

share|improve this answer
    
Pango and Aspell-en were installed, but reinstalling them seem to have fixed the gedit problem, thanks. I'm not sure whether the error was before or after installing XFCE - I certainly didn't notice it before then, but then I didn't use it for very long before I couldn't deal with Gnome 3 anymore so I likely wouldn't have noticed. I'll give switching a go and get back to you on that. How do I check what version gnome libraries are in use? (gnome-open --version outputs GNOME gnome-url-show 2.32.1 if that's useful). –  Thor84no Nov 29 '11 at 16:32
    
That's what you're looking for. 2.32.1 would be the version. –  Tim Kennedy Nov 29 '11 at 18:34
    
Thumbs up for strace i didn't know about that program, perfect usage. –  Hanan N. Nov 29 '11 at 22:17
    
I'm getting the same problem in Gnome 3. I'll try to wade through the immense amounts of strace output some other time. –  Thor84no Nov 30 '11 at 10:38
add comment

Such messages are common with Gnome applications and do not necessarily indicate a bug. Gnome takes a dumbed-down approach to users; the intended audience won't run an application from a terminal and so won't see these messages. Redirect error output from Gnome applications to a log file if you really care, or to /dev/null otherwise.

share|improve this answer
    
Is there an equivalent to gnome-open for XFCE? I'm only using that because that's what I'm used to from Gnome 2. –  Thor84no Nov 29 '11 at 23:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.