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
MicroPython v1.23.0 on 2024-06-02; Generic ESP32S3 module with ESP32S3
Error:
File "/lib/pysm/pysm.py", line 474, in add_state
File "/lib/pysm/pysm.py", line 784, in validate_add_state
File "/lib/pysm/pysm.py", line 790, in _validate_state_already_added
File "/lib/pysm/pysm.py", line 48, in __init__
TypeError: can't convert float to int
Through investigation, I found that the issue was caused by patch_deque in pysm using float('Inf') as the maxlen parameter for deque.
Env:
Error:
Through investigation, I found that the issue was caused by patch_deque in pysm using float('Inf') as the maxlen parameter for deque.
pysm/pysm/pysm.py
Lines 47 to 48 in b48cbc7
The following is the code I ran in the ESP32 shell, which resulted in the same error.
The text was updated successfully, but these errors were encountered: