Page 1 of 1

Event Log Error: unsupported operand type(s)...

PostPosted: Tue Dec 30, 2014 3:37 pm
by goneoffthegrid
I noticed a new set of error messages in my event log today and am wondering if this is happening to others as well:

--- Begin Event Log Text ---

WUnderground Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 1493, in runConcurrentThread
File "plugin.py", line 1178, in parseWeatherData
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'NoneType' and 'unicode'

WUnderground Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)[/b][/b][/color]

--- End Event Log Text ---

I didn't make any changes to anything (configs, etc.) before the error started to appear. Any thoughts?

Re: Event Log Error: unsupported operand type(s)...

PostPosted: Tue Dec 30, 2014 4:36 pm
by DaveL17
Sorry you're having trouble and thanks for reporting the error. Can you please let me know what version of the plugin you're using?

It will help me to isolate the error.
Dave

Re: Event Log Error: unsupported operand type(s)...

PostPosted: Wed Dec 31, 2014 6:53 am
by DaveL17
Out of the blue, this morning I began receiving this error in the log:

Code: Select all
  WUnderground Error              Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1503, in runConcurrentThread
  File "plugin.py", line 1184, in parseWeatherData
  File "plugin.py", line 1434, in uiTempFormat
<type 'exceptions.TypeError'>: float() argument must be a string or a number
This is a similar (but not necessarily the same) error that @ goneoffthegrid reported yesterday.

The bottom line is that Weather Underground is returning unexpected null values. This is easy to fix, but will take a little time. I will try to roll out a fix later today. If you are seeing these types of errors in the log, disable all your WUnderground devices.

Dave

Re: Event Log Error: unsupported operand type(s)...

PostPosted: Wed Dec 31, 2014 9:44 am
by DaveL17
I have uploaded v0.7.07 which hopefully addresses these errors. Please let me know if that's not the case.

Dave

Re: Event Log Error: unsupported operand type(s)...

PostPosted: Fri Jan 02, 2015 8:34 am
by goneoffthegrid
I just installed and enabled the latest version and I'm noting zero errors in the Event Log--thank you Dave!

Re: Event Log Error: unsupported operand type(s)...

PostPosted: Fri Jan 02, 2015 8:37 am
by DaveL17
Thank you for the update. Please let me know if you see any other unexpected behavior.
Dave