You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ dupeguru
Traceback (most recent call last):
File "/usr/local/bin/dupeguru", line 33, in
sys.exit(load_entry_point('dupeGuru==4.3.1', 'console_scripts', 'dupeguru')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/dupeguru", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/init.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'run'
================================================================ 514 passed in 5.40s =================================================================
= Success.
So, dupeguru in system or sudo dupeguru in VENV should work.
But it doesnt -> see the first Error Message.
Testing further, I guess run.py, Qt and the Qt-Wayland Addon are the issue at the moment:
$ env QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/ QT_QPA_PLATFORM=minimal python3 /usr/share/dupeguru/run.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/usr/share/dupeguru/run.py", line 88, in
sys.exit(main())
^^^^^^
File "/usr/share/dupeguru/run.py", line 71, in main
from qt.app import DupeGuru
File "/usr/share/dupeguru/qt/app.py", line 22, in
from core.app import AppMode, DupeGuru as DupeGuruModel
File "/usr/share/dupeguru/core/app.py", line 27, in
from core.pe.photo import get_delta_dimensions
ModuleNotFoundError: No module named 'core.pe.photo'
$ env QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/ QT_QPA_PLATFORM=wayland python3 /usr/share/dupeguru/run.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
6xthFNGR
changed the title
ModuleNotFoundError: No module named 'run'
ModuleNotFoundError: No module named 'run' // run.py issue with QT_QPA_PLATFORM=wayland
Oct 4, 2024
On starting dupeguru (Terminal $ dupeguru)
Error:
Py.test file IN A VENV
= requires sudo to perform as its VENV reaching a program outside VENV that wants write permissions... Another thing to fix.
Py.Test with sudo inside VENV, or within system Python:
= Success.
So, dupeguru in system or sudo dupeguru in VENV should work.
But it doesnt -> see the first Error Message.
Testing further, I guess run.py, Qt and the Qt-Wayland Addon are the issue at the moment:
Wayland plugin is available, but wont be initialized.
System:
Ubuntu 24.04
Python Virtual Environment:
The text was updated successfully, but these errors were encountered: