Problem DefaultStarsConfig + long load times
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
High
|
Alexander Wolf |
Bug Description
Stellarium 0.12.7 LTS
When first installing stellarium the load time is very quick. Then I go to download the additional star catalogs and exit normally.
Now stellarium takes considerably longer to load, because it is verifying the checksums, that's normal. And it marks the "checked" field for each entry (in starsconfig.json) as "true". Also ok.
But now on subsequent startups, the log says something about the starsconfig.json being the wrong version and the file itself isn't neatly arranged anymore - not like defaultstarscon
---
..from the log
Could not find the starsConfig.json file: will copy the default one.
Creates file "C:\Program Files\Stellariu
Found an old starsConfig.json file, upgrade..
Creates file "C:\Program Files\Stellariu
Loading star data ...
---
So apparently when stellarium writes and "upgrades" the file it isn't done correctly and the top and bottom parts are not organized correctly.
All subsequent loads detect an incorrect version and proceed to verify checksums which is unnecessary and time consuming on slower systems.
---
My work around for this is to do the following:
Manually copy the defaultStarsCon
Edit the 2nd line to make it version 8, change the 9 to 8.
Then just replace "false" with "true" for each of the "checked fields.
And NOW stellarium parses it as the correct version and leaves it alone. It considers the files tested for the right checksum and loads much much faster now.
Related branches
Changed in stellarium: | |
assignee: | nobody → Alexander Wolf (alexwolf) |
importance: | Undecided → High |
tags: | added: catalog |
Changed in stellarium: | |
status: | New → Fix Committed |
milestone: | none → 0.12.8 |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |