[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568858: gnome-mousetrap: doesn't work (opencv 1 → 2 problem?)



Subject: gnome-mousetrap: doesn't work (opencv 1 → 2 problem?)
Package: gnome-mousetrap
Version: 0.3+zgit2872572a-1
Justification: renders package unusable
Severity: grave

Hi,
gnome-mousetrap doesn't work for me. I see no image from webcam, the
mouse pointer doesn't move. The following error message is shown when
running in a terminal.

It may be a problem with the new OpenCV 2.0 library.

Ciao,
steko

steko@gibreel:~$ mousetrap 
Xlib.protocol.request.QueryExtension
DEBUG: mousetrap.mouse -> GNOME desktop has been detected
DEBUG: mouseTrap -> Settings have been loaded
DEBUG: mouseTrap -> DBus Service has been started
DEBUG: scripts -> Mousetrap holdProfile Profile has been loaded
ERROR: scripts -> The Profile load failed
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/mouseTrap/scriptHdlr.py", line 57, in _loadThirdProfiles
    modes[prof.setName] = prof.Profile
AttributeError: 'module' object has no attribute 'Profile'
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.5/mouseTrap/cam.py", line 142, in _checkImg
    self.cmQueryCapture( flip = self.settings.getboolean( "cam", "flipImage" ) )
  File "/usr/lib/pymodules/python2.5/mouseTrap/ocvfw.py", line 273, in cmQueryCapture
    self.img.origin     = frame.origin
  File "/usr/lib/pymodules/python2.5/opencv/cv.py", line 2097, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, CvMat, name, value)
  File "/usr/lib/pymodules/python2.5/opencv/cv.py", line 48, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/usr/lib/pymodules/python2.5/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



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-mousetrap depends on:
ii  python                   2.5.4-9         An interactive high-level
object-o
ii  python-opencv            2.0.0-3+b1      Python bindings for the
computer v
ii  python-pyatspi           1.28.1-3        Assistive Technology
Service Provi
ii  python-support           1.0.6           automated rebuilding
support for P
ii  python-xlib              0.14+20091101-1 Interface for Python to the
X11 Pr

gnome-mousetrap recommends no packages.

gnome-mousetrap suggests no packages.

-- no debconf information
-- 
Stefano Costa
http://www.iosa.it/ Open Archaeology

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: