[prev in list] [next in list] [prev in thread] [next in thread]
List: kstars-devel
Subject: Re: Possible bug with exposure timeout in Focus window
From: Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date: 2024-01-17 10:24:41
Message-ID: CAE0bU5mL=aAMSHXVBV=q83AHhMrdtfakTiJukg41QdZuEVCi_w () mail ! gmail ! com
[Download RAW message or body]
Yes I found the issue and it's now fixed in GIT:
https://invent.kde.org/education/kstars/-/commit/a3c404394d809b75cefc5e710dce38a851180a16
--
Best Regards,
Jasem Mutlaq
On Wed, Jan 17, 2024 at 1:11 PM Hans <hans@lambermont.dyndns.org> wrote:
> Hi Jasem and Patrick,
>
> I think there's some confusion here. This is what I see is going on :
>
> The 30 second timeout is just the default value in the exposure-timeout
> setting
> in the options of the focus tab. This part is fine.
>
> The question from Patrick is whether this timeout calculation should start
> at
> the beginning or at the end of the exposure.
>
> I think it should start at the end of the exposure, and thus we have a bug
> here
> that Patrick is willing to help fix.
>
> -- Hans Lambermont
>
> Jasem Mutlaq wrote on 20240117:
> > Hello Patrick,
> >
> > While this might indeed be an issue. I think 30 seconds for each exposure
> > is not a solution.
> >
> > --
> > Best Regards,
> > Jasem Mutlaq
> >
> >
> >
> > On Tue, Jan 16, 2024 at 9:32 PM Patrick Molenaar <
> pr_molenaar@hotmail.com>
> > wrote:
> >
> >> Hi,
> >>
> >> Last week there was a clear sky and I had some time to put my gear out
> >> after months of rain. After setting up my gear I tried to take an
> exposure
> >> for determining the focus. At first the exposure was successful, but it
> was
> >> only about 10 seconds. I had an L-Extreme filter on my Canon camera and
> no
> >> stars were visible. So I tried a longer exposure, about 30 seconds, this
> >> time I got an "Exposure failure, Restarting exposure" error message.
> >> Each time I tried the exposure was aborted after about 23 seconds. Only
> >> exposures shorter than 20 seconds were successful. In the end I gave up
> for
> >> that night as I was unable to focus my camera.
> >>
> >> The days after that I connected my camera, tried different cables,
> >> different camera settings, but every time when the expose was longer
> then
> >> about 23 seconds, it was cancelled before it was finished.
> >>
> >> Eventually I started looking in the sourcecode of KStars and found where
> >> the exposure was cancelled. I found out that in the options of the focus
> >> window, there is an exposure-timeout setting, which was by default set
> to
> >> 30 seconds. When I increased this setting to a higher value, I was able
> to
> >> make longer exposures, but when the exposure time was greater then the
> >> exposure timeout setting, the exposure was aborted again.
> >>
> >> In other locations in the sourcecode of KStars I found that the exposure
> >> timeout was added to the exposure time, so the timeout only occurs a
> given
> >> number of seconds after the exposure should have finished. For the
> exposure
> >> timeout in the focus dialog this was not the case.
> >>
> >> Is this a bug in the software?
> >> Or was it intended to have a fixed timeout for the focus windows, that
> >> aborts the exposure when the exposure time is set to a value longer then
> >> the exposure timeout.
> >>
> >> If it is a bug, I am aslo willing to make a fix for it; please let me
> >> know. As my profession is software designer and I have made a
> contribution
> >> to KStars in the past (Bahtinov Focus Assistant), this shouldn't be that
> >> diffucult.
> >>
> >> Kind regards,
> >>
> >> Patrick Molenaar
> >>
>
[Attachment #3 (text/html)]
<div dir="ltr">Yes I found the issue and it's now fixed in GIT: <a \
href="https://invent.kde.org/education/kstars/-/commit/a3c404394d809b75cefc5e710dce38a \
851180a16">https://invent.kde.org/education/kstars/-/commit/a3c404394d809b75cefc5e710dce38a851180a16</a><div><br \
clear="all"><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div>--</div><div>Best Regards,<br>Jasem \
Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 17, 2024 at \
1:11 PM Hans <<a \
href="mailto:hans@lambermont.dyndns.org">hans@lambermont.dyndns.org</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jasem and \
Patrick,<br> <br>
I think there's some confusion here. This is what I see is going on :<br>
<br>
The 30 second timeout is just the default value in the exposure-timeout setting<br>
in the options of the focus tab. This part is fine.<br>
<br>
The question from Patrick is whether this timeout calculation should start at<br>
the beginning or at the end of the exposure.<br>
<br>
I think it should start at the end of the exposure, and thus we have a bug here<br>
that Patrick is willing to help fix.<br>
<br>
-- Hans Lambermont<br>
<br>
Jasem Mutlaq wrote on 20240117:<br>
> Hello Patrick,<br>
> <br>
> While this might indeed be an issue. I think 30 seconds for each exposure<br>
> is not a solution.<br>
> <br>
> --<br>
> Best Regards,<br>
> Jasem Mutlaq<br>
> <br>
> <br>
> <br>
> On Tue, Jan 16, 2024 at 9:32 PM Patrick Molenaar <<a \
href="mailto:pr_molenaar@hotmail.com" \
target="_blank">pr_molenaar@hotmail.com</a>><br> > wrote:<br>
> <br>
>> Hi,<br>
>><br>
>> Last week there was a clear sky and I had some time to put my gear out<br>
>> after months of rain. After setting up my gear I tried to take an \
exposure<br> >> for determining the focus. At first the exposure was \
successful, but it was<br> >> only about 10 seconds. I had an L-Extreme filter \
on my Canon camera and no<br> >> stars were visible. So I tried a longer \
exposure, about 30 seconds, this<br> >> time I got an "Exposure failure, \
Restarting exposure" error message.<br> >> Each time I tried the exposure \
was aborted after about 23 seconds. Only<br> >> exposures shorter than 20 \
seconds were successful. In the end I gave up for<br> >> that night as I was \
unable to focus my camera.<br> >><br>
>> The days after that I connected my camera, tried different cables,<br>
>> different camera settings, but every time when the expose was longer \
then<br> >> about 23 seconds, it was cancelled before it was finished.<br>
>><br>
>> Eventually I started looking in the sourcecode of KStars and found where<br>
>> the exposure was cancelled. I found out that in the options of the focus<br>
>> window, there is an exposure-timeout setting, which was by default set \
to<br> >> 30 seconds. When I increased this setting to a higher value, I was \
able to<br> >> make longer exposures, but when the exposure time was greater \
then the<br> >> exposure timeout setting, the exposure was aborted again.<br>
>><br>
>> In other locations in the sourcecode of KStars I found that the exposure<br>
>> timeout was added to the exposure time, so the timeout only occurs a \
given<br> >> number of seconds after the exposure should have finished. For the \
exposure<br> >> timeout in the focus dialog this was not the case.<br>
>><br>
>> Is this a bug in the software?<br>
>> Or was it intended to have a fixed timeout for the focus windows, that<br>
>> aborts the exposure when the exposure time is set to a value longer then<br>
>> the exposure timeout.<br>
>><br>
>> If it is a bug, I am aslo willing to make a fix for it; please let me<br>
>> know. As my profession is software designer and I have made a \
contribution<br> >> to KStars in the past (Bahtinov Focus Assistant), this \
shouldn't be that<br> >> diffucult.<br>
>><br>
>> Kind regards,<br>
>><br>
>> Patrick Molenaar<br>
>><br>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic