-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
bugApparent bug in liquidctlApparent bug in liquidctl
Description
Describe the bug
TypeError with Kraken X60
Commands executed
liquidctl --legacy-690lc initialize --debug
Output of all relevant commands with --debug flag
[DEBUG] (cli) (_log_env_infos): script: C:\Users\---\liquidctl\Scripts\liquidctl
[DEBUG] (cli) (_log_env_infos): version: 1.14.0.dev76+g6426a06
[DEBUG] (cli) (_log_env_infos): platform: Windows-10-10.0.19045-SP0
[DEBUG] (cli) (_log_env_infos): python: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
[DEBUG] (cli) (_log_env_infos): encoding: 1252 current, cp1252 preferred, utf8_mode 0
[DEBUG] (cli) (_log_env_infos): with colorlog: 6.8.2
[DEBUG] (cli) (_log_env_infos): with crcmod: 1.7
[DEBUG] (cli) (_log_env_infos): with docopt: 0.6.2
[DEBUG] (cli) (_log_env_infos): with hidapi: 0.14.0
[DEBUG] (cli) (_log_env_infos): with pyusb: 1.2.1
[DEBUG] (cli) (_log_env_infos): with pillow: 10.3.0
[DEBUG] (cli) (_log_env_infos): with smbus: version n/a (No package metadata was found for smbus)
[DEBUG] (cli) (_log_env_infos): with winusbcdc: 1.7
[DEBUG] (cli) (_log_env_infos): with libusb-package: 1.0.26.1
[DEBUG] (usb) (find_devices): searching HidapiBus
[DEBUG] (usb) (find_devices): HidapiBus drivers: Aquacomputer, AsusRyujin, AuraLed, CommanderCore, CommanderPro, Coolit, CorsairHidPsu, H1V2, HydroPlatinum, Kraken2, KrakenX3, KrakenZ3, MpgCooler, NzxtEPsu, RgbFusion2, SmartDevice, SmartDevice2, _BaseSmartDevice
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0xff05 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0xff03 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0xff02 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0xff04 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0xff05 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0xff03 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0xff02 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 3554:f526 (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0xff04 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 3554:f524 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0xffb5 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 0b05:18a3 (usage_page=0xff72 usage=0x00a1)
[DEBUG] (usb) (find_devices): searching PyUsbBus
[DEBUG] (usb) (find_devices): PyUsbBus drivers: Hydro690Lc, HydroPro, Legacy690Lc, Modern690Lc, _Base690Lc, _ModernBase690Lc
[DEBUG] (usb) (enumerate): using libusb_package.find
[DEBUG] (usb) (find_devices): USB device: 2433:b200
[DEBUG] (usb) (probe): Legacy690Lc identified: Asetek 690LC (assuming NZXT Kraken X)
[DEBUG] (cli) (main): device: Asetek 690LC (assuming NZXT Kraken X)
[DEBUG] (usb) (open): selected interface: 0
[DEBUG] (asetek) (_configure_flow_control): set clear to send = True
[DEBUG] (usb) (ctrl_transfer): sending control transfer with (64, 2, 2), {}
[INFO] (cli) (log): detailed error: Asetek 690LC (assuming NZXT Kraken X): unexpected error: TypeError("'NoneType' object is not iterable")
Traceback (most recent call last):
File "C:\Users\---\liquidctl\Lib\site-packages\liquidctl\cli.py", line 456, in main
with dev.connect(**opts):
^^^^^^^^^^^^^^^^^^^
File "C:\Users\---\liquidctl\Lib\site-packages\liquidctl\driver\asetek.py", line 354, in connect
loc = f'bus{self.bus}_port{"_".join(map(str, self.port))}'
^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
[ERROR] (cli) (log): Asetek 690LC (assuming NZXT Kraken X): unexpected error: TypeError("'NoneType' object is not iterable")
Affected device
Kraken X60
Does your version of liquidctl support the device in question?
Yes, my version supports it
Operating system and version
Windows 10
Installation method
pip with latest git version
Version of liquidctl
liquidctl v1.14.0.dev76+g6426a06
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugApparent bug in liquidctlApparent bug in liquidctl