Created attachment 183186 [details] working changes but review needed SUMMARY When exporting a sequence with a Video job (SER-RAW), the app crashes. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT The app crashes, and an .esq file is partially created, like this: ``` <?xml version="1.0" encoding="UTF-8"?> <SequenceQueue version='2.6'> <GuideDeviation enabled='false'>2</GuideDeviation> <GuideStartDeviation enabled='false'>2</GuideStartDeviation> <HFRCheck enabled='false'> <HFRDeviation>0</HFRDeviation> <HFRCheckAlgorithm>0</HFRCheckAlgorithm> <HFRCheckThreshold>10</HFRCheckThreshold> <HFRCheckFrames>1</HFRCheckFrames> </HFRCheck> <RefocusOnTemperatureDelta enabled='false'>1</RefocusOnTemperatureDelta> <RefocusEveryN enabled='false'>60</RefocusEveryN> <RefocusOnMeridianFlip enabled='false'/> <Job> <Exposure>1</Exposure> <Format>SER</Format> <Encoding>RAW</Encoding> <Binning> <X>1</X> <Y>1</Y> </Binning> <Frame> <X>0</X> <Y>0</Y> <W>1280</W> <H>1024</H> </Frame> <Temperature force='false'>0</Temperature> <Filter>Luminance</Filter> ``` Filter is the last tag. `<Type>` should be next but if fails. EXPECTED RESULT A new .esq file should be created for that sequence queue. SOFTWARE/OS VERSIONS Kstars 3.7.7 Stable All operative systems ADDITIONAL INFORMATION I compiled a version of kstars with the following changes and it worked, but i'm not sure if it's fully correct. Attached patch.
Created attachment 183187 [details] corrupt esq file when trying to export ser
Bug confirmed, can be reproduced.
Checking the proposed patch
Thanks for submitting the report and the patch. The bug will be fixed with https://invent.kde.org/education/kstars/-/merge_requests/1527