Bug 479796 - Update satellites data error
Summary: Update satellites data error
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 12:31 UTC by linkagechan
Modified: 2024-01-31 21:39 UTC (History)
1 user (show)

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


Attachments
update-error (347.48 KB, image/jpeg)
2024-01-14 12:31 UTC, linkagechan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linkagechan 2024-01-14 12:31:51 UTC
Created attachment 164896 [details]
update-error

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. MENU: Data -> Updates ->  Update Satellites Orbital Elements
2. 
3. 

OBSERVED RESULT

Error transferring http://celestrak.org/NORAD/elements/noaa.txt - server replied: Not Found

EXPECTED RESULT

Download updates normally

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Owen 2024-01-31 07:51:41 UTC
Getting the same error too. I think celestrak has moved some things around recently: see https://celestrak.org/NORAD/documentation/gp-data-formats.php. I think the changes described here have now fully gone into effect: I think the document KStars is requesting is now found at https://celestrak.org/NORAD/elements/gp.php?GROUP=noaa&FORMAT=tle instead.
Comment 2 Jasem Mutlaq 2024-01-31 08:22:09 UTC
is this just about noaa? or should the rest of the items be updated as well?

# Edit this file to add satellites
# Each line is a group of satellites
#
# Format :
# Group Name;local_filename;url
# * Group Name : This is the name of the group which will be used in KStars
# * local_filename : This is the name of the file used to store TLE data
# * url : The url where the TLE data file can be retrieved (you can leave this field blank, in this case, KStars will not update the file)
#
Last Launches;new.tle;http://celestrak.org/NORAD/elements/tle-new.txt
International Space Station;iss.tle;http://celestrak.org/NORAD/elements/stations.txt
Brightest;visual.tle;http://celestrak.org/NORAD/elements/visual.txt
#FENGYUN 1C Debris;fengyun-1c-debris.tle;http://celestrak.org/NORAD/elements/1999-025.txt
#IRIDIUM 33 Debris;iridium-33-debris.tle;http://celestrak.org/NORAD/elements/iridium-33-debris.txt
#COSMOS 2251 Debris;cosmos-2251-debris.tle;http://celestrak.org/NORAD/elements/cosmos-2251-debris.txt
Weather;weather.tle;http://celestrak.org/NORAD/elements/weather.txt
NOAA;noaa.tle;http://celestrak.org/NORAD/elements/noaa.txt
GOES;goes.tle;http://celestrak.org/NORAD/elements/goes.txt
Earth Resources;resource.tle;http://celestrak.org/NORAD/elements/resource.txt
Search & Rescue (SARSAT);sarsat.tle;http://celestrak.org/NORAD/elements/sarsat.txt
Disaster Monitoring;dmc.tle;http://celestrak.org/NORAD/elements/dmc.txt
Tracking and Data Relay Satellite System (TDRSS);tdrss.tle;http://celestrak.org/NORAD/elements/tdrss.txt
Geostationary;geo.tle;http://celestrak.org/NORAD/elements/geo.txt
Intelsat;intelsat.tle;http://celestrak.org/NORAD/elements/intelsat.txt
Gorizont;gorizont.tle;http://celestrak.org/NORAD/elements/gorizont.txt
Raduga;raduga.tle;http://celestrak.org/NORAD/elements/raduga.txt
Molniya;molniya.tle;http://celestrak.org/NORAD/elements/molniya.txt
Iridium;iridium.tle;http://celestrak.org/NORAD/elements/iridium.txt
Orbcomm;orbcomm.tle;http://celestrak.org/NORAD/elements/orbcomm.txt
Globalstar;globalstar.tle;http://celestrak.org/NORAD/elements/globalstar.txt
Amateur Radio;amateur.tle;http://celestrak.org/NORAD/elements/amateur.txt
Experimental;x-comm.tle;http://celestrak.org/NORAD/elements/x-comm.txt
Other;other-comm.tle;http://celestrak.org/NORAD/elements/other-comm.txt
GPS Operational;gps-ops.tle;http://celestrak.org/NORAD/elements/gps-ops.txt
Glonass Operational;glo-ops.tle;http://celestrak.org/NORAD/elements/glo-ops.txt
Galileo;galileo.tle;http://celestrak.org/NORAD/elements/galileo.txt
Satellite-Based Augmentation System (WAAS/EGNOS/MSAS);sbas.tle;http://celestrak.org/NORAD/elements/sbas.txt
Navy Navigation Satellite System (NNSS);nnss.tle;http://celestrak.org/NORAD/elements/nnss.txt
Russian LEO Navigation;musson.tle;http://celestrak.org/NORAD/elements/musson.txt
Space & Earth Science;science.tle;http://celestrak.org/NORAD/elements/science.txt
Geodetic;geodetic.tle;http://celestrak.org/NORAD/elements/geodetic.txt
Engineering;engineering.tle;http://celestrak.org/NORAD/elements/engineering.txt
Education;education.tle;http://celestrak.org/NORAD/elements/education.txt
Miscellaneous Military;military.tle;http://celestrak.org/NORAD/elements/military.txt
Radar Calibration;radar.tle;http://celestrak.org/NORAD/elements/radar.txt
CubeSats;cubesats.tle;http://celestrak.org/NORAD/elements/cubesat.txt
Other Miscellaneous;other.tle;http://celestrak.org/NORAD/elements/other.txt
Supplemental GPS;gps.tle;http://celestrak.org/NORAD/elements/supplemental/gps.txt
Supplemental GLONASS;glonass.tle;http://celestrak.org/NORAD/elements/supplemental/glonass.txt
Supplemental METEOSAT;meteosat.tle;http://celestrak.org/NORAD/elements/supplemental/meteosat.txt
Supplemental INTELSAT;intelsat.tle;http://celestrak.org/NORAD/elements/supplemental/intelsat.txt
Supplemental ORBCOMM;orbcomm.tle;http://celestrak.org/NORAD/elements/supplemental/orbcomm.txt
Comment 3 Owen 2024-01-31 09:37:25 UTC
(In reply to Jasem Mutlaq from comment #2)
> is this just about noaa? or should the rest of the items be updated as well?
> 
> # Edit this file to add satellites
> # Each line is a group of satellites
> #
> # Format :
> # Group Name;local_filename;url
> # * Group Name : This is the name of the group which will be used in KStars
> # * local_filename : This is the name of the file used to store TLE data
> # * url : The url where the TLE data file can be retrieved (you can leave
> this field blank, in this case, KStars will not update the file)
> #
> Last Launches;new.tle;http://celestrak.org/NORAD/elements/tle-new.txt
> International Space
> Station;iss.tle;http://celestrak.org/NORAD/elements/stations.txt
> Brightest;visual.tle;http://celestrak.org/NORAD/elements/visual.txt
> #FENGYUN 1C
> Debris;fengyun-1c-debris.tle;http://celestrak.org/NORAD/elements/1999-025.txt
> #IRIDIUM 33
> Debris;iridium-33-debris.tle;http://celestrak.org/NORAD/elements/iridium-33-
> debris.txt
> #COSMOS 2251
> Debris;cosmos-2251-debris.tle;http://celestrak.org/NORAD/elements/cosmos-
> 2251-debris.txt
> Weather;weather.tle;http://celestrak.org/NORAD/elements/weather.txt
> NOAA;noaa.tle;http://celestrak.org/NORAD/elements/noaa.txt
> GOES;goes.tle;http://celestrak.org/NORAD/elements/goes.txt
> Earth Resources;resource.tle;http://celestrak.org/NORAD/elements/resource.txt
> Search & Rescue
> (SARSAT);sarsat.tle;http://celestrak.org/NORAD/elements/sarsat.txt
> Disaster Monitoring;dmc.tle;http://celestrak.org/NORAD/elements/dmc.txt
> Tracking and Data Relay Satellite System
> (TDRSS);tdrss.tle;http://celestrak.org/NORAD/elements/tdrss.txt
> Geostationary;geo.tle;http://celestrak.org/NORAD/elements/geo.txt
> Intelsat;intelsat.tle;http://celestrak.org/NORAD/elements/intelsat.txt
> Gorizont;gorizont.tle;http://celestrak.org/NORAD/elements/gorizont.txt
> Raduga;raduga.tle;http://celestrak.org/NORAD/elements/raduga.txt
> Molniya;molniya.tle;http://celestrak.org/NORAD/elements/molniya.txt
> Iridium;iridium.tle;http://celestrak.org/NORAD/elements/iridium.txt
> Orbcomm;orbcomm.tle;http://celestrak.org/NORAD/elements/orbcomm.txt
> Globalstar;globalstar.tle;http://celestrak.org/NORAD/elements/globalstar.txt
> Amateur Radio;amateur.tle;http://celestrak.org/NORAD/elements/amateur.txt
> Experimental;x-comm.tle;http://celestrak.org/NORAD/elements/x-comm.txt
> Other;other-comm.tle;http://celestrak.org/NORAD/elements/other-comm.txt
> GPS Operational;gps-ops.tle;http://celestrak.org/NORAD/elements/gps-ops.txt
> Glonass
> Operational;glo-ops.tle;http://celestrak.org/NORAD/elements/glo-ops.txt
> Galileo;galileo.tle;http://celestrak.org/NORAD/elements/galileo.txt
> Satellite-Based Augmentation System
> (WAAS/EGNOS/MSAS);sbas.tle;http://celestrak.org/NORAD/elements/sbas.txt
> Navy Navigation Satellite System
> (NNSS);nnss.tle;http://celestrak.org/NORAD/elements/nnss.txt
> Russian LEO
> Navigation;musson.tle;http://celestrak.org/NORAD/elements/musson.txt
> Space & Earth
> Science;science.tle;http://celestrak.org/NORAD/elements/science.txt
> Geodetic;geodetic.tle;http://celestrak.org/NORAD/elements/geodetic.txt
> Engineering;engineering.tle;http://celestrak.org/NORAD/elements/engineering.
> txt
> Education;education.tle;http://celestrak.org/NORAD/elements/education.txt
> Miscellaneous
> Military;military.tle;http://celestrak.org/NORAD/elements/military.txt
> Radar Calibration;radar.tle;http://celestrak.org/NORAD/elements/radar.txt
> CubeSats;cubesats.tle;http://celestrak.org/NORAD/elements/cubesat.txt
> Other Miscellaneous;other.tle;http://celestrak.org/NORAD/elements/other.txt
> Supplemental
> GPS;gps.tle;http://celestrak.org/NORAD/elements/supplemental/gps.txt
> Supplemental
> GLONASS;glonass.tle;http://celestrak.org/NORAD/elements/supplemental/glonass.
> txt
> Supplemental
> METEOSAT;meteosat.tle;http://celestrak.org/NORAD/elements/supplemental/
> meteosat.txt
> Supplemental
> INTELSAT;intelsat.tle;http://celestrak.org/NORAD/elements/supplemental/
> intelsat.txt
> Supplemental
> ORBCOMM;orbcomm.tle;http://celestrak.org/NORAD/elements/supplemental/orbcomm.
> txt

