Qt svg error while inflating gzip file svg format check failed

TG desktop on linux crashes when trying to join channel over 500 #24975 Comments Steps to reproduce Join 500 channels on a free account Open another channel and click JOIN CHANNEL It shows the Premium offer for a moment Telegram crashes Expected behaviour Actual behaviour Operating system Linux 20.04.4 LTS (Focal Fossa) x86_64 MATE […]

Содержание

  1. TG desktop on linux crashes when trying to join channel over 500 #24975
  2. Comments
  3. Steps to reproduce
  4. Expected behaviour
  5. Actual behaviour
  6. Operating system
  7. Version of Telegram Desktop
  8. Installation source
  9. Arch Linux
  10. #1 2022-10-14 22:25:45
  11. [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  12. #2 2022-10-14 23:41:46
  13. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  14. #3 2022-10-15 11:07:15
  15. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  16. #4 2022-10-15 11:13:08
  17. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  18. #5 2022-10-15 11:33:54
  19. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  20. #6 2022-10-15 11:44:42
  21. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  22. #7 2022-10-15 14:12:31
  23. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  24. #8 2022-10-15 14:34:21
  25. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  26. #9 2022-10-16 05:03:31
  27. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  28. #10 2022-10-16 05:05:15
  29. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  30. #11 2022-10-16 07:40:45
  31. Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).
  32. Telegram doesn’t respect QT_QPA_PLATFORM=wayland anymore #23877
  33. Comments
  34. Steps to reproduce
  35. Expected behaviour
  36. Actual behaviour
  37. Operating system
  38. Version of Telegram Desktop
  39. Installation source
  40. error cannot open #16897
  41. Comments
  42. Arch Linux
  43. FS#71422 — [telegram-desktop] v2.8.4-1 can’t download files
  44. Details

TG desktop on linux crashes when trying to join channel over 500 #24975

Steps to reproduce

  1. Join 500 channels on a free account
  2. Open another channel and click JOIN CHANNEL
  3. It shows the Premium offer for a moment
  4. Telegram crashes

Expected behaviour

Actual behaviour

Operating system

Linux 20.04.4 LTS (Focal Fossa) x86_64 MATE 1.26.0

Version of Telegram Desktop

Telegram Desktop 4.1.1 stable flathub org.telegram.desktop

Installation source

The text was updated successfully, but these errors were encountered:

plz try downloading official version from https://desktop.telegram.org if it still crashes, enable beta and restart telegram and try to get a new crash and send crash id.

Official version from https://desktop.telegram.org/ still crashes with the same output.

qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment

Beta also crashes with the same output.

qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed

enable beta and restart telegram and try to get a new crash and send crash id.

Beta also crashes with the same output.

You missed the key point: send the report tag from the crash reporter

Источник

Arch Linux

You are not logged in.

#1 2022-10-14 22:25:45

[SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Up until about 10 days ago, I had telegram-desktop-bin installed from the AUR.
Issues started when I installed the snap standard package: local/telegram-desktop 4.2.4-1.

Present setup is:
— OS (6.0.1-arch2-1),
local/telegram-desktop 4.2.4-1 installed
local/telegram-qt 0.1.0-4 installed
local/gdm 42.0+r11+g4a52f026-1 (gnome) re-install
extra/gnome-shell 1:42.5-1 re-install
extra/gnome-shell-extensions 42.3-1 re-install
extra/libgdm 42.0+r11+g4a52f026-1 re-install
-> reboot:

. replicated well over 200 times over an 6 hour session (between boot and shut-down).

Full journalctl -b -o short-precise log is at: http://ix.io/4daU
All errors related to Telegram are also related to the failed «SVG format check».

— Thinking It was a Telegram scalable graphic icon issue, I did:

where the output is at: http://ix.io/4da0
where I converted a png Telegram Messenger icon to standard svg format and manually placed it in /usr/share/icons/hicolor/scalable/apps, rebooted . to no avail.

— I installed Qt bindings local/telegram-qt 0.1.0-4 above, although I don’t imagine that the issue is related to absent bindings for the telegram protocol.
— I also went to the home page and to the GNOME project home page to consult the Gnome discourse bbs for any similar looking issue. However telegram-desktop not being a Gnome app, it is out of scope for the Gnome team.

Any pointers are welcome.

Last edited by Cbhihe (2022-11-12 20:36:53)

I like strawberries, therefore I’m not a bot.

#2 2022-10-14 23:41:46

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Any reason why you prefer the AUR package over the community one? telegram-desktop is a community package. I’m just wondering.

#3 2022-10-15 11:07:15

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@matse:
What makes you think so ? I don’t favor one over the other. Standard snap packages from either «local/», «community/» or «extra/» are maybe more straightforward to install/manage. (We should take that debate elsewhere.)

Last edited by Cbhihe (2022-10-15 11:29:58)

I like strawberries, therefore I’m not a bot.

#4 2022-10-15 11:13:08

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

What exactly do you mean by a «snap package»? I don’t think that means what you think it means

#5 2022-10-15 11:33:54

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@arojas: you’re right. I deal with snap packàges a lot in my work but not for Arch hosts. Rectified.

I like strawberries, therefore I’m not a bot.

#6 2022-10-15 11:44:42

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Doe you have any qt.svg icon somewhere? If not, maybe try to add one in

#7 2022-10-15 14:12:31

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@progandy:
Tx. Did that. No qt.svg at those queried locations.
Made a legit svg file file up and placed it at /usr/share/icons/hicolor/scalable/apps/qt.svg. Rebooted. Same behavior. Systemd Journal log still gets spammed as soon as telegram-desktop is launched and everytime the first time the Telegram client sends or receives a message.

Last edited by Cbhihe (2022-10-16 12:00:44)

I like strawberries, therefore I’m not a bot.

#8 2022-10-15 14:34:21

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Something curious and I did not mention is the regularity and predictability of the error entry in the log.
Essentially at boot only 2 identical entries appear, just at the end of the journal log for the current boot and after the login session starts. That’s when the autostarting of telegram-desktop occurs.
Then the first time a message is sent from telegram-desktop the same line, only replicated 158 times (that’s 159 lines in total), are logged. No error entry is logged for received messages

On subsequent message sends and receives, no error entry is logged. So when I mentioned in post#1 that the systemd boot log showed well over 200 messages (in fact well other 600 for certain past sessions during which I spent time making sense of this), it was only because in order to troubleshoot the issue, I was manually killing and restarting the telegram-desktop app within the same OS session, thus generating new journal log entries.

Last edited by Cbhihe (2022-10-16 11:18:25)

I like strawberries, therefore I’m not a bot.

#9 2022-10-16 05:03:31

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

I have this installed

I use lightdm and XFCE. Qt version 5.15.6

Last edited by u666sa (2022-10-16 18:02:57)

#10 2022-10-16 05:05:15

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

There is an issue on github

This error is printed by Qt. The cause is not necessarily the telegram.svg, one has to debug Qt to find the real cause.

#11 2022-10-16 07:40:45

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@u666sa:
That GitHub issue you refer to was opened by me 10 days ago. It garnered this one comment and was subsequently closed.

@u666sa:
Can you share your setup by appending to post #9 ? Of particular interest are whether you use GDM, Xorg or Wayland and your install version of Qt. Tx.

It would suggest that telegram-desktop uses Qt as framework for the app codebase and that Qt in turn tries (unsuccessfully?) to use the SVG icon theme ? I’ve been looking in that general direction, unsuccessfully so far. The curious thing is this only ever happens with telegram-desktop .

On this bbs, one find some references to the exact same logged entry, e.g. here and here, but their appear in slightly different contexts, although in contexts having GDM and Qt in common.
Outside the Arch forum, I found this.

Pointers to continue troubleshooting welcome.

Last edited by Cbhihe (2022-10-16 12:42:50)

I like strawberries, therefore I’m not a bot.

Источник

Telegram doesn’t respect QT_QPA_PLATFORM=wayland anymore #23877

Steps to reproduce

Run telegram with native wayland, e.g:

either from cli or by updating the desktop file.

This worked up until 3.4.3.

Expected behaviour

Telegram should run as a wayland application.

Actual behaviour

Telegram runs as X

Operating system

Version of Telegram Desktop

Installation source

Apt installation from Debian sources.

The text was updated successfully, but these errors were encountered:

Static binary from official website

It seems there’s some confusion since static binary from official website can’t print these lines.

Hey, sorry. It’s installed via apt (debian sources):

Can you fix info in your first post?

I am seeing the same thing on Arch Linux:

This was working on 3.3.0 and lower. Might be that the switch to Qt6 caused this?

Partially yes. Qt 6 started defaulting to Wayland on GNOME what caused a lot of complains and GNOME was blacklisted in tdesktop code.

I suppose you mean this ?

I build telegram-desktop from source, excluding this commit and it seems to work fine for me. What were the issues you encountered on Wayland + Gnome? Or was it a specific Gnome version? Regardless, should we allow to override defaulting back to XWayland? As it seems to work in my situation.

Flickering, another cursor theme & size, troubles with context menu positions (can be out-of-screen or not visible at all if Telegram window is maximized)

Hmm interesting, haven’t noticed any of those issues yet. I’ll keep an eye out for them. Were they incredibly noticeable, or very rare? The only issue I noticed (though that was also present in earlier versions) is that the default interface scaling is set to 200% (possibly because I’m using 150% fractional scaling?), making the cursor twice as big (the rest of the interface seems normally sized to me).

Is there something I can do to help debug these issues?

Would a PR that respects QT_QPA_PLATFORM again, defaulting to XWayland like before, be accepted?

Were they incredibly noticeable, or very rare?

Firstly I thought it’s an old bugged version of GNOME, but then a person with GNOME 41 confirmed it’s still an issue.

making the cursor twice as big (the rest of the interface seems normally sized to me).

Well, it’s not scale, Qt just has another default cursor size and doesn’t respect GNOME settings on Wayland

Would a PR that respects QT_QPA_PLATFORM again, defaulting to XWayland like before, be accepted?

@hgaiser Yes, QT_QPA_PLATFORM should be respected, if set.

@ilya-fedin suggested a to fix it in the code from the mentioned above commit in such way:

if (Platform::DesktopEnvironment::IsGnome() && qEnvironmentVariableIsEmpty(«QT_QPA_PLATFORM»)) .

Источник

error cannot open #16897

The application is unexpectedly terminating when trying to run and displays the following error output on the console

** (process:24503): WARNING **: 17:31:45.266: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
** Message: 17:31:45.266: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
** Message: 17:31:45.266: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

(process:24503): Telegram-WARNING **: 17:31:45.266: Application has been built with foreign rlottie, animated emojis won’t be colored to the selected pack.

(process:24503): Telegram-WARNING **: 17:31:45.266: Application was built without embedded fonts, this may lead to font issues. On Debian-based systems, make sure you have the fonts-open-sans package installed
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
Aborted

System: Debian Bullseye
Package Version: 2.6.1+ds-1
DE: Xfce 4.16
Theme: WhiteSur-dark-solid [GTK2]
Icons: WhiteSur-dark [GTK2]

The text was updated successfully, but these errors were encountered:

Источник

Arch Linux

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the ‘flag out of date’ link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71422 — [telegram-desktop] v2.8.4-1 can’t download files

Task Type Bug Report
Category Packages
Status Closed
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete
Votes 1

Details

Description: Telegram Desktop crashes while trying to download a file

Additional info:
* package version(s): 2.8.4-1

Steps to reproduce:

1. Download a file and see the hang

From what I read from a terminal window, there are some errors related a gzip file. Don’t know if this can help fixing the issue. Below a log:

(telegram-desktop:62118): lib_base-WARNING **: 01:12:03.383: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
lib_base-Message: 01:12:03.384: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
lib_base-Message: 01:12:03.384: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

Источник

Другой курсор в telegram desktop gnome 43.2

После переустановки моей основной ос случилась неприяная вещь- в телеграм у меня не системный курсор.В системе у меня стоит Oreo black cursors,во всех программах и играх курсор тот же что и в системе,но в телеграм он самый обычный,из гном,конечно я нашел некое решение этого поставив kotagram но он уже довольно давно не обновлялся и многие сообщения не отображаются,проблема встречается и с пакетом rpm и flatpak

Я извиняюсь я не опытный пользователь,не могли бы ли вы написать команду?Если вам удобно конечно же

Давай сначала проверим, всё ли работает как надо.

Запусти в терминале телегу, но перед ней напиши это

вместо адвайты свою пиши

сюда скопируй чего написал и чего говорит терминал

после запуска через sudo все заработало

Не надо запускать телегу через sudo, бро!

не знаю что именно помогло при запуске от рута

Но один факт что оно запустилось как надо,плохо то что я уж точно не буду каждый раз запускать телегу от рута

Вот поэтому никто не любит помогать новичкам, ибо они не делают то, что им говорят.

Ещё раз, никаких судо.

Как я понял нужно так,но как я и описывал в удаленном коментарии курсор все так же остается другим

Пробуй менять название темы, например

Скорее всего название неверно пишешь.

Реакция никак не измненилась,название Oreo_black_cursors я взя прямиком из gnome-tweaks

попробуй-ка так, не пиши про тему

Да, выхлоп то был какой по теме в терминал?

Проблема связана с вейландом.

Сработало на xwayland, это такая прокладка иксовая.

Теперь варианта два: либо фиксируем этот вариант, если тебя всё устраивает, либо разбираемся дальше. Как?

Погуглив чють раньше я тоже понял что проблема в wayland и тоже хотел включить XWayland но по тому гайду который был приложен это не получилось.Меня полностью устраивает вариант с фиксацией XWayland

Скопируй из каталога

открой в редакторе тот который теперь в хомяке

в строке Exec добавь как в терминале, типа

Извини за стиль, я с телефона…

/.bashrc сразу, эта же проблема у всех qt приложений.

у меня ничего не поучилось. /usr/share/applications здесь я нашел ярлык и скопировал (не вырезал,переместил и тд. просто скопировал) в

/.local/share/applications Поставил Exec=QT_QPA_PLATFORM=xcb а то что дальше не менял,ничего не поменялось,закинул измененный ярлык в /usr/share/applications и он пропал в меню программ,сейчас могу приложить код из ярлыка который у меня как бэкап,скорее всего вы лучше знаете,если удобно то можете его отредактировать как надо

Источник

error cannot open #16897

Comments

wsalmeida commented Sep 3, 2021

The application is unexpectedly terminating when trying to run and displays the following error output on the console

** (process:24503): WARNING **: 17:31:45.266: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
** Message: 17:31:45.266: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
** Message: 17:31:45.266: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

(process:24503): Telegram-WARNING **: 17:31:45.266: Application has been built with foreign rlottie, animated emojis won’t be colored to the selected pack.

(process:24503): Telegram-WARNING **: 17:31:45.266: Application was built without embedded fonts, this may lead to font issues. On Debian-based systems, make sure you have the fonts-open-sans package installed
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
Aborted

System: Debian Bullseye
Package Version: 2.6.1+ds-1
DE: Xfce 4.16
Theme: WhiteSur-dark-solid [GTK2]
Icons: WhiteSur-dark [GTK2]

The text was updated successfully, but these errors were encountered:

Источник

Arch Linux

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the ‘flag out of date’ link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71422 — [telegram-desktop] v2.8.4-1 can’t download files

Task Type Bug Report
Category Packages
Status Closed
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete
Votes 1

Details

Description: Telegram Desktop crashes while trying to download a file

Additional info:
* package version(s): 2.8.4-1

Steps to reproduce:

1. Download a file and see the hang

From what I read from a terminal window, there are some errors related a gzip file. Don’t know if this can help fixing the issue. Below a log:

(telegram-desktop:62118): lib_base-WARNING **: 01:12:03.383: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
lib_base-Message: 01:12:03.384: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
lib_base-Message: 01:12:03.384: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

Источник

Arch Linux

You are not logged in.

#1 2022-10-14 22:25:45

[SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Up until about 10 days ago, I had telegram-desktop-bin installed from the AUR.
Issues started when I installed the snap standard package: local/telegram-desktop 4.2.4-1.

Present setup is:
— OS (6.0.1-arch2-1),
local/telegram-desktop 4.2.4-1 installed
local/telegram-qt 0.1.0-4 installed
local/gdm 42.0+r11+g4a52f026-1 (gnome) re-install
extra/gnome-shell 1:42.5-1 re-install
extra/gnome-shell-extensions 42.3-1 re-install
extra/libgdm 42.0+r11+g4a52f026-1 re-install
-> reboot:

. replicated well over 200 times over an 6 hour session (between boot and shut-down).

Full journalctl -b -o short-precise log is at: http://ix.io/4daU
All errors related to Telegram are also related to the failed «SVG format check».

— Thinking It was a Telegram scalable graphic icon issue, I did:

where the output is at: http://ix.io/4da0
where I converted a png Telegram Messenger icon to standard svg format and manually placed it in /usr/share/icons/hicolor/scalable/apps, rebooted . to no avail.

— I installed Qt bindings local/telegram-qt 0.1.0-4 above, although I don’t imagine that the issue is related to absent bindings for the telegram protocol.
— I also went to the home page and to the GNOME project home page to consult the Gnome discourse bbs for any similar looking issue. However telegram-desktop not being a Gnome app, it is out of scope for the Gnome team.

Any pointers are welcome.

Last edited by Cbhihe (2022-11-12 20:36:53)

I like strawberries, therefore I’m not a bot.

#2 2022-10-14 23:41:46

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Any reason why you prefer the AUR package over the community one? telegram-desktop is a community package. I’m just wondering.

#3 2022-10-15 11:07:15

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@matse:
What makes you think so ? I don’t favor one over the other. Standard snap packages from either «local/», «community/» or «extra/» are maybe more straightforward to install/manage. (We should take that debate elsewhere.)

Last edited by Cbhihe (2022-10-15 11:29:58)

I like strawberries, therefore I’m not a bot.

#4 2022-10-15 11:13:08

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

What exactly do you mean by a «snap package»? I don’t think that means what you think it means

#5 2022-10-15 11:33:54

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@arojas: you’re right. I deal with snap packàges a lot in my work but not for Arch hosts. Rectified.

I like strawberries, therefore I’m not a bot.

#6 2022-10-15 11:44:42

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Doe you have any qt.svg icon somewhere? If not, maybe try to add one in

#7 2022-10-15 14:12:31

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@progandy:
Tx. Did that. No qt.svg at those queried locations.
Made a legit svg file file up and placed it at /usr/share/icons/hicolor/scalable/apps/qt.svg. Rebooted. Same behavior. Systemd Journal log still gets spammed as soon as telegram-desktop is launched and everytime the first time the Telegram client sends or receives a message.

Last edited by Cbhihe (2022-10-16 12:00:44)

I like strawberries, therefore I’m not a bot.

#8 2022-10-15 14:34:21

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Something curious and I did not mention is the regularity and predictability of the error entry in the log.
Essentially at boot only 2 identical entries appear, just at the end of the journal log for the current boot and after the login session starts. That’s when the autostarting of telegram-desktop occurs.
Then the first time a message is sent from telegram-desktop the same line, only replicated 158 times (that’s 159 lines in total), are logged. No error entry is logged for received messages

On subsequent message sends and receives, no error entry is logged. So when I mentioned in post#1 that the systemd boot log showed well over 200 messages (in fact well other 600 for certain past sessions during which I spent time making sense of this), it was only because in order to troubleshoot the issue, I was manually killing and restarting the telegram-desktop app within the same OS session, thus generating new journal log entries.

Last edited by Cbhihe (2022-10-16 11:18:25)

I like strawberries, therefore I’m not a bot.

#9 2022-10-16 05:03:31

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

I have this installed

I use lightdm and XFCE. Qt version 5.15.6

Last edited by u666sa (2022-10-16 18:02:57)

#10 2022-10-16 05:05:15

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

There is an issue on github

This error is printed by Qt. The cause is not necessarily the telegram.svg, one has to debug Qt to find the real cause.

#11 2022-10-16 07:40:45

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@u666sa:
That GitHub issue you refer to was opened by me 10 days ago. It garnered this one comment and was subsequently closed.

@u666sa:
Can you share your setup by appending to post #9 ? Of particular interest are whether you use GDM, Xorg or Wayland and your install version of Qt. Tx.

It would suggest that telegram-desktop uses Qt as framework for the app codebase and that Qt in turn tries (unsuccessfully?) to use the SVG icon theme ? I’ve been looking in that general direction, unsuccessfully so far. The curious thing is this only ever happens with telegram-desktop .

On this bbs, one find some references to the exact same logged entry, e.g. here and here, but their appear in slightly different contexts, although in contexts having GDM and Qt in common.
Outside the Arch forum, I found this.

Pointers to continue troubleshooting welcome.

Last edited by Cbhihe (2022-10-16 12:42:50)

I like strawberries, therefore I’m not a bot.

Источник

Telegram Desktop can’t play most videos and video messages on a Raspberry Pi 4 #9832

Comments

the-real-cyberpatrol commented Nov 30, 2020

Steps to reproduce

  1. Start Telegram Desktop on a Raspberry Pi 4 with 4 GB.
  2. Open a channel which includes an uploaded video or a video message.
  3. Click onto the video or video message to play it.

Expected behaviour

The video or video message should be played.

Actual behaviour

The video or video message doesn’t get played. Telegram Desktop does nothing.

Configuration

Operating system:
Arch Linux ARM (armv7h) with Xfce on a Raspberry Pi 4.

Version of Telegram Desktop:
2.2.0

Installation source (Linux Only) — the official website / GitHub releases / flatpak / snap / distribution package:
Distribution package: community/telegram-desktop 2.2.0-2

Used theme:
Classic

Console output video: $ telegram-desktop
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
[swscaler @ 0x91f0e740] No accelerated colorspace conversion found from yuv420p to bgra.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaca01a10] Packet corrupt (stream = 0, dts = 60030).
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
[swscaler @ 0x91ece7d0] No accelerated colorspace conversion found from yuv420p to bgra.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaac2b6b0] Packet corrupt (stream = 0, dts = 100530).
Console output video message: $ telegram-desktop
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
[swscaler @ 0x9363bdd0] No accelerated colorspace conversion found from yuv420p to bgra.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
[swscaler @ 0x92a76af0] No accelerated colorspace conversion found from yuv420p to bgra.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)
[swscaler @ 0x936204d0] No accelerated colorspace conversion found from yuv420p to bgra.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation is not permitted (1)

