You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing HWI in my project causes a crash caused by a decimal.Decimal.FloatOperation on line 24 of hwilib/devices/btchip/btchipHelpers.py. It is caused by the conversion of a float into a decimal in Decimal(1e8).
Since importing the library in a python shell in the same virtualenv does work correcly, the issue lies on my side and I'm currently looking into Decimal configurations in my project that might affect this. Nonetheless, I think changing it to Decimal(10**8) would be cleaner. Sorry if this was already discussed, I was not able to find any issues on the matter.
The text was updated successfully, but these errors were encountered:
Importing
HWI
in my project causes a crash caused by adecimal.Decimal.FloatOperation
on line 24 ofhwilib/devices/btchip/btchipHelpers.py
. It is caused by the conversion of a float into a decimal inDecimal(1e8)
.Since importing the library in a python shell in the same virtualenv does work correcly, the issue lies on my side and I'm currently looking into Decimal configurations in my project that might affect this. Nonetheless, I think changing it to
Decimal(10**8)
would be cleaner. Sorry if this was already discussed, I was not able to find any issues on the matter.The text was updated successfully, but these errors were encountered: