Opened 12 years ago
Last modified 12 years ago
#10045 closed defect
Could not rename file! when writing geolocation data — at Initial Version
| Reported by: | pnorman | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin photo_geotagging | Version: | tested |
| Keywords: | Cc: |
Description
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(Geota
ggingAction.java:290)
at org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingAction$GeoTaggingRunnable.chooseFiles(GeotaggingAct
ion.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