Looks like some of those links still work, but overall that format on celestrak seems to be deprecated. Didn't realize the file showing where it gets those from is so easily editable - could you tell me where that is? Might go through and replace the links with the updated versions tomorrow, then see if that fixes it.
Comment 4 Jasem Mutlaq 2024-01-31 09:39:27 UTC
It's this file: https://invent.kde.org/education/kstars/-/blob/master/kstars/data/satellites.dat?ref_type=heads

If you can send an updated one that works, I can bundle it in KStars for next release (due tomorrow!) so we have less than 24 hours left
Comment 5 Owen 2024-01-31 20:18:27 UTC
(In reply to Jasem Mutlaq from comment #4)
> It's this file:
> https://invent.kde.org/education/kstars/-/blob/master/kstars/data/satellites.
> dat?ref_type=heads
> 
> If you can send an updated one that works, I can bundle it in KStars for
> next release (due tomorrow!) so we have less than 24 hours left

Here's the updated file; I changed the satellites.dat in my own install and the error seems to be fixed!

# Edit this file to add satellites
# Each line is a group of satellites
#
# Format :
# Group Name;local_filename;url
# * Group Name : This is the name of the group which will be used in KStars
# * local_filename : This is the name of the file used to store TLE data
# * url : The url where the TLE data file can be retrieved (you can leave this field blank, in this case, KStars will not update the file)
#
Last Launches;new.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=tle
International Space Station;iss.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=stations&FORMAT=tle
Brightest;visual.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=visual&FORMAT=tle
#FENGYUN 1C Debris;fengyun-1c-debris.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=1999-025&FORMAT=tle
#IRIDIUM 33 Debris;iridium-33-debris.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=iridium-33-debris&FORMAT=tle
#COSMOS 2251 Debris;cosmos-2251-debris.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=cosmos-2251-debris&FORMAT=tle
Weather;weather.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=tle
NOAA;noaa.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=noaa&FORMAT=tle
GOES;goes.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=goes&FORMAT=tle
Earth Resources;resource.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=resource&FORMAT=tle
Search & Rescue (SARSAT);sarsat.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=sarsat&FORMAT=tle
Disaster Monitoring;dmc.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=dmc&FORMAT=tle
Tracking and Data Relay Satellite System (TDRSS);tdrss.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=tdrss&FORMAT=tle
Geostationary;geo.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=geo&FORMAT=tle
Intelsat;intelsat.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=intelsat&FORMAT=tle
Gorizont;gorizont.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=gorizont&FORMAT=tle
Raduga;raduga.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=raduga&FORMAT=tle
Molniya;molniya.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=molniya&FORMAT=tle
Iridium;iridium.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=iridium&FORMAT=tle
Orbcomm;orbcomm.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=orbcomm&FORMAT=tle
Globalstar;globalstar.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=globalstar&FORMAT=tle
Amateur Radio;amateur.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=tle
Experimental;x-comm.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=x-comm&FORMAT=tle
Other;other-comm.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=other-comm&FORMAT=tle
GPS Operational;gps-ops.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=gps-ops&FORMAT=tle
Glonass Operational;glo-ops.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=glo-ops&FORMAT=tle
Galileo;galileo.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=galileo&FORMAT=tle
Satellite-Based Augmentation System (WAAS/EGNOS/MSAS);sbas.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=sbas&FORMAT=tle
Navy Navigation Satellite System (NNSS);nnss.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=nnss&FORMAT=tle
Russian LEO Navigation;musson.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=musson&FORMAT=tle
Space & Earth Science;science.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=science&FORMAT=tle
Geodetic;geodetic.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=geodetic&FORMAT=tle
Engineering;engineering.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=engineering&FORMAT=tle
Education;education.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=tle
Miscellaneous Military;military.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=military&FORMAT=tle
Radar Calibration;radar.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=radar&FORMAT=tle
CubeSats;cubesats.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=tle
Other Miscellaneous;other.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=other&FORMAT=tle
Supplemental GPS;gps.tle;http://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=gps&FORMAT=tle
Supplemental GLONASS;glonass.tle;http://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=glonass&FORMAT=tle
Supplemental METEOSAT;meteosat.tle;http://celestrak.org/NORAD/elements/gp.php?GROUP=meteosat&FORMAT=tle
Supplemental INTELSAT;intelsat.tle;http://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=intelsat&FORMAT=tle
Supplemental ORBCOMM;orbcomm.tle;http://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=orbcomm&FORMAT=tle
Comment 6 Jasem Mutlaq 2024-01-31 21:39:42 UTC
Thank you so much! It's merged now