Fresh install of weewx 5.02 on Raspberry Pi running buster. I attempted to
instll the fileparse driver manually according to readme in the direcory.
When I attempt to start weewx, this the result:
ron@WeatherPi5:~ $ sudo systemctl status weewx
* weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-03-20 22:11:04 EDT;
4s ago
Docs: https://weewx.com/docs
Process: 1638 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited,
status=1/FAILURE)
Main PID: 1638 (code=exited, status=1/FAILURE)
CPU: 567ms
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: ^
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: SyntaxError: invalid syntax
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
__import__(driver)
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
File "/etc/weewx/bin/user/fileparse.py", line 131
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
print weeutil.weeutil.timestamp_to_string(packet['dateTime']), packet
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
^
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
SyntaxError: invalid syntax
Mar 20 22:11:04 WeatherPi5 weewxd[1638]: CRITICAL __main__: ****
Exiting.
Mar 20 22:11:04 WeatherPi5 systemd[1]: weewx.service: Main process exited,
code=exited, status=1/FAILURE
Mar 20 22:11:04 WeatherPi5 systemd[1]: weewx.service: Failed with result
'exit-code'.
Any help would be greatly appreciated!
--
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/ccca751e-b134-443d-9785-0990882599cbn%40googlegroups.com.