On Thursday, November 17, 2016 at 1:21:07 PM UTC-5, Sam Roza wrote:
>
> Looks like there's a problem with this version:
>
> ~~~
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: ServerThread: POST:
> mac=0004a369e0d6&id=8e&rid=63&pwr=0&or=0&uvh=0&uv=377&ch=1&p=1
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: MainThread: raw
> data: mac=0004a369e0d6&id=8e&rid=63&pwr=0&or=0&uvh=0&uv=377&ch=1&p=1
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: MainThread: raw
> packet: {'mac.1:63.0004a369e0d6': '0004a369e0d6', 'rid.1:63.0004a369e0d6':
> '63', 'ch.1:63.0004a369e0d6': '1', 'uvh.1:63.0004a369e0d6': '0',
> 'id.1:63.0004a369e0d6': '8e', 'uv.1:63.0004a369e0d6': 377.0, 'dateTime':
> 1479405394, 'pwr.1:63.0004a369e0d6': '0', 'p.1:63.0004a369e0d6': '1',
> 'usUnits': 17, 'or.1:63.0004a369e0d6': '0'}
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: MainThread: mapped
> packet: {'UV': '0', 'usUnits': 17, 'dateTime': 1479405394}
> Nov 17 09:56:34 raspberrypi weewx[9989]: engine: Main loop exiting.
> Shutting engine down.
> Nov 17 09:56:34 raspberrypi weewx[9989]: engine: Shutting down StdReport
> thread
> Nov 17 09:56:34 raspberrypi weewx[9989]: engine: StdReport thread has been
> terminated
> Nov 17 09:56:34 raspberrypi weewx[9989]: restx: Shut down CWOP thread.
> Nov 17 09:56:34 raspberrypi weewx[9989]: restx: Shut down Wunderground-PWS
> thread.
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: MainThread: shutting
> down server thread
> Nov 17 09:56:34 raspberrypi weewx[9989]: interceptor: MainThread: stop tcp
> server
> Nov 17 09:56:34 raspberrypi weewx[9989]: engine: Caught unrecoverable
> exception in engine:
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** unsupported operand
> type(s) for +=: 'float' and 'str'
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** Traceback (most recent
> call last):
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/engine.py", line 847, in main
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** engine.run()
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/engine.py", line 189, in run
> Nov 17 09:56:34 raspberrypi weewx[9989]: ****
> self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/engine.py", line 222, in dispatchEvent
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** callback(event)
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/engine.py", line 528, in new_loop_packet
> Nov 17 09:56:34 raspberrypi weewx[9989]: ****
> self.accumulator.addRecord(event.packet, self.loop_hilo)
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/accum.py", line 240, in addRecord
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** func(self, record,
> obs_type, add_hilo)
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/accum.py", line 310, in add_value
> Nov 17 09:56:34 raspberrypi weewx[9989]: ****
> self[obs_type].addSum(val)
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** File
> "/usr/share/weewx/weewx/accum.py", line 87, in addSum
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** self.sum += val
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** TypeError: unsupported
> operand type(s) for +=: 'float' and 'str'
> Nov 17 09:56:34 raspberrypi weewx[9989]: **** Exiting.
>
fixed at commit 77e9a3f
thank you for testing this, sam.
m
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.