Bug#526642: [gnome-mousetrap] unable to create config dir and files
Giovanni Mascellani <g.mascellani <at> gmail.com>
2009-05-02 12:51:22 GMT
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
(Continue reading)