Comment 4 for bug 1813565

Revision history for this message
Franck78 (fbourdonnec) wrote :

>>How it deals with unreadable files could be improved, i.e. not throwing an exception.

that's what is this report for.

>>But unless you fix your NAS configuration, Rapid Photo Downloader will not work.

well, your task is not fix the world but deal with it as it is ;-)
The best you can.
In 1980, MSDOS already had R)etry, A)bort I)gnore basic error handling.

Bug report is not incomplete. You have exact location of two sections needing error handling :

File "..../site-packages/raphodo/thumbnailpara.py", line 303, in preprocess_thumbnail_from_disk
    with open(rpd_file.full_file_name, 'rb') as photo:
PermissionError: [Errno 13] Permission denied: '....osram7w-840.jpg'

 File "..../site-packages/pymediainfo/__init__.py", line 219, in parse
    with open(filename, "rb"):
PermissionError: [Errno 13] Permission denied: '....lot-raccord.mp4'

thank you