Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module core.pe.photo is missing #1191

Open
All-The-Foxes opened this issue Jan 29, 2024 · 1 comment
Open

Module core.pe.photo is missing #1191

All-The-Foxes opened this issue Jan 29, 2024 · 1 comment
Labels
bug Bug reports.

Comments

@All-The-Foxes
Copy link

DupeGuru will not open because the core.pe.photo module is missing. This is on Ubuntu Mantic (23.10)

Traceback (most recent call last):
File "/usr/bin/dupeguru", line 88, in
sys.exit(main())
^^^^^^
File "/usr/bin/dupeguru", 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'

@All-The-Foxes All-The-Foxes added the bug Bug reports. label Jan 29, 2024
@6xthFNGR
Copy link

6xthFNGR commented Oct 4, 2024

Same.
Ubuntu 24.04

uname -a
Linux 6.8.0-45-lowlatency #45.1-Ubuntu SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

dupeguru -v
QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
File "/usr/bin/dupeguru", line 88, in
sys.exit(main())
^^^^^^
File "/usr/bin/dupeguru", 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'

dupeguru 4.3.1-4build1
Python 3.12.3
pip3 install -r dupeguru/requirements.txt - Successful
pip3 list
alabaster 0.7.16
babel 2.16.0
certifi 2024.8.30
charset-normalizer 3.3.2
distro 1.9.0
docutils 0.21.2
idna 3.10
imagesize 1.4.1
Jinja2 3.1.4
MarkupSafe 2.1.5
mutagen 1.47.0
packaging 24.1
pip 24.0
polib 1.2.0
Pygments 2.18.0
PyQt5 5.15.11
PyQt5-Qt5 5.15.15
PyQt5_sip 12.15.0
requests 2.32.3
semantic-version 2.10.0
Send2Trash 1.8.3
setuptools 75.1.0
snowballstemmer 2.2.0
Sphinx 7.4.7
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
urllib3 2.2.3
xxhash 3.5.0

Depending if I install system-wide or in a Python Virtual Environment, I get different issues.
I guess due to different dependencies and dupeguru builds.

System-Wide

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'

VENV

dupeguru
QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
File "/usr/bin/dupeguru", line 88, in
sys.exit(main())
^^^^^^
File "/usr/bin/dupeguru", 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'

I dont know where to get the module 'core.pe.photo' yet. The dependencies where installed as recommended.

More similar reports: #1255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants