otsaloma / gaupol

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

MP4 Video Does Not Open #199

Closed GuzMan2019 closed 1 year ago

GuzMan2019 commented 1 year 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-5.4.0-128-generic-i686-athlon-with-LinuxMint-19.3-tricia Locale: pt_BR.utf_8

Versions

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

otsaloma commented 1 year ago

Duplicate of #83

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