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

Preferences fails to open #119

Closed aquada closed 9 months ago

aquada commented 9 months ago

OS:NixOS unstable Version: 0.9.34

When opening Preferences (Ctrl-p or menu) a dialog appears stating a problem occurred with RPD

Traceback (most recent call last): File "/nix/store/hap6x8561bnb5d6d1y6f5i9aapaz9s13-rapid-photo-downloader-0.9.34/lib/python3.11/site-packages/raphodo/rapid.py", line 2967, in doPreferencesAction dialog = PreferencesDialog(prefs=self.prefs, parent=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/hap6x8561bnb5d6d1y6f5i9aapaz9s13-rapid-photo-downloader-0.9.34/lib/python3.11/site-packages/raphodo/prefs/preferencedialog.py", line 142, in __init__ self.chooser = QNarrowListWidget(no_focus_recentangle=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/hap6x8561bnb5d6d1y6f5i9aapaz9s13-rapid-photo-downloader-0.9.34/lib/python3.11/site-packages/raphodo/ui/viewutils.py", line 641, in __init__ self.setStyle(ProxyStyleNoFocusRectangle()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QProxyStyle(style: typing.Optional[QStyle] = None): not enough arguments QProxyStyle(key: str): not enough arguments

Log file attached rpd-bug-report-20231215.tar.gz

damonlynch commented 9 months ago

The call to QProxyStyle() is 100% valid: https://doc.qt.io/qt-5/qproxystyle.html That indicates something is wrong with your installation of PyQt5. It might be a build issue with an incompatible version of sip, for example.

It looks like whoever put this package together is responsible for resolving this problem.

aquada commented 9 months ago

Thank you, I'll follow up with package maintainers

18 Dec 2023 06:27:44 Damon Lynch @.***>:

Closed #119[https://github.com/damonlynch/rapid-photo-downloader/issues/119] as completed.

— Reply to this email directly, view it on GitHub[https://github.com/damonlynch/rapid-photo-downloader/issues/119#event-11271449774], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABIN6GXUKBKOQ4CGWVAVGQDYJ7A3ZAVCNFSM6AAAAABAWCFBP2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGI3TCNBUHE3TONA]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/ABIN6GXOCRMY2HI3EWJGSZDYJ7A3ZA5CNFSM6AAAAABAWCFBP2WGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAFH6UVSXA.gif]