adafruit / Adafruit_CircuitPython_GC_IOT_Core

Google Cloud IoT Core client for CircuitPython devices
Other
12 stars 12 forks source link

Import depth is too deep - max recursion stack traces being thrown on import #19

Open geudrik opened 3 years ago

geudrik commented 3 years ago

FeatherS2 running 7.0.0, using the 7.0.0 libraries

>>> from adafruit_gc_iot_core import MQTT_API, Cloud_Core
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_gc_iot_core.py", line 32, in <module>
  File "adafruit_jwt.py", line 32, in <module>
  File "adafruit_rsa/__init__.py", line 16, in <module>
  File "adafruit_rsa/key.py", line 27, in <module>
  File "adafruit_rsa/prime.py", line 13, in <module>
  File "adafruit_rsa/randnum.py", line 12, in <module>
  File "adafruit_rsa/transform.py", line 14, in <module>
  File "adafruit_binascii.py", line 57, in <module>
RuntimeError: maximum recursion depth exceeded
>>> 
geudrik commented 3 years ago

20 coupled with the above fixes this issue, but others exist for actually getting GC MQTT working. I'm now currently at a point where MQTT hangs at connecting :/