Bug 406446 - Ekos fails to recognise Astrometry index files
Summary: Ekos fails to recognise Astrometry index files
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 20:32 UTC by zac
Modified: 2019-08-08 01:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.3.4


Attachments
attachment-11861-0.html (3.95 KB, text/html)
2019-04-12 14:28 UTC, zac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zac 2019-04-11 20:32:44 UTC
SUMMARY

Ekos reports Astrometry index files are missing when they are present and "Capture and Solve" fails.



STEPS TO REPRODUCE
1. Open KStars
2. Click on Ekos
3. Select "Simulators" profile
4. Start Ekos
5. On telescope tab unpark telescope
6. Click on Alignment tab
7. Set field of view to 128'x 96'
8. Click "Capture & Solve" button
9. Look at reports in process window.

OBSERVED RESULT

After "image received" report see error message reporting that index files 4205 to 4211 are missing. Astrometry solver fails to solve image.


EXPECTED RESULT

Expect solver to give solution to location of Polaris in captured simulated image.

SOFTWARE/OS VERSIONS
 
Linux mint 19 Tara: 
Kstars version 3.1.1

ADDITIONAL INFORMATION

Recently tried KStars/INDI/Ekos for first time. I was running indiserver on a RPi3B+ connected to an HEQ5 Pro and a ZWO ASI185. The camera was on a Celestron C8 with an f6.3 focal reducer giving a field of view 19.6' by 12.4'. I was controlling the set up using a KStars/INDI/Ekos client (Kstars version 3.1.1) running on a 64bit laptop using Linux Mint Mate 19 Tara.

Telescope control using INDI and the KStars star map worked fine with the telescope slewing to the target (Arcturus) and tracking.

I ran into problems when trying to use the Ekos Alignment module. The "Capture & Solve" function failed to solve repeatedly. Ekos produced a warning that the Astrometry index files 4200 to 4205 were missing. The laptop had a complete set of the Astrometry files from 4200_00 to 4219 (as did the RPi) and these could be accessed via the alignment module options/Index Files buttons. The camera was taking images (via the camera module) and these showed several stars. I slewed the telescope to Vega to try a different patch of sky but got exactly the same results.

The following night I tried again with the same set up. By mistake I set up the field of view in the alignment module to a lower value (13' by 9.8') and the error message this time reported that files 4200 to 4204 were missing (not the 4200 to 4205 when the field of view was set to 19.6' by 12.4). Otherwise the results were as before with the astrometry solver invoked by "Capture & Solve" never solving.

Later I tested the laptop and its software alone using Astrometry accessed via the "solve-field" command. The program solved location using images of M31 and the Pleiades.

I then tested the laptop with KStars/INDI/Ekos using the "simulators" profile. With the alignment module field of view set to 128' by 96' invoking "Load & Solve" produced an error message that index files 4205 to 4211 were missing. The solver completed satisfactorily, however, and the simulated telescope slewed to the correct target (M31). The automatic "Capture & Solve" follow on, when the module took a simulated image of the sky, repeatedly failed to solve. Attempting to "Capture & Solve" using the simulated camera always resulted in a failure to solve.

Re-installing kstars-bleeding does not remove the problem.

The Ekos warning about missing index files seems to be a bug. Whether the failure to "Capture & Solve" results from the same problem is not clear.
Comment 1 Jasem Mutlaq 2019-04-12 06:00:53 UTC
Can you check if the index files are located in ~/.local/share/kstars/astrometry ? I presume you downloaded them inside Ekos and not by other means, correct? Any files under /usr/share/astrometry?
Comment 2 zac 2019-04-12 14:28:17 UTC
Created attachment 119377 [details]
attachment-11861-0.html

Hello Jasem,

I installed KStars/INDI on my laptop essentially following the same 
procedure I had used for the RPi. I followed the procedure given in the 
INDI/Support/Tutorials/Ekos on Raspberry PI Beginner's Guide.

I downloaded the Astrometry index files following the instructions in 
http://indilib.org/about/ekos/alignment-module.html 
<https://www.indilib.org/about/ekos/alignment-module.html>. I downloaded 
and installed all the .deb packages. These are in /usr/share/astrometry. 
The only file in ~/.local/share/kstars/astrometry is an astrometry.cfg 
file. This contains the lines:


add_path /usr/share/astrometry
add_path /home/zac/.local/share/kstars/astrometry


The Ekos/alignment/options/Astrometry.net Configure-KStars screen lists 
the config file as /etc/astrometry.cfg. This file only contains the line:


add_path /usr/share/astrometry


The Ekos/alignment/options/Index Files Configure-KStars screen lists the 
Index File Location as /usr/share/astrometry (blanked out). Clicking on 
the "Open" button next to the file location opens /usr/share/astrometry 
and shows all the index files are present.


zac newton





On 12/04/2019 07:00, Jasem Mutlaq wrote:
> https://bugs.kde.org/show_bug.cgi?id=406446
>
> --- Comment #1 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Can you check if the index files are located in
> ~/.local/share/kstars/astrometry ? I presume you downloaded them inside Ekos
> and not by other means, correct? Any files under /usr/share/astrometry?
>



---
This email has been checked for viruses by AVG.
https://www.avg.com
Comment 3 Jasem Mutlaq 2019-08-08 01:00:50 UTC
Issue found and fixed.