You are not logged in.

#1 2005-01-28 00:34:47

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

WMI: Szs2nd problems.

I'm a new WMI user smile . So far its outperformed my beloved  Ion in every way I need it to. I saw this nifty little tool, Szs2nd, on the site. It's supposed to let you put everything from time & date to battery status and e-mail notification on the taskbar. I downloaded it, configured it, and ran szs.py. Here's the output.

$python szs.py
Debug: szs: __init__(): Module: ['clock']      
Debug: szs: vars(): Using /usr/bin/wmiremote -t to display text
Debug: szs: vars(): Using '/usr/bin/wmiremote -m' to display bars
Traceback (most recent call last):
  File "/home/david/.wmi/szs2.1/szs.py", line 183, in ?
    error = main()
  File "/home/david/.wmi/szs2.1/szs.py", line 167, in main
    cmdtxt = str(prog[0]+' ''+now+' '+txts+''')
UnboundLocalError: local variable 'now' referenced before assignment
                                          

The szs file is in the szs folder, which is in ~/.wmi.

Any help from someone who has used this?[/code]

Offline

#2 2005-01-28 01:15:15

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: WMI: Szs2nd problems.

yes I use szs2... let me try and track this down - just posting so you know you should have an answer soon

Offline

#3 2005-01-28 01:20:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: WMI: Szs2nd problems.

aha, got it - I'm assuming you didn't want welcome text....
the line needs to be:

main.welcome="!NONE"

in szs.cfg

hope that helps

Offline

#4 2005-01-28 01:22:26

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

Re: WMI: Szs2nd problems.

Forgot the quotes  :oops:

Thanks big_smile

Offline

Board footer

Powered by FluxBB