andrewning / sortphotos

SortPhotos is a Python script that organizes photos and videos into folders using date/time information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script stops working with "no files to parse or invalid data"

philsynek opened this issue · comments

Hi,

when I run the script at first it works but while gathering exif data it eventually stops with

{
"SourceFile": "/mnt/nas/pictures/some/folder/IMG_4343.JPG",
"File:FileModifyDate": "2010:03:09 14:19:54+01:00",
"File:FileAccessDate": "2018:02:02 13:45:04+01:00",
"File:No files to parse or invalid data
user@ubuntu:/mnt/nas$ 1808 directories scanned
135820 image files read

and returns to prompt.

The command I used: sudo python /home/user/sortphotos/src/sortphotos.py --sort %Y/%m/%d -r /mnt/freenas/pictures/ /mnt/freenas/tmp/ --ignore-groups File

Could you help me with this? Otherwise this script is great!

Regards,
Phil

Found out, that this is related to german umlauts in files or folders. After getting rid of them the script worked fine.