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

Error when downloading photos in Fedora 37 Gnome 43 #93

Closed SolidCapo closed 1 year ago

SolidCapo commented 1 year ago

Created my own rename convention and couldn't download photos. (<Fecha de la imagen (AAAA-MM-DD)> <Fecha de la imagen (HH)>.<Fecha de la imagen (MM (minutos))>.<Fecha de la imagen (SS)>)

Once the error appeared for all the photos, couldn't select them to try and download them again.

No se puede copiar el archivo _DSC3139.ARW Error: 5 Error de entrada/salida

This appeared when i reescanned the usb drive. `Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/raphodo/rapid.py", line 5264, in proximityGroupsGenerated if self.temporalProximity.setGroups(proximity_groups=proximity_groups): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/proximity.py", line 2388, in setGroups self.temporalProximityModel.updatePreviouslyDownloaded( File "/usr/lib/python3.11/site-packages/raphodo/proximity.py", line 1351, in updatePreviouslyDownloaded row = self.groups.uid_to_row(uid=uid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/proximity.py", line 1191, in uid_to_row return self.uids.uid_to_col2_row(uid=uid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/proximity.py", line 713, in uid_to_col2_row return self._col2_row_index[uid]


KeyError: b'\xa7\x03-\xe3eXG}\xb8\xd1\xb7b\x05\xcb\xab!'`

[rpd-bug-report-20221220-1.tar.gz](https://github.com/damonlynch/rapid-photo-downloader/files/10271374/rpd-bug-report-20221220-1.tar.gz)
damonlynch commented 1 year ago

That's probably a long-standing bug with respect to the Timeline. It's a very difficult to determine the root cause of the problem, because it involves user interaction with different Timeline permutations that are difficult to reproduce. If you can reproduce the problem so that you know how to precisely trigger the bug in the Timeline, that would be extremely helpful for me. But you may find it difficult to reproduce, in which case, you can proceed with the download is normal.

SolidCapo commented 1 year ago

Don't know what happened, but i've connected the usb again, and now it worked fine. Thank you.

damonlynch commented 1 year ago

It doesn't surprise me. It's an obscure bug that rarely occurs. I have not been able to reliably reproduce it.