7" touchscreen RPI2 en KIVY

76 views
Skip to first unread message

Jos Neelen

unread,
Nov 15, 2017, 2:45:24 PM11/15/17
to Kivy users support
Ik heb een touchscreen met Raspi 2 geinstalleerd volgens de aanwijzingen volgens  mrichardson23.
Bij de executie van pictures in de demo van examples in kivy krijg ik de foutmelding zoals in de bijlage staat.
Graag hulp na vele uren vol probeerellende.

Met groet

Jos Neelen
kivy_error2.odt

st...@btp.nl

unread,
Nov 16, 2017, 3:58:09 AM11/16/17
to Kivy users support
Hallo Jos, dit is een ML waar men in het engels met elkaar communiceerd. Vragen in het nederlands zullen daardoor erg weinig reacties krijgen.

So to recap the question;
You have an issue with missing kivy libs on a raspberry pi.

Traceback (most recent call last):
File "/home/pi/kivy/examples/demo/pictures/main.py", line 32, in <module>
from kivy.app import App
File "/home/pi/kivy/kivy/app.py", line 319, in <module>
from kivy.base import runTouchApp, stopTouchApp
File "/home/pi/kivy/kivy/base.py", line 26, in <module>
from kivy.clock import Clock
File "/home/pi/kivy/kivy/clock.py", line 362, in <module>
from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent, \
ImportError: No module named _clock

Please use the install instructions provided by the kivy project:
https://kivy.org/docs/installation/installation-rpi.html
If you still have problems, please post a small code example we can test

Regards,
Stas Zytkiewicz

Jos Neelen

unread,
Nov 16, 2017, 6:57:05 AM11/16/17
to kivy-...@googlegroups.com
Beste Stas,

Bedankt. Ik vermoedde al zoiets.


Op do 16 nov. 2017 om 09:58 schreef <st...@btp.nl>
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/mKLGcLAfxv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jos Neelen

unread,
Nov 18, 2017, 10:10:47 AM11/18/17
to Kivy users support


Op woensdag 15 november 2017 19:45:24 UTC schreef Jos Neelen:

Jos Neelen

unread,
Nov 18, 2017, 10:14:04 AM11/18/17
to Kivy users support


Op donderdag 16 november 2017 08:58:09 UTC schreef st...@btp.nl:

Jos Neelen

unread,
Nov 18, 2017, 10:20:53 AM11/18/17
to Kivy users support
Dear Stas,

I installed according the kivy-site.

Running the demo "pictures" , I receive the error as in the appendix.
Under kivypie, the "pictures" is perfect.
I hope you can help me with this problem.
Another point : how to use HDMI at the same time with touchscreen ?

Regards,

Jos Neelen


Op woensdag 15 november 2017 19:45:24 UTC schreef Jos Neelen:
Ik heb een touchscreen met Raspi 2 geinstalleerd volgens de aanwijzingen volgens  mrichardson23.
error3

gate...@gmail.com

unread,
Nov 23, 2017, 3:22:07 AM11/23/17
to Kivy users support
I can't open the file you included, its some sort of binary file?
Just include the error trace inside the message and not in some sort compiled format.

Jos Neelen

unread,
Nov 23, 2017, 12:24:45 PM11/23/17
to kivy-...@googlegroups.com
The file was a format of a rasbian text editor Leafpad.
I transformed to another format. See appendix

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/mKLGcLAfxv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.
error3.txt

gate...@gmail.com

unread,
Nov 24, 2017, 1:38:14 AM11/24/17
to Kivy users support

Does it work with a regular monitor?
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.

Jos Neelen

unread,
Nov 24, 2017, 9:16:16 AM11/24/17
to kivy-...@googlegroups.com
This is the result using HDMI output

pi@raspberrypi:~ $ cd kivy/examples
pi@raspberrypi:~/kivy/examples $ cd demo/pictures
pi@raspberrypi:~/kivy/examples/demo/pictures $ python main.py
[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_17-11-24_0.txt
[INFO   ] [Kivy        ] v1.10.1.dev0, git-7cb8d16, 20171117
[INFO   ] [Python      ] v2.7.9 (default, Sep 17 2016, 20:26:04) 
[GCC 4.9.2]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: egl_rpi
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0>
[INFO   ] [GL          ] OpenGL vendor <Broadcom>
[INFO   ] [GL          ] OpenGL renderer <VideoCore IV HW>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO   ] [GL          ] Texture max size <2048>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Shader      ] fragment shader: <Compiled>
[INFO   ] [Shader      ] vertex shader: <Compiled>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [GL          ] Unpack subimage support is available
 Traceback (most recent call last):
   File "main.py", line 73, in <module>
     PicturesApp().run()
   File "/home/pi/kivy/kivy/app.py", line 829, in run
     runTouchApp()
   File "/home/pi/kivy/kivy/base.py", line 440, in runTouchApp
     from kivy.input import MotionEventFactory, kivy_postproc_modules
   File "/home/pi/kivy/kivy/input/__init__.py", line 30, in <module>
     from kivy.input.postproc import kivy_postproc_modules
   File "/home/pi/kivy/kivy/input/postproc/__init__.py", line 24, in <module>
     kivy_postproc_modules['ignorelist'] = InputPostprocIgnoreList()
   File "/home/pi/kivy/kivy/input/postproc/ignorelist.py", line 27, in __init__
     self.ignore_list = strtotuple(Config.get('postproc', 'ignore'))
   File "/home/pi/kivy/kivy/config.py", line 474, in get
     value = PythonConfigParser.get(self, section, option, **kwargs)
   File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
     raise NoOptionError(option, section)
 ConfigParser.NoOptionError: No option 'ignore' in section: 'postproc'


To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.

Jos Neelen

unread,
Nov 24, 2017, 1:53:30 PM11/24/17
to kivy-...@googlegroups.com
This id the result in Python3 Idle

Python 3.4.2 (default, Oct 19 2014, 13:31:11) 
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>> 
[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_17-11-24_6.txt
[INFO   ] [Kivy        ] v1.10.1.dev0, git-7cb8d16, 20171117
[INFO   ] [Python      ] v3.4.2 (default, Oct 19 2014, 13:31:11) 
[GCC 4.9.1]
 Traceback (most recent call last):
   File "/home/pi/kivy/examples/demo/pictures/main.py", line 32, in <module>
     from kivy.app import App
   File "/home/pi/kivy/kivy/app.py", line 319, in <module>
     from kivy.base import runTouchApp, stopTouchApp
   File "/home/pi/kivy/kivy/base.py", line 26, in <module>
     from kivy.clock import Clock
   File "/home/pi/kivy/kivy/clock.py", line 362, in <module>
     from kivy._clock import CyClockBase, ClockEvent, FreeClockEvent, \
 ImportError: /home/pi/kivy/kivy/_clock.so: undefined symbol: _Py_ZeroStruct

2017-11-24 6:38 GMT+00:00 <gate...@gmail.com>:
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages