awn-manager crashes if gnome-panel is not installed

Bug #210556 reported by Fabio Henrique de Souza
18
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Undecided
Unassigned
avant-window-navigator (Ubuntu)
Fix Released
Low
Unassigned
Hardy
Fix Released
Low
Unassigned

Bug Description

Binary package hint: avant-window-navigator

The awn-manager version in Hardy makes use of the command "gnome-desktop-item-edit" (which is part of package gnome-panel) in order to add new custom launchers. If that executable doesn't exist, it crashes.

Impact:
It should be a problem on Ubuntu, but (afaik) Xubuntu hasn't gnome-panel installed and Kubuntu neither, so if someone wants to use AWN there (s)he will likely experience this problem.

Test Case:
1. Install avant-window-navigator on a Hardy box that hasn't gnome-panel installed.
2. Either start the panel, right click on an empty surface on it and press "Preferences" or directly launch "awn-manager" from the terminal (or Alt+F2).
3. Go to the "Launchers" tab and try to add a new launcher. This will result in a crash with OSError.
4. Install gnome-panel and try the same again; now it should work.

Revision history for this message
Fabio Henrique de Souza (fabiohsouza) wrote :
Revision history for this message
Mark Lee (malept) wrote :

Do you have librsvg2-bin installed?

Changed in avant-window-navigator:
status: New → Incomplete
Revision history for this message
Mark Lee (malept) wrote :

Sorry, that last comment went into the wrong bug comment field.

You need gnome-panel installed...which should be a dependency.

I should note that this dependency has been removed as of 0.2.4, but no updated packages have hit the official Ubuntu repositories yet. The Awn Testing team maintains development builds for Gutsy and Hardy in their PPA:

http://wiki.awn-project.org/DistributionGuides#Testing_Package_Archive

Changed in avant-window-navigator:
status: Incomplete → Confirmed
Changed in avant-window-navigator:
importance: Undecided → Low
Changed in awn:
status: New → Fix Released
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Marking as "Fix Released" as Intrepid has 0.2.6.

Changed in avant-window-navigator:
status: Confirmed → Fix Released
Changed in avant-window-navigator:
assignee: nobody → rainct
importance: Undecided → Low
status: New → In Progress
description: updated
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Attaching the debdiff from the version currently in Hardy to the proposed one.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Candidate package uploaded to hardy-proposed. Waiting for motu-sru to decide wheter this is important enough to be SRU'ed or not...

Changed in avant-window-navigator:
assignee: rainct → nobody
status: In Progress → Confirmed
status: Confirmed → New
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

ACK from motu-sru

Changed in avant-window-navigator:
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in avant-window-navigator:
status: Confirmed → Fix Committed
Revision history for this message
Julien Lavergne (gilir) wrote :

The new version is unusable. It launch fine but crash on mouse over with this :

(avant-window-navigator:31413): GLib-GObject-WARNING **: cannot register existing type `AwnTitle'

(avant-window-navigator:31413): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

** (avant-window-navigator:31413): CRITICAL **: awn_title_show: assertion `AWN_IS_TITLE (title)' failed

Revision history for this message
Siegfried Gevatter (rainct) wrote :

And with the previous version this didn't happen? That's really strange as this revision doesn't introduces any code change.

Revision history for this message
Michael Rooney (mrooney) wrote :

Could it be that the version of gnome-panel it pulls in is not compatible in some way and is causing this issue?

Revision history for this message
Michael Rooney (mrooney) wrote :

For the record the related bug apparently caused by this update is bug #245448.

Revision history for this message
Casey J Peter (caseyjp1) wrote :

Its buggered here as well. downgrading navigator/manager/libawn0 is the temp. work around. The updated version just locks up after initial load on my system.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Marking bug #245448 and it's duplicates (which all refer to the error about which Julien informed) as a duplicate of this bug.

I spoke together with gilir with an upstream developer, and we found out that OpenSolaris has/had the same issue, see bug #157615.

Revision history for this message
Michael Rooney (mrooney) wrote :

Siegfried, unless I misunderstand, you are quite wrong. This bug was about an awn-manager crash which required gnome-panel to be installed. A fix (an added dependency) was put in -proposed, which caused the bugs you altered, but fixed this one. The FIX of this bug CAUSED the others, however this bug is COMPLETELY different the others. They are chronologically related but that does not make them duplicates.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Uhm... I've just asked in #ubuntu-bugs and they told me there that, like I though, while the problem is only in hardy-proposed it should be handled in the SRU bug. Although now that I think about it I have to agree with you that as the problem is not caused directly by the SRU but just by rebuilding the version which is currently in hardy, it may well be a bug for itself :).

Anyway, the important thing is not what the bug number is, but to fix the actual issue. Any idea?

Revision history for this message
moonbeam (rcryderman) wrote :

Siegfried,

It _might_ be useful to read https://bugs.launchpad.net/awn/+bug/245448/comments/6 in https://bugs.launchpad.net/awn/+bug/245448 by Mark Lee.

That might resolve the issue. If it does resolve it then I guess you can just chalk it up to some change in the Ubuntu build process/environment that begain exposing the issue.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I've just uploaded a new revision which should fix the problem, using the solution proposed by Mark Lee on bug #245448. I uploaded it to my PPA first, and Julien (on IRC) and yakirari confirmed that it works (thanks!).

I'm attaching a debdiff against avant-window-navigator_0.2.1-0ubuntu2.1 (the version which is currently in hardy-proposed).

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Looks sane to me...

ACK

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Siegfried, it seems it should be fixed in Intrepid too (bug #245448). Mind have a look at it?

Changed in avant-window-navigator:
status: Fix Committed → Confirmed
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Afaiu, that bug is about the (old) version in hardy-proposed only. The version in Intrepid already has the fix.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in avant-window-navigator:
status: Confirmed → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

I'm able to reproduce the crash, this is fixed after installing gnome-panel.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in avant-window-navigator:
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.