Error when renaming files with xmp sidecar

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
twinger
Posts: 7
Joined: Tue Aug 14, 2007 1:12 am
Location: St. Catharines, Ontario, Canada

Error when renaming files with xmp sidecar

Post by twinger »

If I select a group of files to rename and some of them have an xmp sidecar (created when labelling in XnView), I get an error and cannot rename the files. If I select a smaller group of files that have no sidecar files, then they rename without any problems. See screenshot. I'm using XnView MP 1.4.3 64-bit.
Screenshot 2023-03-26 171528.png
Tom.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error when renaming files with xmp sidecar

Post by xnview »

yes it's depends of 'Settings>File list - Companions'
Pierre.
twinger
Posts: 7
Joined: Tue Aug 14, 2007 1:12 am
Location: St. Catharines, Ontario, Canada

Re: Error when renaming files with xmp sidecar

Post by twinger »

I have that setting turned on. I'm expecting XnView to rename the raw file and the sidecar. But instead, I get this error.
Attachments
Screenshot 2023-04-03 143442.png
Screenshot 2023-04-03 143442.png (37.17 KiB) Viewed 694 times
Tom.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error when renaming files with xmp sidecar

Post by xnview »

you have companion settings, so you need to select only RAW files to rename...
Pierre.
twinger
Posts: 7
Joined: Tue Aug 14, 2007 1:12 am
Location: St. Catharines, Ontario, Canada

Re: Error when renaming files with xmp sidecar

Post by twinger »

Yes, that's what I've done. See the first screenshot. But I still get an error on the files for which a sidecar exists.
Tom.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error when renaming files with xmp sidecar

Post by xnview »

could you send me your xnview.ini, i'm not able to reproduce?
Pierre.
twinger
Posts: 7
Joined: Tue Aug 14, 2007 1:12 am
Location: St. Catharines, Ontario, Canada

Re: Error when renaming files with xmp sidecar

Post by twinger »

I can't see a way to attach an .ini file to a post, so here's a Drive link:

https://drive.google.com/file/d/1uCbZZg ... share_link

And, by the way, I can confirm that I have the same error on both of my computers (desktop and laptop), and that it happens with different raw files (Nikon and Sony). Thanks for taking the time to look at this.

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

Re: Error when renaming files with xmp sidecar

Post by xnview »

you have 2 times "{raw} xmp", please remove the last one
Pierre.
twinger
Posts: 7
Joined: Tue Aug 14, 2007 1:12 am
Location: St. Catharines, Ontario, Canada

Re: Error when renaming files with xmp sidecar

Post by twinger »

Yes, that was it! It works now without an error. Thank-you very much for taking the time to help.
Tom.
Post Reply