Bug#830671: klavaro: Does not start when locale is FI_fi

2017-05-07 Thread Felipe Castro
Hi, this is a very tiny bug, and it was difficult to find it! The problem
is the default keyboard indicated for Finnish, it is defined as
"querty_se", but it should be "qwerty_se" (to see the difference, pay
attention to the u ==> w mispelling).

Hope to be fixed from version 3.03, ok?

Felipe Castro



2016-07-10 6:08 GMT-03:00 Tapio Lehtonen :

> Package: klavaro
> Version: 3.01-1
> Severity: normal
> Tags: l10n
>
> Subject: klavaro: Does not start when locale is FI_fi
> Package: klavaro
> Version: 3.01-1
> Severity: normal
> Tags: l10n
>
> Trying to start Klavaro from GUI menu fails. Starting from terminal
> window shows error message:
>
> taleman@yosemitesam:~$ klavaro
>
> ** (klavaro:2915): ERROR **: couldn't open the default keyboard layout:
> [querty_se]
> Jäljitys/katkaisupisteansa
> taleman@yosemitesam:~$ LANG=C klavaro
> ** Message: Empty accuracy log: /home/taleman/.local/share/
> klavaro/accuracy.log_qwerty_us
> ** Message: Empty proficiency log: /home/taleman/.local/share/
> klavaro/proficiency.log_qwerty_us
> ** Message: Empty accuracy log: /home/taleman/.local/share/
> klavaro/accuracy.log_qwerty_se
> ** Message: Empty proficiency log: /home/taleman/.local/share/
> klavaro/proficiency.log_qwerty_se
>
> Adiaux!
> taleman@yosemitesam:~$
>
> This can be fixed with starting klavaro prepending LANG=C to the
> command line. Then change keyboad layout to Swedish and language to
> Finnish. After this Klavaro starts OK from GUI menu and from command line.
>
> By the way, klavaro does not show Finnish keyboard layout in the
> menu. Finnish and Swedish keyboard layouts are exactly the same, so
> copying and renaming would fix this issue.
>
> I suspect this is caused by locale setting, and Klavaro would work OK with
> some other locale.
>
> taleman@yosemitesam:~$ locale
> LANG=fi_FI.UTF-8
> LANGUAGE=
> LC_CTYPE="fi_FI.UTF-8"
> LC_NUMERIC="fi_FI.UTF-8"
> LC_TIME="fi_FI.UTF-8"
> LC_COLLATE="fi_FI.UTF-8"
> LC_MONETARY="fi_FI.UTF-8"
> LC_MESSAGES="fi_FI.UTF-8"
> LC_PAPER="fi_FI.UTF-8"
> LC_NAME="fi_FI.UTF-8"
> LC_ADDRESS="fi_FI.UTF-8"
> LC_TELEPHONE="fi_FI.UTF-8"
> LC_MEASUREMENT="fi_FI.UTF-8"
> LC_IDENTIFICATION="fi_FI.UTF-8"
> LC_ALL=
> taleman@yosemitesam:~$
>
>
> -- System Information:
> Debian Release: 8.5
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages klavaro depends on:
> ii  libatk1.0-0  2.14.0-1
> ii  libc62.19-18+deb8u4
> ii  libcairo-gobject21.14.0-2.1+deb8u1
> ii  libcairo21.14.0-2.1+deb8u1
> ii  libcurl3-gnutls  7.38.0-4+deb8u3
> ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u5
> ii  libglib2.0-0 2.42.1-1+b1
> ii  libgtk-3-0   3.14.5-1+deb8u1
> ii  libpango-1.0-0   1.36.8-3
> ii  libpangocairo-1.0-0  1.36.8-3
>
> klavaro recommends no packages.
>
> klavaro suggests no packages.
>
> -- no debconf information
>
> -- System Information:
> Debian Release: 8.5
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages klavaro depends on:
> ii  libatk1.0-0  2.14.0-1
> ii  libc62.19-18+deb8u4
> ii  libcairo-gobject21.14.0-2.1+deb8u1
> ii  libcairo21.14.0-2.1+deb8u1
> ii  libcurl3-gnutls  7.38.0-4+deb8u3
> ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u5
> ii  libglib2.0-0 2.42.1-1+b1
> ii  libgtk-3-0   3.14.5-1+deb8u1
> ii  libpango-1.0-0   1.36.8-3
> ii  libpangocairo-1.0-0  1.36.8-3
>
> klavaro recommends no packages.
>
> klavaro suggests no packages.
>
> -- no debconf information
>
>


