Awn

awn-settings won't launch on Natty

Bug #702701 reported by Brian Hollenbeck
168
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Undecided
Julien Lavergne
avant-window-navigator (Ubuntu)
Fix Released
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

Tags: patch
Revision history for this message
Julien Lavergne (gilir) wrote :

Confirmed.

Changed in awn:
status: New → Confirmed
Julien Lavergne (gilir)
Changed in avant-window-navigator (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Andrzej Kłapeć (solidslash) wrote :

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

Revision history for this message
The Compiler (florianbruh-deactivatedaccount) wrote :

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

Revision history for this message
Jalil Karimov (jukarimov) wrote :

@The Compiler
Confirmed, works too.

Revision history for this message
Julien Lavergne (gilir) wrote :

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

Revision history for this message
The Compiler (florianbruh-deactivatedaccount) wrote :

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

Revision history for this message
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
Revision history for this message
Michael Trunner (trunneml) wrote :
Revision history for this message
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)
Revision history for this message
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)
Changed in awn:
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.