Hi,

here is the problem:

May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****  ValueError: 
invalid literal for float(): -40.8694607 175.0611268

In weewx.conf under [Station] your latitude setting appears to contain both 
latitude and longitude data. You nee to edit weewx.conf and correct the 
[Station] 
latitude setting. I would also check your longitude setting while you are 
there. Save weewx.conf then restart WeeWX and check your log for errors.

This is the second time this exact same error has occurred today, would you 
mind telling us how you installed/upgraded to WeeWX 4 ?

Gary

On Thursday, 14 May 2020 13:25:58 UTC+10, Banana Bob wrote:
>
> I am getting the following errors after an update to 4.0
>
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewxd", line 148, in main
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****      engine 
> = weewx.engine.StdEngine(config_dict)
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 72, in __init__
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****      
> self.preLoadServices(config_dict)
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 112, in preLoadServices
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****      
> self.stn_info = weewx.station.StationInfo(self.console, 
> **config_dict['Station'])
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewx/station.py", line 51, in __init__
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****      
> self.latitude_f      = float(stn_dict['latitude'])
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****  
> ValueError: invalid literal for float(): -40.8694607 175.0611268
> May 14 15:19:14 weather weewx[814] CRITICAL __main__:     ****  Exiting.
>
> What can I do to fix this please.
>

-- 
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/edd0e0e3-67bc-4233-a929-74375a99f659%40googlegroups.com.

Reply via email to