Have a new install of weewx installed (4.5.1) on a Raspberry Pi and using
the Simulator driver loaded the zip file from as3935 · weewx/weewx Wiki ·
GitHub <https://github.com/weewx/weewx/wiki/as3935> with no problems
Stopped and Started weewx but will not start now.
Jul 26 20:27:08 raspberrypi weewx[1651]: Starting weewx weather system:
weewx.
Jul 26 20:27:08 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: Caught
unrecoverable exception:
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
invalid syntax (as3935.py, line 233)
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
Traceback (most recent call last):
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: **** File
"/home/weewx/bin/weewxd", line 151, in main
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
engine = weewx.engine.StdEngine(config_dict)
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: **** File
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
self.loadServices(config_dict)
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: **** File
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: **** File
"/home/weewx/bin/weeutil/weeutil.py", line 1119, in get_object
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
mod = __import__(module)
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: **** File
"/home/weewx/bin/user/as3935.py", line 233
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
except Exception, e:
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
^
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
SyntaxError: invalid syntax
Jul 26 20:27:08 raspberrypi weewx[1666] CRITICAL __main__: ****
Exiting.
In weewx.conf under
[Engine]
[[Services]]
process_services = , user.as3935.AS3935 (This was added)
If I remove user.as3935.AS3935 from process_services weewx will start OK
but the AS3935 does not add anything to the database.
The AS3935.py is version 6
Just wondered what I have missed.
Thanks for any help
Phil
--
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/d270c2fc-e62a-4357-a436-316b8e4e8b95n%40googlegroups.com.