caldurza / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Cannot "stop" autokey daemon on non-English locales #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install another language, such as fr_FR
2. Execute the following in a terminal:

:: TEST CASE ::
root@karmic-vm:~# echo $LANG
en_US.UTF-8
root@karmic-vm:~# invoke-rc.d autokey start
root@karmic-vm:~# pkill -9 -f autokey
root@karmic-vm:~# LC_ALL=fr_FR.UTF-8 invoke-rc.d autokey stop
[Errno 3] Aucun processus de ce type
invoke-rc.d: initscript autokey, action "stop" failed.
root@karmic-vm:~#
:: END TEST CASE ::

The error lies on
http://code.google.com/p/autokey/source/browse/trunk/src/lib/daemon.py#111
, where the daemon checks the error text rather than the error code.

This error seems to primarily be presenting itself when removing the
autokey package, but can occur under the situation described above. See
https://launchpad.net/bugs/479131 for more information. 

Original issue reported on code.google.com by Luke.Faraone on 1 Dec 2009 at 1:35

GoogleCodeExporter commented 8 years ago
Should be fixed in svn 192.

Original comment by Luke.Faraone on 6 Dec 2009 at 7:04

GoogleCodeExporter commented 8 years ago

Original comment by Luke.Faraone on 2 Feb 2010 at 11:45