Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeZone for "Baruun-Urt" not found: "Asia/Choibalsan" #3953

Closed
hectorthemonk opened this issue Oct 17, 2024 · 21 comments · Fixed by #3955
Closed

TimeZone for "Baruun-Urt" not found: "Asia/Choibalsan" #3953

hectorthemonk opened this issue Oct 17, 2024 · 21 comments · Fixed by #3955
Assignees
Labels
data Missing/bad/outdated data, but no code error
Milestone

Comments

@hectorthemonk
Copy link

hectorthemonk commented Oct 17, 2024

System

  • Stellarium version: Stellarium 24.3+ (v24.3.281-600edc8 [stellarium-next])
  • Operating system: Arch Linux rolling

Logfile

StelLocationMgr::loadCitiesBin(): TimeZone for  "Baruun-Urt"  not found:  "Asia/Choibalsan"
StelLocationMgr::loadCitiesBin(): Summary of unknown TimeZones:
"Asia/Choibalsan"
Please report these timezone names (this logfile) to the Stellarium developers.
@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

Please share info about your operating system

@alex-w alex-w added this to the 24.4 milestone Oct 17, 2024
@hectorthemonk
Copy link
Author

Please share info about your operating system

Updated issue above. Thanks!

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

@hectorthemonk could you check and share version of installed tzdata package?

@hectorthemonk
Copy link
Author

$ pacman -Qs tzdata
local/tzdata 2024b-2
    Sources for time zone and daylight saving time data

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

$ pacman -Qs tzdata
local/tzdata 2024b-2
    Sources for time zone and daylight saving time data

Thanks! It's interesting, version 2024a of tzdata has Asia/Choibalsan time zone. I'll check what is happened between versions.

@alex-w alex-w added the data Missing/bad/outdated data, but no code error label Oct 17, 2024
@hectorthemonk
Copy link
Author

This might be relevant?

Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than
being a separate Zone with differing behavior before April 2008.
This seems better given our wildly conflicting information about
Mongolia's time zone history. (Thanks to Heitor David Pinto.)

From https://lists.iana.org/hyperkitty/list/[email protected]/thread/IZ7AO6WRE3W3TWBL5IR6PMQUL433BQIE/

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

Probably yes. Please check /usr/share/zoneinfo/Asia directory - it should contain symlink Choibalsan.

@hectorthemonk
Copy link
Author

It contains a file:

$ ls -la /usr/share/zoneinfo/Asia/Choibalsan 
-rw-r--r-- 3 root root 877 Sep 11 01:47 /usr/share/zoneinfo/Asia/Choibalsan
$ file /usr/share/zoneinfo/Asia/Choibalsan 
/usr/share/zoneinfo/Asia/Choibalsan: timezone data (fat), version 2, no gmt time flags, no std time flags, no leap seconds, 50 transition times, 4 local time types, 16 abbreviation chars
$ zdump -i /usr/share/zoneinfo/Asia/Choibalsan 

TZ="/usr/share/zoneinfo/Asia/Choibalsan"
...

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

This is weird... Wait! Are you using an AppImage package or it installed from AUR?

@hectorthemonk
Copy link
Author

Ah! AppImage. Mystery solved I think.

@alex-w alex-w added the state: grading The problem is in process of classification... label Oct 17, 2024
@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

Ah! AppImage. Mystery solved I think.

Please share full log from Stellarium

@hectorthemonk
Copy link
Author

log.txt

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

@hectorthemonk could you test a Qt6-based AppImage also?

@hectorthemonk
Copy link
Author

log.txt

Issue exists with Stellarium-24.3-600edc8-qt6-x86_64.AppImage too.

@alex-w
Copy link
Member

alex-w commented Oct 17, 2024

@hectorthemonk
Copy link
Author

Please test https://github.com/Stellarium/stellarium/actions/runs/11384772593

log-qt5.txt
log-qt6.txt

Issue appears to be fixed in this build . No log messages about unknown TimeZones. Thanks!

@alex-w alex-w removed the state: grading The problem is in process of classification... label Oct 18, 2024
@alex-w
Copy link
Member

alex-w commented Oct 18, 2024

@hectorthemonk the time zone is correct after fix?

@alex-w alex-w self-assigned this Oct 18, 2024
@hectorthemonk
Copy link
Author

For https://github.com/Stellarium/stellarium/actions/runs/11384772593, selecting Baruun-Urt, Eastern Asia in the Location window sets the Time zone field to Asia/Ulaanbaatar in both the qt5 and qt6 versions.

For Stellarium 24.3+ (v24.3.281-600edc8 [stellarium-next]), selecting Baruun-Urt, Eastern Asia sets the Time zone field to System default.

@alex-w
Copy link
Member

alex-w commented Oct 18, 2024

I hope the time is correct

@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Oct 22, 2024
Copy link

Hello @hectorthemonk!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Dec 22, 2024
Copy link

Hello @hectorthemonk!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Missing/bad/outdated data, but no code error
Development

Successfully merging a pull request may close this issue.

2 participants