Bug 449421

Summary: Post-capture script not executed on preview exposure, nor while looping, nor at exposure abort
Product: [Applications] kstars Reporter: Ricardo Serpell <rserpell>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal CC: rserpell
Priority: NOR    
Version First Reported In: 3.5.7   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 3.6.0
Sentry Crash Report:

Description Ricardo Serpell 2022-01-31 17:57:50 UTC
The post-capture script is not executed:
- after capture of a preview exposure
- after each capture during framing (looping)
- when a capture is aborted

STEPS TO REPRODUCE
1. set a post-capture script in the scripts management window
2. start a capture using preview, or using framing. Post-capture script is not executed.

or:
1. Start a capture (any mode: sequence, preview or framing)
2. Abort capture pressing "stop" button

OBSERVED RESULT
Post-capture script is not executed

EXPECTED RESULT
Post-capture script should be executed. This is particularly relevant when using a shutter release cable driven by the script.

SOFTWARE/OS VERSIONS
Raspbian Buster, Astroberry

ADDITIONAL INFORMATION
In my case, the script drives the SNAP port of an AZ-GTi Mount. It works when called manually.
Comment 1 Ricardo Serpell 2022-01-31 18:04:32 UTC
Dear Jasem,
I also noted that if a delay is set between captures in a sequence, it takes place before executing the post-capture script. I think the post-capture script should be executed before waiting for the delay. In this way, the delay will take place "between captures" when the script controls a camera shutter (currently, the delay time is added to the capture).

Should I add another bug report for this?

Best regards,
Ricardo
Comment 2 Jasem Mutlaq 2022-02-01 06:40:21 UTC
THanks, it's not mean by preview nor looping, and need to think to add it on exposure abort. Since it is assumed this script is meant to run after you successfully capture an image, not that if you abort it.
Comment 3 Jasem Mutlaq 2022-07-29 06:32:13 UTC
Should be fixed in 3.6.0
Comment 4 Jasem Mutlaq 2022-07-29 06:33:05 UTC
I'd like to point out that it's not intended to run at preview exposure or looping.