The text was updated successfully, but these errors were encountered:

Источник

  • Index
  • » Applications & Desktop Environments
  • » [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Pages: 1

#1 2022-10-14 22:25:45

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

[SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Up until about 10 days ago, I had telegram-desktop-bin installed from the AUR.
Issues started when I installed the snap standard package: local/telegram-desktop 4.2.4-1.

Present setup is:
     — OS (6.0.1-arch2-1),
     — local/telegram-desktop 4.2.4-1                      installed
     — local/telegram-qt 0.1.0-4                               installed
     — local/gdm 42.0+r11+g4a52f026-1 (gnome) re-install
     — extra/gnome-shell 1:42.5-1                           re-install
     — extra/gnome-shell-extensions 42.3-1            re-install
     — extra/libgdm 42.0+r11+g4a52f026-1           re-install
-> reboot:

> journal -b | grep -i telegram | grep -i error
[date] [host] telegram-desktop[...]: qt.svg: Error while inflating gzip file: SVG format check failed

… replicated well over 200 times over an 6 hour session (between boot and shut-down).

Full journalctl -b -o short-precise log is at: http://ix.io/4daU
All errors related to Telegram are also related to the failed «SVG format check».

— Thinking It was a Telegram scalable graphic icon issue, I did:

> ls -lAF ~/.local/share/icons/
4329994  8 -rw-r--r-- 1 root root          4711 20180406-205649 FoxitReader.png
4329995 24 -r--r--r-- 1  USER  USER  21094 20180201-223719 telegram.png   

followed by:

> sudo ls -lAF /usr/share/icons/hicolor/scalable/apps | grep -v -e "org.gnome.Settings"      

where the output is at: http://ix.io/4da0
where I converted a png Telegram Messenger icon to standard svg format and manually placed it in /usr/share/icons/hicolor/scalable/apps, rebooted …. to no avail.

— I installed Qt bindings local/telegram-qt 0.1.0-4 above, although I don’t imagine that the issue is related to absent bindings for the telegram protocol.
— I also went to the home page and to the GNOME project home page to consult the Gnome discourse bbs for any similar looking issue. However telegram-desktop not being a Gnome app, it is out of scope for the Gnome team.

Any pointers are welcome.

Last edited by Cbhihe (2022-11-12 20:36:53)


I like strawberries, therefore I’m not a bot.

#2 2022-10-14 23:41:46

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Any reason why you prefer the AUR package over the community one? telegram-desktop is a community package… I’m just wondering…

#3 2022-10-15 11:07:15

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@matse:
What makes you think so ? I don’t favor one over the other. Standard snap packages from either «local/», «community/» or «extra/» are maybe more straightforward to install/manage. (We should take that debate elsewhere.)

Last edited by Cbhihe (2022-10-15 11:29:58)


I like strawberries, therefore I’m not a bot.

#4 2022-10-15 11:13:08

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,975

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

What exactly do you mean by a «snap package»? I don’t think that means what you think it means

#5 2022-10-15 11:33:54

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@arojas: you’re right. I deal with snap packàges a lot in my work but not for Arch hosts. Rectified.


I like strawberries, therefore I’m not a bot.

#6 2022-10-15 11:44:42

progandy
Member
Registered: 2012-05-17
Posts: 5,071

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Doe you have any qt.svg icon somewhere? If not, maybe try to add one in ~/.local/share/icons/hicolor/scalable

find /usr/share/icons ~/.local/share/icons ~/.icons -name "qt.svg"

| alias CUTF=’LANG=en_XX.UTF-8@POSIX ‘ |

#7 2022-10-15 14:12:31

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@progandy:
Tx. Did that. No qt.svg at those queried locations.
Made a legit svg file file up and placed it at /usr/share/icons/hicolor/scalable/apps/qt.svg. Rebooted. Same behavior. Systemd Journal log still gets spammed as soon as telegram-desktop is launched and everytime the first time the Telegram client sends or receives a message.

Last edited by Cbhihe (2022-10-16 12:00:44)


I like strawberries, therefore I’m not a bot.

#8 2022-10-15 14:34:21

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Something curious and I did not mention is the regularity and predictability of the error entry in the log.
Essentially at boot only 2 identical entries appear, just at the end of the journal log for the current boot and after the login session starts. That’s when the autostarting of telegram-desktop occurs.
Then the first time a message is sent from telegram-desktop the same line, only replicated 158 times (that’s 159 lines in total), are logged. No error entry is logged for received messages

On subsequent message sends and receives, no error entry is logged. So when I mentioned in post#1 that the systemd boot log showed well over 200 messages (in fact well other 600 for certain past sessions during which I spent time making sense  of this), it was only because in order to troubleshoot the issue, I was manually killing and restarting the telegram-desktop app within the same OS session, thus generating new journal log entries.

Last edited by Cbhihe (2022-10-16 11:18:25)


I like strawberries, therefore I’m not a bot.

#9 2022-10-16 05:03:31

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

I have this installed

2 community/telegram-desktop 4.2.4-1 (28.6 MiB 79.9 MiB) (Installed)
    Official Telegram Desktop client

and I get this

ournalctl -b | grep -i telegram | grep -i error                  127 ↵  08:02:10
1:2575:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
2:2576:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
3:2577:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
4:2578:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
5:2579:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
6:2580:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
7:2581:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
8:2582:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
9:2583:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
10:2584:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
11:2585:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
12:2586:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
13:2587:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
14:2588:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
15:2589:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
16:2590:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
17:2591:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
18:2592:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
19:2593:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
20:2594:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
21:2595:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
22:2596:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
23:2597:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
24:2598:Oct 15 21:50:20 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
26:2600:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
27:2601:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
28:2602:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
29:2603:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
30:2604:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
31:2605:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
32:2606:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
33:2607:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
34:2608:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
35:2609:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
36:2610:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
37:2611:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
38:2612:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
39:2613:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
40:2614:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
41:2615:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
42:2616:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
43:2617:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
44:2618:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
45:2619:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
46:2620:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
47:2621:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
48:2622:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
49:2623:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
50:2624:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
51:2625:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
52:2626:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
53:2627:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
54:2628:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
55:2629:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
56:2630:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
57:2631:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
58:2632:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
59:2633:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
60:2634:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
61:2635:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
62:2636:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
63:2637:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
64:2638:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
65:2639:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
66:2640:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
67:2641:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
68:2642:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
69:2643:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
70:2644:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
71:2645:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
72:2646:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
73:2647:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
74:2648:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
75:2649:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
76:2650:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
77:2651:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
78:2652:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
79:2653:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
80:2654:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
81:2655:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
82:2656:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
83:2657:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
84:2658:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
85:2659:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
86:2660:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
87:2661:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
88:2662:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
89:2663:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
90:2664:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
91:2665:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
92:2666:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
93:2667:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
94:2668:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
95:2669:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
96:2670:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
97:2671:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
98:2672:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
99:2673:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
100:2674:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
101:2675:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
102:2676:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
103:2677:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
104:2678:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
105:2679:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
106:2680:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
107:2681:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
108:2682:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
109:2683:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
110:2684:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
111:2685:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
112:2686:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
113:2687:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
114:2688:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
115:2689:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
116:2690:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
117:2691:Oct 15 21:50:21 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
118:2692:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
119:2693:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
120:2694:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
121:2695:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
122:2696:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
123:2697:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
124:2698:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
125:2699:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
126:2700:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
127:2701:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
128:2702:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
129:2703:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
130:2704:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
131:2705:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
132:2706:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
133:2707:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
134:2708:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
135:2709:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
136:2710:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
137:2711:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
138:2712:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
139:2713:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
140:2714:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
141:2715:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
142:2716:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
143:2717:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
144:2718:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
145:2719:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
146:2720:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
147:2721:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
148:2722:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
149:2723:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
150:2724:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
151:2725:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
152:2726:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
153:2727:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
154:2728:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
155:2729:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
156:2730:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
157:2731:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
158:2732:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
159:2733:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
160:2734:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
161:2735:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
162:2736:Oct 15 21:50:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
164:2738:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
165:2739:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
166:2740:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
167:2741:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
168:2742:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
169:2743:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
170:2744:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
171:2745:Oct 15 21:50:26 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
182:2763:Oct 15 21:59:41 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
183:2764:Oct 15 22:00:02 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
184:2765:Oct 15 22:00:02 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
185:2766:Oct 15 22:00:02 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
186:2772:Oct 15 22:01:08 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
191:2777:Oct 15 22:04:22 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
192:2778:Oct 15 22:04:37 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
193:2779:Oct 15 22:04:58 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
194:2780:Oct 15 22:04:58 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
196:2786:Oct 15 22:36:14 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed
199:2804:Oct 15 22:40:10 mb2 telegram-desktop[6683]: qt.svg: Error while inflating gzip file: SVG format check failed

I use lightdm and XFCE. Qt version 5.15.6

Last edited by u666sa (2022-10-16 18:02:57)

#10 2022-10-16 05:05:15

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

There is an issue on github

This error is printed by Qt. The cause is not necessarily the telegram.svg, one has to debug Qt to find the real cause.

#11 2022-10-16 07:40:45

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@u666sa:
That GitHub issue you refer to was opened by me 10 days ago. It garnered this one comment and was subsequently closed.

@u666sa:
Can you share your setup by appending to post #9 ? Of particular interest are whether you use GDM, Xorg or Wayland and your install version of Qt. Tx.

It would suggest that telegram-desktop uses Qt as framework for the app codebase and that Qt in turn tries (unsuccessfully?) to use the SVG icon theme ? I’ve been looking in that general direction, unsuccessfully so far. The curious thing is this only ever happens with telegram-desktop .

On this bbs, one find some references to the exact same logged entry, e.g. here and here, but their appear in slightly different contexts, although in contexts having GDM and Qt in common.
Outside the Arch forum, I found this.

Pointers to continue troubleshooting welcome.

Last edited by Cbhihe (2022-10-16 12:42:50)


I like strawberries, therefore I’m not a bot.

#12 2022-10-16 12:18:50

progandy
Member
Registered: 2012-05-17
Posts: 5,071

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Cbhihe wrote:

@progandy:
Tx. Did that. No qt.svg at those queried locations.
Made a legit svg file file up and placed it at /usr/share/icons/hicolor/scalable/apps/qt.svg. Rebooted. Same behavior. Systemd Journal log still gets spammed as soon as telegram-desktop is launched and everytime the first time the Telegram client sends or receives a message.

Sorry, qt.svg is not a filename, but the logging category. qt.svg means it comes from the qtsvg package. The specific error message results from the function qt_inflateSvgzDataFrom. That function is called from QSvgTinyDocument::load, so I’d guess telegram might contain some compressed svg file that cannot be decompressed by qt.


| alias CUTF=’LANG=en_XX.UTF-8@POSIX ‘ |

#13 2022-10-16 12:37:53

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,343

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

does setting QT_LOGGING_RULES=’*=false’ in/etc/environment and rebooting help?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

#14 2022-10-16 13:02:47

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@progandy, @kokoko3k, thanks for helping out.

@progandy: ok. I had no clue, removed the qt.svg file and thank you for pointing to the source.
The funny thing is I have:
   — static telegram icon files all over at: /usr/share/icons/hicolor/**/apps/telegram.png, where ** stands for «24×24», «32×32», «48×48», …, «512×512», and
   — one scalable icon file, I placed at /usr/share/icons/hicolor/scalable/apps/telegram.svg
So if I understand well telegram-desktop is looking at a different location ?

@kokoko3k:
I placed that in ~/.pam_environment just in case I need to recover from a different user account if something happens… Will now log out of session, log back in and report.

Last edited by Cbhihe (2022-10-16 13:24:42)


I like strawberries, therefore I’m not a bot.

#15 2022-10-16 13:06:17

progandy
Member
Registered: 2012-05-17
Posts: 5,071

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Cbhihe wrote:

   — a scalable icon file, I placed at /usr/share/icons/hicolor/scalable/apps/telegram.svg
So if I understand well telegram-desktop is looking at a different location ?

Maybe qt cannot read that svg file. It may also be a background image or something else that is used in the GUI. Does telegram uses themes?


| alias CUTF=’LANG=en_XX.UTF-8@POSIX ‘ |

#16 2022-10-16 13:21:48

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@progandy:
Yes, most probably cannot read that svg file, but I had to try it. tongue
Yes, telegram-desktop use themes and is customizable in that sense, but I just use the package from Arch local/ repo as is. No tweak whatsoever.

@kokoko3k:
No change with the KV per your suggestion except for 10 or 12 new journal log entries, to the effect of:

[date] HOST gdm-launch-environment][...]: pam_env(gdm-launch-environment:session): deprecated reading of user environment enabled

which is nothing serious, besides maybe indicating that /etc/environment is favored over ~/.pam_environment.  (not sure I’m interpreting this entry correctly.)
I’ll try the system wide pam change now.

Last edited by Cbhihe (2022-10-16 13:42:56)


I like strawberries, therefore I’m not a bot.

#17 2022-10-16 13:37:31

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

@kokoko3k:

> journalctl -b | grep -i -e "qt.svg"

returns a blank.
I suppose that QT_LOGGING_RULES=’*=false’  does what it says, but is «silencing the opposition» a good thing ? tongue  … seriously, beside being rid of the spam, which is good, it suppresses all Qt related log entries. So host’s boot log is now 460 lines shorter and it makes it easy to miss some useful entries when the need arises to troubleshoot in the future…

Thank you, and I will not mark this thread as solved for the time being, looking for an actual solution…

Last edited by Cbhihe (2022-10-19 05:48:28)


I like strawberries, therefore I’m not a bot.

#18 2022-11-12 20:36:16

Cbhihe
Member
Registered: 2017-04-09
Posts: 185

Re: [SOLVED] telegram-desktop package spams systemd log (qt issue ?).

Upgrades, ultimately to
—  qt5-base 5.15.7+kde+r1-2 and
—  telegram-desktop 4.3.1-2
fixed the spamming problem.
I don’t know where along the upgrade path (between qt-base 5.15.6+kde+r180-1 and 5.15.7+kde+r1-2), it happened.

Last edited by Cbhihe (2022-11-13 09:09:48)


I like strawberries, therefore I’m not a bot.

Cbhihe

«qt.svg: Error while inflating gzip file: SVG format check failed»

This error is spamming my Linux’ boot log (as acessed by journalctl -b.
It looks similar to Error while inflating gzip file: SVG #17034, but I could not find a resolution path based on # 17034.
I went looking for the telegram.svg file in /usr/share/icons/hicolor/… subtree, and here is what I found:

> sudo find /usr/share/icons/hicolor/ -iname "telegram*"
/usr/share/icons/hicolor/512x512/apps/telegram.png
/usr/share/icons/hicolor/32x32/apps/telegram.png
/usr/share/icons/hicolor/256x256/apps/telegram.png
/usr/share/icons/hicolor/128x128/apps/telegram.png
/usr/share/icons/hicolor/48x48/apps/telegram.png
/usr/share/icons/hicolor/16x16/apps/telegram.png
/usr/share/icons/hicolor/64x64/apps/telegram.png

There is no svg file in /usr/share/icons/hicolor/scalable/apps/. Is it just a matter of me creating an SVG Telegram icon and dropping it in /usr/share/icons/hicolor/scalable/apps/ ?

ilya-fedin

This error is printed by Qt. The cause is not necessarily the telegram.svg, one has to debug Qt to find the real cause.

ilya-fedin

I don’t think it’s a bug in Telegram

Cbhihe

ok, I will look in the direction of qt, thank you. But before closing, allow me just one question you probably can answer effortlessly: what ownership properties should the svg file have in /usr/share/icons/hicolor/scalable/apps/ ? «root:root» or something else ? Or does that depend on the Qt ressource wanting to access it ?
Closing. Tx.

ilya-fedin

Probably as the others? tdesktop does no direct reads of icon themes, yeah, Qt does all that

0 Members and 1 Guest are viewing this topic.



15 October 2021, 00:27:55
Hi All

Telegram has been working perfectly in Artix for at least a year, on my laptop. Suddenly today it all changed. Now it loads up for about two seconds & then the app disappears. Here is the error script when I use the command line :

«
$ telegram-desktop

(telegram-desktop:5148): lib_base-WARNING **: 06:53:17.416: Unfortunately, GTK integration conflicts with qgtk2 platformtheme and style. Therefore, QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
lib_base-Message: 06:53:17.419: This can be ignored by setting DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, however, if qgtk2 theme or style is used, this will lead to a crash.
lib_base-Message: 06:53:17.419: GTK integration can be disabled by setting DESKTOP_APP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead to some features being unavailable.

(telegram-desktop:5148): Telegram-WARNING **: 06:53:17.484: Application was built without embedded fonts, this may lead to font issues.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
propsReply «Method «GetAll» with signature «s» on interface «org.freedesktop.DBus.Properties» doesn’t existn»
nmReply «Method «GetDevices» with signature «» on interface «org.freedesktop.NetworkManager» doesn’t existn»
«Object path cannot be empty»
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
Aborted
«
Help ! I am a relative Newbie to Linux.

Thanks in advance — — —


Re: Telegram-Desktop won’t start



Reply #1 – 16 October 2021, 00:12:19
[Topic split / please don’t necrobump]

I can’t reproduce on MATE, but you seem to run a Qt-based desktop. Post more info and also try to identify what update (if any) caused the problem.
In the meantime, open a terminal, issue

$ export DESKTOP_APP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY=1
$ telegram-desktop

and see if it helps. If not, continue:

$ export DESKTOP_APP_DISABLE_GTK_INTEGRATION=1
$ telegram-desktop

and post results.


Понравилась статья? Поделить с друзьями:
  • Qbrix ошибка 502
  • Qt qpa xcb qxcbconnection xcb error 3 badwindow sequence
  • Qbrix me ошибка 500
  • Qt project error unknown module s in qt qml
  • Qbittorrent ошибка трекера