[Pkg-privacy-maintainers] Bug#943922: torbrowser-launcher always downloads the en_US version of the TBB

Max Martel maxben.martel at gmail.com
Thu Oct 31 21:59:43 GMT 2019


Package: torbrowser-launcher
Version: 0.3.2-2

When my locale is something other than en_US, torbrowser-launcher always
downloads the en_US version of TBB. Note that the 'force_en-US' setting is
set to False.

I suspect that this is due to the following Debian patch:
https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher/blob/debian/sid/debian/patches/0008-Revert-Properly-detect-the-system-s-locale.patch,
which uses *locale.getlocale(locale.LC_MESSAGES)[0] *to grab the locale.
The issue is that this will return *(None, None) *since it was never set in
the application*.  *

A potential fix would be to set the Python locale in the application
using *locale.setlocale(locale.LC_MESSAGES,
'')*, as per the following Github issue:
https://github.com/micahflee/torbrowser-launcher/issues/361.

I am using Debian GNU/Linux 4.19, kernel 4.19.67-2+deb10u1~bpo9+1 and libc6
2.24.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20191031/13038d29/attachment.html>


More information about the Pkg-privacy-maintainers mailing list