Skip to content

UnicodeDecodeError #15

Description

@kovaszab

When trying to access client devices with client.devices() I got an error message:

Traceback (most recent call last):
  File "/home/arc/PycharmProjects/plasma_rgb/main.py", line 11, in <module>
    for device in client.devices():
  File "/home/arc/PycharmProjects/plasma_rgb/venv/lib/python3.9/site-packages/openrgb/OpenRGB.py", line 60, in devices
    yield self.controller_data(device_id)
  File "/home/arc/PycharmProjects/plasma_rgb/venv/lib/python3.9/site-packages/openrgb/OpenRGB.py", line 48, in controller_data
    return ORGBDevice(msg[1], device_id, owner=self)
  File "/home/arc/PycharmProjects/plasma_rgb/venv/lib/python3.9/site-packages/openrgb/ORGBDevice.py", line 215, in __init__
    self.serial = blob.string()
  File "/home/arc/PycharmProjects/plasma_rgb/venv/lib/python3.9/site-packages/openrgb/binreader.py", line 58, in string
    unpacked = self._unpack(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 1: ordinal not in range(128)

I'm using OpenRGB version 0.6 and OpenRGB-PyClient version 0.1.1 with Python 3.9.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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