TypeError in Bandwidth Monitor: argument of type 'NoneType' is not iterable

Bug #705421 reported by Miloš Jakovljević
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
Kyle L. Huff

Bug Description

Awn-extras version: 0.4.1~bzr1498+201101172355~maverick1

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1525, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/bandwidth-monitor/awn-bwm.py", line 322, in __init__
    self.netstats = Netstat(self, self.unit)
  File "/usr/share/avant-window-navigator/applets/bandwidth-monitor/awn-bwm.py", line 95, in __init__
    self.update_net_stats()
  File "/usr/share/avant-window-navigator/applets/bandwidth-monitor/awn-bwm.py", line 218, in update_net_stats
    if iface in wireless_devices:
TypeError: argument of type 'NoneType' is not iterable

This happend with my new custom kernel where I disabled wireless.

Related branches

Revision history for this message
onox (onox) wrote :

@kylehuff: please review the patch. It just disables the piece of code that depends on wireless_devices.

tags: added: bandwidth-monitor traceback
Changed in awn-extras:
assignee: nobody → Kyle L. Huff (kylehuff)
importance: Undecided → Medium
milestone: none → 0.4.2
status: New → Confirmed
Kyle L. Huff (kylehuff)
Changed in awn-extras:
status: Confirmed → Fix Committed
Revision history for this message
onox (onox) wrote :

Fixed in revision 1499.

Povilas Kanapickas (p12)
Changed in awn-extras:
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.