Bug 492066 - KStars Download New Data failing to download some items
Summary: KStars Download New Data failing to download some items
Status: CONFIRMED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.8.9
Platform: macOS (DMG) macOS
: NOR minor
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-23 06:38 UTC by Arnim Balzer
Modified: 2024-10-22 23:13 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnim Balzer 2024-08-23 06:38:08 UTC
With a fresh download of KStars 2.8.9 on Mac OS X Sonoma 14.6.1 and trying to download all the "New Data", the following items fail to download:

* Tycho-2 Star Catalog
* Inline thumbnail images
* NGC Images displayed in the details window
* IC Images displayed in the details window
* Common Images displayed in the details window

I tried to track how it all works and found the ``kstars.knsrc``. Going through this and downloading ``providers.xml`` and then ``knew stuff.xml`` I managed to find the download URLs for those 5 items. All of them can be downloaded successfully and contain the right data. I managed to put the content in place manually and it works just fine. However, I am failing to identify where the settings for the unpacking are hidden. It seems that maybe archive structures or checksum have changed?

STEPS TO REPRODUCE
1. Download KStars and install
2. Try to download all "New Data"
3. 5 items fail to install

OBSERVED RESULT

These items fail to install
* Tycho-2 Star Catalog
* Inline thumbnail images
* NGC Images displayed in the details window
* IC Images displayed in the details window
* Common Images displayed in the details window

EXPECTED RESULT

These items can be installed
* Tycho-2 Star Catalog
* Inline thumbnail images
* NGC Images displayed in the details window
* IC Images displayed in the details window
* Common Images displayed in the details window

SOFTWARE/OS VERSIONS
macOS: Sonoma 14.6.1 KStars dmg
Comment 1 Jasem Mutlaq 2024-08-23 09:25:27 UTC
Thank you for the report. Many users have reported this, it's a confirmed issue. We don't know why. One theory is KDE CDN or mirrors failing to load the files.
Comment 2 Arnim Balzer 2024-08-23 09:26:52 UTC
Apologies if that was already reported, clearly failed to search using the rights terms before posting
Comment 3 rainer 2024-09-13 16:13:02 UTC
Please check the description of my similar bug report https://bugs.kde.org/show_bug.cgi?id=490887
There does not seem to be much mystery here - some of those CDN-s seem to have switched to tar.bz2 compression and while the files are correctly downloaded KStars fails to extract them. Likely it either does not have the necessary support for BZ2 compression or just does not expect to encounter it.
Comment 4 Guy Richardson 2024-10-22 23:13:06 UTC
This is still an issue - is there a fix or work around - is there a way to manually install the Tyco-2 data? I have a new 3.7.2 install on MacOS 12.7.5. Thanks.