Avant Window Navigator

awn-settings won't launch on Natty

Reported by Brian Hollenbeck on 2011-01-14
168
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Awn
Undecided
Julien Lavergne
avant-window-navigator (Ubuntu)
High
Julien Lavergne

Bug Description

Installed from Universe repo. The GUI doesn't respond or offer an error when I click on 'Dock Preferences'. In the console, running awn-settings, I get:

** Message: pygobject_register_sinkfunc is deprecated (AwnOverlay)
Traceback (most recent call last):
  File "/usr/bin/awn-settings", line 1371, in <module>
    main(sys.argv[1:])
  File "/usr/bin/awn-settings", line 1365, in main
    awnmanager = awnManagerMini(panel_id)
  File "/usr/bin/awn-settings", line 1123, in __init__
    self.createMainMenu()
  File "/usr/bin/awn-settings", line 1260, in createMainMenu
    self.PREFERENCE_PANEL
TypeError: value is of wrong type for this column

Julien Lavergne (gilir) wrote :

Confirmed.

Changed in awn:
status: New → Confirmed
Julien Lavergne (gilir) on 2011-01-14
Changed in avant-window-navigator (Ubuntu):
status: New → Confirmed
importance: Undecided → High
SolidSlash (solidslash) wrote :

I can confirm this as well. It affects both -bzr803 from natty repository version and -bzr818 from awn-testing ppa.

As a workaround until this is fixed:

- Open /usr/bin/awn-settings in a text editor, e.g.:
    gksu gedit /usr/bin/awn-settings

- On line 1255, change
    store = gtk.ListStore(str, gtk.gdk.Pixbuf, str)
 to
    store = gtk.ListStore(str, gtk.gdk.Pixbuf, int)

Works like a charm afterwards for me.

Florian

Jalil Karimov (jukarimov) wrote :

@The Compiler
Confirmed, works too.

Julien Lavergne (gilir) wrote :

Thanks for the fix. Could you provide a patch or a debdiff ? Or I'll do it later.

There you go. I've never created a patch before, so I hope this helps :)

Anyone who wants to apply the patch before a fix is released, do something like this in your terminal:

sudo patch -p0 -d /usr/bin < awn-settings.patch

Julien Lavergne (gilir) wrote :

Thanks, you can also do a more readable patch by using "diff -Nur". It's easier to review this format of patch :)

tags: added: patch
Michael Trunner (trunneml) wrote :
Julien Lavergne (gilir) wrote :

Fix commited upstream as revision 822

Changed in awn:
status: Confirmed → Fix Committed
assignee: nobody → Julien Lavergne (gilir)
milestone: none → 0.4.2
Changed in avant-window-navigator (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Julien Lavergne (gilir)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package avant-window-navigator - 0.4.1~bzr822-0ubuntu1

---------------
avant-window-navigator (0.4.1~bzr822-0ubuntu1) natty; urgency=low

  * New upstream snapshot.
   - Fix crash when launching awn-settings (LP: #702701)
   - Remove Customized Icon" item doesn't have Python binding (LP: #665847)
 -- Julien Lavergne <email address hidden> Mon, 21 Feb 2011 22:50:04 +0100

Changed in avant-window-navigator (Ubuntu):
status: In Progress → Fix Released
Povilas Kanapickas (p12) on 2013-11-05
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers