← Back to team overview

indiv-screenlets-dev team mailing list archive

Re: [Bug 790745] Re: SysmonitorScreenlet.py throwing unreferenced variable error

 

I have 0.1.3, so it must have been fixed in the newer version.  Thanks
for checking it out, though.

Justin Painter

On Tue, May 31, 2011 at 12:35 PM, tabbernuk <boamaod@xxxxxxxxx> wrote:
> Thanks for your patch. Could you specify what version of Sysmonitor are
> you using? The most recent version (0.1.6+) in Screenlets Developers PPA
> (https://launchpad.net/~screenlets-dev/+archive/ppa, source code
> http://bazaar.launchpad.net/~indiv-screenlets-dev/indiv-
> screenlets/trunk/view/head:/src/Sysmonitor/SysmonitorScreenlet.py) does
> not seem to have the problem you are trying to fix. Maybe you should try
> the version from PPA and see if the how it works for you. If the bug is
> still there, I'd be happy to apply the patch for it.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> 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
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/indiv-screenlets/+bug/790745/+subscribe
>

-- 
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


References