XnView crashs when reading IPTC data in Batch Rename (CR2)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Fri May 08, 2009 6:01 pm

I am using Geosetter to set the GPS in Exif and the location in IPTC of my Canon RAW files (CR2). Once saved, the data are perfecly read by other tools (Exiftool, DPP, etc)
Unfortunately, Xnview 1.96 seems to have pb to handle them.
1) in Properties / IPTC, the city does not appear
2) in batch rename, when I want to insert <IPTC:city> (and sometimes <IPTC:location>), Xnview cause a memory exeption error ("memory could not be read")
Tested under XP SP3.

The pb seems to be limited to some file types: I've only tested CR2 files (crash) and JPG (no crash, rename ok, city shown in properties)

User avatar
xnview
Author of XnView
Posts: 30270
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by xnview » Sun May 10, 2009 4:42 pm

Please send me a sample?
Pierre.

Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Mon May 11, 2009 4:46 pm

I've just uploaded a file here
Actually, Xnview does not always crash, and never only in one file, but when many are selected and in particular when the first and the last of a directory is selected for the batch rename. Just reproduced with 10 copies of this file in a single dir.
Anyway, the "city" never appears in the info.
Note that GPS and location Info are not only in EXIF and IPTC but also in XMP.

User avatar
xnview
Author of XnView
Posts: 30270
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by xnview » Tue May 12, 2009 2:53 am

What do you use as filename template?
Pierre.

Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Fri May 15, 2009 5:13 pm

<Date Taken [Ymd_H-M-S]>_<IPTC:City>

Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Sun May 17, 2009 10:02 am

impressive support: fixed in 1.96.1, Thanks!

Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Tue Jun 02, 2009 12:54 pm

I've tagged many cr2 files with iptc data (using geotagger/exiftool), and used batch rename in 1.96.1. It works fine for many pictures, but not for all. It seems that when the iptc caption is set, perhaps due to particular characters (should be in UTF-8), the IPTC data are not read anymore in the file.
I've uploaded a sample here

User avatar
xnview
Author of XnView
Posts: 30270
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by xnview » Wed Jun 03, 2009 8:22 am

Eric B wrote:I've tagged many cr2 files with iptc data (using geotagger/exiftool), and used batch rename in 1.96.1. It works fine for many pictures, but not for all. It seems that when the iptc caption is set, perhaps due to particular characters (should be in UTF-8), the IPTC data are not read anymore in the file.
I've uploaded a sample here
If i use <IPTC:Caption Writer> as template, all is ok with your file...
Pierre.

Eric B
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by Eric B » Wed Jun 03, 2009 12:50 pm

yes, but the file contains many further iptc tags that are not visible in Xnview!

User avatar
xnview
Author of XnView
Posts: 30270
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView crashs when reading IPTC data in Batch Rename (CR2)

Post by xnview » Wed Jun 03, 2009 1:54 pm

Eric B wrote:yes, but the file contains many further iptc tags that are not visible in Xnview!
Right...
Pierre.

Post Reply