-
Notifications
You must be signed in to change notification settings - Fork 1.3k
PyPortal crash -- EventCountdown example #1680
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
Comments
I have tried this a few times. I am consistently seeing the background disappear, but otherwise it hasn't crashed. Does it crash right away, or should I let it run a while? |
@dhalbert With the default settings, it does not crash immediately -- infact, it seems to be running OK today,
it crashes immediately on first update. That is, I see the background, then after a few seconds, it crashes. Update -- I cannot reproduce the failure with the default setting, but it still crashes if it change the date as noted above -- I also tried EVENT_MONTH = 5 and it still crashed... |
very strange -- I run eventcountdown.py on the PyPortal, it runs OK -- I then copied eventcountdown.py to new_copy.py -- When I run new_copy.py it crashes... In all cases, I am running this from the REPL not code.py. even stranger, any of the examples (that is different dates) run OK if loaded as code.py..... |
I think it might depend on where the file is in the partition table, how it is split into blocks, and other things like that. On a non-express board you could just copy the |
I think this is fixed by #1714. Could you reopen if you are still seeing crashes? Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
I am finding that the PyPortal EventCoundown example causes a (HardFault) reboot to safe mode with the current CP Master build. https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/master/PyPortal_EventCountdown Warning -- it may also corrupt the FS. I have had varying results with this -- Sometimes it runs but the background splash disappears. Sometimes it crashes....
Run on:
Adafruit CircuitPython 4.0.0-beta.5-17-gfce63b17c on 2019-03-21; Adafruit PyPortal with samd51j20
This example ran successfully on previous CP versions -- not sure of latest version tested, but I think I tried Beta5
The text was updated successfully, but these errors were encountered: