Please why is my PyMT program throwing this error
Posted: 05 April 2012 09:20 PM   [ Ignore ]
Rank
Joined  2011-04-13
Total Posts:  46
New Member

I am getting this odd error message when i run my pymt application.This error is not occuring everytime but only on some instances.
I am a pretty newbie at pymt and am unable to comprehend the main reason behind the error
Can anybody tell me why the main reason of this error....

File "c.py"line 276in <module>
    
runTouchApp()
  
File "/usr/lib/pymodules/python2.7/pymt/base.py"line 361in runTouchApp
    pymt_window
.mainloop()
  
File "/usr/lib/pymodules/python2.7/pymt/ui/window/win_pygame.py"line 195in mainloop
    self
._mainloop()
  
File "/usr/lib/pymodules/python2.7/pymt/ui/window/win_pygame.py"line 127in _mainloop
    evloop
.idle()
  
File "/usr/lib/pymodules/python2.7/pymt/base.py"line 209in idle
    self
.dispatch_input()
  
File "/usr/lib/pymodules/python2.7/pymt/base.py"line 194in dispatch_input
    self
.post_dispatch_input(event=eventtouch=touch)
  
File "/usr/lib/pymodules/python2.7/pymt/base.py"line 123in post_dispatch_input
    listener
.dispatch_event('on_touch_up'touch)
  
File "c_accelerate.pyx"line 39in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:956)
  
File "c_accelerate.pyx"line 36in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
  
File "/usr/lib/pymodules/python2.7/pymt/ui/window/__init__.py"line 385in on_touch_up
    
if w.dispatch_event('on_touch_up'touch):
  
File "c_accelerate.pyx"line 39in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:956)
  
File "c_accelerate.pyx"line 36in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
  
File "/usr/lib/pymodules/python2.7/pymt/ui/widgets/widget.py"line 411in on_touch_up
    
if w.dispatch_event('on_touch_up'touch):
  
File "c_accelerate.pyx"line 39in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:956)
  
File "c_accelerate.pyx"line 36in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
  
File "/usr/lib/pymodules/python2.7/pymt/ui/widgets/gesturewidget.py"line 45in on_touch_up
    self
.dispatch_event('on_gesture'gtouch)
  
File "c_accelerate.pyx"line 39in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:956)
  
File "c_accelerate.pyx"line 36in pymt.c_ext.c_accelerate.eventdispatcher_dispatch_event (pymt/c_ext/c_accelerate.c:864)
  
File "c.py"line 27in on_gesture
    
if best[1].flag=='1':
TypeError'NoneType' object is not subscriptable

Thnx. in advance

Profile
 
 
   
 
 
‹‹ Config Window      songlist selection (pymt) ››