Hi, I just did a clean install of WeeWX 5.0.2 on a Raspberry PI 4 and Davis
Vantage Pro station and I get the following error message. Please can
someone help me? Thank you very much.
× weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset:
enabled)
Active: failed (Result: exit-code) since Wed 2024-03-20 15:23:28 UTC;
1h 19min ago
Duration: 506ms
Docs: https://weewx.com/docs
Process: 1269 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited,
status=4)
Main PID: 1269 (code=exited, status=4)
CPU: 427ms
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in
__init__
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
self.open()
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in
open
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
raise SerialException(msg.errno, "could not open port {}:
{}".format(self._port, msg))
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL weewx.engine: ****
serial.serialutil.SerialException: [Errno 2] could not open port
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL __main__: Unable to load
driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file
or directory: '/dev/ttyUSB0'
Mar 20 15:23:28 Raspi400 weewxd[1269]: CRITICAL __main__: ****
Exiting...
Mar 20 15:23:28 Raspi400 systemd[1]: weewx.service: Main process exited,
code=exited, status=4/NOPERMISSION
Mar 20 15:23:28 Raspi400 systemd[1]: weewx.service: Failed with result
'exit-code'.
*p*
--
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/0009df82-b253-47aa-8617-f5289aa58611n%40googlegroups.com.