kotelnik / plasma-applet-weather-widget

Plasma 5 applet for displaying weather information from yr.no server.
GNU General Public License v2.0
88 stars 42 forks source link

The in-tray plasmoid take too much CPU #9

Closed NerosTie closed 8 years ago

NerosTie commented 8 years ago

For some reason when I add the weather applet in the in-tray plasmoid, after a while, plasmashell take 4-5% of my CPU all the time and if I deactivate the weather applet, it comes back to normal...

kotelnik commented 8 years ago

Interesting, thanks for the observation! Is it also the case with standard in-panel placement?

NerosTie commented 8 years ago

Everything looks good with the standard in-panel placement. I don't like this placement but I'm testing it now, I'll tell you if I see something!

(I'm on Fedora 23 with Plasma 5.4.2)

NerosTie commented 8 years ago

I'm now on ArchLinux and there is the same issue.
plasmashell, kwin_x11 and Xorg take each one 2% of my CPU with this applet (= more heat, the fan is noisy and less battery just because of an applet).

Version installed: 1.5.1-2 (from the community repo).

I have no idea why...

kotelnik commented 8 years ago

Thanks for this testing! This is really weird because this widget is doing nothing while not reloading weather data. I've tested it on a few PCs and haven't seen these performance issues. But I'll test it on my flat mate's computer when I get the chance. She has really old one so it should be more visible.

Meanwhile, could you please try the latest (git) version? If you have yaourt you can install it "yaourt -S plasma5-applets-weather-widget-git". Another question: it eats the cpu while just sitting in panel, no expanded part with meteogram picture and no other activity on desktop, no reloading weather data? Are you connected to internet?

Because I've noticed that if connection to internet is not available, the reloading takes sometimes a bit of CPU (probably bug in qml). I'll need to create i minimal testing application and report it.

NerosTie commented 8 years ago

I found a really easy way to see this bug: put the weather applet in the in-tray plasmoid and just restart plasmashell ( killall plasmashell && plasmashell ). It appears every time. Maybe this is why this bug appears because I kill/restart plasmashell often...

it eats the cpu while just sitting in panel

Yep

no expanded part with meteogram picture and no other activity on desktop

No and no

no reloading weather data

I'm not sure, how can I know?

Are you connected to internet?

Yes, always.

could you please try the latest (git) version?

I will try tomorrow.

kotelnik commented 8 years ago

Thanks. When reloading data the widget shows a busy indicator (e.g. like task manager when launching an application). The plasmashell restarting shouldn't be a problem - I do it often, too.

NerosTie commented 8 years ago

Sorry for the delay. Tested with the git version and... same thing. plasmashell, kwin_x11 and Xorg take each one 2% of my CPU. Even if I click on "pause updating". Even if I delete my location!

I saw this bug on my Fedora and on ArchLinux but you say you don't see it, I don't understand!

kotelnik commented 8 years ago

Thanks. Sorry for my late response, too. I also don't understand. Especially why kwin process is also eating cpu - because kwin shouldn't be related to plasmashell activities, especially in this case. And you also said that if you start plasmashell without weatherWidget plasmoid and then add the plasmoid -> it does not introduce performace hit until plasmashell is restarted. Is that correct? I'm just trying to narrow the problem scenario...

Yes, deleting location or pausing the update will probably not help because the widget is not doing anything anyway (when not updating data) except checking actual time every 5 seconds and updating the "x ago" information. This is quite trivial task so it shouldn't eat any CPU time - not continuously for sure.

Can you tell me what CPU do you have? I still didn't ask my flat mate to lend me the lower-end laptop for testing / reproducing the problem, sorry. I'll do that as soon as possible.

NerosTie commented 8 years ago

you also said that if you start plasmashell without weatherWidget plasmoid and then add the plasmoid -> it does not introduce performace hit until plasmashell is restarted. Is that correct?

Yes, correct! Well, this what I see, maybe I'm missing something.

Can you tell me what CPU do you have?

Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz

kotelnik commented 8 years ago

That's quite a good CPU. Actually I'm running out of ideas here. I've already tried on a notebook with worse CPU (2.4 GHz) and cannot reproduce this issue. It is really strange that it only occurs after plasmashell restart, not right after widget is added and normally working.

Just one idea for now: do you have it only on one place installed? I mean in system path only or in ~/.local/share/plasma/plasmoids only? Maybe it can somehow misbehave if it is installed on both places...

Can you also post plasmashell log when the plasmashell is starting and couple of seconds / minutes after? Maybe I'll spot something...

NerosTie commented 8 years ago

Just one idea for now: do you have it only on one place installed? I mean in system path only or in ~/.local/share/plasma/plasmoids only? Maybe it can somehow misbehave if it is installed on both places...

I thought the same thing, but no. On my Fedora it was in ~/.local/share/.... and on my ArchLinux it's in /usr/share/....

Can you also post plasmashell log when the plasmashell is starting and couple of seconds / minutes after?

Sure! But how I can get the log?

kotelnik commented 8 years ago

I'm not sure about the proper way but if you run: killall plasmashell; plasmashell & ...you will see the log in the terminal. Or you can also direct it to a file...

NerosTie commented 8 years ago

Hm, there is a loop of an error about weather-applet.

It's infinite so this is why I have a constant CPU activity.

qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
no winId: probably startup task
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
no winId: probably startup task
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
no winId: probably startup task
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
no winId: probably startup task
no winId: probably startup task
no winId: probably startup task
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast.xml
qml: [weatherWidget] GET called for url: http://www.yr.no/place/Frankrike/Alsace/Strasbourg/forecast_hour_by_hour.xml
qml: [weatherWidget] reload called, cacheKey is: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
qml: [weatherWidget] Error getting weather data. Scheduling data reload...
qml: [weatherWidget] loading from cache, config key: cache_e2686b34b6e811e7f12c562ff98e6af3
qml: [weatherWidget] already loaded from cache
kotelnik commented 8 years ago

Alright - this is finally making sense! So my guess is you are suffering from this issue: https://github.com/kotelnik/plasma-applet-weather-widget/issues/6 I suppose the widget is only able to reload weather data when plasma starts for the first time, then it starts failing so the last reloaded text ("xx ago") shoud only increase. Is that the case?

NerosTie commented 8 years ago

then it starts failing so the last reloaded text ("xx ago") shoud only increase. Is that the case?

Yes.

So it's a bug in Qt?

kotelnik commented 8 years ago

It looks like it. Actually I think there are 2 bugs: 1) Network access disabled after some time - although network access is actually still available 2) High CPU usage when accessing internet while network is not available (this one I should report once I prepare a minimal code for the bug report) ...it looks like we need to wait for Qt 5.5.2

NerosTie commented 8 years ago

I don't see this bug anymore with the last updates of everything and using OWM.
So, I think I can close it.

Thank you :smile:

kotelnik commented 8 years ago

I'm quite relieved this is resolved! :)