Modify

Opened 3 years ago

Closed 3 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 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 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by ax

comment:1 Changed 3 years ago by bastiK

  • Resolution set to fixed
  • Status changed from new to closed

(In [o24097])

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.