weewx exited with error after turning on CWOP

26 views
Skip to first unread message

ch...@chrismaness.com

unread,
Dec 19, 2020, 2:57:29 PM12/19/20
to weewx-user
Could someone help me diagnose why weewx exited with this error after
enabling CWOP?

Thanks,

Chris KQ6UP

@@@@@@@@@@@@@@@

root@raspberrypi:/etc/weewx# systemctl status weewx
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (exited) since Sat 2020-12-19 11:51:35 PST; 2min 11s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 21435 ExecStart=/etc/init.d/weewx start (code=exited,
status=0/SUCCESS)

Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****    File "/usr/share/weewx/weewxd", line 148, in main
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****      engine = weewx.engine.StdEngine(config_dict)
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 81, in
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****      self.loadServices(config_dict)
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 153, in
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****      obj = weeutil.weeutil.get_object(svc)(self, config_
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****    File "/usr/share/weewx/weewx/restx.py", line 1129, in
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****      **_cwop_dict)
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****  TypeError: __init__() got an unexpected keyword argumen
Dec 19 11:51:37 raspberrypi python3[21451]: weewx[21451] CRITICAL
__main__:     ****  Exiting.

OpenPGP_0x55BE65AD1B41D696.asc
OpenPGP_signature

gjr80

unread,
Dec 19, 2020, 3:41:35 PM12/19/20
to weewx-user
In your post re GW1000 terminating you provided your CWOP config stanza, CWOP uses a passcode not a password and it seems that may be the problem. Try changing:

    password = some secret code
   
    to:

    passcode = some secret code

You will need to restart WeeWX or do a config reload.

Gary
Reply all
Reply to author
Forward
0 new messages