jim-easterbrook / Photini

An easy to use digital photograph metadata (Exif, IPTC, XMP) editing application.
https://photini.readthedocs.io/
GNU General Public License v3.0
157 stars 24 forks source link

Problem with special chars in filename #32

Closed salvadhor closed 7 years ago

salvadhor commented 7 years ago

Photini fails to copy imported photos when there's special character in filename. In my case it was space ' '.

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/photini/importer.py", line 510, in copy_selected copy_list.append(self.file_data[name]) KeyError: u'Reflectionintheyukon'

Original filename:

Reflectionintheyukon - 2880x1800 300ppi (Large).jpg

jim-easterbrook commented 7 years ago

Thanks for reporting this - I hadn't considered importing files with spaces in their names, as cameras generally don't do that.

jim-easterbrook commented 7 years ago

The next release will fix this bug.

jim-easterbrook commented 7 years ago

I've released version 2017.8.1 which includes the fix.