Hi Tom, Yes, the latest driver file fixed the errors and I'm up and running!
I have an issue that I can't see the internal webpage for the station but looks like its creating / updating the www files. Seems like the path for the web server changed but since I'm running other scrips on the same server I have to check what could be. Anyway the driver issue its fixed, thanks for your help / work. On Thursday, May 28, 2020 at 8:24:10 AM UTC-4, Tom Keffer wrote: > > I believe I've found the problem. Try this version. > > > > On Wed, May 27, 2020 at 4:47 PM Tom Keffer <[email protected] <javascript:>> > wrote: > >> 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] >> <javascript:>> 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] <javascript:>. >>> 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/4d98d7dd-4d97-4934-80b1-bc8798887f47%40googlegroups.com.
