otsaloma / gaupol

Editor for text-based subtitle files
https://otsaloma.io/gaupol/
GNU General Public License v3.0
251 stars 34 forks source link

Can not open video file with mpv #143

Closed daisond closed 4 years ago

daisond commented 4 years ago

Traceback

File: /usr/share/gaupol/gaupol/agents/video.py Line: 198 In: _on_load_video_activate

    self.load_video(path)

File: /usr/share/gaupol/gaupol/agents/video.py Line: 161 In: load_video

    self._init_player_widgets()

File: /usr/share/gaupol/gaupol/agents/video.py Line: 129 In: _init_player_widgets

    self.player = gaupol.VideoPlayer()

File: /usr/share/gaupol/gaupol/player.py Line: 74 In: init

    self._init_pipeline()

File: /usr/share/gaupol/gaupol/player.py Line: 162 In: _init_pipeline

    self.widget.pack_start(sink.props.widget, True, True, 0)

AttributeError: 'NoneType' object has no attribute 'props'

Environment

Platform: Linux-4.15.0-72-generic-x86_64-with-LinuxMint-19.2-tina Locale: en_US.utf_8

Versions

aeidon: 1.3.1 chardet: 3.0.4 enchant: None gaupol: 1.3.1 gstreamer: 1.14.5.0 gtk+: 3.22.30 pygobject: 3.26.1 python: 3.6.9

otsaloma commented 4 years ago

Duplicate of #83

TL/DR: Install "gstreamer1.0-gtk3".

daisond commented 4 years ago

Thanks, now it works!