Closed makermelissa closed 4 years ago
Ok, I looked into this. The issue is we are grabbing request.text and then request.json() and this causes the error. I'll update the MatrixPortal library to not do this.
This issue likely affects Adafruit_CircuitPython_PyPortal and possibly Adafruit_Blinka_PyPortal as well.
I did this to avoid holding onto the full string memory between the text call and the json call.
That's fine. It was a clear enough message that I figured it out pretty quickly. I would have probably released it as 2.0.0 though. :)
@makermelissa Ya, fair. I was trying my best to be backwards compatible and maybe I was too optimistic. :-)
No problem. I have updated the Portal libraries and am unaware of any others this change affects, so closing.
When trying out the OpenWeather Demo (https://learn.adafruit.com/weather-display-matrix/code-the-weather-display-matrix), it works as expected with version 1.6.0 and breaks when updating to 1.7.x.
The lines I noticed related to the error that keep repeating: