Description
CircuitPython version
Adafruit CircuitPython 7.0.0-alpha.4 on 2021-07-08; Adafruit MagTag with ESP32S2
Code/REPL
Demo code can be fetched from here: https://learn.adafruit.com/adafruit-magtag-covid-vaccination-percent-tracker/code-the-vaccination-tracker
Behavior
MagTag Vaccination tracker crash in magtag.network.connect() between 7alpha3 and 7alpha4
I tested MagTag Covid percentage tracker with 7.0.0-alpha.3 and 7.0.0-alpha.4.
Somewhere in between the two it crash in loop in magtag.network.connect()
With Adafruit CircuitPython 7.0.0-alpha.3 on 2021-06-03; Adafruit MagTag with ESP32S2
It kind of work, it does not display the properly, but the progress bar are there and the network fetch work:
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Connecting to AP NEO
Retrieving data...Reply is OK!
Response is ['United States', '2021-07-18', '"Johnson&Johnson', ' Moderna', ' Pfizer/BioNTech"', 'https://covid.cdc.gov/covid-data-tracker/COVIDData/getAjaxData?id=vaccination_data', '337740358', '186038501', '161232483']
Sleeping for 86400 secondsCode done running.
Press any key to enter the REPL. Use CTRL-D to reload.
Pretending to deep sleep until alarm, CTRL-C or file write.
With Adafruit CircuitPython 7.0.0-alpha.4 on 2021-07-08; Adafruit MagTag with ESP32S2
it bootloop in
It reset/boot in loop somewhere inside magtag.network.connect()
:
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Connecting to AP NEO
^^^ And here bootlook reseting the serial ^^^
So somewhere between 7.0.0-alpha.3 and 7.0.0-alpha.4 the network call of
I guess I need to bisec and find where it stated to behave like that.
Demo code can be fetched from here:
https://learn.adafruit.com/adafruit-magtag-covid-vaccination-percent-tracker/code-the-vaccination-tracker
Description
No response
Additional information
This test is done with the learn guide library... except for manual update to the latest version from GIT of:
- adafruit_portalbase
- adafruit_magtag
Using the py (not mpy) version of those library (in an attempt to debug that further).
This is also mean using adafruit/Adafruit_CircuitPython_MagTag#63 that I was trying to validate.