python-nut2
python-nut2 copied to clipboard
alueError: not enough values to unpack (expected 2, got 1)
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?