﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10045	Could not rename file! when writing geolocation data	pnorman	bastiK	"This is probably something specific to one of my files, but when you've got 2k images in a directory it's a bit hard to be specific.

Steps to produce:

Load GPX files
Load and correlate images to the 3-4 files

Write to header, altering timestamps, no backup

The error ""Could not rename file!"" appears

This is the console output
{{{
INFO: Open 1951 files
INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages)
INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages)
ERROR:  Invalid image
java.io.IOException: Could not rename file!
        at org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingAction$GeoTaggingRunnable.chooseFilesNoBackup(GeotaggingAction.java:290)
        at org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingAction$GeoTaggingRunnable.chooseFiles(GeotaggingAction.java:251)
        at org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingAction$GeoTaggingRunnable.realRun(GeotaggingAction.java:212)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:150)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
}}}

Version 7000"	defect	closed	normal		Plugin photo_geotagging	tested	fixed		
