blackadderkate / weather-widget-2

Updated version of Weather Widget by Kotelnik
GNU General Public License v2.0
101 stars 22 forks source link

no weather infos since update to 2.3.0 #106

Closed mrohnstock closed 1 year ago

mrohnstock commented 2 years ago

Hi,

I've today updated weather-widget2 to v2.3.0 today, but now the widget isn't able to fetch the weather. I tried OWM and metno:

image

all it does display is this:

image

I'm using archlinux and used this AUR-PKGBUILD without modifications to build and install the new version.

Is there a way to "see" somekind of debug informations, what the is actually trying to fetch/to do so it's easier to find the reason why it's now not working anymore?

Thank you very much for this awesome plugin (best one I found for plasma) :) !

blackadderkate commented 2 years ago

Maybe they have missed a QML dependency? What version of the widget were you running before?

To set debug mode, edit the following file:

~/.local/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/config/main.xml On Line 28, change the debugLogging setting from False to True and save

Then run plasmoidviewer as follows: plasmoidviewer -a ~/.local/share/plasma/plasmoids/org.kde.weatherWidget-2/

It will create a very detailed debug log - attach it to this issue report.

Don't forget to set the debugLogging setting back to False afterwards!

mrohnstock commented 2 years ago

Hi Kate,

before v2.2.4.4 was installed.

org.kde.weatherWidget-2 is located in /usr/share/plasma/plasmoids on my system, anyway here is the log (after about 2min of runtime):

