On Fri, 25 Jun 2021 at 05:51, Alexis R.L. <alroyl...@gmail.com> wrote:
>
> Greetings,
>
> I have one custom script that uses PIL to get the exif tag, and when I 
> execute the script for the first time, the processing window vanishes and 
> qgis stall and then crashes.
>
> To get it to run properly I had to set the return before opening the files 
> with PIL to run a neutered version and then subsequent runs were flawless 
> during that qgis instance.
>
> I ended up using a standalone exif reader, though slower , but there are no 
> more crashes.

You can use the GDAL python library and retrieve exif metadata via a
call to GDALGetMetadata. This has the benefit of being available
EVERYWHERE qgis is available, with no added dependencies!

Nyall


>
> Has anyone else had similar issues and is anyone aware of a way to prevent 
> such crashes or handle them more gracefully, as no trace is left currently.
>
> Thanks and have a nice day,
>
> Alex
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to