Yes the snippet is from the home/weewx/weewx.conf file that Im using
When it first failed the 52.9444 and 1.2110 where in the weewx.conf file 
and not sure where they came from
So I changed them to 52.944 and 1.211 in the weewx.conf file which is what 
they should be
Stopped and started weewx and it still failed with the old figures of 
52.9444 and 1.2110

I have since changed the figures in the weewx.conf file to blanks and also 
to other lat and long figures and have restarted weewx each time.
It doesn't matter what I enter in the weewx.conf file its not reflected in 
the start up log which always has 52.9444 and 1.2110
I have even rebooted the pi on several occasions but the start up log still 
has 52.9444 and 1.2110
Phil

On Friday, May 1, 2020 at 2:17:12 PM UTC+1, Phil Owers wrote:
>
> Hi Guys
> Just upgraded from v4.0.18b to version 4 and it has stopped weewx
> From the logs 
>
> May  1 14:05:56 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
> May  1 14:05:59 raspberrypi systemd[1]: Starting LSB: weewx weather 
> system...
> May  1 14:05:59 raspberrypi weewx[1136] INFO __main__: Initializing weewx 
> version 4.0.0
> May  1 14:05:59 raspberrypi weewx[1136] INFO __main__: Using Python 3.7.3 
> (default, Dec 20 2019, 18:57:59) #012[GCC 8.3.0]
> May  1 14:05:59 raspberrypi weewx[1136] INFO __main__: Platform 
> Linux-4.19.97-v7l+-armv7l-with-debian-10.3
> May  1 14:05:59 raspberrypi weewx[1136] INFO __main__: Locale is 
> 'en_GB.UTF-8'
> May  1 14:05:59 raspberrypi weewx[1136] INFO __main__: PID file is 
> /var/run/weewx.pid
> May  1 14:05:59 raspberrypi weewx[1140] INFO __main__: Using configuration 
> file /etc/weewx/weewx.conf
> May  1 14:05:59 raspberrypi weewx[1140] INFO weewx.engine: Loading station 
> type Vantage (weewx.drivers.vantage)
> May  1 14:05:59 raspberrypi weewx[1124]: Starting weewx weather system: 
> weewx.
> May  1 14:05:59 raspberrypi systemd[1]: Started LSB: weewx weather system.
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__: Caught 
> unrecoverable exception:
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****  could 
> not convert string to float: '52.9444 1.2110'
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****  
> Traceback (most recent call last):
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewxd", line 148, in main
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****      
> engine = weewx.engine.StdEngine(config_dict)
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewx/engine.py", line 72, in __init__
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****      
> self.preLoadServices(config_dict)
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewx/engine.py", line 112, in preLoadServices
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****      
> self.stn_info = weewx.station.StationInfo(self.console, 
> **config_dict['Station'])
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****    
> File "/usr/share/weewx/weewx/station.py", line 51, in __init__
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****      
> self.latitude_f      = float(stn_dict['latitude'])
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****  
> ValueError: could not convert string to float: '52.9444 1.2110'
> May  1 14:05:59 raspberrypi weewx[1140] CRITICAL __main__:     ****  
> Exiting.
>
> When I look in the weewx.conf file it had the lat an lon figures of 
> 52.9444 and 1.2110
> I changed the values to mine of 52.944 and 1.211 (not sure where the extra 
> digits came from) stopped and restarted weewx but it still fails
> The above is after I changed the weewx.conf file which has
>
> # WEEWX CONFIGURATION FILE
> #
> # Copyright (c) 2009-2019 Tom Keffer <[email protected]>
> # See the file LICENSE.txt for your rights.
>
> ##############################################################################
> # This section is for general configuration information.
> # Set to 1 for extra debug info, otherwise comment it out or set to zero
> debug = 0
> # Root directory of the weewx data file hierarchy for this station
> WEEWX_ROOT = /home/weewx
> # Whether to log successful operations
> log_success = True
> # Whether to log unsuccessful operations
> log_failure = True
> # How long to wait before timing out a socket (FTP, HTTP) connection
> socket_timeout = 20
> # Do not modify this. It is used when installing and updating weewx.
> version = 4.0.0
>
> ##############################################################################
> #   This section is for information about the station.
> [Station]
>     
>     # Description of the station location
>     location = SheringhamWeatherCenter
>     
>     # Latitude in decimal degrees. Negative for southern hemisphere
>     latitude = 52.944
>     # Longitude in decimal degrees. Negative for western hemisphere.
>     longitude = 1.211
>     
>     # Altitude of the station, with unit it is in. This is downloaded from
>     # from the station if the hardware supports it.
>     altitude = 150, foot    # Choose 'foot' or 'meter' for unit
> Phil
>     
>

-- 
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/67b653a4-dcfb-48fe-8e8e-1f0e08a028b3%40googlegroups.com.

Reply via email to