This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Weather applet takes long time to update

Tags: None
(comma "," separated)
markus2107
Registered Member
Posts
32
Karma
0
OS
Im using KDE 4.8.1 and the standard wather-plasmoid.
When I start my PC, the applet just shows a symbol (like a crossed circle)
and doesn't fetch the temperature or anything else, except for the city name,
if im hovering over the applet or when I click on it.

Also i can not decrease the update time under 30 minutes.
But nevertheless after some time it starts working.
Probably after 30 minutes...

Has anyone a suggestion?
User avatar
google01103
Manager
Posts
6668
Karma
25
maybe the backend weather service used doesn't provide for your city?

try a different backend if available or try a different weather plasmoid (YAWP has lots of weather providers)


OpenSuse Leap 42.1 x64, Plasma 5.x

markus2107
Registered Member
Posts
32
Karma
0
OS
I tried out yawp, but i think its not working in the panel,
and thats where i want the applet to be.

also it didn't directly find my city.
But nevertheless, i tried the original applet again and
now it was also offering a google weather service to me,
wich did work quiet well.

€: Strange things happen. As i restartet my PC today,
the weatherapplet didn't work. When hovering mouse over the applet,
it said something like: please configure the app.

When i searched for my city, there was again just the wetter.com service.
But when i selected it, it showed the temps immediately.....

I have no f***ing idea what's going on...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I suspect two things are happening here:
1) When Plasma starts your network connection is not yet up
2) For unknown reasons, Plasma is not notified that your network connection is now up

As a result, the retrieval fails (as the network is not up) and a new retrieval attempt is not started (as the online state of the system has not been changed).

What type of network setup do you have?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
yawp, if installed, will run in the system tray
system tray -> settings -> extra items -> check yawp


OpenSuse Leap 42.1 x64, Plasma 5.x

markus2107
Registered Member
Posts
32
Karma
0
OS
I'm using wireless LAN, so its true the first few seconds my PC is unconnected, but i think it has to with something else, because i tried out
other cities, and then it works well.

(Im living in Nürnberg --> Bavaria --> Germany, if that helps)

Ok, ill give yawp another shot.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It would be very unusual if it worked on post-login ocassions but did not work at login time just for the one location.

I would guess this is a race condition - which will only appear in some cases at login.

Do you use NetworkManager do manage your wireless connection? If you do, does your machine have any other active connections (such as a wired connection) at the time of login?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markus2107
Registered Member
Posts
32
Karma
0
OS
WLan is the only connection, and i'm using networkmanager.

This was the bahaviour today, after log in (with yawp):

Applet shows weatherinformation, but under settings/location, it told me that it's not updatet.
There was also an annoying plasma-pop-up wich told me, that the update didn't work. There was an "OK"-button on it, but pressing it didn't help, it stayed all the time.
Also after right-klick on the applet, and clicking update, wich did actually work.
Nevertheless i had to relog, because the pop-up didn't go away on it's own.

(PS: Thanks so far for all your answers i'm realy surprised positivly by this helpful community)

€: Ok i tried something out:
I set KDE to restore my previous session, every start up, and now i guess it works.
This setting also solved my problem with the desktop, wich is set to folder view, that was realy buggy (compared to this bug viewtopic.php?f=67&t=98886).
But yakua opens now, when i log in, also i unchecked the option to open the terminal at program start.
Anyway i would prefer to use the startup setting, wich does not resume my previous session. Is there a way to make something like an exception for plasma?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unusual. This probably means that either KDE believes your system is online prior to the wireless connection completing, or something is wrong with the way your system interacts with the network.

Does your network require you login using a seperate page of some form? Are the DNS settings being set the correct ones?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markus2107
Registered Member
Posts
32
Karma
0
OS
I use networkmanager to connect to a simple WPA2 wireless network.
Nothing special is set up...

I think there is something with kde starting up. Because everything is
fine (also the folder-view deskop) if i start with "restore previous session".
But i would like to use "always start with new session" (no idea what the original english
version says)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Very weird. That setting should not have an impact upon this, other than possibly delaying the start of Plasma by crucial milliseconds which allows Network Management to instruct NetworkManager to connect your system.

If you have NetworkManager 0.9, have you tried creating a "System Connection"? This should connect before you login, and circumvent this issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markus2107
Registered Member
Posts
32
Karma
0
OS
Well it looks all fine now with the weather app.
But folderview still bothers me a lot, it randomly won't show any content.
Instead there is a scrollbar on the ride...

I'll mark this thread as close, and open new one.
--->viewtopic.php?f=67&t=101275


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]