Page 4 of 5

Re: Weather provider

PostPosted: Sat Jan 14, 2017 8:26 pm
by JPYZFR1
14-Jan-17 22:18:21:WeatherPull (Global) - pireas,gr : Exception thrown: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
14-Jan-17 22:18:15:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 22:18:15:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 22:18:15:WeatherPull (Global) - Getting weather info

14-Jan-17 21:48:16:WeatherPull (Global) - Temperature is: 12 (12/39)
14-Jan-17 21:48:15:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 21:48:15:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 21:48:15:WeatherPull (Global) - Getting weather info

14-Jan-17 21:18:21:WeatherPull (Global) - pireas,gr : Exception thrown: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
14-Jan-17 21:18:15:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 21:18:15:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 21:18:15:WeatherPull (Global) - Getting weather info

14-Jan-17 20:48:29:WeatherPull (Global) - pireas,gr : Exception thrown: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
14-Jan-17 20:48:15:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 20:48:15:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 20:48:15:WeatherPull (Global) - Getting weather info

14-Jan-17 20:18:16:WeatherPull (Global) - Temperature is: 13 (13/39)
14-Jan-17 20:18:15:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 20:18:15:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 20:18:15:WeatherPull (Global) - Getting weather info

14-Jan-17 19:48:33:WeatherPull (Global) - Temperature is: 13 (13/39)
14-Jan-17 19:48:32:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
14-Jan-17 19:48:32:WeatherPull (Global) - City >pireas,gr< found as 959973
14-Jan-17 19:48:32:OHMD inited
14-Jan-17 19:48:32:Weather request goes to: http://query.yahooapis.com/v1/public/yq ... reas,gr%22
14-Jan-17 19:48:32:WeatherPull (Global) - pireas,gr has no WOEID, getting one
14-Jan-17 19:48:32:WeatherPull (Global) - investigating: pireas,gr
14-Jan-17 19:48:32:WeatherPull (Global) - Getting weather info
14-Jan-17 19:48:32:Calling WeatherPull

At 20:48:15 it stopped working.
At 21:48:16 it's ok
At 22:18:21 it stopped working again.

My suggestion for the icons is:

for clear, sunny,mostly sunny,mostly clear ................................................. use sunny icon
for partly sunny,partly cloudy,.................................................................use cloudy icon
for showers,rain,light rain,heavy rain....................................................... use rain icon
for cloudy,fog,overcast................................................................ .......use overcast icon
for mostly cloudy................................................................................use mcloudy icon
for snow,light snow, heavy snow ..............................................................use snow icon
for t-storm.......................................................................................use storm icon


The temperature is ok.

Re: Weather provider

PostPosted: Sat Jan 14, 2017 10:32 pm
by TheLaGmAn
About the stop/start working i think i found the issue.

About the icons, there are a lot more than those. Also there is no "partly sunny" in the codes, add the suggestions of the ones you want to modify after the last .............. ,only for those you want to modify

Code: Select all
0 tornado..............................storm................
1 tropical storm.......................storm................
2 hurricane............................storm................
3 severe thunderstorms.................storm................
4 thunderstorms........................storm................
5 mixed rain and snow..................rain.................
6 mixed rain and sleet.................rain.................
7 mixed snow and sleet.................rain.................
8 freezing drizzle.....................rain.................
9 drizzle..............................rain.................
10 freezing rain.......................rain.................
11 showers.............................rain.................
12 showers.............................rain.................
13 snow flurries.......................snow.................
14 light snow showers..................snow.................
15 blowing snow........................snow.................
16 snow................................snow.................
17 hail................................overcast.............
18 sleet...............................overcast.............
19 dust................................overcast.............
20 foggy...............................overcast.............
21 haze................................overcast   ..........
22 smoky...............................overcast.............
23 blustery............................overcast.............
24 windy...............................overcast.............
25 cold................................mcloudy..............
26 cloudy..............................mcloudy..............
27 mostly cloudy (night)...............mcloudy..............
28 mostly cloudy (day).................mcloudy..............
29 partly cloudy (night)...............cloudy...............
30 partly cloudy (day)   ..............cloudy...............
31 clear (night).......................overcast.............
32 sunny...............................clear................
33 fair (night)........................clear................
34 fair (day)..........................clear................
35 mixed rain and hai..................rain.................
36 hot.................................clear................
37 isolated thunderstorms..............storm................
38 scattered thunderstorms.............storm................
39 scattered thunderstorm..............storm................
40 scattered showers...................storm................
41 heavy snow   .......................snow.................
42 scattered snow showers..............snow.................
43 heavy snow..........................snow.................
44 partly cloudy.......................cloudy...............
45 thundershowers......................rain.................
46 snow showers........................snow.................
47 isolated thundershowers.............rain.................

