Modify

Opened 13 years ago

Closed 13 years ago

#5602 closed defect (fixed)

[PATCH] photo_geotagging fails to write coordinates into image header on win32

Reported by: ax Owned by: bastiK
Priority: normal Milestone:
Component: Plugin photo_geotagging Version: latest
Keywords: win32 Cc:

Description

if the "keep backup files" option is unchecked. error message: "Could not rename file!"

reason: file.renameTo(fileDst) fails on win32 if fileDst exists, a behavior different to linux/unix/solaris.

fix: don't create fileDst via File.createTempFile(), but via new File(), and use UUID.randomUUID() to get a unique file name.

patch: attached.

Attachments (1)

photo_geotagging.patch (1.7 KB ) - added by ax 13 years ago.

Download all attachments as: .zip

Change History (2)

by ax, 13 years ago

Attachment: photo_geotagging.patch added

comment:1 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

(In [o24097])

Interesting. Good to know this bug/feature...

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.