Thanks for the response I have corrected that and try to run Weewx with the
following command
/Users/Shared/weewx/bin/weewxd weewx.conf
and get the Terminal response
Unable to open configuration file /weewx.confTraceback (most recent call
last):
File "/Users/Shared/weewx/bin/weewxd", line 64, in <module>
weewx.engine.main(options, args)
File "/Users/Shared/weewx/bin/weewx/engine.py", line 846, in main
config_dict = getConfiguration(config_path)
File "/Users/Shared/weewx/bin/weewx/engine.py", line 958, in
getConfiguration
config_dict = configobj.ConfigObj(config_path, file_error=True)
File "build/bdist.macosx-10.13-intel/egg/configobj.py", line 1229, in
__init__
File "build/bdist.macosx-10.13-intel/egg/configobj.py", line 1240, in
_load
IOError: Config file not found: "/weewx.conf".
All that the console says is
default 18:59:34.704893 +0000 Python engine: Unable to open configuration
file /weewx.conf
It looks like I have something wrong with a path somewhere.
Thanks for your help
John
On Monday, 27 November 2017 18:33:26 UTC, John Cheesbrough wrote:
>
> Hi
> Having successfully used weewx 3.7 on a Pi with a Davis Vue for some time
> I wanted to see if I could use Weewx 3.8.0 on my MAC and get the
> information from weatherlink.com. So far I have not successfully got
> Weewx to run for the first time.
>
> I followed all the instructions on the Weewx documentation for installing
> and running on Mac OS
>
> I was trying to use Matthew Wall's Wlink driver version 0.11
>
> The console log shows the following
>
>
> default 16:30:45.848346 +0000 Python engine: Caught unrecoverable
> exception in engine:
>
> default 16:30:45.848397 +0000 Python **** 'station_type'
>
> default 16:30:45.849524 +0000 Python **** Traceback (most recent
> call last):
>
> default 16:30:45.849593 +0000 Python **** File
> "/Users/Shared/weewx/bin/weewx/engine.py", line 865, in main
>
> default 16:30:45.849648 +0000 Python **** engine =
> engine_class(config_dict)
>
> default 16:30:45.849698 +0000 Python **** File
> "/Users/Shared/weewx/bin/weewx/engine.py", line 71, in __init__
>
> default 16:30:45.849748 +0000 Python ****
> self.setupStation(config_dict)
>
> default 16:30:45.849798 +0000 Python **** File
> "/Users/Shared/weewx/bin/weewx/engine.py", line 86, in setupStation
>
> default 16:30:45.849847 +0000 Python **** stationType =
> config_dict['Station']['station_type']
>
> default 16:30:45.849895 +0000 Python **** File
> "build/bdist.macosx-10.13-intel/egg/configobj.py", line 554, in __getitem__
>
> default 16:30:45.849944 +0000 Python **** val =
> dict.__getitem__(self, key)
>
> default 16:30:45.849996 +0000 Python **** KeyError: 'station_type'
>
> default 16:30:45.850048 +0000 Python **** Exiting.
>
>
>
> The output on the Terminal screen after the error was:
>
>
> Unable to open configuration file /weewx.confTraceback (most recent call
> last):
>
> File "/Users/Shared/weewx/bin/weewxd", line 64, in <module>
>
> weewx.engine.main(options, args)
>
> File "/Users/Shared/weewx/bin/weewx/engine.py", line 846, in main
>
> config_dict = getConfiguration(config_path)
>
> File "/Users/Shared/weewx/bin/weewx/engine.py", line 958, in
> getConfiguration
>
> config_dict = configobj.ConfigObj(config_path, file_error=True)
>
> File "build/bdist.macosx-10.13-intel/egg/configobj.py", line 1229, in
> __init__
>
> File "build/bdist.macosx-10.13-intel/egg/configobj.py", line 1240, in
> _load
>
> IOError: Config file not found: "/weewx.conf".
>
>
> The MAC system information is:
>
>
> System Version: macOS 10.13.1 (17B48)
>
> Kernel Version: Darwin 17.2.0
>
> Boot Volume: Macintosh HD
>
> Boot Mode: Normal
>
> Computer Name: John’s MacBook Pro
>
> User Name: John Cheesbrough (johncheesbrough)
>
> Secure Virtual Memory: Enabled
>
> System Integrity Protection: Enabled
>
> Time since boot: 4 days 23:00
>
>
>
>
--
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.