Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] KWeather
  • From: "Kai Ponte" <kai@xxxxxxxxxxxxxxxx>
  • Date: Tue, 16 May 2006 07:40:50 -0700
  • Message-id: <E1Fg0jC-0005GM-7h@xxxxxxxxxxxxxxx>


> This is a multi-part message in MIME format.
>
> kai wrote:
> > On Monday 15 May 2006 10:47 pm, Erik Jakobsen wrote:
> >
> >> Hi.
> >>
> >> Can anybody tell me the reason, that the field to enter the ICAO is
> >> greyed in KWeather.
> >>
> >
> > What do you mean, "greyed"? Can you not fill in a value?
> >
> > Screenshot?
> >
> > I've not seen this.
> >
> >
> Yes this mean, as you say, that I cannot fill any value in it.
>
> I attach 2 screenshots with this mail. One shows the greyed field, and
> one shows where I have choosed the weatherstaion.
>
> Thanks for your reply.

Okay, that is just plain bizarre! I did some research and found the
following.

Here's the official Cool Solutions article.

http://www.novell.com/coolsolutions/feature/11404.html

Here's something I dug up from this list about a year ago from Randall
on the SUSE-KDE group:

http://lists.suse.com/archive/suse-kde/2005-May/0100.html

<quote>
There seems to be some kind of race condition in the kweatherreport /
kweatherservice start-up processing. It existed in 9.1 and remains in
9.3. The first time you start kweatherreport it in turn starts up
kweatherservice. Sometimes kweatherservice doesn't get the information
for the selected reporting station by the time kweatherreport queries
it and you get a bogus message. E.g., just now it told me the station
nearest me "reports that it needs maintenance." Closing the report
window and immediately re-launching kweatherreport produced a proper
display. I could reproduce this by manually killing kweatherservice and
re-running kweatherreport. Kweatherservice keeps running even after you
close all the kweatherreport windows.

Ultimately, I created a script that starts kweatherservice explicitly,
sleeps one second and then starts kweatherreport. When kweatherreport
quits, it kills kweatherservice.

Here it is:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
#!/bin/bash --norc

kweatherservice; sleep 1.0

kweatherreport "$@"

killproc kweatherservice 2>/dev/null
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
</quote>

HTH!


--
kai ponte
www.perfectreign.com || www.livebeans.com

linux - genuine windows replacement part

< Previous Next >