Same problem here (with Lucid).
After changing line 149 manually to "/usr/bin/python2.6 ....", I get the following error:
Xlib.protocol.request.QueryExtension
DEBUG: mouseTrap -> Settings have been loaded
DEBUG: mouseTrap -> DBus Service has been started
ERROR: scripts -> The Profile load failed
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/mouseTrap/scriptHdlr.py", line 57, in _loadThirdProfiles
modes[prof.setName] = prof.Profile
AttributeError: 'module' object has no attribute 'Profile'
DEBUG: scripts -> Mousetrap holdProfile Profile has been loaded
DEBUG: scripts -> Mousetrap dragProfile Profile has been loaded
DEBUG: scripts -> Mousetrap screenProfile Profile has been loaded
ERROR: mainGui -> All arguments must be INT
ERROR: mainGui -> All arguments must be INT
DEBUG: events -> New Area Listener Added
DEBUG: events -> New Area Listener Added
DEBUG: scripts -> Profile Started
DEBUG: mouseTrap -> MainGui has been started
DEBUG: ocvfw -> cmStartCamera: Camera Started
DEBUG: mouseTrap -> Camera Module has been started
DEBUG: mouseTrap -> Events handler has been started
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/mouseTrap/cam.py", line 142, in _checkImg
self.cmQueryCapture( flip = self.settings.getboolean( "cam", "flipImage" ) )
File "/usr/lib/pymodules/python2.6/mouseTrap/ocvfw.py", line 273, in cmQueryCapture
self.img.origin = frame.origin
File "/usr/lib/pymodules/python2.6/opencv/cv.py", line 2097, in <lambda>
__setattr__ = lambda self, name, value: _swig_setattr(self, CvMat, name, value)
File "/usr/lib/pymodules/python2.6/opencv/cv.py", line 48, in _swig_setattr
return _swig_setattr_nondynamic(self,class_type,name,value,0)
File "/usr/lib/pymodules/python2.6/opencv/cv.py", line 41, in _swig_setattr_nondynamic
if method: return method(self,value)
RuntimeError: openCV Error:
Status=The function/feature is not implemented
function name=CvMat_origin_get
error message=IplImage is replaced by CvMat in Python, so its fields are read-only file_name=_cv.cpp
line=6080
DEBUG: events -> Event's handler has been stoped
Same problem here (with Lucid).
After changing line 149 manually to "/usr/bin/python2.6 ....", I get the following error:
Xlib.protocol. request. QueryExtension pymodules/ python2. 6/mouseTrap/ scriptHdlr. py", line 57, in _loadThirdProfiles prof.setName] = prof.Profile pymodules/ python2. 6/mouseTrap/ cam.py" , line 142, in _checkImg cmQueryCapture( flip = self.settings. getboolean( "cam", "flipImage" ) ) pymodules/ python2. 6/mouseTrap/ ocvfw.py" , line 273, in cmQueryCapture pymodules/ python2. 6/opencv/ cv.py", line 2097, in <lambda> pymodules/ python2. 6/opencv/ cv.py", line 48, in _swig_setattr nondynamic( self,class_ type,name, value,0) pymodules/ python2. 6/opencv/ cv.py", line 41, in _swig_setattr_ nondynamic origin_ get
file_name= _cv.cpp
DEBUG: mouseTrap -> Settings have been loaded
DEBUG: mouseTrap -> DBus Service has been started
ERROR: scripts -> The Profile load failed
Traceback (most recent call last):
File "/usr/lib/
modes[
AttributeError: 'module' object has no attribute 'Profile'
DEBUG: scripts -> Mousetrap holdProfile Profile has been loaded
DEBUG: scripts -> Mousetrap dragProfile Profile has been loaded
DEBUG: scripts -> Mousetrap screenProfile Profile has been loaded
ERROR: mainGui -> All arguments must be INT
ERROR: mainGui -> All arguments must be INT
DEBUG: events -> New Area Listener Added
DEBUG: events -> New Area Listener Added
DEBUG: scripts -> Profile Started
DEBUG: mouseTrap -> MainGui has been started
DEBUG: ocvfw -> cmStartCamera: Camera Started
DEBUG: mouseTrap -> Camera Module has been started
DEBUG: mouseTrap -> Events handler has been started
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.img.origin = frame.origin
File "/usr/lib/
__setattr__ = lambda self, name, value: _swig_setattr(self, CvMat, name, value)
File "/usr/lib/
return _swig_setattr_
File "/usr/lib/
if method: return method(self,value)
RuntimeError: openCV Error:
Status=The function/feature is not implemented
function name=CvMat_
error message=IplImage is replaced by CvMat in Python, so its fields are read-only
line=6080
DEBUG: events -> Event's handler has been stoped