Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MxPie200 opened this issue Jan 2, 2025 · 0 comments
Open

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

MxPie200 opened this issue Jan 2, 2025 · 0 comments

Comments

@MxPie200
Copy link

MxPie200 commented Jan 2, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant