-
Notifications
You must be signed in to change notification settings - Fork 495
Python issue in builtin? #105
Comments
Try running it as root: sudo ./clock.py |
Thanx for your reply. Sorry, forgot to mention that I run it as root. Unfortunately this doesn't fix it. |
Strange. When I run it as root it's fine, but when I run it as a regular user I get the same error you get. |
Now that's weird. So this seems to be a rights issue somehow? Found some guys in a german forum who also experience the same error, that's how I got to the hint on Kernel Version on which it seems to be running. |
Same error here. Run as root. I tried clock.py the test.py (notros example of the wiki) and some self written skripts. I got the same error in every skript. greets, cronic |
Here's what I get without set.visible() call: Traceback (most recent call last): |
It took me some time to understand this, as I had a touchscreen connected.
If that works, remove them from /etc/profile.d/sdl.sh |
problem solved. thats it. thank you :) |
Works indeed. Thank you so much :) |
Only add SDL_MOUSEDEV and SDL_MOUSEDRV when touchcontroller is present. Fixes: notro/fbtft#105
This is fixed in the latest image |
This python script on http://www.gtkdb.de/index_36_2229.html used to run a clock on the sainsmart18 with Kernel version 3.6.11+.
With the latest builtin image (version 3.10.33+) I get the following error message:
Traceback (most recent call last):
File "./clock.py", line 49, in
main()
File "./clock.py", line 38, in main
pygame.mouse.set_visible(0)
pygame.error: video system not initialized
Any idea on this one?
The text was updated successfully, but these errors were encountered: