OK, with the correct path!....still no joy!
pi@Weatherpi:/ $ sudo weewxd /etc/weewx/weewx.conf
Traceback (most recent call last):
File "/usr/bin/weewxd", line 64, in <module>
weewx.engine.main(options, args)
File "/usr/share/weewx/weewx/engine.py", line 871, in main
engine = engine_class(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
self.preLoadServices(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 116, in preLoadServices
self.stn_info = weewx.station.StationInfo(self.console,
**config_dict['Station'])
File "/usr/share/weewx/weewx/station.py", line 49, in __init__
self.latitude_f = float(stn_dict['latitude'])
ValueError: invalid literal for float(): -45.060031 168.566948
pi@Weatherpi:/ $
On Sunday, 6 January 2019 14:37:27 UTC+13, monmul wrote:
>
> I am new to weewx and am trying to set it up on my Rpi 3. I have a Davis
> Vantage weather station. I have a serial Envoy data logger attaced to my
> Rpi with a serial/usb converter. In following the set up instructions, I
> get these errors!
>
> sudo weewxd weewx.conf
> Traceback (most recent call last):
> File "/usr/bin/weewxd", line 64, in <module>
> weewx.engine.main(options, args)
> File "/usr/share/weewx/weewx/engine.py", line 835, in main
> sane = os.stat(config_path).st_ctime
> OSError: [Errno 2] No such file or directory: '/home/pi/weewx.conf'
> pi@Weatherpi:~ $ tail -f /var/log/syslog
> Jan 6 13:37:43 Weatherpi bluetoothd[843]: Endpoint unregistered:
> sender=:1.16 path=/MediaEndpoint/A2DPSink
> Jan 6 13:37:47 Weatherpi dhcpcd[498]: wlan0: no IPv6 Routers available
> Jan 6 13:37:48 Weatherpi dhcpcd[498]: eth0: no IPv6 Routers available
> Jan 6 13:37:57 Weatherpi systemd[852]: Time has been changed
> Jan 6 13:37:57 Weatherpi systemd[1]: Time has been changed
> Jan 6 13:41:05 Weatherpi rsyslogd-2007: action 'action 17' suspended,
> next retry is Sun Jan 6 13:41:35 2019 [try http://www.rsyslog.com/e/2007
> ]
> Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Initializing weewx version
> 3.8.2
> Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Using Python 2.7.9
> (default, Sep 26 2018, 05:58:52) #012[GCC 4.9.2]
> Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Platform
> Linux-4.9.35-v7+-armv7l-with-debian-8.0
> Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Locale is 'en_GB.UTF-8'
> Jan 6 13:52:34 Weatherpi systemd[1]: Starting Cleanup of Temporary
> Directories...
> Jan 6 13:52:34 Weatherpi rsyslogd-2007: action 'action 17' suspended,
> next retry is Sun Jan 6 13:53:04 2019 [try http://www.rsyslog.com/e/2007
> ]
> Jan 6 13:52:35 Weatherpi systemd[1]: Started Cleanup of Temporary
> Directories.
> Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying
> completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]
> Jan 6 13:55:28 Weatherpi rsyslogd-2007: action 'action 17' suspended,
> next retry is Sun Jan 6 13:55:58 2019 [try http://www.rsyslog.com/e/2007
> ]
> Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying
> completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]
>
> Please where have I gone wrong?
>
>
> .....................................................................................................................................................
>
> Hi,
>
> It appears that you are in the /home/pi directory and hence weewxd is
> looking for weewx.conf in /home/pi. Use the full path for weewx.conf ie:
>
> $ sudo weewxd /etc/weewx/weewx.conf
>
> Gary
>
>
--
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].
For more options, visit https://groups.google.com/d/optout.