Bug 50864

Summary: Не работает yuki-iptv
Product: Sisyphus Reporter: fs9thk3w
Component: yuki-iptvAssignee: Vitaly Lipatov <lav>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P5 CC: lav
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description fs9thk3w 2024-07-09 03:22:51 MSK
После установки yuki-iptv из репозитория и запуска появляется ошибка:

Traceback (most recent call last):
  File "/usr/lib/yuki-iptv/yuki_iptv/channel_logos.py", line 38, in <module>
    from wand.image import Image
ModuleNotFoundError: No module named 'wand'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/yuki-iptv/./yuki-iptv.py", line 106, in <module>
    from yuki_iptv.channel_logos import channel_logos_worker
  File "/usr/lib/yuki-iptv/yuki_iptv/channel_logos.py", line 42, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

Исправление: установить python3-module-Pillow (может, добавить его в зависимости пакета?)

После этого ошибка:

yuki-iptv error

Traceback (most recent call last):
  File "/usr/lib/yuki-iptv/./yuki-iptv.py", line 9231, in <module>
    after_mpv_init()
  File "/usr/lib/yuki-iptv/./yuki-iptv.py", line 9224, in after_mpv_init
    mpv_override_play(str(Path("yuki_iptv", ICONS_FOLDER, "main.png")))
  File "/usr/lib/yuki-iptv/./yuki-iptv.py", line 2853, in mpv_override_play
    player.play(parse_specifiers_now_url(arg_override_play))
  File "/usr/lib/yuki-iptv/thirdparty/mpv.py", line 1662, in play
    self.loadfile(filename)
  File "/usr/lib/yuki-iptv/thirdparty/mpv.py", line 1162, in loadfile
    self.command('loadfile', filename.encode(fs_enc), mode, MPV._encode_options(options))
  File "/usr/lib/yuki-iptv/thirdparty/mpv.py", line 1054, in command
    _mpv_command(self.handle, (c_char_p*len(args))(*args))
  File "/usr/lib/yuki-iptv/thirdparty/mpv.py", line 138, in raise_for_ec
    raise ex(ec, *args)
ValueError: ('Invalid value for mpv parameter', -4, (<MpvHandle object at 0x7f253b05c8d0>, <thirdparty.mpv.c_char_p_Array_5 object at 0x7f252db736d0>))

Исправление: обновиться до последней версии yuki-iptv (0.0.12) - https://codeberg.org/liya/yuki-iptv/releases - в ней исправлена эта ошибка
Comment 1 Repository Robot 2024-07-11 20:27:19 MSK
yuki-iptv-0.0.12-alt1 -> sisyphus:

 Thu Jul 11 2024 Vitaly Lipatov <lav@altlinux.ru> 0.0.12-alt1
 - new version 0.0.12 (ALT bug 50864)