exiftool icon indicating copy to clipboard operation
exiftool copied to clipboard

If file path contains spaces and stayOpen is enabled, exiftool fails to read meta on Windows

Open valnaumov opened this issue 7 years ago • 7 comments

Although works for Mac.

valnaumov avatar Mar 15 '18 08:03 valnaumov

Hi, Thanks for the report. Does it work without stayOpen?

mjeanroy avatar Mar 15 '18 10:03 mjeanroy

@mjeanroy

Hi. Yes, it does work without stayOpen

valnaumov avatar Mar 15 '18 11:03 valnaumov

Hi @valnaumov,

I just added a unit test with a file containing a space (see 09a4db97), and it seems to work (on Windows and Unix). What versions of exiftool are you using? Can you give me the name of a file that does not work? Does it contains anything special, except spaces?

mjeanroy avatar Mar 26 '18 20:03 mjeanroy

@mjeanroy

Pardon me, it appears that it was not the space that caused the issue, it were cyrillic characters as part of the name. The name was something like: d:\temp\по-русски.CR2.

Guess we can't do anything about it?

valnaumov avatar Mar 28 '18 12:03 valnaumov

Thanks, I'll try to look at that but I think the problem is with exiftool, not with this wrapper. Nevertheless, if a file name contains non-supported characters, we should be able to print, at least, a warning, what do you think ?

mjeanroy avatar Mar 28 '18 13:03 mjeanroy

@mjeanroy I'd prefer an exception, if we can be certain that in given circumstances non-ASCII symbols won't work. One may work with exiftool for months, and he would not note such a pitfall like it happened to myself. The more explicit, the better, I think.

valnaumov avatar Apr 02 '18 02:04 valnaumov

@valnaumov I searched in exfitool forum about encoding issue, and it looks like this is your problem: http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4029.msg18896.html#msg18896

mjeanroy avatar Apr 03 '18 21:04 mjeanroy