mtdev crash sometimes
See original GitHub issueOn a current installation in a museum, i got few times (like 11 times during the past 8 months) this crash:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/inook/code/kivy/kivy/input/providers/mtdev.py", line 303, in _thread_run
process([l_points[x] for x in _changes])
File "/home/inook/code/kivy/kivy/input/providers/mtdev.py", line 177, in process
touch = MTDMotionEvent(device, tid, args)
File "/home/inook/code/kivy/kivy/input/motionevent.py", line 286, in __init__
self.depack(args)
File "/home/inook/code/kivy/kivy/input/providers/mtdev.py", line 50, in depack
self.sx = args['x']
KeyError: 'x'
It may be a hardware issue, however, we could fix it by ignoring a frame that doesn’t meet the minimal keys we actually need.
Issue Analytics
- State:
- Created 8 years ago
- Comments:14
Top Results From Across the Web
Sway crashes when external monitor is connected · Issue #4717
Sometimes sway crashes immediately after connecting and sometimes when I try to change screen resolution. sway version 1.2-37afbc4d (Nov 14 ...
Read more >Pi 3B+ crashing while running Kivy touchscreen application ...
This only happens sometimes, and I can't figure out a pattern to the crashes. ... mouse = mouse mtdev_%(name)s = probesysfs,provider=mtdev hid_%(name)s ...
Read more >My PC crashes trying to start the login manager / Kernel ...
I have another distro installed on other HDD, but the same is happening there and when trying to boot another distro from my...
Read more >0015482: X Server crashes when starting xfreerdp via fvwm
ID Project Category View Status Date Submitted Last Update
0015482 CentOS‑7 xorg‑x11‑server public 2018‑11‑22 08:56 2019‑06‑26 22:37
Reporter MRoth Assigned To
Priority normal Severity crash Reproducibility...
Read more >Changelog — Kivy 2.1.0 documentation
[#7049]: Camera: Fix GI camera provider crash when no texture is available after loading ... [#7301]: Doc: Add Kivy config example for inverted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
greetings, i am currently facing the same issue. I tried your fixes but no result. I thought it was a problem with the mtdev provider but reading your comments discards that option.
Im now using the fix pietervandemeer suggested and put the str in a try/except clause to prevent a crash. It’s being deployed on 100+ machines so I will get a good view of the result of this fix