Opened 12 years ago

Last modified 12 years ago

#10045 closed defect

Could not rename file! when writing geolocation data — at Version 3

Reported by: pnorman Owned by: bastiK
Priority: normal Milestone:
Component: Plugin photo_geotagging Version: tested
Keywords: Cc:

Description (last modified by Don-vip)

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

Change History (3)

comment:1 by Don-vip, 12 years ago

Component: Core image mappingPlugin photo_geotagging
Owner: changed from team to bastiK

comment:2 by Don-vip, 12 years ago

Description: modified (diff)

comment:3 by Don-vip, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.