Unsettings crashes after upgrade to Utopic

Bug #1385544 reported by Warren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unsettings
Fix Released
Undecided
Florian Diesch

Bug Description

The error seems to be inability to import gconf. This is probably an unsatisfied dependency, but as far as I can tell I have the required python and gconf- packages installed, including gir1.2-gconf-2.0 and python-gconf. Any idea what I might be missing?. Here's the traceback from a command line launch:

~$ unsettings

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:27:35: Junk at end of value

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:40:48: Junk at end of value

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:48:46: Junk at end of value

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:59:58: Junk at end of value

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:70:46: Junk at end of value

(unsettings:12780): Gtk-WARNING **: Theme parsing error: gtk.css:81:58: Junk at end of value
Traceback (most recent call last):
  File "/usr/bin/unsettings", line 9, in <module>
    load_entry_point('unsettings==0.08', 'console_scripts', 'unsettings')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python2.7/dist-packages/unsettings/__init__.py", line 23, in <module>
    from main import main as _main
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 29, in <module>
    import i18n, connection, backends, widgets, ui, settings, clipboard, optionfile, dialogs, themes, about, statusbar
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 23, in <module>
    import widgets, settings, backends
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 24, in <module>
    import gconf
ImportError: could not import gobject (could not find _PyGObject_API object)
~$

Florian Diesch (diesch)
Changed in unsettings:
status: New → In Progress
assignee: nobody → Florian Diesch (diesch)
Revision history for this message
Warren (wseverin) wrote :

It may be that gconf has simply disappeared after being deprecated for some time. See "Migrating from GConf to GSettings".
https://developer.gnome.org/gio/stable/ch32.html

Revision history for this message
Florian Diesch (diesch) wrote :

It seems to be a problem only when loading gconf *after* PyGObject. But I'll remove GConf support in the upcoming v0.09. I'll ry to get a first preview version ready in the next few days.

Revision history for this message
Florian Diesch (diesch) wrote :

http://www.florian-diesch.de/tmp/unsettings_0.09~pre1_all.deb should work in 14.10 except for the themes. As it didn't get much testing testing yet there may be some bugs.

Revision history for this message
Warren (wseverin) wrote :

Tried 0.09~pre1. Installs and launches OK. On clicking close, immediately after launch and having clicked on nothing else, it tells me that I've changed settings and asks whether I want to apply them before exit. Don't think I'll click 'apply' until I know what it wants to change.

Revision history for this message
Florian Diesch (diesch) wrote : Re: [Bug 1385544] Re: Unsettings crashes after upgrade to Utopic

Am Thu, 30 Oct 2014 18:11:09 -0000
schrieb Warren <email address hidden>:

> Tried 0.09~pre1. Installs and launches OK. On clicking close,
> immediately after launch and having clicked on nothing else, it tells
> me that I've changed settings and asks whether I want to apply them
> before exit. Don't think I'll click 'apply' until I know what it
> wants to change.

Do you get any output if you start it in a Terminal?

--
GtkFalse - a GUI version of /bin/false.
http://www.florian-diesch.de/software/gtkfalse/

Revision history for this message
Warren (wseverin) wrote :

I'm presently using the Adwaita theme.
From command line:

~$ unsettings

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:27:35: Junk at end of value

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:40:48: Junk at end of value

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:48:46: Junk at end of value

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:59:58: Junk at end of value

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:70:46: Junk at end of value

(unsettings:29211): Gtk-WARNING **: Theme parsing error: gtk.css:81:58: Junk at end of value
~$

Revision history for this message
Florian Diesch (diesch) wrote :

I can't reproduce this so far. Most likely it's caused by some settings having unexpected values.

Would be nice if you could install http://www.florian-diesch.de/tmp/unsettings_0.09~pre2_all.deb

On exit it should create a file 'unsettings.log' in the current folder that contains information about your current settings and how they are interpreted by Unsettings. Please attach that file.

Revision history for this message
Florian Diesch (diesch) wrote :

Sorry, forgot: You need to start Unsettings as "unsettings --debug" for this to work.

Florian Diesch (diesch)
Changed in unsettings:
status: In Progress → Fix Committed
Changed in unsettings:
status: Fix Committed → Fix Released
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.