What steps will reproduce the problem?
1. Run touchtracer.py
2. Try to use it.
What is the expected output? What do you see instead?
There is a lockup and it gives a traceback:
[WARNING ] Call to deprecated function get_texture. In C:
\Python26\lib\site-packages\pymt\core\image\__init__.py, Line: 182.
Traceback (most recent call last):
File "D:\Development\Framework\pymt\examples\touchtracer
\touchtracer.py", line 77, in <module>
runTouchApp()
File "C:\Python26\lib\site-packages\pymt\base.py", line 314, in
runTouchApp
pymt_window.mainloop()
File "C:\Python26\lib\site-packages\pymt\ui\window\win_pygame.py", line
92, in mainloop
evloop.idle()
File "C:\Python26\lib\site-packages\pymt\base.py", line 163, in idle
pymt_window.dispatch_event('on_draw')
File "C:\Python26\lib\site-packages\pymt\event.py", line 160, in
dispatch_event
if func(*args):
File "C:\Python26\lib\site-packages\pymt\ui\window\__init__.py", line
366, in on_draw
w.dispatch_event('on_draw')
File "C:\Python26\lib\site-packages\pymt\event.py", line 160, in
dispatch_event
if func(*args):
File "C:\Python26\lib\site-packages\pymt\modules\feedback.py", line 107,
in on_draw
newsprite = Image(ring_img, pos=touch.pos, opacity=0.75, scale=0.10)
File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
131, in __init__
self.__setattr__(attr, arg.__getattribute__(attr))
AttributeError: 'Image' object has no attribute '_width'
Please use labels and text to provide additional information.
Labels: Milestone-0.4 Component-Core