Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Crash in touch.py #27

@p8mty

Description

@p8mty

Occasionally (2 or 3 times a day) my program crashes with the following:

>>> %Run -c $EDITOR_CONTENT

MPY: soft reboot
malloc self
set fb pointers
m_new_class(ST7701...
launch core1
launched core1
core1 returned

[[[[ Program output ]]]]

Traceback (most recent call last):
  File "<stdin>", line 265, in <module>
  File "touch.py", line 66, in poll
  File "touch.py", line 77, in _handle_touch
OSError: [Errno 5] EIO

The call in line 265 in my program is merely a call to touch.poll().
The line 77 in _handle_touch is dealing with i2c - I have no additional i2c devices attached to the Presto

It's not reproducible in that I don't know what to do to cause it, but if I poke at the screen for long enough, it will happen!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions