Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723378 - media-video/vidcutter Fails to run without dev-python/pyopengl
Summary: media-video/vidcutter Fails to run without dev-python/pyopengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-16 12:38 UTC by David Duchesne
Modified: 2021-02-14 11:19 UTC (History)
4 users (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 David Duchesne 2020-05-16 12:38:39 UTC
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/vidcutter", line 11, in <module>
    load_entry_point('vidcutter==6.0.0', 'gui_scripts', 'vidcutter')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/vidcutter/__main__.py", line 41, in <module>
    from vidcutter.videocutter import VideoCutter
  File "/usr/lib/python3.7/site-packages/vidcutter/videocutter.py", line 57, in <module>
    from vidcutter.libs.mpvwidget import mpvWidget
  File "/usr/lib/python3.7/site-packages/vidcutter/libs/mpvwidget.py", line 30, in <module>
    from OpenGL import GL
ModuleNotFoundError: No module named 'OpenGL'

installing stable dev-python/pyopengl-3.1.0 fixes the issue so the ebuild needs it in RDEPEND
Comment 1 Blake Leverett 2020-05-20 05:41:56 UTC
Can confirm, had the same experience. Installing dev-python/pyopengl allows vidcutter to run.

Is it useful to make dev-python/pyopengl_accelerate a dependency?  Accelerated opengl sounds like it would be better.
Comment 2 Luke-Jr 2020-05-20 23:13:20 UTC
Also confirming
Comment 3 Jesús P Rey (Chuso) 2020-09-26 12:38:14 UTC
Also confirmed here, PR submitted: https://github.com/gentoo/gentoo/pull/17677
Comment 4 Larry the Git Cow gentoo-dev 2021-02-14 11:19:43 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(-)