Good evening,
I'm a new user and I installed weewx version 5 on the rpi .
I have an error when I do systemctl status weewx (start or stop it's the 
same)
I will post the log i hope is help .
 I don't really know where the problem comes from.
thanks.

-- 
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/944dfe79-cefd-431c-a9ef-bf451220a30an%40googlegroups.com.
● weewx.service - weewx weather system
     Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor preset: 
enabled)
     Active: failed (Result: exit-code) since Thu 2024-09-12 22:27:42 CEST; 
8min ago
    Process: 643 ExecStart=/usr/bin/weewxd /etc/weewx/weewx.conf (code=exited, 
status=3)
        CPU: 724ms

Sep 12 22:27:42 raspberrypi weewxd[643]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:27:42 raspberrypi weewxd[643]:     self._load(infile, configspec)
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:27:42 raspberrypi weewxd[643]:     raise error
Sep 12 22:27:42 raspberrypi weewxd[643]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:27:42 raspberrypi weewxd[643]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:27:42 raspberrypi systemd[1]: weewx.service: Control process exited, 
code=exited, status=3/NOTIMPLEMENTED
Sep 12 22:27:42 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.
Sep 12 22:27:42 raspberrypi systemd[1]: Failed to start weewx weather system.
Sep 12 21:05:18 raspberrypi weewxd[536]: INFO weewx.cheetahgenerator: Generated 
12 files for report Belchertown in 2.24 seconds
Sep 12 21:05:18 raspberrypi weewxd[536]: INFO weewx.reportengine: Copied 3 
files to /var/www/html/weewx/
Sep 12 21:07:04 raspberrypi weewxd[1333]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 21:07:04 raspberrypi weewxd[1333]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 21:07:04 raspberrypi weewxd[1333]: Traceback (most recent call last):
Sep 12 21:07:04 raspberrypi weewxd[1333]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 21:07:04 raspberrypi weewxd[1333]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 21:07:04 raspberrypi weewxd[1333]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 21:07:04 raspberrypi weewxd[1333]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 21:07:04 raspberrypi weewxd[1333]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 21:07:04 raspberrypi weewxd[1333]:     self._load(infile, configspec)
Sep 12 21:07:04 raspberrypi weewxd[1333]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 21:07:04 raspberrypi weewxd[1333]:     raise error
Sep 12 21:07:04 raspberrypi weewxd[1333]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 21:07:04 raspberrypi weewxd[1333]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 21:29:29 raspberrypi weewxd[1414]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 21:29:29 raspberrypi weewxd[1414]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 21:29:29 raspberrypi weewxd[1414]: Traceback (most recent call last):
Sep 12 21:29:29 raspberrypi weewxd[1414]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 21:29:29 raspberrypi weewxd[1414]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 21:29:29 raspberrypi weewxd[1414]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 21:29:29 raspberrypi weewxd[1414]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 21:29:29 raspberrypi weewxd[1414]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 21:29:29 raspberrypi weewxd[1414]:     self._load(infile, configspec)
Sep 12 21:29:29 raspberrypi weewxd[1414]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 21:29:29 raspberrypi weewxd[1414]:     raise error
Sep 12 21:29:29 raspberrypi weewxd[1414]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 21:29:29 raspberrypi weewxd[1414]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 21:29:52 raspberrypi weewxd[1455]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 21:29:52 raspberrypi weewxd[1455]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 21:29:52 raspberrypi weewxd[1455]: Traceback (most recent call last):
Sep 12 21:29:52 raspberrypi weewxd[1455]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 21:29:52 raspberrypi weewxd[1455]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 21:29:52 raspberrypi weewxd[1455]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 21:29:52 raspberrypi weewxd[1455]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 21:29:52 raspberrypi weewxd[1455]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 21:29:52 raspberrypi weewxd[1455]:     self._load(infile, configspec)
Sep 12 21:29:52 raspberrypi weewxd[1455]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 21:29:52 raspberrypi weewxd[1455]:     raise error
Sep 12 21:29:52 raspberrypi weewxd[1455]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 21:29:52 raspberrypi weewxd[1455]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:02:17 raspberrypi weewxd[1635]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 22:02:17 raspberrypi weewxd[1635]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:02:17 raspberrypi weewxd[1635]: Traceback (most recent call last):
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 22:02:17 raspberrypi weewxd[1635]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 22:02:17 raspberrypi weewxd[1635]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:02:17 raspberrypi weewxd[1635]:     self._load(infile, configspec)
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:02:17 raspberrypi weewxd[1635]:     raise error
Sep 12 22:02:17 raspberrypi weewxd[1635]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:02:17 raspberrypi weewxd[1635]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:18:23 raspberrypi weewxd[1707]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 22:18:23 raspberrypi weewxd[1707]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:18:23 raspberrypi weewxd[1707]: Traceback (most recent call last):
Sep 12 22:18:23 raspberrypi weewxd[1707]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 22:18:23 raspberrypi weewxd[1707]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 22:18:23 raspberrypi weewxd[1707]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 22:18:23 raspberrypi weewxd[1707]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:18:23 raspberrypi weewxd[1707]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:18:23 raspberrypi weewxd[1707]:     self._load(infile, configspec)
Sep 12 22:18:23 raspberrypi weewxd[1707]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:18:23 raspberrypi weewxd[1707]:     raise error
Sep 12 22:18:23 raspberrypi weewxd[1707]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:18:23 raspberrypi weewxd[1707]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:25:25 raspberrypi weewxd[1766]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 22:25:25 raspberrypi weewxd[1766]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:25:25 raspberrypi weewxd[1766]: Traceback (most recent call last):
Sep 12 22:25:25 raspberrypi weewxd[1766]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 22:25:25 raspberrypi weewxd[1766]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 22:25:25 raspberrypi weewxd[1766]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 22:25:25 raspberrypi weewxd[1766]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:25:25 raspberrypi weewxd[1766]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:25:25 raspberrypi weewxd[1766]:     self._load(infile, configspec)
Sep 12 22:25:25 raspberrypi weewxd[1766]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:25:25 raspberrypi weewxd[1766]:     raise error
Sep 12 22:25:25 raspberrypi weewxd[1766]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:25:25 raspberrypi weewxd[1766]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:27:42 raspberrypi weewxd[643]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 22:27:42 raspberrypi weewxd[643]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:27:42 raspberrypi weewxd[643]: Traceback (most recent call last):
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 22:27:42 raspberrypi weewxd[643]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 22:27:42 raspberrypi weewxd[643]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:27:42 raspberrypi weewxd[643]:     self._load(infile, configspec)
Sep 12 22:27:42 raspberrypi weewxd[643]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:27:42 raspberrypi weewxd[643]:     raise error
Sep 12 22:27:42 raspberrypi weewxd[643]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:27:42 raspberrypi weewxd[643]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
░░ The job identifier is 1024.
Sep 12 22:02:17 raspberrypi weewxd[1635]: Error parsing config file: Parsing 
failed with several errors.
Sep 12 22:02:17 raspberrypi weewxd[1635]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:02:17 raspberrypi weewxd[1635]: Traceback (most recent call last):
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Sep 12 22:02:17 raspberrypi weewxd[1635]:     config_path, config_dict = 
weecfg.read_config(config_option, [config_arg])
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Sep 12 22:02:17 raspberrypi weewxd[1635]:     config_dict = 
configobj.ConfigObj(config_path,
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Sep 12 22:02:17 raspberrypi weewxd[1635]:     self._load(infile, configspec)
Sep 12 22:02:17 raspberrypi weewxd[1635]:   File 
"/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
Sep 12 22:02:17 raspberrypi weewxd[1635]:     raise error
Sep 12 22:02:17 raspberrypi weewxd[1635]: configobj.ConfigObjError: Parsing 
failed with several errors.
Sep 12 22:02:17 raspberrypi weewxd[1635]: First error at line 68. File 
'/etc/weewx/weewx.conf'.
Sep 12 22:02:17 raspberrypi systemd[1]: weewx.service: Control process exited, 
code=exited, status=3/NOTIMPLEMENTED
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit weewx.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 3.
Sep 12 22:02:17 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit weewx.service has entered the 'failed' state with result 
'exit-code'.
Sep 12 22:02:17 raspberrypi systemd[1]: Failed to start weewx weather system.
░░ Subject: A start job for unit weewx.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit weewx.service has finished with a failure.
░░
░░ The job identifier is 1024 and the job result is failed.
Sep 12 22:02:17 raspberrypi sudo[1632]: pam_unix(sudo:session): session closed 
for user root

Reply via email to