[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@weewx:~ $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@weewx:~ $ tail -f /var/log/syslog
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewxd", line 148, in main
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****      engine = 
weewx.engine.StdEngine(config_dict)
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 72, in __init__
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****      
self.preLoadServices(config_dict)
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 112, in preLoadServices
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****      
self.stn_info = weewx.station.StationInfo(self.console, 
**config_dict['Station'])
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/station.py", line 51, in __init__
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****      
self.latitude_f      = float(stn_dict['latitude'])
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****  ValueError: 
invalid literal for float(): 28.275153 -97.464723
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__:     ****  Exiting.


On Wednesday, May 13, 2020 at 3:42:39 PM UTC-5, gjr80 wrote:
>
> Hi, 
>
> The answer is in your first post: 
>
> If WeeWX was installed from DEB or RPM package, no configuration should be 
> necessary since the reports are placed in the directory 
> /var/www/html/weewx, which is in the Apache DocumentRoot directory 
> /var/www/html 
>
> I am guessing that since you got a 404 error when you used /weewx in your 
> browser that WeeWX has not placed it’s generated pages in 
> /var/www/html/weewx. This could be because they have been saved elsewhere 
> or more likely they have not been generated at all. I suggest you look in 
> the log, are files being generated and where are they being saved? If you 
> run into difficulties edit weewx.conf, set debug = 1, save weewx.conf and 
> restart WeeWX. Let WeeWX run for 10-15 minutes then take a copy of the log 
> from when you restarted WeeWX through until the 10-15 minutes have elapsed 
> making sure you get the full WeeWX start up. Post the log extract here’s s 
> we will see if we can work out what it going on. 
>
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/17a415eb-8771-42b6-8ad2-c4256fe50b65%40googlegroups.com.

Reply via email to