Bug#830671: klavaro: Does not start when locale is FI_fi

2016-07-10 Thread Tapio Lehtonen
Package: klavaro
Version: 3.01-1
Severity: normal
Tags: l10n

Subject: klavaro: Does not start when locale is FI_fi
Package: klavaro
Version: 3.01-1
Severity: normal
Tags: l10n

Trying to start Klavaro from GUI menu fails. Starting from terminal
window shows error message:

taleman@yosemitesam:~$ klavaro 

** (klavaro:2915): ERROR **: couldn't open the default keyboard layout: 
[querty_se]
Jäljitys/katkaisupisteansa
taleman@yosemitesam:~$ LANG=C klavaro
** Message: Empty accuracy log: 
/home/taleman/.local/share/klavaro/accuracy.log_qwerty_us
** Message: Empty proficiency log: 
/home/taleman/.local/share/klavaro/proficiency.log_qwerty_us
** Message: Empty accuracy log: 
/home/taleman/.local/share/klavaro/accuracy.log_qwerty_se
** Message: Empty proficiency log: 
/home/taleman/.local/share/klavaro/proficiency.log_qwerty_se

Adiaux!
taleman@yosemitesam:~$ 

This can be fixed with starting klavaro prepending LANG=C to the
command line. Then change keyboad layout to Swedish and language to
Finnish. After this Klavaro starts OK from GUI menu and from command line. 

By the way, klavaro does not show Finnish keyboard layout in the
menu. Finnish and Swedish keyboard layouts are exactly the same, so
copying and renaming would fix this issue.

I suspect this is caused by locale setting, and Klavaro would work OK with some 
other locale.

taleman@yosemitesam:~$ locale
LANG=fi_FI.UTF-8
LANGUAGE=
LC_CTYPE="fi_FI.UTF-8"
LC_NUMERIC="fi_FI.UTF-8"
LC_TIME="fi_FI.UTF-8"
LC_COLLATE="fi_FI.UTF-8"
LC_MONETARY="fi_FI.UTF-8"
LC_MESSAGES="fi_FI.UTF-8"
LC_PAPER="fi_FI.UTF-8"
LC_NAME="fi_FI.UTF-8"
LC_ADDRESS="fi_FI.UTF-8"
LC_TELEPHONE="fi_FI.UTF-8"
LC_MEASUREMENT="fi_FI.UTF-8"
LC_IDENTIFICATION="fi_FI.UTF-8"
LC_ALL=
taleman@yosemitesam:~$ 


-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages klavaro depends on:
ii  libatk1.0-0  2.14.0-1
ii  libc62.19-18+deb8u4
ii  libcairo-gobject21.14.0-2.1+deb8u1
ii  libcairo21.14.0-2.1+deb8u1
ii  libcurl3-gnutls  7.38.0-4+deb8u3
ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u5
ii  libglib2.0-0 2.42.1-1+b1
ii  libgtk-3-0   3.14.5-1+deb8u1
ii  libpango-1.0-0   1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3

klavaro recommends no packages.

klavaro suggests no packages.

-- no debconf information

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages klavaro depends on:
ii  libatk1.0-0  2.14.0-1
ii  libc62.19-18+deb8u4
ii  libcairo-gobject21.14.0-2.1+deb8u1
ii  libcairo21.14.0-2.1+deb8u1
ii  libcurl3-gnutls  7.38.0-4+deb8u3
ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u5
ii  libglib2.0-0 2.42.1-1+b1
ii  libgtk-3-0   3.14.5-1+deb8u1
ii  libpango-1.0-0   1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3

klavaro recommends no packages.

klavaro suggests no packages.

-- no debconf information