Hi Wolfgang,

I'm cc'ing NUT-Monitor author, for info

2010/7/22 Wolfgang Lubowski

> sorry for bothering you again
> autoshutdown works fine, thank you :)
> but a graphical tool would be nice too, and nut-monitor doesn't work up to
> now:
> if I start it from terminal, I get the following:
> Traceback (most recent call last):
>  File "/usr/bin/NUT-Monitor", line 883, in <module>
>    gui = interface()
>  File "/usr/bin/NUT-Monitor", line 208, in __init__
>    self.connect_to_ups()
>  File "/usr/bin/NUT-Monitor", line 690, in connect_to_ups
>    self.__ups_rw_vars = self.__ups_handler.GetRWVars( self.__current_ups )
>  File "/usr/lib/pymodules/python2.6/PyNUT.py", line 208, in GetRWVars
>    data = current[ offset: ].split( '"' )[1]
> IndexError: list index out of range
>
> What must I change? (I've looked it up in the internet, but didn't find
> much)
>

can you please send back the following outputs:
- upsc mgeups
- upsrw mgeups

as for the exception, apply the attached (untested) patch should fix the
issue.
apply it using:
cd /usr/lib/pymodules/python2.6 && sudo patch --dry-run -p0 <
/path/to/PyNUT-rw-except.diff

cheers,
Arnaud


** Patch added: "PyNUT-rw-except.diff"
   http://launchpadlibrarian.net/52326897/PyNUT-rw-except.diff

-- 
problems with ups (mge pulsar es 8+)
https://bugs.launchpad.net/bugs/608182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to