Bug 490887 - Kstars fails to install addons that are compressed in bz2 format
Summary: Kstars fails to install addons that are compressed in bz2 format
Status: REPORTED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-27 12:04 UTC by rainer
Modified: 2024-07-27 12:04 UTC (History)
0 users

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 rainer 2024-07-27 12:04:06 UTC
SUMMARY
Kstars fails to install addons that are compressed with bz2 by showing error message "Could not install <addon name>: file not found". Addons that are compressed with gz work without issues.

STEPS TO REPRODUCE
1. Fresh install of Kstars on windows (latest website installer, shows in About dialog as 3.7.2 Beta)
2. Data menu -> Download new data -> try to donwload for example Tycho 2 star catalog
3. Error message shown, catalog not installed

OBSERVED RESULT
Addons in bz2 format are not installed

EXPECTED RESULT
Addons should be installed

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Most addons coming from https://cdn.kde.org/edu/kstars/main.xml seem to be affected as they are in bz2 format  (besides two Mars addons that are in zip format) , addons from https://indilib.org/jdownloads/knewstuff/dso.xml are not affected as they are in gz format.
I enabled logging to file and this is the relevant line:
[2024-07-27T14:53:16.649 FLE Daylight Time CRIT ][              kf.newstuff.core] - Could not determine type of archive file ' "Q:/temp/temp/eaOHkF-tycho2_mag_12.5-1.1.tar.bz2" '
I verified that the mentioned file does exist and unpacks without errors - so not a download issue.