Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-28 05:09:25

JASx
Member
Registered: 2021-02-21
Posts: 22

No data available for Weather Update panel?

Offline

#2 2021-12-28 12:58:58

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: No data available for Weather Update panel?

Which distro and what version of the xfce4-weather-plugin panel are you using?

Is there anything in your ~/.xsession-errors file from the weather-plugin?

Online

#3 2021-12-28 18:06:40

peter.48
Member
Registered: 2017-01-31
Posts: 101

Re: No data available for Weather Update panel?

Season Greatings to all!

It's not about the same problem, but as it is about xfce4-weather-plugin, I write it here.
Plugin was wrong, but theoretically with new version (0.11.0) everything had to be fixed. Unfortunately it is not so, randomly scrollbox elements disappear, leaving only the weather icon - it is not the same bug as mentioned by JASx, which in previous versions became desperate, but it is still a bug...
I don't have .xsessions-errors at the moment, but I remember that there were some "WARNINGs" about the weather plugin.
(fedora 34, xfce 4.16.3)

Offline

#4 2021-12-28 19:19:36

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: No data available for Weather Update panel?

peter.48 wrote:

I don't have .xsessions-errors at the moment, but I remember that there were some "WARNINGs" about the weather plugin.

That information would be very useful if you could get it. You could also run xfce4-panel in debug mode to see similar outputs:

xfce4-panel -q && PANEL_DEBUG=1 xfce4-panel

Earlier that version 0.11 won't work due to a deprecated API with met.no. See: https://gitlab.xfce.org/panel-plugins/x … /issues/27.

0.11 also migrated settings from rc-based files to xfconf - perhaps there is a bug there if you are losing scrollbox elements. Log entries would help identify the cause.

Online

#5 2022-01-10 06:55:19

KBar
Member
Registered: 2021-11-05
Posts: 189

Re: No data available for Weather Update panel?

To my surprise, this morning xfce4-weather-plugin suddenly just reset all of its configs. This is the second or the third time it's happened. Last time was a month or two ago.

I don't see anything suspicious in logs. How can I detect and identify the problem, and make sure this never happens again?

Last edited by KBar (2022-01-10 06:56:10)

Offline

#6 2022-01-10 12:09:04

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: No data available for Weather Update panel?

This will be difficult to troubleshoot without some indication from logs, but if nothing is being logged....

There is this "older" bug report - https://gitlab.xfce.org/panel-plugins/x … -/issues/2 - but if you have the newer version of the weather plugin it will be using xfconf to store its settings and not rc files anymore.

Online

#7 2022-01-10 12:53:40

KBar
Member
Registered: 2021-11-05
Posts: 189

Re: No data available for Weather Update panel?

.xsession-errors only showed it getting data from the provider (after I clicked on its icon) in a single line.

Offline

#8 2022-01-10 16:21:08

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: No data available for Weather Update panel?

You could try running xfce4-panel in debug mode for the weather plugin and "hope" that it happens again. Might log something:

PANEL_DEBUG=weather xfce4-panel

...or might just create a very large log file (if logging to a file). Keep an eye on it so it doesn't use up all your disk space.

Online

#9 2022-01-10 16:24:30

KBar
Member
Registered: 2021-11-05
Posts: 189

Re: No data available for Weather Update panel?

Awesome! I'll probably redirect it too /tmp since I don't want it to be persistent.

Offline

#10 2022-01-10 16:46:56

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,506

Re: No data available for Weather Update panel?

Or you could try something a little different. genmon with the following script. (Note: you'll need the noto emoji fonts installed to render the weather characters).

Online

#11 2022-01-10 16:59:04

KBar
Member
Registered: 2021-11-05
Posts: 189

Re: No data available for Weather Update panel?

Hmm, it has just occurred to me: maybe I can prevent this from happening by changing the .rc file to be read-only? I noticed that it just overwrites the existing profile (the number suffix doesn't change).

Offline

Board footer

Powered by FluxBB