Bug 383437 - Comet and asteroid coordinates RA=0 and DEC=0
Summary: Comet and asteroid coordinates RA=0 and DEC=0
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-12 19:30 UTC by VTVL
Modified: 2017-09-05 10:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 17.12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description VTVL 2017-08-12 19:30:03 UTC
After updating Comets and Asteroids the RA and DEC for all these objects is zero.

KStars Version 2.8.0
Comment 1 Jasem Mutlaq 2017-08-28 06:08:21 UTC
Can't reproduce this at all. Please try in 2.8.2 and report back.
Comment 2 VTVL 2017-08-29 11:28:22 UTC
I updated to 2.8.2 and then updated the comets, asteroids and supernovae. My internet connection is rather narrowband and extremely slow sometimes.  The update of comets ans astreroids seems to go very fast; as if there was a time-out and no download occurred.  Does KStars report a failed update?   Anyway I then used What's Interesting Tonight.  The first usage after an ephemeris update showed all asteroids and comets with RA=0 abd DEC=0.  After restarting KStars WIT showed the correct RA and DEC.  In fact WIT does not start correctly the first invokation.  Only after closing WIT and the starting it again does its menu of objects appear.
Comment 3 Jérôme SONRIER 2017-09-04 23:47:01 UTC
I can confirm that something goes wrong with downloading comets and asteroids data files. We get a html file instead of a CVS file
Comment 4 Jasem Mutlaq 2017-09-05 10:43:47 UTC
Git commit fb5e85fcb7d2a69e94e4d6c3b0f823fcbf4ffd8f by Jasem Mutlaq.
Committed on 05/09/2017 at 10:41.
Pushed by mutlaqja into branch 'master'.

Verify comet and asteroid data before saving the returned result as JPL apparently does not return 404 but a different valid page that does not contain the data.
FIXED-IN:17.12

M  +23   -3    kstars/auxiliary/filedownloader.cpp
M  +7    -0    kstars/auxiliary/filedownloader.h
M  +1    -0    kstars/skycomponents/asteroidscomponent.cpp
M  +1    -0    kstars/skycomponents/cometscomponent.cpp

https://commits.kde.org/kstars/fb5e85fcb7d2a69e94e4d6c3b0f823fcbf4ffd8f