tdlib-purple icon indicating copy to clipboard operation
tdlib-purple copied to clipboard

Animated sticker, already downloaded, conversion disabled

Open ars3niy opened this issue 4 years ago • 9 comments

Also try to refactor sticker handling: 3 separate code branches calling shouldConvertAnimatedSticker

ars3niy avatar Oct 25 '20 14:10 ars3niy

Also: animated sticker, quick download, conversion disabled, thumbnail already downloaded (quick fix - make a test case)

ars3niy avatar Oct 25 '20 15:10 ars3niy

I see both static and animated stickers as underlined sticker label with hyperlink pointing to file://. No image. Is this the same bug?

ildar avatar Nov 04 '20 10:11 ildar

Did you use any package or did you compile it yourself? This stuff could be disabled at compile time.

ars3niy avatar Nov 04 '20 11:11 ars3niy

self-built. enabled. http://git.altlinux.org/people/ildar/packages/?p=tdlib-purple.git;a=blob;f=.gear/tdlib-purple.spec;h=7445ef0bd13b66863ca55bde8a2989bdcdc1be03;hb=HEAD#l35

ildar avatar Nov 04 '20 11:11 ildar

1

ildar avatar Nov 04 '20 11:11 ildar

Build log: http://git.altlinux.org/tasks/259758/build/200/x86_64/log

ildar avatar Nov 04 '20 11:11 ildar

Stickers you sent yourself from another client won't be shown as animated (which is intentional), but the static thumbnail should be converted to png, so it's quite possible you hit one of the bugged code paths. If you wish to know for sure, you can send me an excerpt from the full debug log (pidgin -d). Or I can just fix everything that's broken that I can find, and see if that helps.

ars3niy avatar Nov 07 '20 20:11 ars3niy

Thank you for the hint, I found the problem in the debug. The problem was local. Misconfiguration happened when I symlinked tdlib/* folders.

FTR:

[ 2][t 4][1605530717.304806948][FileManager.cpp:3525][#1][!FileManager] Failed to Download file 637(0) of type stickers: [PosixError : Неверная ссылка между устройствами : 18 : Can't rename "/var/ildar/.cache/tdlib/+77MYNUMBER2/temp/2371" to "/var/ildar/.cache/tdlib/+77MYNUMBER2/stickers/1391391008142393346.tgs"]

closing

ildar avatar Nov 17 '20 09:11 ildar

For me the animated stickers simply show up as static. Even though I have the "Show animated stickers" option enabled for the account. Built from the (new) FreeBSD port of tdlib-purple. The port has the following distinctions:

  1. Uses the patch from #154 to allow building against tdlib-1.8.x.
  2. Instead of the old libfmt bundled with tdlib-purple, uses the newer version from the FreeBSD port of that.

Attaching the build.log...

UnitedMarsupials avatar Dec 25 '23 18:12 UnitedMarsupials