LIke a few others asking question about upgrading hardware, I'm working to
migrate my current hardware to Rpi and after installing the latest weewx,
I'm not seeing any .sdb file in the /var/lib/weewx directory.
This is a fresh install so I do not yet have my station connected. I'm
wondering if I need to connect my station so the install can complete the
instantiation of the database?
I'm using a standard weewx.conf file. Here is my latest syslog entry for
user weewx.
Thanks in advance,
Tom K
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Initializing weewx version
4.4.0
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Using Python 3.8.6
(default, Jan 27 2021, 15:42:20) #012[GCC 10.2.0]
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Platform
Linux-5.8.0-1016-raspi-aarch64-with-glibc2.32
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Locale is 'en_CA.UTF-8'
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Using configuration file
/etc/weewx/weewx.conf
Mar 15 17:25:29 weewx weewx[4204] INFO __main__: Debug is 0
Mar 15 17:25:29 weewx weewx[4204] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Mar 15 17:25:29 weewx weewx[4204] ERROR weewx.engine: Import of driver
failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file
or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
Traceback (most recent call last):
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/lib/python3/dist-packages/serial/serialposix.py", line 265, in open
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** During
handling of the above exception, another exception occurred:
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
Traceback (most recent call last):
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
self.console = loader_function(config_dict, self)
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/share/weewx/weewx/drivers/vantage.py", line 39, in loader
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
return VantageService(engine, config_dict)
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/share/weewx/weewx/drivers/vantage.py", line 1898, in __init__
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/share/weewx/weewx/drivers/vantage.py", line 512, in __init__
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
self.port.openPort()
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/share/weewx/weewx/drivers/vantage.py", line 307, in openPort
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
self.serial_port = serial.Serial(self.port, self.baudrate,
timeout=self.timeout)
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
self.open()
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: **** File
"/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in open
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
raise SerialException(msg.errno, "could not open port {}:
{}".format(self._port, msg))
Mar 15 17:25:29 weewx weewx[4204] CRITICAL weewx.engine: ****
serial.serialutil.SerialException: [Errno 2] could not open port
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Mar 15 17:25:29 weewx weewx[4204] CRITICAL __main__: Unable to load driver:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or
directory: '/dev/ttyUSB0'
Mar 15 17:25:29 weewx weewx[4204] CRITICAL __main__: **** Exiting...
--
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/98160466-de3a-404c-a92f-9ca52d6d1b02n%40googlegroups.com.