gnome-app-install crashed with AttributeError in modifyUserInterface()

Bug #189490 reported by Jim Campbell
132
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: gnome-app-install

I was attempting to plan an .avi file using Ubuntu Hardy Heron - post alpha4 with all updates applied, when I received this crash.

Please let me know if you need further information other than what is provided with the stack trace files. Thanks.

ProblemType: Crash
Architecture: i386
Date: Wed Feb 6 00:42:26 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-app-install
InterpreterPath: /usr/bin/python2.5
Package: gnome-app-install 0.5.2-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gnome-codec-install --transient-for=48234499 gstreamer|0.10|totem|Intel\ Indeo\ 5\ decoder|decoder-video/x-indeo,\ indeoversion=(int)5
ProcCwd: /home/jim
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=C
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gnome-codec-install', '--transient-for=48234499', 'gstreamer|0.10|totem|Intel Indeo 5 decoder|decoder-video/x-indeo, indeoversion=(int)5']
SourcePackage: gnome-app-install
Title: gnome-app-install crashed with AttributeError in modifyUserInterface()
Uname: Linux bleeps 2.6.24-5-generic #1 SMP Thu Jan 24 19:45:21 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video

Tags: apport-crash
Revision history for this message
Jim Campbell (jwcampbell) wrote :
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Confirming, I was just about to report the same bug.

Changed in gnome-app-install:
status: New → Confirmed
Revision history for this message
Juraj Lukac (hrasko) wrote :

Hi,
same experience here. I was about to play a wmv video file in the default video player Totem Movie Player and the error window appeared when I clicked on Search codec button.

Juraj

Revision history for this message
Megapearl (donald-flissinger) wrote :

Exactly the same here as Jaraj Lukac wrote...

Revision history for this message
sam tygier (samtygier) wrote :

i triggered it with an mp3 file in rhythmbox

Changed in gnome-app-install:
importance: Undecided → Medium
Revision history for this message
sam tygier (samtygier) wrote :

looks like a button was removed from data/gnome-app-install.glade
<widget class="GtkButton" id="button_preferences">

most of the code refering to it was also removed execpt a line in AppInstall/activation.py

the attached patch fixes this.

Michael Vogt (mvo)
Changed in gnome-app-install:
assignee: nobody → mvo
status: Confirmed → Fix Committed
Revision history for this message
tamim7 (tamimharoun) wrote :

Same here. Mp3 in Rythmbox. (after I that it should search for the codec)

Revision history for this message
Juraj Lukac (hrasko) wrote :

Hi,

it seems that Sam is right ;) I tried to comment the line

 app.button_preferences.hide()

from the activation.py file (/usr/lib/python2.5/site-packages/AppInstall/activation.py) and the searching for suitable codecs from Totem Movie Player went without any error. The application found some codecs, which I didn'y try to install, but anyway, the crash did not appear since the line is commented.

Somehow the patch didn't work for me when I tried to apply it with the 'patch' command, so I commented the line manually.

Thank you Sam ;)

Juraj

Revision history for this message
tamim7 (tamimharoun) wrote :

Yes, it worked for me too :)
I was also able to search for the codecs (which I chose to install), then play my file without any problems.

Thanks!

Revision history for this message
Stuart Guest (sguest) wrote :

Worked for me as well -- no problems now.

Many thanks!

Revision history for this message
Dennis Heinson (dheinson) wrote :

Same problem. Will the fix come through the repository?

Revision history for this message
igle (igle20) wrote :

It worked for me too!!Thanks!

Revision history for this message
sam tygier (samtygier) wrote :

Dennis, the status is set to fix committed. this means the developer has fixed the code. now we just need to wait for the fixed version to be released. there may not be a new version just to fix this single bug. most likely the dev will fix other things as well before making the release.

so it could be a few days or weeks before a new version reaches the repos.

Revision history for this message
sam tygier (samtygier) wrote :

seems that the fix is in th current version.

Changed in gnome-app-install:
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.