Bug 449421 - Post-capture script not executed on preview exposure, nor while looping, nor at exposure abort
Summary: Post-capture script not executed on preview exposure, nor while looping, nor ...
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.5.7
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-31 17:57 UTC by Ricardo Serpell
Modified: 2022-07-29 06:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 3.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.