Closed kartavenko1983 closed 9 months ago
@ilya-fedin what should be the correct result of executing the command?
That explains why it didn't help, you have an advanced locale setup
Try env LC_ALL=C ./Telegram
@ilya-fedin
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
on my system: $ env | grep LC_ LC_ALL=en_US.UTF-8
$ env LC_ALL=C ./Telegram Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
That's right. Do calls work now? If yes, you can try LC_ALL=C.UTF-8
to suppress the warning.
it helps, but not understand why not work with en_us or ru_ru
@ilya-fedin, When launched from a terminal with the LC_ALL=C parameter, calls work, with the LC_ALL=C.UTF-8 parameter, they work the same way. When starting telegram by default, calls do not work.
This sounds crazy, but redefining LC_ALL=C
on any side fixes the problem.
By default on Fedora LC
is not defined.
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
mikhail@primary-ws ~> env | grep LC
mikhail@primary-ws ~ [0|1]>
if LC_* aren't defined then the value from $LANG is used and undefining $LANG (the first command I asked to try) should be enough
but not understand why not work with en_us or ru_ru
Linux's standard C++ library thinks converting integer to string should be locale-dependent
@ilya-fedin How to fix it all, do not run it through the terminal every time?
if LC_* aren't defined then the value from $LANG is used and undefining $LANG
mikhail@primary-ws ~> echo $LANG
en_US.UTF-8
(the first command I asked to try) should be enough
mikhail@primary-ws ~> env -u LANG Downloads/Telegram/Telegram
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
yes, I confirm on Fedora it enough
How to fix it all, do not run it through the terminal every time?
This has to be done in source code. Do you want to build tdesktop from source?
@ilya-fedin No
@ilya-fedin
Okay, thanks a lot, we'll be waiting
after last update to beta Telegram crashes after accepting call, crash report has been sent automatically
@VladimirMrzv, You need to create a separate problem, and specify the failure ID
@kartavenko1983 No need, it'll be fixed later today.
In version 4.14.11 beta, the calls worked correctly, we are waiting for the stable version to be updated
last_call_log.txt last_openal_log.txt log.txt log.txt
Steps to reproduce
Expected behaviour
A connection should be made and a voice communication session is taking place
Actual behaviour
telegram exchange of encryption keys during a call it ends with an error, the call ends after 20 seconds
Operating system
linux
Version of Telegram Desktop
4.14.4
Installation source
Static binary from official website
Crash ID
No response
Logs
No response