Replaced file / restarted service and its up and running! Should I look for something in particular to test or just code optimization?
On Thursday, May 28, 2020 at 9:27:22 PM UTC-4, Tom Keffer wrote: > > Francisco, could you do me a favor and test this version. It is slightly > more efficient. > > -tk > > On Thu, May 28, 2020 at 6:18 PM Francisco Puig <fpu...@gmail.com > <javascript:>> wrote: > >> Hi Tom, >> >> Yes, the latest driver file fixed the errors and I'm up and running! >> >> Thanks for your help / work. >> >> On Wednesday, May 27, 2020 at 3:28:25 PM UTC-4, Francisco Puig wrote: >>> >>> Hi all, >>> >>> I'm trying to migrate my WeeWX RPi server to a Ubuntu 16 server and I'm >>> getting these errors. I have no idea where to start troubleshooting. >>> >>> Traceback (most recent call last): >>> >>> File "/usr/share/weewx/weewxd", line 261, in <module> >>> >>> main() >>> >>> File "/usr/share/weewx/weewxd", line 154, in main >>> >>> engine.run() >>> >>> File "/usr/share/weewx/weewx/engine.py", line 188, in run >>> >>> for packet in self.console.genLoopPackets(): >>> >>> File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 131, in >>> genLoopPackets >>> >>> data = Station.parse_readings(readings) >>> >>> File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 298, in >>> parse_readings >>> >>> data['windSpeed'] = Station._decode(buf[0:4], 0.1 * MILE_PER_KM) # >>> mph >>> >>> File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 326, in >>> _decode >>> >>> v = int(s, 16) >>> >>> TypeError: int() can't convert non-string with explicit base >>> >>> >>> Any help will be appreciate. >>> >>> Thanks, >>> >>> Frank. >>> >> -- >> 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 weewx...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/f6f795d1-a0cd-4c81-b8ee-4e8bf642cac8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/f6f795d1-a0cd-4c81-b8ee-4e8bf642cac8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/88d31299-1472-4e74-8a7d-77b0e9b3965e%40googlegroups.com.