Open RodoMa92 opened 5 months ago
I think this should be reported to https://gitlab.com/evlaV/jupiter-hw-support/-/issues
It's unfortunate 1.0.6 broke that software, but I don't think there is a good way to fix this in pyhidapi without causing even more breakage in other applications which now use BusType.
jupiter-hw-support can either:
json.JSONEncoder
subclass that handles BusTypeYou could always cast bustype as an int before returning it. Unless there is proof it breaks say e.g., match statements
Also, it appears that software is affected more than that print statement. It refuses to work now. We will investigate it.
While debugging the Steam Deck updater program I discovered that #59 causes a regression making it unable to parse the new added field back with the following backtrace:
If you need to take a look at the source code of the software, the code is here: https://gitlab.com/evlaV/jupiter-hw-support/-/tree/master/usr/share/jupiter_controller_fw_updater?ref_type=heads
Downgrading back to 1.0.5 makes the program works correctly.