Posting to windy works for a while but then I inevitably get this error: Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: restx: Windy: Unexpected exception of type <type 'exceptions.TypeError'> Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** Traceback (most recent call last): Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** File "/usr/share/weewx/weewx/restx.py", line 343, in run_loop Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** self.process_record(_record, dbmanager) Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** File "/usr/share/weewx/weewx/restx.py", line 392, in process_record Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** _payload = self.get_post_body(_full_record) Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** File "/usr/share/weewx/user/windy.py", line 164, in get_post_body Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** data['pressure'] = 100.0 * record_m['barometer'] # Pascals Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: *** TypeError: unsupported operand type(s) for *: 'float' and 'NoneType' Jan 8 12:21:18 6a4c8de67d74 weewx[7295]: restx: Windy: Thread exiting. Reason: unsupported operand type(s) for *: 'float' and 'NoneType'
Is it because I'm getting a null entry for pressure in a given archive cycle? -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cc0ffe9f-559e-4957-b3c3-d2bfceb86437%40googlegroups.com.
