When attempting to load a datafile which is not in a known format (e.g. trying to load a .gif file) the error message is correct
sas.sascalc.dataloader.loader_exceptions.NoKnownLoaderException: Generic readers failed to load D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif
13:53:04 - ERROR: Generic readers failed to load D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif
Unknown data format: D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif.
The file is not a known format that can be loaded by SasView.
BUT there is also an unnecessary file printout, causing tons of hex junk (the whole content of the gif) being displayed in the terminal
sas.sascalc.dataloader.loader_exceptions.NoKnownLoaderException: No loaders match extension in 'D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif'
13:53:04 - INFO: Start tag expected, '<' not found, line 1, column 1 (D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif, line 1)
13:53:04 - WARNING: CanSAS Reader could not load D:/projects/sasview/src/sas/sasview/test/image_data/ISIS_98940_greyscale_gif.gif
13:53:04 - WARNING: NXcanSAS Reader could not load file ISIS_98940_greyscale_gif.gif.gif
13:53:04 - WARNING: Unable to decode b'GIF89aS\x01U\x01\xf7\x00\x00\x01\x01\x01sss\xa9\xa9\xa9EEE\x91\x91 ......
This is only affecting local (developer) builds - the GUI only shows the actual error/comment in the Log Explorer.
When attempting to load a datafile which is not in a known format (e.g. trying to load a .gif file) the error message is correct
BUT there is also an unnecessary file printout, causing tons of hex junk (the whole content of the gif) being displayed in the terminal
This is only affecting local (developer) builds - the GUI only shows the actual error/comment in the Log Explorer.