Closed jepler closed 3 years ago
Thanks for reporting this - we're new to CircuitPython and so it's nice to know we're not the only ones seeing this! I rolled back to https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20201107 and was able to run my code.
hi :wave: just adding that i also ran into this issue with the 20201114 bundle and this guide.
Traceback (most recent call last):
File "code.py", line 106, in <module>
File "adafruit_matrixportal/matrixportal.py", line 312, in get_local_time
File "adafruit_matrixportal/network.py", line 207, in get_local_time
File "adafruit_matrixportal/network.py", line 198, in get_local_time
File "adafruit_requests.py", line 330, in text
File "adafruit_requests.py", line 319, in content
File "adafruit_requests.py", line 365, in iter_content
File "adafruit_requests.py", line 223, in _readinto
AttributeError: 'bytearray' object has no attribute 'split'
rolling back to the version of Requests in the 20201113 bundle sorted it.
This seems to be a CircuitPython vs Standard Python difference which makes the changes in #46 not work on CircuitPython:
Desktop Python says:
while CircuitPython says: