Bug 748258 - [abrt] wicd-gtk-1.7.0-9.fc16: wicd-client.py:230:_show_notification:NameError: global name 'pynotify' is not defined
Summary: [abrt] wicd-gtk-1.7.0-9.fc16: wicd-client.py:230:_show_notification:NameError...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:66b1859048c2aa68445a76e6cc6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-23 16:16 UTC by Raphael Groner
Modified: 2012-04-11 16:54 UTC (History)
1 user (show)

Fixed In Version: wicd-1.7.0-12.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-11 16:54:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Raphael Groner 2011-10-23 16:16:18 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
comment:        no connection to DBus
event_log:      2011-10-23-18:15:01> Smolt profile successfully saved
executable:     /usr/share/wicd/gtk/wicd-client.py
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         wicd-client.py:230:_show_notification:NameError: global name 'pynotify' is not defined
time:           Sun Oct 23 18:14:19 2011
uid:            1000
username:       raphael

backtrace:
:wicd-client.py:230:_show_notification:NameError: global name 'pynotify' is not defined
:
:Traceback (most recent call last):
:  File "/usr/share/wicd/gtk/wicd-client.py", line 1032, in <module>
:    main(sys.argv)
:  File "/usr/share/wicd/gtk/wicd-client.py", line 90, in wrapper
:    return func(*args, **kwargs)
:  File "/usr/share/wicd/gtk/wicd-client.py", line 1004, in main
:    tray_icon = TrayIcon(animate, displaytray=display_app)
:  File "/usr/share/wicd/gtk/wicd-client.py", line 138, in __init__
:    self.icon_info = self.TrayConnectionInfo(self, self.tr, animate)
:  File "/usr/share/wicd/gtk/wicd-client.py", line 200, in __init__
:    self.set_not_connected_state()
:  File "/usr/share/wicd/gtk/wicd-client.py", line 90, in wrapper
:    return func(*args, **kwargs)
:  File "/usr/share/wicd/gtk/wicd-client.py", line 328, in set_not_connected_state
:    self._show_notification(language['disconnected'], None, 'stop')
:  File "/usr/share/wicd/gtk/wicd-client.py", line 230, in _show_notification
:    self._last_bubble = pynotify.Notification(title, details,
:NameError: global name 'pynotify' is not defined
:
:Local variables in innermost frame:
:self: <__main__.TrayConnectionInfo object at 0x255b490>
:image: 'stop'
:details: None
:title: 'Verbindung getrennt'

smolt_data:
:
:
:Allgemein
:=================================
:UUID: 7fee13cf-414a-463f-b3a7-e2d05d564eec
:OS: Fedora release 16 (Verne)
:Standard-Runlevel: Unknown
:Sprache: de_DE.utf8
:Plattform: x86_64
:BogoMIPS: 2996.64
:CPU-Anbieter: GenuineIntel
:CPU-Modell: Intel(R) Atom(TM) CPU N550   @ 1.50GHz
:CPU-Stepping: 10
:CPU Familie: 6
:CPU-Modellnummer: 28
:Anzahl der CPUs: 4
:CPU-Geschwindigkeit: 1500
:Systemspeicher: 1995
:System-Swap: 1999
:Anbieter: ASUSTeK Computer INC.
:System: 1215P x.x
:Form-Faktor: Notebook
:Kernel: 3.1.0-0.rc10.git0.1.fc16.x86_64
:SELinux aktiviert: 1
:SELinux-Richtlinie: targeted
:SELinux erzwingen: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Geräte
:=================================
:(32902:10172:4163:33709) pci, None, PCI/ISA, NM10 Family LPC Controller
:(5772:43:6715:4233) pci, ath9k, NETWORK, AR9285 Wireless Network Adapter (PCI-Express)
:(32902:40977:4163:33862) pci, i915, VIDEO, N10 Family Integrated Graphics Controller
:(32902:40978:4163:33862) pci, None, VIDEO, N10 Family Integrated Graphics Controller
:(32902:10192:4163:33709) pci, pcieport, PCI/PCI, N10/ICH 7 Family PCI Express Port 1
:(32902:10194:4163:33709) pci, pcieport, PCI/PCI, N10/ICH 7 Family PCI Express Port 2
:(6505:8290:4163:33896) pci, atl1c, ETHERNET, AR8152 v2.0 Fast Ethernet
:(32902:10200:4163:33820) pci, snd_hda_intel, MULTIMEDIA, N10/ICH 7 Family High Definition Audio Controller
:(32902:10196:4163:33709) pci, pcieport, PCI/PCI, N10/ICH 7 Family PCI Express Port 3
:(32902:10202:4163:33709) pci, i801_smbus, SERIAL, N10/ICH 7 Family SMBus Controller
:(32902:9288:4163:33709) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:10177:4163:33709) pci, ahci, STORAGE, N10/ICH7 Family SATA AHCI Controller
:(32902:10185:4163:33709) pci, uhci_hcd, USB, N10/ICH 7 Family USB UHCI Controller #2
:(32902:10184:4163:33709) pci, uhci_hcd, USB, N10/ICH 7 Family USB UHCI Controller #1
:(32902:40976:4163:33708) pci, agpgart-intel, HOST/PCI, N10 Family DMI Bridge
:(32902:10186:4163:33709) pci, uhci_hcd, USB, N10/ICH 7 Family USB UHCI Controller #3
:(32902:10187:4163:33709) pci, uhci_hcd, USB, N10/ICH 7 Family USB UHCI Controller #4
:(32902:10188:4163:33709) pci, ehci_hcd, USB, N10/ICH 7 Family USB2 EHCI Controller
:
:
:Dateisysteminformationen
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sda1 / ext4 4096 4096 2015852 944812 842412 512064 363088 363088
:/dev/sda3 /home ext4 4096 4096 11903066 892733 288087 3025120 2964364 2964364
:

Comment 1 Raphael Groner 2011-10-23 16:17:25 UTC
Package: wicd-gtk-1.7.0-9.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
no connection to DBus

Comment 2 Raphael Groner 2011-10-23 19:25:39 UTC
Package: wicd-gtk-1.7.0-9.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
no connection to DBus

Comment 3 Raphael Groner 2011-10-23 19:46:30 UTC
Maybe add notify-python as a package dependency.

Comment 4 David Cantrell 2012-02-14 13:49:59 UTC
(In reply to comment #3)
> Maybe add notify-python as a package dependency.

Did you do that on your system to solve the problem?  If so, I'll fix the spec file so wicd requires notify-python explicitly.

Comment 5 Raphael Groner 2012-02-14 18:36:12 UTC
NameError: global name 'pynotify' is not defined

-> Python can not find the module pynotify. So yeah, to answer your question. ;)

Comment 6 Raphael Groner 2012-02-14 18:43:55 UTC
$ yum whatprovides */pynotify/__init__.py
[...]
notify-python-0.1.1-18.fc15.x86_64

Comment 7 Fedora Update System 2012-03-26 20:04:46 UTC
wicd-1.7.0-12.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/wicd-1.7.0-12.fc16

Comment 8 Fedora Update System 2012-03-31 02:58:56 UTC
Package wicd-1.7.0-12.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wicd-1.7.0-12.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-4962/wicd-1.7.0-12.fc16
then log in and leave karma (feedback).

Comment 9 Raphael Groner 2012-03-31 09:09:34 UTC
Thanks for the fix. But I am not using Fedora 16 any more, so I can't give you any feedback on this patch, sorry.

Comment 10 Fedora Update System 2012-04-11 16:54:01 UTC
wicd-1.7.0-12.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.