Re: Weather provider

PostPosted: Sun Jan 15, 2017 9:19 am
by JPYZFR1
The only change is:

31 clear (night).......................overcast............. (overcast change to clear)

Re: Weather provider

PostPosted: Sun Jan 15, 2017 6:02 pm
by TheLaGmAn
Okay, i will add that change then

Re: Weather provider

PostPosted: Mon Jan 16, 2017 5:01 pm
by JPYZFR1
40 scattered showers...................storm................(Storm change to rain)


They are too many and i couldn't see it.

I've checked them twice and after these changes they will be ok.

Thanks for your time.

Re: Weather provider

PostPosted: Tue Jan 24, 2017 8:18 pm
by JPYZFR1
Image


24-Jan-17 23:11:26:WeatherPull (Global) - Thread ended
24-Jan-17 23:11:26:WeatherPull (Global) - Temperature is: 8 (8/36)
24-Jan-17 23:11:25:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
24-Jan-17 23:11:25:WeatherPull (Global) - investigating: pireas,gr
24-Jan-17 23:11:25:WeatherPull (Global) - Getting weather info
24-Jan-17 22:41:27:WeatherPull (Global) - Thread ended
24-Jan-17 22:41:26:WeatherPull (Global) - Temperature is: 0 (0/32)
24-Jan-17 22:41:25:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
24-Jan-17 22:41:25:WeatherPull (Global) - investigating: pireas,gr
24-Jan-17 22:41:25:WeatherPull (Global) - Getting weather info
24-Jan-17 22:11:31:WeatherPull (Global) - Thread ended
24-Jan-17 22:11:31:WeatherPull (Global) - Temperature is: 0 (0/32)
24-Jan-17 22:11:25:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
24-Jan-17 22:11:25:WeatherPull (Global) - investigating: pireas,gr
24-Jan-17 22:11:25:WeatherPull (Global) - Getting weather info
24-Jan-17 21:41:31:WeatherPull (Global) - Thread ended
24-Jan-17 21:41:31:WeatherPull (Global) - Temperature is: 0 (0/32)
24-Jan-17 21:41:25:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
24-Jan-17 21:41:25:WeatherPull (Global) - investigating: pireas,gr
24-Jan-17 21:41:25:WeatherPull (Global) - Getting weather info
...
24-Jan-17 21:11:30:WeatherPull (Global) - Thread ended
24-Jan-17 21:11:30:WeatherPull (Global) - Temperature is: 9 (9/37)
24-Jan-17 21:11:29:Version detected 1.4.5 is the same as 1.4.5 - No need to update
24-Jan-17 21:11:29:Latest version received as: GOverlay_v145.zip (1.4.5)
24-Jan-17 21:11:29:WeatherPull (Global) - pireas,gr : Fetching temperatures: 959973 / C
24-Jan-17 21:11:29:WeatherPull (Global) - City >pireas,gr< found as 959973
24-Jan-17 21:11:29:OHMD inited
24-Jan-17 21:11:29:WeatherPull (Global) - pireas,gr has no WOEID, getting one
24-Jan-17 21:11:29:WeatherPull (Global) - investigating: pireas,gr
24-Jan-17 21:11:29:WeatherPull (Global) - Getting weather info
24-Jan-17 21:11:29:Calling WeatherPull


Same issue again.... :?

Re: Weather provider

PostPosted: Tue Jan 24, 2017 9:51 pm
by TheLaGmAn
which one is the issue specifically? losing the weather value (setting to zero) ?

Re: Weather provider

PostPosted: Wed Jan 25, 2017 7:19 am
by JPYZFR1
Yes, The temperature is 0.

Re: Weather provider

PostPosted: Wed Jan 25, 2017 1:37 pm
by TheLaGmAn
Okay, the issue is that sometimes yahoo returns nothing, i will add a couple of retries when there is no return to try to solve the issue

Re: Weather provider

PostPosted: Wed Jan 25, 2017 10:17 pm
by TheLaGmAn
I just uploaded 1.4.6, try to update from within GOverlay and see if it works better now