plasmoid-wunderground icon indicating copy to clipboard operation
plasmoid-wunderground copied to clipboard

It shows no data on Arch Linux, Plasma 6.4.5

Open patkoscsaba opened this issue 1 month ago • 15 comments

Describe the bug Since the recent update to Plasma 6.4.6, Arch Linux, Kernel 6.17, the widget shows all values zero. I am getting the data for my own station, and I am sure the data is sent from the station to Wunderground. On the wunderground website the data is there. Station ID: ITIMIO30 The "Forecast" and "Day Chart" tabs are working, but "Weather Details" and "More Info" are showing all zero.

To Reproduce Just add the widget and set a station.

Screenshots

Image Image

Desktop (output of `plasmashell --version): plasmashell 6.4.5

Additional context The widget, with the same station, was working perfectly before the recent update.

patkoscsaba avatar Oct 12 '25 10:10 patkoscsaba

Hello, thank you for using my widget!

Looking at that station, it looks like data is only bring reported to Wunderground from around 7:00-23:00 in your local time. The image below is the data that station sent on October 12, 2025.

ITIMIO30

Is the widget still not working between 7:00-23:00?

k-donn avatar Oct 13 '25 18:10 k-donn

I have the same issue with station ICHUR125. The stations runs 24h/day. Others from this region are not working as well. From journalctl I have lots of logs like this one: paź 14 08:47:26 PC-Monster-linux plasmashell[41140]: file:///home/gogr/.local/share/plasma/plasmoids/com.github.k-donn.plasmoid-wunderground/contents/ui/config/ConfigStation.qml: Setting initial properties failed: ConfigStation does not have a property called cfg_weekForecastDateFormat Basically it runs through all the properties and does not find the property

grzegorz-gomza avatar Oct 14 '25 06:10 grzegorz-gomza

Regarding my station, ITIMIO30, I can confidently say that this problem appeared after the recent plasma update. The station does not report between 23-07 hours because I have my WiFi turned off automatically overnight. And I expect to see nothing there when no data is reported, or see the last reported data.

However the problem is that it shows zero all the time. I can confirm that at 15:00 hours, or 18:00 hours or in the morning at around 10:00 hours, there is all zero. And this was not a problem, regardless of my WiFi settings in the past.

I also tried manual refresh, I tried to uninstall/reinstall the widget during the day. It still shows no information unfortunately.

patkoscsaba avatar Oct 14 '25 13:10 patkoscsaba

Here are also some logs, maybe they help. It seems to be only debug, and no particular error.

Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new forecast data
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/wx/forecast/daily/7day?geocode=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&units=m&format=json
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new current data
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v2/pws/observations/current?stationId=ITIMIO30&format=json&units=m&apiKey=<REMOVED>&numericPrecision=decimal
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new current data
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3alertsHeadlines;v3-wx-globalAirQuality?geocodes=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&scale=EPA&units=m&format=json
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new forecast data
Oct 14 20:25:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/wx/forecast/hourly/2day?geocode=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&units=m&format=json
Oct 14 20:34:57 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new current data
Oct 14 20:34:57 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v2/pws/observations/current?stationId=ITIMIO30&format=json&units=m&apiKey=<REMOVED>&numericPrecision=decimal
Oct 14 20:34:57 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new current data
Oct 14 20:34:57 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3alertsHeadlines;v3-wx-globalAirQuality?geocodes=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&scale=EPA&units=m&format=json
Oct 14 20:44:41 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new current data
Oct 14 20:44:41 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v2/pws/observations/current?stationId=ITIMIO30&format=json&units=m&apiKey=<REMOVED>&numericPrecision=decimal
Oct 14 20:44:42 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new current data
Oct 14 20:44:42 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3alertsHeadlines;v3-wx-globalAirQuality?geocodes=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&scale=EPA&units=m&format=json
Oct 14 20:54:27 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new current data
Oct 14 20:54:27 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v2/pws/observations/current?stationId=ITIMIO30&format=json&units=m&apiKey=<REMOVED>&numericPrecision=decimal
Oct 14 20:54:27 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new current data
Oct 14 20:54:27 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3alertsHeadlines;v3-wx-globalAirQuality?geocodes=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&scale=EPA&units=m&format=json
Oct 14 21:04:12 csaba-pc plasmashell[2048]: [debug] [main.qml] Getting new current data
Oct 14 21:04:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v2/pws/observations/current?stationId=ITIMIO30&format=json&units=m&apiKey=<REMOVED>&numericPrecision=decimal
Oct 14 21:04:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] Got new current data
Oct 14 21:04:12 csaba-pc plasmashell[2048]: [debug] [main.qml] [pws-api.js] https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3alertsHeadlines;v3-wx-globalAirQuality?geocodes=45.778686,21.248537&apiKey=<REMOVED>&language=en-US&scale=EPA&units=m&format=json

patkoscsaba avatar Oct 14 '25 18:10 patkoscsaba

Also, the links from the logs seem to be working just fine. I tried one for my station and it returned the same data I have on the station's display at the moment of the request.

{
  "observations": [
    {
      "stationID": "ITIMIO30",
      "obsTimeUtc": "2025-10-14T18:09:39Z",
      "obsTimeLocal": "2025-10-14 21:09:39",
      "neighborhood": "Timișoara",
      "softwareType": null,
      "country": "RO",
      "solarRadiation": 0,
      "lon": 21.248537,
      "realtimeFrequency": null,
      "epoch": 1760465379,
      "lat": 45.778686,
      "uv": 0,
      "winddir": 90,
      "humidity": 65,
      "qcStatus": 1,
      "metric": {
        "temp": 10.7,
        "heatIndex": 10.7,
        "dewpt": 4.3,
        "windChill": 10.7,
        "windSpeed": 0,
        "windGust": 0,
        "pressure": 1026.41,
        "precipRate": 0,
        "precipTotal": 0,
        "elev": 93.9
      }
    }
  ]
}

patkoscsaba avatar Oct 14 '25 18:10 patkoscsaba

@grzegorz-gomza That logging issue is a known Plasma bug and doesn't affect the widget. The issue is somewhere else.

@patkoscsaba Thanks for the logs. What version of the widget do you have installed? That format of logs is pre-3.5.0.

k-donn avatar Oct 14 '25 19:10 k-donn

I have the same issue as well for my location, i've also noticed a few other issues, If i switch the units to custom, and then set everything to imperial units, the data inside the widget shows 143.8 F and the panel shows the accurate 62.4F, if i then switch it over to metric, everything inside the widget works again, but only in metric. If i then switch it back to Imperial, it still shows a metric temperature, but with the Fahrenheit symbol next to it. In this case 16.4 F. So there is really something funky going on with the code here.

This seems to be isolated to my machine running Arch Linux, my Laptop which runs Debian, does not have this problem. I am using the same version of the widget on both systems. version 3.5.2. The main difference here is the version of KDE Plasma.

My Arch machine (where the widget is broken)
KDE Plasma 6.4.5
Frameworks version 6.19.0 QT version 6.10.0 Widget version 3.5.2

My Debian machine (Where the widget still works fine) KDE Plasma 6.3.6 Framworks Version 6.13.0 QT version 6.8.2 Widget Version 3.5.2

The widget version is the same in both cases, So this must be a KDE plasma issue.

MSM757 avatar Oct 14 '25 23:10 MSM757

I think it might be a Qt issue not a Plasma issue. I have a machine running Plasma 6.4.5 but it's on Qt 6.9.2 and the widget works. I'm going to test Qt versions and see what happens.

Edit: Yep, it's a Qt problem. I think it has to do with how 6.10 handles synchronizing variables across components. That would explain the odd mismatch of variables with unit conversion. If I purify the JavaScript code so it doesn't reference component variables, I'm confident it should work.

k-donn avatar Oct 15 '25 00:10 k-donn

Same thing here after openSUSE Tumbleweed got the Qt 6.10 update, other widgets are also failing.

tabascosw avatar Oct 15 '25 14:10 tabascosw

I figured out a fix and it should go out soon.

k-donn avatar Oct 16 '25 02:10 k-donn

The fix works perfectly fine. Thank You.

tabascosw avatar Oct 16 '25 15:10 tabascosw

I also confirm that after the update and computer restart it works again. Thank you very much. GREAT JOB!

patkoscsaba avatar Oct 17 '25 17:10 patkoscsaba

Hello, sorry but this issue is still present for me. I made sure to get 3.6.0 as latest, what can I do?

Just read the thread, I am also on Qt 6.10. Yet still not seeing data being reported outside of High/Low, everything else is blank 0.

Kyouki-DotExe avatar Oct 30 '25 15:10 Kyouki-DotExe

Hello, sorry but this issue is still present for me. I made sure to get 3.6.0 as latest, what can I do?

Just read the thread, I am also on Qt 6.10. Yet still not seeing data being reported outside of High/Low, everything else is blank 0.

Try clearing every bit of Plasma QML cache you can. Delete ~/.cache/plasmashell and run plasmashell --replace. Another restart of your system might help too. Sorry this keep being an issue.

May I ask what the output of kinfo is on your system?

k-donn avatar Oct 30 '25 15:10 k-donn

Hello, sorry but this issue is still present for me. I made sure to get 3.6.0 as latest, what can I do? Just read the thread, I am also on Qt 6.10. Yet still not seeing data being reported outside of High/Low, everything else is blank 0.

Try clearing every bit of Plasma QML cache you can. Delete ~/.cache/plasmashell and run plasmashell --replace. Another restart of your system might help too. Sorry this keep being an issue.

May I ask what the output of kinfo is on your system?

I think I may have done that yesterday while messing around and noticing it was installing or had a older installed version. Removed said older version, manually installed the new one as from the store it seemed to still grab the older one for me, somehow. Cleared some folders prior to installing 3.6.0 as well.

And after the restart today, (I didn't yet yesterday, didn't think it was needed) it seems to function as intended!

Sorry for the raised troublesome but thanks for the quick response!

Kyouki-DotExe avatar Oct 31 '25 10:10 Kyouki-DotExe