When you get file/path errors like that the best thing is to use full paths in your commands. Try:
$ sudo /usr/share/weewx/weewxd /etc/weewx/weewx.conf Gary On Wednesday, 5 September 2018 11:05:25 UTC+10, Bryan B wrote: > > Hello, > > Hopefully an easy one here - I am having trouble running weewx directly, > below you will find the error. > I am trying to run it directly in order to try and diagnose my pressure > issue in another thread... > > The directory should be '/etc/weewx/weewx.conf' however it seems as though > the engine is somehow producing an incorrect path while trying to do the > time validation. > > Any help would be greatly appreciated! > > > 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' > > > > -- 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.