QML debugging is enabled. Only use this in a safe environment.
qml: View QML loaded
kf.plasma.quick: Applet preload policy set to 1
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentInterface(0x55612bca4270)
qml: [weatherWidget] places count=3, placeIndex=0
qml: [weatherWidget] placeIndex now: 0
qml: [weatherWidget] next placeIdentifier is: lat=52.63333&lon=-1.13333&altitude=65
qml: [weatherWidget] next cacheKey is: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] setting provider metno
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] refreshing sub text
qml: [weatherWidget] model not yet ready
qml: [weatherWidget] inTray=false, plasmoidCacheId=2
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] ERROR - status: 0
qml: [weatherWidget] ERROR - responseText: 
qml: [weatherWidget] DOH!
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] reading cache
qml: [weatherWidget] initializing cacheBackend...
qml: cacheBackend failed to initialize
qml: [weatherWidget] initializing cacheBackend...DONE null
qml: [weatherWidget] cacheBackend N/A
qml: [weatherWidget] places count=3, placeIndex=0
qml: [weatherWidget] placeIndex now: 0
qml: [weatherWidget] next placeIdentifier is: lat=52.63333&lon=-1.13333&altitude=65
qml: [weatherWidget] next cacheKey is: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] setting provider metno
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] updateLastReloadedText: 0
org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531463864
qml: [weatherWidget] *** Time Now         : 1662531474144
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:4721
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531463864
qml: [weatherWidget] *** Time Now         : 1662531484154
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-5289
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531494232
qml: [weatherWidget] *** Next Load in     : 50 sec = 0.83 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531504236
qml: [weatherWidget] *** Next Load in     : 40 sec = 0.67 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531514239
qml: [weatherWidget] *** Next Load in     : 30 sec = 0.50 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531524229
qml: [weatherWidget] *** Next Load in     : 20 sec = 0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531534239
qml: [weatherWidget] *** Next Load in     : 10 sec = 0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531544239
qml: [weatherWidget] *** Next Load in     : 0 sec = -0.00 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531554490
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:4749
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531544154
qml: [weatherWidget] *** Time Now         : 1662531564550
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-5311
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531574237
qml: [weatherWidget] *** Next Load in     : 50 sec = 0.84 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531584239
qml: [weatherWidget] *** Next Load in     : 40 sec = 0.67 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531594239
qml: [weatherWidget] *** Next Load in     : 30 sec = 0.51 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531604229
qml: [weatherWidget] *** Next Load in     : 20 sec = 0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531614235
qml: [weatherWidget] *** Next Load in     : 10 sec = 0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531624230
qml: [weatherWidget] *** Next Load in     : 0 sec = 0.01 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531634236
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.16 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531644079
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:5158
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531624550
qml: [weatherWidget] *** Time Now         : 1662531654389
qml: [weatherWidget] *** Next Load in     : -30 sec = -0.50 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-5152
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531664239
qml: [weatherWidget] *** Next Load in     : 50 sec = 0.84 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531674239
qml: [weatherWidget] *** Next Load in     : 40 sec = 0.67 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531684237
qml: [weatherWidget] *** Next Load in     : 30 sec = 0.50 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531694229
qml: [weatherWidget] *** Next Load in     : 20 sec = 0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
trying to show an empty dialog
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531704229
qml: [weatherWidget] *** Next Load in     : 10 sec = 0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
org.kde.kf5.kwindowsystem.kwayland: Failed to recreate shadow for PlasmaQuick::Dialog_QML_174(0x55612bfc0ab0, name="popupWindow")
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531713964
qml: [weatherWidget] *** Next Load in     : 0 sec = 0.01 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531724229
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.16 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531733984
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:5246
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531714389
qml: [weatherWidget] *** Time Now         : 1662531743977
qml: [weatherWidget] *** Next Load in     : -30 sec = -0.49 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-4747
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531754238
qml: [weatherWidget] *** Next Load in     : 50 sec = 0.83 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531764230
qml: [weatherWidget] *** Next Load in     : 40 sec = 0.66 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531774230
qml: [weatherWidget] *** Next Load in     : 30 sec = 0.50 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531784230
qml: [weatherWidget] *** Next Load in     : 20 sec = 0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531794232
qml: [weatherWidget] *** Next Load in     : 10 sec = 0.16 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531804229
qml: [weatherWidget] *** Next Load in     : 0 sec = -0.00 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531814080
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:5150
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531803977
qml: [weatherWidget] *** Time Now         : 1662531824190
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-4960
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531834229
qml: [weatherWidget] *** Next Load in     : 50 sec = 0.83 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531844237
qml: [weatherWidget] *** Next Load in     : 40 sec = 0.67 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531854238
qml: [weatherWidget] *** Next Load in     : 30 sec = 0.50 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531864239
qml: [weatherWidget] *** Next Load in     : 20 sec = 0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531874229
qml: [weatherWidget] *** Next Load in     : 10 sec = 0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : false
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531884229
qml: [weatherWidget] *** Next Load in     : 0 sec = -0.00 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] reloadData
qml: [weatherWidget] Timezone Data is available - using met.no API
qml: [weatherWidget] https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url opening: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET url sending: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] GET called for url: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] successfully loaded from the internet
qml: [weatherWidget] successfully of url-call: https://api.met.no/weatherapi/sunrise/2.0/.json?lat=52.63333&lon=-1.13333&height=65&date=2022-09-07&offset=+01:00
qml: [weatherWidget] incoming text seems to be valid
qml: [weatherWidget] succesSRAS
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531894109
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:5120
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662531884190
qml: [weatherWidget] *** Time Now         : 1662531904286
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.33 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-5057
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/FullRepresentation.qml:171: TypeError: Cannot read property 'devicePixelRatio' of null
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/FullRepresentation.qml:24: TypeError: Cannot read property 'devicePixelRatio' of null
file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/FullRepresentation.qml:25: TypeError: Cannot read property 'devicePixelRatio' of null
blackadderkate commented 2 years ago

This looks like the error:

file:///usr/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range

I think this is a localisation issue caused by Germany using commas as decimal separators instead of full stops. I'm looking into it...

hamelg commented 2 years ago

My desktop environment is running with the locale en_US.UTF-8 and I see the same issue.

