python-nut2 icon indicating copy to clipboard operation
python-nut2 copied to clipboard

alueError: not enough values to unpack (expected 2, got 1)

Open MxPie200 opened this issue 1 year ago • 0 comments

Hello,

I have an raspberry pi with two attaches Eaton USV's via USB cable. Last hour i got following error:

File "/home/max/.local/lib/python3.11/site-packages/nut2.py", line 169, in lis> Jan 02 18:31:10 raspberrypi-5 python[23740]: var, data = current[offset:].split('"')[:2] Jan 02 18:31:10 raspberrypi-5 python[23740]: ^^^^^^^^^ Jan 02 18:31:10 raspberrypi-5 python[23740]: ValueError: not enough values to unpack (expected 2, got 1)

What does this mean? Is there any fix available?

MxPie200 avatar Jan 02 '25 18:01 MxPie200