otsaloma / gaupol

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

Video load issue #147

Closed yasincukur13 closed 4 years ago

yasincukur13 commented 4 years ago

When I try load video with subtitle I receive this:

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.3.0-26-generic-i686-with-LinuxMint-19.3-tricia Locale: tr_TR.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".