file:///home/xxxxx/.local/share/plasma/plasmoids/org.kde.weatherWidget-2/contents/ui/providers/MetNo.qml:215: RangeError: Invalid Date out of range
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662749189926
qml: [weatherWidget] *** Time Now         : 1662749200264
qml: [weatherWidget] *** Next Load in     : -10 sec = -0.17 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:4663
qml: [weatherWidget] *** Timer triggered
qml: [weatherWidget] *** loadingData Flag : true
qml: [weatherWidget] *** Last Load Success: 0
qml: [weatherWidget] *** Next Load Due    : 1662749189926
qml: [weatherWidget] *** Time Now         : 1662749210272
qml: [weatherWidget] *** Next Load in     : -20 sec = -0.34 min
qml: [weatherWidget] updateLastReloadedText: 0
qml: [weatherWidget] Timeout in:-5345
qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available
martin-ms commented 1 year ago

Sorry to tell you that I got the same issue after updating from 2.2.4.2 to 2.3.1; N/A in systray and no content in the detail view.

I can confirm that after changing the format in the desktop regional settings to "C" or "Standard.UTF-8" the problem does not appear.

Reverting to 2.2.4.2 since I need the german localization on the desktop.

hamelg commented 1 year ago

Here, with 2.3.1 using LC_ALL=C I got the same error.

QT_LOGGING_RULES= LC_ALL=C plasmoidviewer -a ~/.local/share/plasma/plasmoids/org.kde.weatherWidget-2/

qml: Timed out downloading weather data - aborting attempt. Retrying in 60 seconds time.
qml: [weatherWidget] timeout reached, aborting existing xhrs
qml: [weatherWidget] Failed to Load Data successfully.
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_aabbbba4768cd037e6763e00cd232ef0
qml: [weatherWidget] cache not available

[EDIT] with martin-ms suggestion, I tested changing the format in the desktop regional settings to "C", and it works.

blackadderkate commented 1 year ago

@martin-ms Release 2.3.1 was released to fix a different (and much easier to fix) issue, and not this one.

Your additional posts do seem to indicate that the problem is something to do with the user-locale as I originally thought (although I was wrong about the cause).

I recently setup a Virtual Machine for development/testing, and I can now test on different distributions, Locales and Timezone settings much more easily than before. Progress is slow however - I've discovered several issues with my new code and I'm having to rewrite it quite substantially.

I'm hoping to have a beta version ready for testing by Sunday, if things go well...

martin-ms commented 1 year ago

I'm hoping to have a beta version ready for testing by Sunday, if things go well...

Don't hurry... I still have my working v2.2.4.2. Just want to report it before 2.3.1 moves to the KDE-Store. If next ßeta is available I try it again and tell you the result.

g-konst commented 1 year ago

@blackadderkate There is a problem with parsing a date on different locales. The solution is to set the timelocale to C

~ > $ plasmoidviewer -a /usr/share/plasma/plasmoids/org.kde.weatherWidget-2/

image

~ > $ LC_TIME=C plasmoidviewer -a /usr/share/plasma/plasmoids/org.kde.weatherWidget-2/

image

image

g-konst commented 1 year ago

There is a locale fix https://github.com/blackadderkate/weather-widget-2/pull/110

martin-ms commented 1 year ago

Rebuilt the package for Arch using the provided patches and I can confirm that it works for me; got back the symbol and temperature in systray and the detail view.

hamelg commented 1 year ago

I confirm that the patch provided by g-konst fixes the issue. Thanks :)

KottV commented 1 year ago

https://github.com/blackadderkate/weather-widget-2/pull/110 fixes for me too

blackadderkate commented 1 year ago

I'm still having issues with the meteogram displaying night icons instead of day icons on ArchLinux. Only seems to happen with the compiled version, but not with plasmoidviewer.

Guessing there's still a locale issue here somewhere...

blackadderkate commented 1 year ago

My ArchLinux system locale.conf file contained a typo!

Changed it to en_GB.UTF-8, and the widget now works for me. I will try a couple of others (en_US.UTF-8, and de_DE.UTF-8) and test again.

mrohnstock commented 1 year ago

thanks @blackadderkate and @g-konst the reported issue is now gone with 2.3.2.1 :).

If there is nothing else open, I would close this issue as fixed.

blackadderkate commented 1 year ago

Still a minor bug with Sunrise/Sunset times when using OpenWeather sources, but that doesn't affect this bug. I'll release as 2.3.2.2.