[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&#39;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 &lt;<a \
href="mailto:hans@lambermont.dyndns.org">hans@lambermont.dyndns.org</a>&gt; \
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&#39;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>
&gt; Hello Patrick,<br>
&gt; <br>
&gt; While this might indeed be an issue. I think 30 seconds for each exposure<br>
&gt; is not a solution.<br>
&gt; <br>
&gt; --<br>
&gt; Best Regards,<br>
&gt; Jasem Mutlaq<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Tue, Jan 16, 2024 at 9:32 PM Patrick Molenaar &lt;<a \
href="mailto:pr_molenaar@hotmail.com" \
target="_blank">pr_molenaar@hotmail.com</a>&gt;<br> &gt; wrote:<br>
&gt; <br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Last week there was a clear sky and I had some time to put my gear out<br>
&gt;&gt; after months of rain. After setting up my gear I tried to take an \
exposure<br> &gt;&gt; for determining the focus. At first the exposure was \
successful, but it was<br> &gt;&gt; only about 10 seconds. I had an L-Extreme filter \
on my Canon camera and no<br> &gt;&gt; stars were visible. So I tried a longer \
exposure, about 30 seconds, this<br> &gt;&gt; time I got an &quot;Exposure failure, \
Restarting exposure&quot; error message.<br> &gt;&gt; Each time I tried the exposure \
was aborted after about 23 seconds. Only<br> &gt;&gt; exposures shorter than 20 \
seconds were successful. In the end I gave up for<br> &gt;&gt; that night as I was \
unable to focus my camera.<br> &gt;&gt;<br>
&gt;&gt; The days after that I connected my camera, tried different cables,<br>
&gt;&gt; different camera settings, but every time when the expose was longer \
then<br> &gt;&gt; about 23 seconds, it was cancelled before it was finished.<br>
&gt;&gt;<br>
&gt;&gt; Eventually I started looking in the sourcecode of KStars and found where<br>
&gt;&gt; the exposure was cancelled. I found out that in the options of the focus<br>
&gt;&gt; window, there is an exposure-timeout setting, which was by default set \
to<br> &gt;&gt; 30 seconds. When I increased this setting to a higher value, I was \
able to<br> &gt;&gt; make longer exposures, but when the exposure time was greater \
then the<br> &gt;&gt; exposure timeout setting, the exposure was aborted again.<br>
&gt;&gt;<br>
&gt;&gt; In other locations in the sourcecode of KStars I found that the exposure<br>
&gt;&gt; timeout was added to the exposure time, so the timeout only occurs a \
given<br> &gt;&gt; number of seconds after the exposure should have finished. For the \
exposure<br> &gt;&gt; timeout in the focus dialog this was not the case.<br>
&gt;&gt;<br>
&gt;&gt; Is this a bug in the software?<br>
&gt;&gt; Or was it intended to have a fixed timeout for the focus windows, that<br>
&gt;&gt; aborts the exposure when the exposure time is set to a value longer then<br>
&gt;&gt; the exposure timeout.<br>
&gt;&gt;<br>
&gt;&gt; If it is a bug, I am aslo willing to make a fix for it; please let me<br>
&gt;&gt; know. As my profession is software designer and I have made a \
contribution<br> &gt;&gt; to KStars in the past (Bahtinov Focus Assistant), this \
shouldn&#39;t be that<br> &gt;&gt; diffucult.<br>
&gt;&gt;<br>
&gt;&gt; Kind regards,<br>
&gt;&gt;<br>
&gt;&gt; Patrick Molenaar<br>
&gt;&gt;<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic