Somewhere along the way, you deleted the section header [[CWOP]], so now
you have two entries for "enable".
Take what you've got there and change it back:
[[AWEKAS]]
# This section is for configuring posts to AWEKAS.
# If you wish to do this, set the option 'enable' to true,
# and specify a username and password.
enable = false
username = replace_me
# To guard against parsing errors, put your password in quotes:
password = "replace_me"
[[CWOP]]
# This section is for configuring posts to CWOP.
# If you wish to do this, set the option 'enable' to true,
# and specify the station ID (e.g., CW1234).
enable = false
station = replace_me
-tk
On Fri, Apr 28, 2017 at 9:18 AM, Michael Walker <[email protected]> wrote:
> Hi Tom
>
> I'm confident that it is the correct conf file. It is in /etc/weewx/.
>
> I can rebuild from scratch if I need to, but it would be nice to
> understand how it is failing.
>
> thanks
>
>
> 80 [[AWEKAS]]
> 81 # This section is for configuring posts to AWEKAS.
> 82
> 83 # If you wish to do this, set the option 'enable' to true,
> 84 # and specify a username and password.
> 85 enable = false
> 86 username = replace_me
> 87 # To guard against parsing errors, put your password in
> quotes:
> 88 password = replace_me
> 89 # This section is for configuring posts to CWOP.
> 90
> 91 # If you wish to do this, set the option 'enable' to true,
> 92 # and specify the station ID (e.g., CW1234).
> 93 enable = false
> 94 station = replace_me
> 95
>
>
> On Friday, April 28, 2017 at 11:46:19 AM UTC-4, Tom Keffer wrote:
>>
>> One other thing: make sure you're looking at the same weewx.conf that
>> weewx is looking at.
>>
>> -tk
>>
>> On Fri, Apr 28, 2017 at 8:36 AM, Thomas Keffer <[email protected]> wrote:
>>
>>> What comes immediately before?
>>>
>>> -tk
>>>
>>> On Fri, Apr 28, 2017 at 8:03 AM, Michael Walker <[email protected]>
>>> wrote:
>>>
>>>> That is the first place I looked. Weird.
>>>>
>>>> # If you wish to do this, set the option 'enable' to true,
>>>> 92 # and specify the station ID (e.g., CW1234).
>>>> 93 enable = false
>>>> 94 station = replace_me
>>>>
>>>>
>>>> On Friday, April 28, 2017 at 10:54:33 AM UTC-4, Tom Keffer wrote:
>>>>>
>>>>> Look for a duplicate keyword on line 93 of weewx.conf
>>>>>
>>>>> -tk
>>>>>
>>>>> On Fri, Apr 28, 2017 at 7:29 AM, Michael Walker <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi All
>>>>>>
>>>>>> I have been running fine for about a week. Today, I had to reboot
>>>>>> and WeeWx would not start.
>>>>>>
>>>>>> Other than a unit change in weewx.conf, there have been no other
>>>>>> changes (hence the reboot). I was changing from m/s to km/h in the group
>>>>>> values. I undid the change, but it will still not start. This is
>>>>>> running
>>>>>> on a RPI.
>>>>>>
>>>>>> Any thoughts on where to look?
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>>
>>>>>> root@weewx:/etc/weewx# /usr/bin/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 846, in main
>>>>>> config_dict = getConfiguration(config_path)
>>>>>> File "/usr/share/weewx/weewx/engine.py", line 958, in
>>>>>> getConfiguration
>>>>>> config_dict = configobj.ConfigObj(config_path, file_error=True)
>>>>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229,
>>>>>> in __init__
>>>>>> self._load(infile, configspec)
>>>>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1318,
>>>>>> in _load
>>>>>> raise error
>>>>>> configobj.DuplicateError: Duplicate keyword name at line 93.
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>>
>>>>>
>>>>> --
>>>> 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.
>>>>
>>>
>>>
>> --
> 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.
>
--
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.