← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 790745] [NEW] SysmonitorScreenlet.py throwing unreferenced variable error

 

Public bug reported:

Small bugfix for the sysmonitor screenlet, which throws the following
error message on every refresh:

UnboundLocalError: local variable 'b' referenced before assignment
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1942, in expose
    self.on_draw(ctx)
  File "/usr/share/screenlets/screenlets-pack-basic/Sysmonitor/SysmonitorScreenlet.py", line 676, in on_draw
    m = m + 60 + b

** Affects: indiv-screenlets
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/790745

Title:
  SysmonitorScreenlet.py throwing unreferenced variable error

Status in Screenlets — individual widgets development:
  New

Bug description:
  Small bugfix for the sysmonitor screenlet, which throws the following
  error message on every refresh:

  UnboundLocalError: local variable 'b' referenced before assignment
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1942, in expose
      self.on_draw(ctx)
    File "/usr/share/screenlets/screenlets-pack-basic/Sysmonitor/SysmonitorScreenlet.py", line 676, in on_draw
      m = m + 60 + b


Follow ups

References