I get this too on same libraries.
- Code: Select all | TOGGLE FULL SIZE
Adafruit CircuitPython 5.3.0 on 2020-04-29; Adafruit CLUE nRF52840 Express with nRF52840
>>>
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Traceback (most recent call last):
File "code.py", line 195, in <module>
File "code.py", line 162, in popup_text
File "plotter.py", line 786, in info
File "adafruit_display_text/label.py", line 127, in __init__
File "adafruit_display_text/label.py", line 271, in _update_text
File "adafruit_display_text/label.py", line 167, in _create_background_box
MemoryError: memory allocation failed, allocating 1616 bytes
There's a problem somewhere between the plotting application and one of its libraries. For now, I would advise using an older version of just the
lib/adafruit_display_text/label.py library
as a workaround. The one I did the majority of my development and testing on is
adafruit-circuitpython-bundle-5.x-mpy-20200327.zip found in
https://github.com/adafruit/Adafruit_Ci ... g/20200327 . I've tried this (see below for how I renamed current version) and can confirm it works.
I also tried commenting out
popup_text() for the
Button Guide which appeared to help at first but then the text after that in the plotter went a bit crazy position-wise so this
does not help. I'll dig a bit deeper here to see what's going on here.