damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
114 stars 30 forks source link

QWIDGETSIZE_MAX import error #112

Closed none7878 closed 1 year ago

none7878 commented 1 year ago

After finding rpd gui failed to launch I tried from cli which revealed the following error. My distro is Mageia, hardware is x86_64. I tested on both current stable Mageia 9 and the development version known as cauldron which show the same error. One of our packagers looked and asked that I forward the question upstream.

[xxxxxx@mga9tmp243 ~]$ rapid-photo-downloader Traceback (most recent call last): File "/usr/bin/rapid-photo-downloader", line 33, in sys.exit(load_entry_point('rapid-photo-downloader==0.9.33', 'gui_scripts', 'rapid-photo-downloader')()) File "/usr/bin/rapid-photo-downloader", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib64/python3.10/importlib/metadata/init.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib64/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/raphodo/rapid.py", line 152, in from raphodo.folderpreviewmanager import FolderPreviewManager File "/usr/lib/python3.10/site-packages/raphodo/folderpreviewmanager.py", line 31, in from raphodo.interprocess import OffloadData File "/usr/lib/python3.10/site-packages/raphodo/interprocess.py", line 66, in from raphodo.proximity import TemporalProximityGroups File "/usr/lib/python3.10/site-packages/raphodo/proximity.py", line 33, in from PyQt5.Qt import QWIDGETSIZE_MAX ImportError: cannot import name 'QWIDGETSIZE_MAX' from 'PyQt5.Qt' (/usr/lib64/python3.10/site-packages/PyQt5/Qt.abi3.so)

https://bugs.mageia.org/show_bug.cgi?id=32263

damonlynch commented 1 year ago

Thanks for your bug report. This clearly is a bug in Mageia. As you may have already seen, I have commented on the bug report in Mageia.