this is a limitation of windows. The path cannot be longer then 260 characters.
If you move the file into the root directory of C:\ then it you can probably open it, too.
Ah, now I see. This is an error when the intermediate Tiff file is read.
The Jpeg2000 reader converts it into temporary Tiff image.
I don’t know if this can be disabled or if the location where the file is stored can be modified.
It would be good if the filename would be shorter.
Unfortunatelly not, for the moment.
I tested and the path lenght from .snap/var/cache (where the decompression in tiff tiles is done) is bigger than 450 characters.
There is the caching folder (.snap/var/cache) to which the original file name is added (171 characters), and then the tiles are also prefixed with the original file name (plus tile indexes), so even if we will double the original file name lenght (171 x 2) we will still depass 260 characters. So changing the location of tiles will not help, because the original file name length itself is too big.
Maybe it would be a good idea is the decompressed tiles are not prefixed with the original file name, but this have to be tested.
Thanks Oana.
As an idea for the future. The files in the cache could have some short name and are then mapped to the original file name. Some how…
But ideally the original file name would not be so long.
We can go with this solution, I think. (meaning no longer use the original file name as prefix for the tiles, since they are already saved under a folder having the original file name)