[dev] [wmii] Python monitor function failure

From: Thomas Dahms <t_AT_skwillt.de>
Date: Wed, 23 Jun 2010 09:25:42 +0200

Hi,

I have this status bar function in my wmiirc.py:

@defmonitor
def anowplaying(self):
    try:
        np=open('/tmp/shell-fm').read()
    except:
        np=' '
    return wmii.cache['normcolors'], np

Where /tmp/shell-fm is a now-playing file generated by shell-fm. Until
recently, this just worked, but now I get errors as attached. The
wmiirc.py then just seems to stop at this point.

-- 
Thomas Dahms

Received on Wed Jun 23 2010 - 07:25:42 UTC

This archive was generated by hypermail 2.2.0 : Wed Jun 23 2010 - 07:36:01 UTC