RPD 0.9.36 will not start - Arch Linux

Hello,

i see this error in the comandline:

$ rapid-photo-downloader 
ERROR: An unhandled exception occurred
ERROR: Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/raphodo/rapid.py", line 1093, in initStage9
    self.searchForCameras()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/raphodo/rapid.py", line 5365, in searchForCameras
    for model, port in cameras:
                       ^^^^^^^
TypeError: 'gphoto2.list.CameraList' object is not iterable

Please call QDesktopServices::unsetUrlHandler() before destroying a registered URL handler object.
Support for destroying a registered URL handler object is deprecated, and will be removed in Qt 6.6.

What can i do? What information is needed to help me?

Martin

1 Like

The last time I used the program a few weeks ago, it was still working.

no Cam and no SD Card are connected

The joys of Python :sweat_smile:

I got the same error the other day. Presumably some dependency was updated to a version that RPD isn’t compatible with. My solution for now is to use digiKam’s import feature.

1 Like

check: Running Rapid Photo Downloader from Source with uv works great!

2 Likes

This was fixed in release 0.9.37. I applied the changes to the code in early February.

The issue is caused by an abrupt change in the Python binding for gphoto2. Probably your distro has version 2.6.0 of that library, and not a more recent release where the developer depreciated code he wanted to remove, rather than remove it outright.

Abrupt changes in a library’s API with no warning are impossible to anticipate.

2 Likes

thx - it works!