Skip to content

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

@MxPie200

Description

@MxPie200

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions