when I try to run openshot_qt in Fedora 40, I get the followin error:
Loaded modules from: /usr/lib/python3.12/site-packages/openshot_qt
Traceback (most recent call last):
File "/usr/bin/openshot-qt", line 33, in <module>
sys.exit(load_entry_point('openshot-qt==3.2.1', 'gui_scripts', 'openshot-qt')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/openshot_qt/launch.py", line 189, in main
sentry.init_tracing()
File "/usr/lib/python3.12/site-packages/openshot_qt/classes/sentry.py", line 104, in init_tracing
sdk.init(
File "/usr/lib/python3.12/site-packages/sentry_sdk/_init_implementation.py", line 41, in _init
client = sentry_sdk.Client(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/sentry_sdk/client.py", line 245, in __init__
self._init_impl()
File "/usr/lib/python3.12/site-packages/sentry_sdk/client.py", line 368, in _init_impl
self.integrations = setup_integrations(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/sentry_sdk/integrations/__init__.py", line 150, in setup_integrations
for integration_cls in iter_default_integrations(
File "/usr/lib/python3.12/site-packages/sentry_sdk/integrations/__init__.py", line 47, in iter_default_integrations
yield getattr(import_module(module), cls)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sentry_sdk.integrations.cohere'
in the file /usr/lib/python3.12/site-packages/sentry_sdk/consts.py
then openshot_qt works correctly.
But this file belongs to the package python3-sentry-sdk-2.11.0-1.fc40.noarch
I don’t know which file in package openshot-3.2.1-1.fc40.noarch has to be modified to solve the problem.
$ sudo dnf provides /usr/lib/python3.13/site-packages/sentry_sdk/integrations/cohere.py
Updating and loading repositories:
Repositories loaded.
python3-sentry-sdk-2.13.0-1.fc41.noarch : The new Python SDK for Sentry.io
Repo : @System
Matched From :
Filename : /usr/lib/python3.13/site-packages/sentry_sdk/integrations/cohere.py
python3-sentry-sdk-2.13.0-1.fc41.noarch : The new Python SDK for Sentry.io
Repo : fedora
Matched From :
Filename : /usr/lib/python3.13/site-packages/sentry_sdk/integrations/cohere.py
but in Fedora 40 I don’t have installed python3.13 and the installed version of
python3-sentry-sdk is 2.11, not 2.13. The 2.13 version for Fedora 40 is in f40-updates-testing
I will try to install it to see if this change solves thr problem.