otsaloma / gaupol

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

Cannot load .mp4 files #162

Closed schirmermischa closed 4 years ago

schirmermischa commented 4 years ago

I created a new project in gaupol, and then wanted to load an .mp4 video file from the "Video" menu. I got the following traceback:

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-101-generic-x86_64-with-Ubuntu-18.04-bionic Locale: None.ascii

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 4 years ago

Duplicate of #83

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