-
Notifications
You must be signed in to change notification settings - Fork 5
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
Permanent "Loading ..." state on Fedora 39 #3
Comments
Not only on Feroda. Ubuntu has the same error too. I think it depends on system clock format.
|
You're probably correct, though that dependency is only accidental. @toppk added a settings key get _clockFormat() {
- return "24h";
- //return SETTINGS.get_string("clock-format");
+ return SETTINGS.get_string("clock-format");
} There are three places where the code checks whether gnome-shell-extension-openweather/src/openweathermap.js Lines 429 to 438 in 9117377
In the past, the first branch of the But when @toppk added gnome-shell-extension-openweather/schemas/org.gnome.shell.extensions.openweather.gschema.xml Lines 166 to 169 in 9117377
That means that (And, looking at it, because it doesn't set This: forecastTime.toLocaleTimeString([this.locale], { hour12: false }); will always come out as something like but this: forecastTime.toLocaleTimeString([this.locale], { hour: "numeric" }); will come out for me as I suspect there's code in the extension that can't deal with the ambiguity of getting either |
I just found and installed your version of the extension - brutally overwriting all the original files in my home directory. Gnome 45 successfully loads it, but it never displays any actual weather data, being permanently stuck in loading stage. Manually clicking the reload button doesn't help.
Checking the system journal reveals an only openweather-related error "JS ERROR: Error: GSettings key clock-format not found in schema org.gnome.shell.extensions.openweather"
The text was updated successfully, but these errors were encountered: