Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771000 - media-video/pitivi-0.999-r3 depends on media-libs/gst-plugins-base[theora]
Summary: media-video/pitivi-0.999-r3 depends on media-libs/gst-plugins-base[theora]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-16 20:49 UTC by Jean-Claude Repetto
Modified: 2021-04-28 15:36 UTC (History)
2 users (show)

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


Attachments
Patch to solve bug #771000 (file_771000.txt,533 bytes, patch)
2021-02-16 20:52 UTC, Jean-Claude Repetto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2021-02-16 20:49:49 UTC
If the theora USE flag is not enabled for media-libs/gst-plugins-base, pitivi is not able to create a new project and reports this error:

ERROR 21:17:32 project           New Project _get_caps_from_feature: theoraenc not in registry (../../usr/lib64/pitivi/python/pitivi/project.py:957)
Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/dialogs/startupwizard.py", line 97, in _newProjectCb
    self.app.project_manager.newBlankProject()
  File "/usr/lib64/pitivi/python/pitivi/project.py", line 519, in newBlankProject
    project = Project(self.app, name=DEFAULT_NAME)
  File "/usr/lib64/pitivi/python/pitivi/project.py", line 724, in __init__
    self._ensureVideoRestrictions()
  File "/usr/lib64/pitivi/python/pitivi/project.py", line 1722, in _ensureVideoRestrictions
    prev_vals)
  File "/usr/lib64/pitivi/python/pitivi/project.py", line 1688, in _ensureRestrictions
    encoder_sinkcaps = encoder.sinkpads[0].get_pad_template().get_caps().copy()
AttributeError: 'NoneType' object has no attribute 'sinkpads'

This problem has also been reported here:
https://gitlab.gnome.org/GNOME/pitivi/-/issues/2536

Reproducible: Always
Comment 1 Jean-Claude Repetto 2021-02-16 20:52:25 UTC
Created attachment 687012 [details, diff]
Patch to solve bug #771000
Comment 2 Larry the Git Cow gentoo-dev 2021-04-28 15:36:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb15e6a23ee419081ae9cf954e9087f39ac7202

commit 2eb15e6a23ee419081ae9cf954e9087f39ac7202
Author:     Poncho <poncho@spahan.ch>
AuthorDate: 2021-04-18 07:22:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-04-28 15:35:59 +0000

    media-video/pitivi: revision bump, support python3.8
    
    Closes: https://bugs.gentoo.org/771000
    Closes: https://bugs.gentoo.org/722446
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Daniel Brandt <poncho@spahan.ch>
    Closes: https://github.com/gentoo/gentoo/pull/20436
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pitivi/files/pitivi-0.999-metainfo.patch       |  12 +++
 .../pitivi/files/pitivi-0.999-python38.patch       |  49 +++++++++
 media-video/pitivi/pitivi-0.999-r4.ebuild          | 113 +++++++++++++++++++++
 3 files changed, 174 insertions(+)