Thanks, but I need to see farther up the log. You posted just the very end of the error.
On Wed, May 27, 2020 at 4:39 PM Francisco Puig <[email protected]> wrote: > Hi Tom, > > I'm using Python 2, that I think its the correct for Ubuntu 16? > > I replaced the ultimeter.py and below are the log entries; > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > File "/usr/share/weewx/weewx/engine.py", line 188, in run > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > for packet in self.console.genLoopPackets(): > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 131, in > genLoopPackets > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > data = Station.parse_readings(readings) > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 298, in > parse_readings > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > data['windSpeed'] = Station._decode(buf[0:4], 0.1 * MILE_PER_KM) # mph > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 327, in _decode > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** v > = int(s, 16) > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > TypeError: int() can't convert non-string with explicit base > > May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: **** > Exiting. > > > Thanks for you help. > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/59c70ced-e608-4dd7-9b78-ba6171670e53%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/59c70ced-e608-4dd7-9b78-ba6171670e53%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECbGgA4RqHJqEVfyCKsjsaw%3DmExAVK_Mpq-23akFU-5Mw%40mail.gmail.com.
