Yowindow looses PWS link

Early builds of YoWindow for Windows
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

Problem seems to be with the Yowindow Screen saver. If you terminate Yowindow Screen saver, there is still a Yowindow process running which is the last of the yowindow processes to shutdown, It updates options.xml with the non PWS configuartion data. All works well with Yowindow screen saver turned off. As soon as I turn it on and shut down the computer or terminate yowindow screensaver the PWS data is lost. If I start Yowindow screen saver from within Yowindow program, the screen saver works well and displays the PWS data. As soon as the Yowindow screen saver is terminated or the computer is shutdown, the PWS data in options.xml is lost. Even if you terminate the Yowindow screensaver there is still a Yowindow process left running. Seems Yowindow Screen saver does not save the options.xml file corectly when it shuts down or Yowindow Screensave and Yowindow program cannot run well together at the same time??

Geoff
User avatar
par
Posts: 8724
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Yowindow looses PWS link

Post by par »

Thank you Geoff.
I think I need to investigate the case running YoWindow and Screen saver together.
A couple of questions.

1. Which Windows version is installed on your computer?
2. Please make sure the screen saver is YoWindow 3, not YoWindow 2. Is it so?
It is easy to tell by YoWindow logo in the bottom-left corner.
If you see a number "3" after YoWindow, this is the 3 version.
Get YoWindow weather app for your phone or tablet.

Image Image Image
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

It is Yowindow 3 for both screensaver and program
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

Just an observation. If you start Yowindows screensaver from Yowindow, all is well until you shutdown/terminate yowindow screensaver. At this point options.xml is updated with data that does not contain the PWS configuratiuon data. The other data seems to be correct just the PWS data is missing.

Good options.xml data

<favoriteLocations homeLocationId="gn:2150253">
<location name="Sandy Point" icao="YMAV" weatherStationId="s1" landscape="Sandy Point Transparent_135C621C2CD">
<server id="gn:2150253" name="Sandy Point" path="2077456/2145234/2150253" latitude="-38.82" longitude="146.1" e_time_zone="10:00" season_map="03.01:autumn/06.01:naked/09.01:spring/12.01:summer" icao_id="YMAV" e_digest="35f2a320b4aa1635c3a1f9dba4dc427b_10:00"/>
</location>
<location landscape="sklmelbourne_1364928964A">
<server id="gn:2158177" name="Melbourne" path="2077456/2145234/2158177" latitude="-37.81" longitude="144.96" e_time_zone="10:00" season_map="03.01:autumn/06.01:naked/09.01:spring/12.01:summer" icao_id="YMML" e_digest="e878c76705b76788621370403452414b_10:00"/>
</location>
</favoriteLocations>
<landscapes>
<landscape id="Sandy Point Transparent_135C621C2CD" type="picture" name="Sandy Point Transparent" src="C:\Users\Geoff\AppData\Roaming\YoWindow\landscapes\Sandy Point Transparent\Sandy Point Transparent.ywl"/>
<landscape id="sklmelbourne_1364928964A" type="picture" name="sklmelbourne" src="C:\Users\Geoff\AppData\Roaming\YoWindow\landscapes\sklmelbourne\sklmelbourne.ywl"/>
</landscapes>
<weatherStations>
<station id="s1" name="S P PWS" currentWeatherUrl="D:\Geoff\Harvey\Documents\yowindow.xml" autoUpdateIntervalSec="300"/>
</weatherStations>
</wimo>
<saver closeOnInputEvent="true" hudStyle="all"/>
</options>

Bad Options.xml data

<favoriteLocations homeLocationId="gn:2150253">
<location name="Sandy Point" icao="YMAV" weatherStationId="s1" landscape="Sandy Point Transparent_135C621C2CD">
<server id="gn:2150253" name="Sandy Point" path="2077456/2145234/2150253" latitude="-38.82" longitude="146.1" e_time_zone="10:00" season_map="03.01:autumn/06.01:naked/09.01:spring/12.01:summer" icao_id="YMAV" e_digest="35f2a320b4aa1635c3a1f9dba4dc427b_10:00"/>
</location>
<location landscape="sklmelbourne_1364928964A">
<server id="gn:2158177" name="Melbourne" path="2077456/2145234/2158177" latitude="-37.81" longitude="144.96" e_time_zone="10:00" season_map="03.01:autumn/06.01:naked/09.01:spring/12.01:summer" icao_id="YMML" e_digest="e878c76705b76788621370403452414b_10:00"/>
</location>
</favoriteLocations>
<landscapes>
<landscape id="Sandy Point Transparent_135C621C2CD" type="picture" name="Sandy Point Transparent" src="C:\Users\Geoff\AppData\Roaming\YoWindow\landscapes\Sandy Point Transparent\Sandy Point Transparent.ywl"/>
<landscape id="sklmelbourne_1364928964A" type="picture" name="sklmelbourne" src="C:\Users\Geoff\AppData\Roaming\YoWindow\landscapes\sklmelbourne\sklmelbourne.ywl"/>
</landscapes>
<weatherStations/>
</wimo>

Looks like it starts to wtite the ,<weatherStations/> data but then skips the actual data.

Thanks

Geoff
User avatar
par
Posts: 8724
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Yowindow looses PWS link

Post by par »

Thanks!

1. Which Windows version is installed on your computer?

2. Try to change something else.
For example "Unit system"
Will it be preserved or not at the moment when PWS data are lost?
Get YoWindow weather app for your phone or tablet.

Image Image Image
steve03222
Posts: 67
Joined: Wed Oct 06, 2010 12:56 am
Name: Steve

Re: Yowindow looses PWS link

Post by steve03222 »

I am out of town until the end of the month. Maybe the fix will be found before I return. If not I will be more than happy to help figure this out.
Steve
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

Pav,

Tried it on 2 computers. Widows 7 Ultimate 64 bit SP1 and Windows 7 Professional 7 32bit SP1. Both have the same results and problem of loosing PWS links

I can change other parametres such as units etc, then enable yowindowscreensaver. When I exit yowindow and terminate yowindow screensave and start yowindoe again the PWS links are lost but the chnged parameter such as untits etc is as it was after the change. What seems to loose the PWS links is starting the yowindow screensaver from within yowindow, then exiting yowindow and terminating yowindowscreensaver. When next you go back into yowindo the links to PWS are lost and have to be entered again. Seems Yowindowscreensaver running at the same timw as yowindow has a problem in retaining the correct data in options.xml. Once options.xml is chnaged it never goes back to what it should be.

Hope this helps. let me know if you want more testing or data

Geoff
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

I have done more testing and all seems to work as it should excpet when you enable yowindow as screensaver. When next you exit yowindow the data links to weatherstations is lost. This only happens if yowindow is enabled as the screesaver. My solution at the moment is just to run yowindow when I want to check the weather with no yowindow screensaver enabled.

Geoff
harveyge
Posts: 45
Joined: Wed Mar 21, 2012 1:34 am
Name: Geoff

Re: Yowindow looses PWS link

Post by harveyge »

Have done exhaustive testing on 2 computers, Windows 7 Ultimate 64bit SP1 and Windows 7 Proffesional 32bit SP1. All works as it should until I enable Yowindow screensaver from within Yowindow. On exit and termination of Yowindow screensaver all links to the PWS are lost in options.xml.

Geoff
User avatar
par
Posts: 8724
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Yowindow looses PWS link

Post by par »

Hey, Geoff, sorry for the delay I was on a conference this weekend and then get a little ill.

The one thing that is very important in the investigation of this problem is to know if PWS path is the only option that gets lost.
I know that you have already tired this.
But please can you test it again like this.
1. Run YoWindow and make sure PWS link is lost
2. Enter PWS link
3. Add a couple of new locations
4. Do the thing that makes PWS link to get lost.
5. Check if new locations are still there.
Were they saved?
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply