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

Bug#526642: marked as done ([gnome-mousetrap] unable to create config dir and files)



Your message dated Sat, 02 May 2009 19:33:01 +0000
with message-id <E1M0KxJ-0002mp-Gg@ries.debian.org>
and subject line Bug#526642: fixed in gnome-mousetrap 0.3+svn17-2
has caused the Debian Bug report #526642,
regarding [gnome-mousetrap] unable to create config dir and files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
526642: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526642
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: gnome-mousetrap
Source-Version: 0.3+svn17-2

We believe that the bug you reported is fixed in the latest version of
gnome-mousetrap, which is due to be installed in the Debian FTP archive:

gnome-mousetrap_0.3+svn17-2.diff.gz
  to pool/main/g/gnome-mousetrap/gnome-mousetrap_0.3+svn17-2.diff.gz
gnome-mousetrap_0.3+svn17-2.dsc
  to pool/main/g/gnome-mousetrap/gnome-mousetrap_0.3+svn17-2.dsc
gnome-mousetrap_0.3+svn17-2_all.deb
  to pool/main/g/gnome-mousetrap/gnome-mousetrap_0.3+svn17-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 526642@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <samuel.thibault@ens-lyon.org> (supplier of updated gnome-mousetrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 Feb 2009 20:12:30 +0100
Source: gnome-mousetrap
Binary: gnome-mousetrap
Architecture: source all
Version: 0.3+svn17-2
Distribution: unstable
Urgency: low
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Description: 
 gnome-mousetrap - Head tracked mouse control
Closes: 526642
Changes: 
 gnome-mousetrap (0.3+svn17-2) unstable; urgency=low
 .
   * Make mouseTrap.py create .mouseTrap/ as soon as possible, and create the
     config file not only when .mouseTrap/ does not exist. (Closes: #526642)
Checksums-Sha1: 
 8ab3e911b6a6a730c101b9e6cdfd810d1715599c 1317 gnome-mousetrap_0.3+svn17-2.dsc
 39ad455250062edc6f29ac0c3cee4ba24591be13 8740 gnome-mousetrap_0.3+svn17-2.diff.gz
 ea295e6b0419765e1a080838683b0b04f832a092 984442 gnome-mousetrap_0.3+svn17-2_all.deb
Checksums-Sha256: 
 099a80422f367ab8a67e13d7a370a1725d521e5c3a3783941755ef91018999fc 1317 gnome-mousetrap_0.3+svn17-2.dsc
 5cd36314fb5864052ae4d8b1aad6ccf57ed4e4612af5e5f9d949c456a3001e7a 8740 gnome-mousetrap_0.3+svn17-2.diff.gz
 2832592cabf2f79f911354db64bb68a5e261bbf29accb014b1e0764f0ab0b92f 984442 gnome-mousetrap_0.3+svn17-2_all.deb
Files: 
 7d32a7498f41bd3b18828432ed8b332b 1317 gnome optional gnome-mousetrap_0.3+svn17-2.dsc
 e12f67d1955984b4db20291a78e0d501 8740 gnome optional gnome-mousetrap_0.3+svn17-2.diff.gz
 eb3711dfe61e1645f7c63c4bd849d697 984442 gnome optional gnome-mousetrap_0.3+svn17-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn8cnEACgkQH3zgowGB3PYr9ACfYad85vh5LktXsuXcq9Amovzh
wEgAoNuOBSAvvDaomUXJM2HBIQk4ZrpU
=rmnQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: