Package: gnome-mousetrap
Version: 0.3+svn17-1
Severity: normal
--- Please enter the report below this line. ---
I can't run mousetrap, because I have no .mouseTrap directory.
Apparently mousetrap is not able to detect this and create the
configuration. This is what I get:
> $ mousetrap
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py", line 47, in <module>
> from . import mouse
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouse.py", line 57, in <module>
> debug.debug( "mousetrap.mouse", "GNOME desktop has been detected" )
> File "/usr/lib/pymodules/python2.5/mouseTrap/debug.py", line 82, in debug
> checkModule(module)
> File "/usr/lib/pymodules/python2.5/mouseTrap/debug.py", line 63, in checkModule
> file = logging.FileHandler( env.debugFile )
> File "/usr/lib/python2.5/logging/__init__.py", line 770, in __init__
> stream = open(filename, mode)
> IOError: [Errno 2] No such file or directory: '/home/giovanni/.mouseTrap/mouseTrap_DEBUG.log'
This gets repeated many times, until I terminate the program with
Ctrl-C. Creating the directory and the files doesn't help:
> $ mkdir .mouseTrap
> $ touch .mouseTrap/mouseTrap_DEBUG.log
> $ mousetrap
> DEBUG: mousetrap.mouse -> GNOME desktop has been detected
> ERROR: mousetrap -> Mousetrap Settings load failed.
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py", line 247, in loadSettings
> settings.readfp(open( env.configFile ))
> IOError: [Errno 2] No such file or directory: '/home/giovanni/.mouseTrap/userSettings.cfg'
This time the program quits immediately after the error. Keeping on:
> $ touch .mouseTrap/userSettings.cfg
> $ mousetrap
> DEBUG: mousetrap.mouse -> GNOME desktop has been detected
> DEBUG: mouseTrap -> Settings have been loaded
> DEBUG: mouseTrap -> DBus Service has been started
> ERROR: mousetrap -> Main Gui load failed
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py", line 169, in showMainGui
> if settings.getboolean( "gui", "showMainGui" ):
> File "/usr/lib/python2.5/ConfigParser.py", line 330, in getboolean
> v = self.get(section, option)
> File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
> raise NoSectionError(section)
> NoSectionError: No section: 'gui'
> ERROR: mousetrap -> Camera Module load failed
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py", line 187, in startCam
> modules["cam"] = cam.Camera()
> File "/usr/lib/pymodules/python2.5/mouseTrap/cam.py", line 85, in __init__
> self.step = self.settings.getint( "mouse", "stepSpeed" )
> File "/usr/lib/python2.5/ConfigParser.py", line 321, in getint
> return self._get(section, int, option)
> File "/usr/lib/python2.5/ConfigParser.py", line 318, in _get
> return conv(self.get(section, option))
> File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
> raise NoSectionError(section)
> NoSectionError: No section: 'mouse'
> ERROR: mousetrap -> Events Handler Load Failed
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py", line 206, in startEventsHandler
> if settings.getboolean( "main", "startCam"):
> File "/usr/lib/python2.5/ConfigParser.py", line 330, in getboolean
> v = self.get(section, option)
> File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
> raise NoSectionError(section)
> NoSectionError: No section: 'main'
This time I think it is expecting some content in the config file, which
I am unable to build. So far, I'm giving up! :-)
Regards, Giovanni.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.29-1-686
Debian Release: squeeze/sid
500 unstable www.debian-multimedia.org
500 unstable ftp.it.debian.org
500 testing ftp.it.debian.org
500 stable ftp.it.debian.org
1 experimental ftp.it.debian.org
--- Package information. ---
Depends (Version) | Installed
=============================-+-===========
python (<< 2.6) | 2.5.4-2
python (>= 2.5) | 2.5.4-2
python-support (>= 0.7.1) | 1.0.2
python-xlib | 0.14-2
python-pyatspi | 1.26.0-1
python-opencv | 1.0.0-6.1+b1
Package's Recommends field is empty.
Package's Suggests field is empty.
--
Giovanni Mascellani <g.mascellani@gmail.com>
Pisa, Italy
Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani@jabber.org / giovanni@elabor.homelinux.org
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD 003F FCB0 BB5C 5F1F BF70)
Attachment:
signature.asc
Description: OpenPGP digital signature