-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save_text=False throws error on init #157
Comments
I am unable to reproduce this on a PyPortal running What version of CircuitPython are you running? What versions of the libraries are installed? > circup freeze
Found device at /media/user/CIRCUITPY, running CircuitPython 7.0.0-alpha.6.
adafruit_fakerequests==1.0.3
adafruit_miniqr==1.3.6
adafruit_pixelbuf==1.1.0
adafruit_requests==1.10.0
adafruit_touchscreen==1.1.6
neopixel==6.2.1
simpleio==3.0.1
adafruit_bitmap_font==1.5.1
adafruit_bus_device==5.0.6
adafruit_display_text==2.20.0
adafruit_esp32spi==3.5.11
adafruit_io==5.5.0
adafruit_portalbase==1.9.1
adafruit_pyportal==6.0.0 You can use |
Hi @sargunv, I noticed your code has the parameter |
I ask because I'd love to look into this if you have any more information :) |
Hi, I encounter the same problem. Using a Pimoroni Pico Breakout Garden (BG) base with a Raspberry Pi Pico; an OLED 1.12in monochrome 128x128px SPI; an Adafruit TMP117 via QT-stemma and a BG adapter. Circuitpython version: 7.1.0-beta.3 on 2021-12-13. To preserve memory, I tried the |
@PaulskPt are you able to post a copy of your entire script that is raising this error? Or if it's very large possibly see if you can make a self-contained reproducer script that contains the minimum code needed to raise the issue? |
Hi @FoamyGuy, thank you for responding.
Here's the error traceback:
|
Thanks @PaulskPt! Looking at the code it looks like @sargunv is right, it's because of how |
@tekktrik I wish you nice holidays. I'll await the development with attention. |
resolved by #160 |
I believe this is because that
_reset_text
function is using the propertyself._text
instead of the local variabletext
in some (but not all) places.The text was updated successfully, but these errors were encountered: