TStickers icon indicating copy to clipboard operation
TStickers copied to clipboard

Bug: RuntimeError: Backend could not be loaded

Open difhel opened this issue 9 months ago • 9 comments

Before You Begin

Before proceeding, please make sure to follow these steps:

  • [x] I have checked for similar issues in the project's issue tracker.
  • [x] I have searched closed issues to see if a similar problem was reported before.

Issue Details

I am always getting this error when trying to download a stickerpack.

Description

I added my bot token to env, then

poetry run tstickers -p https://t.me/addstickers/UtyaDuck
INFO     | ============================================================
INFO     | Starting to scrape "UtyaDuck" ..
INFO     | Time taken to scrape 40 stickers - 0.076s
INFO     | 
INFO     | ------------------------------------------------------------
INFO     | Starting download of "utyaduck" into downloads/utyaduck
INFO     | Time taken to download 40 stickers - 0.084s
INFO     | 
INFO     | ------------------------------------------------------------
INFO     | -> Cache miss for UtyaDuck!
INFO     | Converting stickers "UtyaDuck"...
Traceback (most recent call last):
  File "/home/mf/tools/.venv/bin/tstickers", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/cli.py", line 100, in cli
    downloader.convertPack(
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/downloader.py", line 272, in convertPack
    converted = convertedTgs = convertAnimated(
                               ^^^^^^^^^^^^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/convert.py", line 146, in convertAnimated
    converted = convertMap[backend](swd, threads, frameSkip, scale)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/convert.py", line 27, in convertAnimatedFunc
    raise RuntimeError(msg)
RuntimeError: Backend could not be loaded

System Information

Please provide the following additional information about your system or environment:

  • Operating System (OS): MX Linux (based on Debian 12)- Browser (if applicable)

difhel avatar May 02 '24 17:05 difhel