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
Created attachment 687012 [details, diff] Patch to solve bug #771000
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(+)