Problem parsing 10-day forecast data. Error: (Line 1842....

Posted on
Mon Nov 06, 2017 6:49 am
norcoscia offline
User avatar
Posts: 883
Joined: Sep 09, 2015

Problem parsing 10-day forecast data. Error: (Line 1842....

Hi, Dave, I noticed this error in my log about the same time yesterday (and then again today). Passing along to you in case it will help. Let me know if you need any other info. I'm on your latest version but yesterday I think I was still on .02 when I noticed the error in my log.

Nov 6, 2017, 3:29:23 AM
WUnderground Error Problem parsing 10-day forecast data. Error: (Line 1842 (float() argument must be a string or a number)

_______
Norm

Posted on
Mon Nov 06, 2017 7:03 am
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Thanks Norm - I will take a look. There seems to be something going on with the Weather Underground developer site right now--I can't even open a link to it.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Nov 06, 2017 6:23 pm
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Hi Norm - I can't recreate the error you're seeing. The next time you see it, could you please go to the WUnderground Plugin menu, and select "Write Weather Data to File". The location of the file will be written to the Indigo Event log. Please send that or an email address in a PM.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Nov 06, 2017 6:30 pm
norcoscia offline
User avatar
Posts: 883
Joined: Sep 09, 2015

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

OK :D
Attachments
2017-11-06_16-28-39.png
2017-11-06_16-28-39.png (211.9 KiB) Viewed 1161 times

_______
Norm

Posted on
Tue Nov 07, 2017 6:59 am
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

I believe I was able to figure out what was causing the error -- Weather Underground should be sending all data as a string, but in this case, they were sending something else. I've added a trap to catch the error. I need to do a bit more research to determine if this is a permanent change or a special case. If WU has changed the structure of its API, I'll need to make some more changes.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 07, 2017 7:06 am
norcoscia offline
User avatar
Posts: 883
Joined: Sep 09, 2015

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Thanks, Dave, I'm busy doing an OS update today so not sure if the error came in today - I'll keep an I out for it....

_______
Norm

Posted on
Tue Nov 07, 2017 8:03 am
norcoscia offline
User avatar
Posts: 883
Joined: Sep 09, 2015

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Just FYI, between the million updates I had to do this AM. I did see the same error pop up but I was in the middle of too much stuff to mess with it, when I was finished with the OS updates I updated WU to version .04 and I did not see the error - I'll continue to monitor for it...

Thanks for the help with this.

_______
Norm

Posted on
Tue Nov 07, 2017 8:19 am
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Glad to hear it. Thanks for reporting back.


Sent from my iPhone using Tapatalk

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 07, 2017 3:19 pm
Colly offline
Posts: 330
Joined: Jan 16, 2016
Location: Ireland

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Hi Dave,

I've been getting the same error for a few days:
Code: Select all
7 Nov 2017, 21:11:56
   Trigger                         Night low forecast
   WUnderground Error              Problem parsing 10-day forecast data. Error: (Line 1795 (float() argument must be a string or a number)

Seems like something has been changed. Let me know if I can do anything to help.

Posted on
Tue Nov 07, 2017 5:04 pm
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

Hi Colly - thanks for reaching out. Are you seeing those errors with v6.0.4 of the plugin?

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 07, 2017 5:11 pm
Colly offline
Posts: 330
Joined: Jan 16, 2016
Location: Ireland

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

I'm on v1.1.15. Should I update to the latest version to check it?

Posted on
Tue Nov 07, 2017 7:44 pm
DaveL17 offline
User avatar
Posts: 5354
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Problem parsing 10-day forecast data. Error: (Line 1842.

@Colly - your call. There have been other enhancements and bug fixes since v1.1.15, and updating should also silence the most recent error messages.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest