deepskystacker / DSS

DeepSkyStacker
Other
948 stars 94 forks source link

Open a File List #178

Closed jojje70 closed 1 year ago

jojje70 commented 1 year ago

Version 5.1 and 5.1.1 under Windows 11 Home 22H2, 22621.1413.

If you open an already saved filelist, the program cannot load some files if the file filepath contains special characters such as åäö. No error message, just absence of the affected files.

DSS-filelist that fails to load Darks and Flats: DSS file list CHECKED TYPE FILE 0 light H_Alpha/IC_1805_Light_005.fits 1 light OIII/IC_1805_Light_001.fits 1 light OIII/IC_1805_Light_002.fits 1 light OIII/IC_1805_Light_003.fits 1 light OIII/IC_1805_Light_004.fits 1 light OIII/IC_1805_Light_005.fits 1 light OIII/IC_1805_Light_006.fits 1 light OIII/IC_1805_Light_007.fits 1 light OIII/IC_1805_Light_008.fits 1 light OIII/IC_1805_Light_009.fits 1 light OIII/IC_1805_Light_010.fits 1 light OIII/IC_1805_Light_011.fits 1 light OIII/IC_1805_Light_012.fits 1 light OIII/IC_1805_Light_013.fits 1 light OIII/IC_1805_Light_014.fits 1 light OIII/IC_1805_Light_015.fits 1 dark ../../Säsong 3 2022/Kallibrering 2301/SBIG/Dark/MasterDark_ISO0_300s.tif 1 flat ../../Säsong 3 2022/Kallibrering 2301/SBIG/Flat/OIII/MasterFlat_ISO0.tif

DSS-filelist that manage to load Darks: DSS file list CHECKED TYPE FILE 0 light H_Alpha/IC_1805_Light_005.fits 1 light OIII/IC_1805_Light_001.fits 1 light OIII/IC_1805_Light_002.fits 1 light OIII/IC_1805_Light_003.fits 1 light OIII/IC_1805_Light_004.fits 1 light OIII/IC_1805_Light_005.fits 1 light OIII/IC_1805_Light_006.fits 1 light OIII/IC_1805_Light_007.fits 1 light OIII/IC_1805_Light_008.fits 1 light OIII/IC_1805_Light_009.fits 1 light OIII/IC_1805_Light_010.fits 1 light OIII/IC_1805_Light_011.fits 1 light OIII/IC_1805_Light_012.fits 1 light OIII/IC_1805_Light_013.fits 1 light OIII/IC_1805_Light_014.fits 1 light OIII/IC_1805_Light_015.fits 1 dark ../../Season 4 2023/Kallibrering/SBIG/Darks/MasterDark_ISO0_300s.tif

perdrix52 commented 1 year ago

To remind folks the normal problem reporting path is to use the DeepSkyStacker mailing list at groups.io ...

DSS has always failed silently when it fails to open a file in a filelist.

I will take a look to see what the problem might be.

What release of DeepSkyStacker wrote the filelist? If it was 5.1 (or 5.1.1) then I think I have found the problem - it was writing the fileid as a ANSI string not a UTF8 string. I have corrected the code.

If you'd like a build to test with please ask on the mailing list.

David

perdrix52 commented 1 year ago

I've closed this as I have had no response

jojje70 commented 1 year ago

Yes, the filelist was written with 5.1 and reopened in both 5.1 and 5.1.1. Good thing you found the cause of the problem, and I have just joined the mailing list.