Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628608 - media-video/pitivi-0.97.1 missing dependency gst-plugins-gdkpixbuf
Summary: media-video/pitivi-0.97.1 missing dependency gst-plugins-gdkpixbuf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-22 14:59 UTC by Jonas Stein
Modified: 2017-09-03 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2017-08-22 14:59:13 UTC
Copied from https://bugs.gentoo.org/show_bug.cgi?id=606850#c3
===============================================================

I notice it misses another required dependency:
media-plugins/gst-plugins-gdkpixbuf:1.0

Otherwise, the program fails while trying to load PNG pictures:
--------------------------------
** (pitivi:24225): WARNING **: Unhandled type tag GType
ERROR 19:02:45 project           my_project do_loading_error: Could not load file:///path/to/my_picture.png: gst-stream-error-quark: No valid frames decoded before end of stream (7) -> <GES.UriClipAsset object at 0x7f91300d3288 (GESUriClipAsset at 0x5636e8911090)> (../../usr/lib64/pitivi/python/pitivi/project.py:1110)

../..

Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/timeline/timeline.py", line 1810, in _projectLoadedCb
    self.setProject(project)
  File "/usr/lib64/pitivi/python/pitivi/timeline/timeline.py", line 1296, in setProject
    self.timeline.setProject(self._project)
  File "/usr/lib64/pitivi/python/pitivi/timeline/timeline.py", line 363, in setProject
    self._addLayer(ges_layer)
  File "/usr/lib64/pitivi/python/pitivi/timeline/timeline.py", line 897, in _addLayer
    layer = Layer(ges_layer, self)
  File "/usr/lib64/pitivi/python/pitivi/timeline/layer.py", line 378, in __init__
    self._addClip(clip)
  File "/usr/lib64/pitivi/python/pitivi/timeline/layer.py", line 465, in _addClip
    clip = ui_type(self, ges_clip)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 1045, in __init__
    SourceClip.__init__(self, layer, ges_clip)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 1028, in __init__
    Clip.__init__(self, layer, ges_clip)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 765, in __init__
    self._childAdded(self.ges_clip, child)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 1066, in _childAdded
    self._videoSource = VideoUriSource(child, self.timeline)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 643, in __init__
    VideoSource.__init__(self, element, timeline)
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 424, in __init__
    self.__previewer = self._getPreviewer()
  File "/usr/lib64/pitivi/python/pitivi/timeline/elements.py", line 647, in _getPreviewer
    previewer = previewers.VideoPreviewer(self._ges_elem)
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 402, in __init__
    self.becomeControlled()
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 343, in becomeControlled
    Previewer.__manager.add_previewer(self)
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 299, in add_previewer
    self._start_previewer(previewer)
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 306, in _start_previewer
    previewer.startGeneration()
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 678, in startGeneration
    self._setupPipeline()
  File "/usr/lib64/pitivi/python/pitivi/timeline/previewers.py", line 421, in _setupPipeline
    "gdkpixbufsink name=gdkpixbufsink".format(uri=self.uri, height=self.thumb_height))
GLib.Error: gst_parse_error: no element "gdkpixbufsink" (1)
--------------------------------

Installing media-plugins/gst-plugins-gdkpixbuf:1.0 solved my problem.
Comment 1 Mart Raudsepp gentoo-dev 2017-08-23 06:01:56 UTC
And that way you could also say it needs a gst-plugins-mpeg2dec, gst-plugins-modplug dependency to support those files, and so on and on. Albeit it seems there is a missing dependency on gst-plugins-meta
Comment 2 Mart Raudsepp gentoo-dev 2017-08-23 06:03:33 UTC
PNG is generally done by gst-plugins-libpng, not gst-plugins-gdkpixbuf btw, which made me look at the trace, and it seems to specifically ask for gdkpixbufsink; so ok, we might need to add that dependency directly, and review it all upon bump. Hopefully within a week...
Comment 3 Larry the Git Cow gentoo-dev 2017-09-03 22:47:52 UTC
Bug has been closed via the following commit:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d682a60dc98853f315bfe0d857a95e1c7c4daad

    commit 4d682a60dc98853f315bfe0d857a95e1c7c4daad
Author:     Gilles Dartiguelongue <eva@gentoo.org>
AuthorDate: 2017-09-03 21:06:18 +0000
Commit:     Gilles Dartiguelongue <eva@gentoo.org>
CommitDate: 2017-09-03 22:47:15 +0000

    media-video/pitivi: version bump 0.97.1 → 0.98.1, bug #606850
    
    Add missing dependency on gdkpixbuf plugin, bug #628608.
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=606850
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=628608
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 media-video/pitivi/Manifest                        |  1 +
 .../files/pitivi-0.98.1-optional-tests.patch       | 23 ++++++
 media-video/pitivi/pitivi-0.98.1.ebuild            | 94 ++++++++++++++++++++++
 3 files changed, 118 insertions(+)