I can't upload geotagged photos folder in QGIS via photo2KMZ. It's showing error as follows

An error has occurred while executing Python code: 

KeyError: 'DateTime' 
Traceback (most recent call last):
  File "/home/yash/.qgis2/python/plugins/photo_to_kmz/photo_to_kmz.py", line 173, in run
KeyError: 'DateTime'

Python version: 2.7.6 (default, Oct 26 2016, 20:33:43) [GCC 4.8.4] 
QGIS version: 2.14.12-Essen Essen, exported 

Python Path:

Screen Shot of Error message

  • Thnx @tinlyx for editing the post!! Commented Mar 28, 2017 at 10:49

1 Answer 1


This is a known issue when photos are missing the date-time property: https://hub.qgis.org/projects/photo2kmz/issues

The developer suggests that you make sure your photos has a valid date-time property. If this is a camera issue, you should report it as a new issue in the plug-ins bugtracker on the link above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.