Bug 663943

Summary: [abrt] exaile-0.3.2.0-2.fc14: tray.py:156:update_menu:UnboundLocalError: local variable 'stock_id' referenced before assignment
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: exaileAssignee: Deji Akingunola <dakingun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dakingun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bcc86e82
Fixed In Version: exaile-0.3.2.1-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-04 17:17:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Raphael Groner 2010-12-17 13:08:38 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: python /usr/lib/python2.7/site-packages/exaile/exaile.py --datadir=/usr/share/exaile/data --startgui --start-minimized
component: exaile
executable: /usr/lib/python2.7/site-packages/exaile/exaile.py
kernel: 2.6.35.9-64.fc14.x86_64
package: exaile-0.3.2.0-2.fc14
reason: tray.py:156:update_menu:UnboundLocalError: local variable 'stock_id' referenced before assignment
release: Fedora release 14 (Laughlin)
time: 1292591169
uid: 500

backtrace
-----
tray.py:156:update_menu:UnboundLocalError: local variable 'stock_id' referenced before assignment

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/exaile/xlgui/tray.py", line 255, in on_button_press_event
    self.update_menu()
  File "/usr/lib/python2.7/site-packages/exaile/xlgui/tray.py", line 156, in update_menu
    playpause_image.set_from_stock(stock_id, gtk.ICON_SIZE_MENU)
UnboundLocalError: local variable 'stock_id' referenced before assignment

Local variables in innermost frame:
current_track: 'Love Will Find A New Day (Estigma remix)' from 'Unbekannt' by 'Atlantic Drift feat Vee'
playpause_image: <gtk.Image object at 0x28dd730 (GtkImage at 0x2b732f0)>
self: <TrayIcon object at 0x28da0a0 (GtkStatusIcon at 0x2b20aa0)>

How to reproduce
-----
1. Right click on systray icon
2.
3.

Comment 1 Raphael Groner 2010-12-17 13:08:41 UTC
Created attachment 469357 [details]
File: backtrace

Comment 2 Raphael Groner 2010-12-18 12:24:10 UTC
Package: exaile-0.3.2.0-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Right click on systray icon
2.
3.


Comment
-----
crash happened again when right click on the systray icon

Comment 3 Fedora Update System 2011-03-04 15:41:18 UTC
Package exaile-0.3.2.1-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing exaile-0.3.2.1-1.fc14'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/exaile-0.3.2.1-1.fc14
then log in and leave karma (feedback).

Comment 4 Raphael Groner 2011-03-04 17:17:58 UTC
In the meanwhile, I am using Fedora 14 without Exaile. So I am not able to reproduce and closing this bug.

Comment 5 Fedora Update System 2011-03-28 19:31:19 UTC
exaile-0.3.2.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.