Evening - my recent install of Weewx on a Pi listening for UDP data from Weather Flow and publishing to MQTT suddenly stopped working this evening. I am new to Weewx so any help would be great as i cant get it to start reporting again. The recent log file is below if that helps:
Andy Feb 4 21:04:23 weewx weewx[661]: weatherflowudp: MainThread: Listening for UDP broadcasts to IP address 0.0.0.0 on port 50222, with timeout 90 and share_socket True... Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** Traceback (most recent call last): Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 770, in process_packet Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** data = self.calculate(cached_packet) Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 921, in calculate Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** age=self.gust_period).value Feb 4 21:04:23 weewx weewx[403]: rtcrthread: **** AttributeError: 'NoneType' object has no attribute 'value' Feb 4 21:04:23 weewx weewx[403]: restx: MQTT: Published record 2019-02-04 21:04:22 GMT (1549314262) Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** Traceback (most recent call last): Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 770, in process_packet Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** data = self.calculate(cached_packet) Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 921, in calculate Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** age=self.gust_period).value Feb 4 21:04:23 weewx weewx[661]: rtcrthread: **** AttributeError: 'NoneType' object has no attribute 'value' Feb 4 21:04:23 weewx weewx[661]: restx: MQTT: Published record 2019-02-04 21:04:22 GMT (1549314262) Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** Traceback (most recent call last): Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 770, in process_packet Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** data = self.calculate(cached_packet) Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 921, in calculate Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** age=self.gust_period).value Feb 4 21:05:23 weewx weewx[661]: rtcrthread: **** AttributeError: 'NoneType' object has no attribute 'value' Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** Traceback (most recent call last): Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 770, in process_packet Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** data = self.calculate(cached_packet) Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** File "/usr/share/weewx/user/rtcr.py", line 921, in calculate Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** age=self.gust_period).value Feb 4 21:05:23 weewx weewx[403]: rtcrthread: **** AttributeError: 'NoneType' object has no attribute 'value' Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked Feb 4 21:05:23 weewx weewx[403]: manager: Replace failed for database weewx.sdb: database is locked -- 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.
