DJV icon indicating copy to clipboard operation
DJV copied to clipboard

Can't open sequences of files with a hyphen.

Open Wouterdek opened this issue 2 years ago • 2 comments

I'm trying to open a sequence of files with the filename pattern output-0.exr, output-1.exr, ... and it's not working. I tried both the File->Open menu, and dragging the first file into the window. In the djv log, I can see it is trying to open output0.exr instead. If I have just one file (output-0.exr), not a sequence, it works fine.

Log:

ERROR: Cannot read image file "D:\output0.exr". No such file or directory.

Thanks for this great app!

Wouterdek avatar Mar 31 '22 09:03 Wouterdek

I confirm this is happening in 2.0.8 on Ubuntu. I've been using DJV for years with these filenames and I have millions of files with this naming scheme. I'm going to try and install an older version to get around this regression.

Actual filenames:

store-0000001.tif
store-0000002.tif
store-0000003.tif
store-0000004.tif
store-0000005.tif
store-0000006.tif
store-0000007.tif
store-0000008.tif
store-0000009.tif
store-0000010.tif
store-N.tif

Sequence seen by DJV:

store0000001-N.tif

Error:

ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.
ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.
ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.
ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.
ERROR: /media/bbogart/store2/Deer-Lake/HDV/Lake-Waves/Frames/store0000001.tif: Cannot open file.

bbogart avatar Jun 09 '22 16:06 bbogart

Identical error on Windows 10 22H2 19045.2486, with the same pattern of misinterpreting the filename as reported by Wouterdek and bbogart. I can work around it, but I'd rather not!

lonnon avatar Feb 07 '23 19:02 lonnon