Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769398 - media-video/vidcutter Fails to run without dev-python/PyQt5[widgets] useflag
Summary: media-video/vidcutter Fails to run without dev-python/PyQt5[widgets] useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 06:57 UTC by Kai Dietrich
Modified: 2021-02-14 11:19 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 Kai Dietrich 2021-02-08 06:57:57 UTC
vidcutter start fails with error message:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.8/vidcutter", line 33, in <module>
    sys.exit(load_entry_point('vidcutter==6.0.0', 'gui_scripts', 'vidcutter')())
  File "/usr/lib/python-exec/python3.8/vidcutter", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/vidcutter/__main__.py", line 38, in <module>
    from PyQt5.QtWidgets import qApp, QMainWindow, QMessageBox, QSizePolicy
ModuleNotFoundError: No module named 'PyQt5.QtWidgets'


Adding useflag
dev-python/PyQt5 widgets
solves the issue.


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-02-14 11:19:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dadca788a5a9e2bd06086344347fcedf5531aa4

commit 9dadca788a5a9e2bd06086344347fcedf5531aa4
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2021-02-14 11:17:27 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2021-02-14 11:19:40 +0000

    media-video/vidcutter: 6.0.5 bump; deps adjusted; QA fixes; takeover.
    
    Closes: https://bugs.gentoo.org/769398
    Closes: https://bugs.gentoo.org/723378
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 media-video/vidcutter/Manifest               |  1 +
 media-video/vidcutter/metadata.xml           |  4 +++
 media-video/vidcutter/vidcutter-6.0.5.ebuild | 41 ++++++++++++++++++++++++++++
 media-video/vidcutter/vidcutter-9999.ebuild  |  7 +++--
 4 files changed, 50 insertions(+), 3 deletions(-)