kivy/kivy — Issue #389: touchring module broken
Author: tshirtman
Created: 2012-01-27 21:09:28+00:00
State: open

added
"touchring = "
in ~/.kivy/config.ini -> section "modules"

gabriel@tochange:~/kivy$ python examples/demo/touchtracer/main.py
[INFO ] Kivy v1.0.10-dev
[INFO ] [Logger ] Record log in /home/gabriel/.kivy/logs/kivy_12-01-27_19.txt
[INFO ] [Factory ] 101 symbols loaded
[DEBUG ] [Cache ] register with limit=None, timeout=Nones
[DEBUG ] [Cache ] register with limit=None, timeout=60s
[DEBUG ] [Cache ] register with limit=None, timeout=Nones
[DEBUG ] [Cache ] register with limit=1000, timeout=60s
[DEBUG ] [Cache ] register with limit=1000, timeout=60s
[INFO ] [Text ] using as text provider
[INFO ] [Window ] using as window provider
[WARNING] [WinPygame ] Video: failed (multisamples=2)
[WARNING] [WinPygame ] trying without antialiasing
[INFO ] [GL ] OpenGL version <2.1 Mesa 7.11>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] Shading version <1.20>
[INFO ] [GL ] Texture max size <4096>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Shader ] fragment compiled successfully
[INFO ] [Shader ] vertex compiled successfully
[DEBUG ] [ImagePygame ] Load
[DEBUG ] [Cache ] register with limit=500, timeout=60s
[INFO ] [Loader ] using as thread loader
[DEBUG ] [Cache ] register with limit=None, timeout=60.0s
[DEBUG ] [Modules ] Start with config {}
[DEBUG ] [Modules ] Start with config {}
[DEBUG ] [ImagePygame ] Load
[WARNING] [Image ] Unable to load image
[WARNING] [Window ] Unable to use as windowprovider
[DEBUG ]
Traceback (most recent call last):
File "/home/gabriel/kivy/kivy/core/__init__.py", line 58, in core_select_lib
cls = cls()
File "/home/gabriel/kivy/kivy/core/window/__init__.py", line 433, in __init__
Modules.register_window(self)
File "/home/gabriel/kivy/kivy/modules/__init__.py", line 180, in register_window
self.update()
File "/home/gabriel/kivy/kivy/modules/__init__.py", line 195, in update
self.activate_module(name, win)
File "/home/gabriel/kivy/kivy/modules/__init__.py", line 164, in activate_module
module.start(win, self.mods[name]['context'])
File "/home/gabriel/kivy/kivy/modules/touchring.py", line 75, in start
pointer_image = Image(pointer_fn)
File "/home/gabriel/kivy/kivy/core/image/__init__.py", line 393, in __init__
self.filename = arg
File "/home/gabriel/kivy/kivy/core/image/__init__.py", line 550, in _set_filename
mipmap=self._mipmap)
File "/home/gabriel/kivy/kivy/core/image/__init__.py", line 324, in load
im = loader(filename, **kwargs)
File "/home/gabriel/kivy/kivy/core/image/__init__.py", line 140, in __init__
self._data = self.load(filename)
File "/home/gabriel/kivy/kivy/core/image/img_pygame.py", line 36, in load
im = pygame.image.load(filename)
error: Couldn't open /home/gabriel/kivy/kivy/data/images/ring.png
[CRITICAL] [Window ] Unable to find any valuable Window provider at all!
[DEBUG ] [ImagePygame ] Load
[INFO ] [GL ] NPOT texture support is available
[DEBUG ] [ImagePygame ] Load
Traceback (most recent call last):
File "examples/demo/touchtracer/main.py", line 93, in
TouchtracerApp().run()
File "/home/gabriel/kivy/kivy/app.py", line 415, in run
Window.add_widget(self.root)
AttributeError: 'NoneType' object has no attribute 'add_widget'