OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

267 views
Skip to first unread message

PC

unread,
Mar 4, 2023, 4:51:48 AM3/4/23
to weewx-user
Hello, I have this error that I can't decipher. (and in addition, I am French -speaking)
Can you help me ?
THANKS !

Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Initializing weewx version 4.10.1
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Using Python 3.7.3 (default, Oct 31 2022, 14:04:00) #012[GCC 8.3.0]
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Located at /bin/python3
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Platform Linux-5.10.63-v7l+-armv7l-with-debian-10.13
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Locale is 'fr_BE.UTF-8'
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: Debug is 1
Mar  4 10:28:04 PiMeteo weewx[1455] INFO __main__: PID file is /var/run/weewx.pid
Mar  4 10:28:04 PiMeteo weewx[1459] DEBUG __main__: Initializing engine
Mar  4 10:28:04 PiMeteo weewx[1459] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar  4 10:28:04 PiMeteo weewx[1459] DEBUG weewx.drivers.vantage: Driver version is 3.5.2
Mar  4 10:28:04 PiMeteo weewx[1459] DEBUG weewx.drivers.vantage: Option loop_request=1
Mar  4 10:28:04 PiMeteo weewx[1444]: Starting weewx weather system: weewx.
Mar  4 10:28:04 PiMeteo systemd[1]: Started LSB: weewx weather system.
Mar  4 10:28:07 PiMeteo weewx[1459] ERROR weewx.drivers.vantage: Socket error while opening port 22222 to ethernet host 192.168.0.13.
Mar  4 10:28:07 PiMeteo weewx[1459] ERROR weewx.engine: Import of driver failed: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible (<class 'weewx.WeeWxIOError'>)
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 344, in openPort
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      self.socket.connect((self.host, self.port))
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  During handling of the above exception, another exception occurred:
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1945, in __init__
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 524, in __init__
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      self.port.openPort()
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 348, in openPort
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****      raise weewx.WeeWxIOError(ex)
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL weewx.engine:     ****  weewx.WeeWxIOError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL __main__: Unable to load driver: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible
Mar  4 10:28:07 PiMeteo weewx[1459] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Tom Keffer

unread,
Mar 4, 2023, 8:06:28 AM3/4/23
to weewx...@googlegroups.com
I am guessing that you are trying to connect to a Vantage station through an ethernet connection. Your computer is complaining that there is no path to the IP address 192.168.0.13.

1. Is this truly a Vantage with an IP logger? They exist, but they are very rare. Perhaps it is really a USB or serial logger, and you specified the wrong type in weewx.conf under [Vantage].

2. If you truly have an IP logger, make sure you have the right IP address, and that your router is letting you access it. You may have a firewall problem.

-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/88cb130e-8d2f-4bde-a961-9bd3965ae6d7n%40googlegroups.com.

Blaise Cacramp

unread,
Mar 4, 2023, 8:25:11 AM3/4/23
to weewx...@googlegroups.com

Yes, that's what I also thought: a problem in my IP adapter. (the LED no longer flashes)
Fortunately I have a USB adapter in a corner. I will change that.
Thank you Tom

Le 04-03-23 à 14:05, Tom Keffer a écrit :

PC

unread,
Mar 4, 2023, 1:18:30 PM3/4/23
to weewx-user
toujours le même problème

  ######################################################
Mar  4 19:14:11 PiMeteo systemd[1]: Stopping LSB: weewx weather system...
Mar  4 19:14:11 PiMeteo weewx[1515] INFO __main__: Received signal TERM (15).
Mar  4 19:14:16 PiMeteo weewx[1546]: Stopping weewx weather system: weewx..
Mar  4 19:14:16 PiMeteo systemd[1]: weewx.service: Succeeded.
Mar  4 19:14:16 PiMeteo systemd[1]: Stopped LSB: weewx weather system.
Mar  4 19:14:16 PiMeteo systemd[1]: Starting LSB: weewx weather system...
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Initializing weewx version 4.10.2
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Using Python 3.7.3 (default, Oct 31 2022, 14:04:00) #012[GCC 8.3.0]
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Located at /bin/python3
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Platform Linux-5.10.63-v7l+-armv7l-with-debian-10.13
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Locale is 'fr_BE.UTF-8'
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: Debug is 1
Mar  4 19:14:16 PiMeteo weewx[1585] INFO __main__: PID file is /var/run/weewx.pid
Mar  4 19:14:16 PiMeteo weewx[1589] DEBUG __main__: Initializing engine
Mar  4 19:14:16 PiMeteo weewx[1589] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar  4 19:14:16 PiMeteo weewx[1589] DEBUG weewx.drivers.vantage: Driver version is 3.5.2
Mar  4 19:14:16 PiMeteo weewx[1589] DEBUG weewx.drivers.vantage: Option loop_request=1
Mar  4 19:14:16 PiMeteo weewx[1589] ERROR weewx.engine: Import of driver failed: [Errno 2] could not open port /dev/ttyUSB2: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB2' (<class 'serial.serialutil.SerialException'>)
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 265, in open
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB2'
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  During handling of the above exception, another exception occurred:
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 531, in __init__
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      self.port.openPort()
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 318, in openPort
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      self.serial_port = serial.Serial(self.port, self.baudrate, timeout=self.timeout)
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      self.open()
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in open
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****      raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB2: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB2'
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL __main__: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB2: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB2'
Mar  4 19:14:16 PiMeteo weewx[1589] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

[Vantage]
    # This section is for the Davis Vantage series of weather stations.
   
    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
    type = serial
   
    # If the connection type is serial, a port must be specified:
    #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
    #     /dev/ttyUSB0 is a common USB port name
    #     /dev/ttyS0   is a common serial port name
    #   BSD:
    #     /dev/cuaU0   is a common serial port name
    port = /dev/ttyUSB2
   
    # If the connection type is ethernet, an IP Address/hostname is required:
    # host = 192.168.0.13
   
    ######################################################
    # The rest of this section rarely needs any attention.
    # You can safely leave it "as is."
    ######################################################
   
    # Serial baud rate (usually 19200)
    baudrate = 19200
   
    # TCP port (when using the WeatherLinkIP)
    # tcp_port = 22222
   
    # TCP send delay (when using the WeatherLinkIP):
    # tcp_send_delay = 0.5
   
    # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
    loop_request = 1
   
    # The id of your ISS station (usually 1). If you use a wind meter connected
    # to a anemometer transmitter kit, use its id
    iss_id = 1
   
    # How long to wait for a response from the station before giving up (in
    # seconds; must be greater than 2)
    timeout = 4
   
    # How long to wait before trying again (in seconds)
    wait_before_retry = 1.2
   
    # How many times to try before giving up:
    max_tries = 4
   
    # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
    model_type = 2
   
    # The driver to use:
    driver = weewx.drivers.vantage

################################################################################

pi@PiMeteo:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

################################################################################

PC

unread,
Mar 4, 2023, 2:06:35 PM3/4/23
to weewx-user
It's a PI4
USB2.0 port at the bottom left

vince

unread,
Mar 4, 2023, 2:09:47 PM3/4/23
to weewx-user
Try /dev/ttyUSB0 and see if that works

The dmesg command will tell you which device is attached.

Here is the output for my pi4, which uses a pl2303 serial/usb adaptor to connect to a Davis serial logger.

pi@pi4:~ $ lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P   <====

Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@pi4:~ $ dmesg | grep -i usb
[    1.853807] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.036438] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    2.036495] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.036530] usb 1-1: Product: USB2.0 Hub
[    2.039321] hub 1-1:1.0: USB hub found
[    2.363822] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[    2.510398] usb 1-1.3: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 3.00
[    2.510458] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.510499] usb 1-1.3: Product: USB-Serial Controller
[    2.510530] usb 1-1.3: Manufacturer: Prolific Technology Inc.
[    6.685846] usbcore: registered new interface driver brcmfmac
[    6.767495] usbcore: registered new interface driver usbserial_generic
[    6.767732] usbserial: USB Serial support registered for generic
[    6.828565] usbcore: registered new interface driver pl2303
[    6.828727] usbserial: USB Serial support registered for pl2303
[    6.898445] usb 1-1.3: pl2303 converter now attached to ttyUSB0        <=========

So for my system using a pl2303 serial to usb adaptor:
    port = /dev/ttyUSB0

(apologies if any translation of this gets garbled)


Blaise Cacramp

unread,
Mar 4, 2023, 3:44:41 PM3/4/23
to weewx...@googlegroups.com

I have already tried the 4 ports, without success

pi@PiMeteo:~ $ sudo geany /etc/weewx/weewx.conf
pi@PiMeteo:~ $ sudo /etc/init.d/weewx restart
[ ok ] Restarting weewx (via systemctl): weewx.service.
pi@PiMeteo:~ $ sudo tail -f /var/log/syslog | tee /var/tmp/SysLog
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.serial_port = serial.Serial(self.port, self.baudrate, timeout=self.timeout)
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.open()
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in open
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0'
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL __main__: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0'
Mar  4 21:39:39 PiMeteo weewx[3474] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...
Mar  4 21:39:39 PiMeteo weewx[3459]: Starting weewx weather system: weewx.
Mar  4 21:39:39 PiMeteo systemd[1]: Started LSB: weewx weather system.
Mar  4 21:40:39 PiMeteo weewx[3474] INFO __main__: retrying...
Mar  4 21:40:39 PiMeteo weewx[3474] DEBUG __main__: Initializing engine
Mar  4 21:40:39 PiMeteo weewx[3474] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar  4 21:40:39 PiMeteo weewx[3474] DEBUG weewx.drivers.vantage: Driver version is 3.5.2
Mar  4 21:40:39 PiMeteo weewx[3474] DEBUG weewx.drivers.vantage: Option loop_request=1
Mar  4 21:40:39 PiMeteo weewx[3474] ERROR weewx.engine: Import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 265, in open
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0'
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  During handling of the above exception, another exception occurred:
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 531, in __init__
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.port.openPort()
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 318, in openPort
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.serial_port = serial.Serial(self.port, self.baudrate, timeout=self.timeout)
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in __init__
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      self.open()
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 268, in open
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****      raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0'
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL __main__: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Aucun fichier ou dossier de ce type: '/dev/ttyUSB0'
Mar  4 21:40:39 PiMeteo weewx[3474] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Le 04-03-23 à 20:09, vince a écrit :

vince

unread,
Mar 4, 2023, 4:01:30 PM3/4/23
to weewx-user
Unplug the device.
Run the 'dmesg' command.
Plug in the device.
Run the 'dmesg' command again
It will tell you which device it attached it to.

Blaise Cacramp

unread,
Mar 5, 2023, 4:57:43 AM3/5/23
to weewx...@googlegroups.com

Hello and thank you
It's very verbose and I don't see anything clear. Here is the 2nd dmesg

pi@PiMeteo:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.63-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1496 SMP Wed Dec 1 15:58:56 GMT 2021
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x00000000fbffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[    0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:51:75:1D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=b9db7205-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000014890000-0x0000000018890000] (64MB)
[    0.000000] Memory: 3601132K/4050944K available (10240K kernel code, 1364K rwdata, 3192K rodata, 2048K init, 891K bss, 122132K reserved, 327680K cma-reserved, 3264512K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 34315 entries in 68 pages
[    0.000000] ftrace: allocated 68 pages with 2 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]     Rude variant of Tasks RCU enabled.
[    0.000000]     Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=1
[    0.000008] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000027] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000086] bcm2835: system timer (irq = 25)
[    0.000730] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000748] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000766] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000781] Switching to timer-based delay loop, resolution 18ns
[    0.001034] Console: colour dummy device 80x30
[    0.001102] printk: console [tty1] enabled
[    0.001158] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001190] pid_max: default: 32768 minimum: 301
[    0.001355] LSM: Security Framework initializing
[    0.001539] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001564] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003019] cgroup: Disabling memory control group subsystem
[    0.003249] CPU: Testing write buffer coherency: ok
[    0.003699] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004896] Setting up static identity map for 0x200000 - 0x20003c
[    0.005092] rcu: Hierarchical SRCU implementation.
[    0.006005] smp: Bringing up secondary CPUs ...
[    0.007185] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008516] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009779] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009937] smp: Brought up 1 node, 4 CPUs
[    0.009958] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.009973] CPU: All CPU(s) started in HYP mode.
[    0.009988] CPU: Virtualization extensions available.
[    0.010908] devtmpfs: initialized
[    0.025277] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.025494] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.025524] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.033557] pinctrl core: initialized pinctrl subsystem
[    0.034615] NET: Registered protocol family 16
[    0.038366] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.039138] audit: initializing netlink subsys (disabled)
[    0.039397] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.039939] thermal_sys: Registered thermal governor 'step_wise'
[    0.040755] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.040773] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.041174] Serial: AMBA PL011 UART driver
[    0.075417] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.090836] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:01:54, variant start
[    0.100850] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
[    0.141702] Kprobes globally optimized
[    0.146829] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.150990] vgaarb: loaded
[    0.151442] SCSI subsystem initialized
[    0.151678] usbcore: registered new interface driver usbfs
[    0.151750] usbcore: registered new interface driver hub
[    0.151823] usbcore: registered new device driver usb
[    0.152187] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.154147] clocksource: Switched to clocksource arch_sys_counter
[    1.112992] VFS: Disk quotas dquot_6.6.0
[    1.113088] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.113248] FS-Cache: Loaded
[    1.113444] CacheFiles: Loaded
[    1.114631] simple-framebuffer 3e3cf000.framebuffer: framebuffer at 0x3e3cf000, 0x7f8000 bytes, mapped to 0x(ptrval)
[    1.114652] simple-framebuffer 3e3cf000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    1.115135] Console: switching to colour frame buffer device 240x67
[    1.125342] simple-framebuffer 3e3cf000.framebuffer: fb0: simplefb registered!
[    1.135098] NET: Registered protocol family 2
[    1.135329] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.136580] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.136622] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.136781] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.136853] TCP: Hash tables configured (established 8192 bind 8192)
[    1.137007] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.137042] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.137318] NET: Registered protocol family 1
[    1.138013] RPC: Registered named UNIX socket transport module.
[    1.138029] RPC: Registered udp transport module.
[    1.138044] RPC: Registered tcp transport module.
[    1.138059] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.138082] PCI: CLS 0 bytes, default 64
[    1.141148] Initialise system trusted keyrings
[    1.141395] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    1.149749] zbud: loaded
[    1.151879] FS-Cache: Netfs 'nfs' registered for caching
[    1.152651] NFS: Registering the id_resolver key type
[    1.152688] Key type id_resolver registered
[    1.152704] Key type id_legacy registered
[    1.152834] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.152850] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.153877] Key type asymmetric registered
[    1.153894] Asymmetric key parser 'x509' registered
[    1.154086] bounce: pool size: 64 pages
[    1.154170] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.154376] io scheduler mq-deadline registered
[    1.154392] io scheduler kyber registered
[    1.158738] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.158770] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.158850] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.158938] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    1.216245] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.216643] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.216664] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.216685] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.216786] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.217026] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.220508] PCI: bus0: Fast back to back transfers disabled
[    1.220880] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.221008] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.221440] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.224943] PCI: bus1: Fast back to back transfers disabled
[    1.225005] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.225030] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.225113] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.225139] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.225542] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.225772] pcieport 0000:00:00.0: PME: Signaling with IRQ 64
[    1.231819] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.232703] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[    1.235283] iproc-rng200 fe104000.rng: hwrng registered
[    1.235603] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.236482] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.248522] brd: module loaded
[    1.260740] loop: module loaded
[    1.262513] Loading iSCSI transport class v2.0-870.
[    1.265797] libphy: Fixed MDIO Bus: probed
[    1.267536] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.284194] libphy: bcmgenet MII bus: probed
[    1.374295] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.375465] usbcore: registered new interface driver r8152
[    1.375533] usbcore: registered new interface driver lan78xx
[    1.375603] usbcore: registered new interface driver smsc95xx
[    1.377212] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[    1.377373] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.377407] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.380895] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000060000000890
[    1.382230] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.382249] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.382267] usb usb1: Product: xHCI Host Controller
[    1.382284] usb usb1: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
[    1.382300] usb usb1: SerialNumber: 0000:01:00.0
[    1.383022] hub 1-0:1.0: USB hub found
[    1.383122] hub 1-0:1.0: 1 port detected
[    1.383799] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.383826] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.383852] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.384433] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    1.384452] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.384469] usb usb2: Product: xHCI Host Controller
[    1.384486] usb usb2: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
[    1.384502] usb usb2: SerialNumber: 0000:01:00.0
[    1.385231] hub 2-0:1.0: USB hub found
[    1.385306] hub 2-0:1.0: 4 ports detected
[    1.387038] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.387367] dwc_otg: FIQ enabled
[    1.387382] dwc_otg: NAK holdoff enabled
[    1.387396] dwc_otg: FIQ split-transaction FSM enabled
[    1.387414] Module dwc_common_port init
[    1.387862] usbcore: registered new interface driver uas
[    1.387970] usbcore: registered new interface driver usb-storage
[    1.388163] mousedev: PS/2 mouse device common for all mice
[    1.389870] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.393314] sdhci: Secure Digital Host Controller Interface driver
[    1.393330] sdhci: Copyright(c) Pierre Ossman
[    1.394042] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.394770] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.398844] ledtrig-cpu: registered to indicate activity on CPUs
[    1.399187] hid: raw HID events driver (C) Jiri Kosina
[    1.399374] usbcore: registered new interface driver usbhid
[    1.399389] usbhid: USB HID core driver
[    1.405108] Initializing XFRM netlink socket
[    1.405152] NET: Registered protocol family 17
[    1.405274] Key type dns_resolver registered
[    1.405729] Registering SWP/SWPB emulation handler
[    1.405922] registered taskstats version 1
[    1.405951] Loading compiled-in X.509 certificates
[    1.406881] Key type ._fscrypt registered
[    1.406898] Key type .fscrypt registered
[    1.406913] Key type fscrypt-provisioning registered
[    1.418462] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.418761] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.418836] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    1.426160] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[    1.426947] printk: console [ttyS0] disabled
[    1.427075] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 37, base_baud = 62500000) is a 16550
[    1.427277] printk: console [ttyS0] enabled
[    1.428259] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.429313] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.429331] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.459592] of_cfs_init
[    1.459857] of_cfs_init: OK
[    1.481282] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.482988] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.484694] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.487757] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.489462] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.497446] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.498104] Waiting for root device PARTUUID=b9db7205-02...
[    1.571866] mmc1: new high speed SDIO card at address 0001
[    1.603751] mmc0: new ultra high speed DDR50 SDHC card at address 59b4
[    1.604634] mmcblk0: mmc0:59b4 SDU1  29.6 GiB
[    1.606571]  mmcblk0: p1 p2
[    1.623607] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.623680] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.628503] devtmpfs: mounted
[    1.638325] Freeing unused kernel memory: 2048K
[    1.664190] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.684488] Run /sbin/init as init process
[    1.684503]   with arguments:
[    1.684518]     /sbin/init
[    1.684532]     splash
[    1.684547]   with environment:
[    1.684561]     HOME=/
[    1.684575]     TERM=linux
[    1.846822] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.846842] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.846861] usb 1-1: Product: USB2.0 Hub
[    1.848898] hub 1-1:1.0: USB hub found
[    1.849208] hub 1-1:1.0: 4 ports detected
[    2.174210] usb 1-1.4: new full-speed USB device number 3 using xhci_hcd
[    2.332208] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    2.332229] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.332246] usb 1-1.4: Product: FT231X USB UART
[    2.332263] usb 1-1.4: Manufacturer: FTDI
[    2.332279] usb 1-1.4: SerialNumber: D309M352
[    7.293571] systemd[1]: System time before build time, advancing clock.
[    7.393441] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    7.395071] systemd[1]: Detected architecture arm.
[    7.457777] systemd[1]: Set hostname to <PiMeteo>.
[    8.140386] systemd[1]: /etc/systemd/system/anydesk.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/anydesk.pid → /run/anydesk.pid; please update the unit file accordingly.
[    8.200363] random: systemd: uninitialized urandom read (16 bytes read)
[    8.211830] random: systemd: uninitialized urandom read (16 bytes read)
[    8.212757] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.213066] random: systemd: uninitialized urandom read (16 bytes read)
[    8.213603] systemd[1]: Listening on udev Kernel Socket.
[    8.213763] systemd[1]: Reached target Swap.
[    8.214384] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.215156] systemd[1]: Listening on udev Control Socket.
[    8.218347] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    9.030704] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    9.118790] systemd-journald[113]: Received request to flush runtime journal from PID 1
[   13.465316] random: crng init done
[   13.465337] random: 7 urandom warning(s) missed due to ratelimiting
[   13.769143] uart-pl011 fe201000.serial: no DMA platform data
[   14.588523] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   14.589026] bcmgenet fd580000.ethernet eth0: Link is Down
[   15.035652] Adding 102396k swap on /var/swap.  Priority:-2 extents:5 across:143356k SSFS
[   18.714472] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[56543.148991] usb 1-1.4: USB disconnect, device number 3
[56604.597374] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[56604.745456] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[56604.745478] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[56604.745497] usb 1-1.4: Product: FT231X USB UART
[56604.745514] usb 1-1.4: Manufacturer: FTDI
[56604.745530] usb 1-1.4: SerialNumber: D309M352
pi@PiMeteo:~ $

Le 04-03-23 à 22:01, vince a écrit :

vince

unread,
Mar 5, 2023, 12:34:03 PM3/5/23
to weewx-user
[56543.148991] usb 1-1.4: USB disconnect, device number 3
[56604.597374] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[56604.745456] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[56604.745478] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[56604.745497] usb 1-1.4: Product: FT231X USB UART
[56604.745514] usb 1-1.4: Manufacturer: FTDI
[56604.745530] usb 1-1.4: SerialNumber: D309M352

pi@PiMeteo:~ $ lsusb 

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub


So the pi is seeing the device, but it is not allocating a tty in /dev to it.
You might just need to insmod a kernel module so it assigns a device in /dev to it.

Check your 'lsmod' output and see if the ftdi_sio device is loaded.  If not, load it with 'insmod' and see if that helps.

Blaise Cacramp

unread,
Mar 5, 2023, 1:02:09 PM3/5/23
to weewx...@googlegroups.com
"lsmod" does not see much.
And when I try this with "insmod", it's not terrible.
Sorry, I'm far from being a Linuxien guru

pi@PiMeteo:~ $ lsmod
Module                  Size  Used by

---------------------------------------

pi@PiMeteo:~ $ insmod /dev/ttyUSB0
insmod: ERROR: could not load module /dev/ttyUSB0: No such file or directory

Le 05-03-23 à 18:34, vince a écrit :

vince

unread,
Mar 7, 2023, 9:32:06 PM3/7/23
to weewx-user
Sorry - I did not see your reply.

Try "sudo modprobe ftdi_sio"

Then run 'sudo dmesg' again and see if it attached a device in /dev successfully...

Blaise Cacramp

unread,
Mar 8, 2023, 9:53:13 AM3/8/23
to weewx...@googlegroups.com

Well, anyway I was not at home and almost without internet.
Unanswered, I was going to start doing research elsewhere on the web.
Well, it still doesn't work:

pi@PiMeteo:~ $ sudo modprobe ftdi_sio
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.10.63-v7l+/modules.dep.bin'
modprobe: FATAL: Module ftdi_sio not found in directory /lib/modules/5.10.63-v7l+

Le 08-03-23 à 03:32, vince a écrit :
sudo modprobe ftdi_sio

vince

unread,
Mar 8, 2023, 12:37:36 PM3/8/23
to weewx-user
You have a very old os and python version from your logs and this thread.  It is far simpler to just put a new SD card in and start over on a clean installation.

A longer description and possible fix is in https://forums.raspberrypi.com/viewtopic.php?t=262963#p1601067 

My recommendation is to just flash a new SD card with current RaspiOS and start over.  That only takes a few minutes and is known to work.

Blaise Cacramp

unread,
Mar 8, 2023, 2:02:16 PM3/8/23
to weewx...@googlegroups.com
Thank you,

but is this procedure no longer sure to keep the database and the
customization of the skin

Le 08-03-23 à 18:37, vince a écrit :

vince

unread,
Mar 8, 2023, 2:48:27 PM3/8/23
to weewx-user
Sigh - best I can do then is to say to try "sudo apt-get update" and "sudo apt-get upgrade -y" and hope it helps.

Or try the suggestion in the link I provided to the Raspberry Pi forums.

Warren Gill

unread,
Mar 8, 2023, 3:05:06 PM3/8/23
to weewx...@googlegroups.com
It's very easy to make a backup, including all your customizations and database, store them offsite, and restore on top of a new installation (as long as they are the same weewx version)

--
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 weewx-user+...@googlegroups.com.

Blaise Cacramp

unread,
Mar 8, 2023, 3:07:36 PM3/8/23
to weewx...@googlegroups.com
Sorry to have bothered you (your sigh)
I have been self-taught since 1978. With my financial means, I learned
to program on a Ti-57 (49 programming step!) Then a pokcet-PC limited to
2 kB and 26 variables. We learn to be concise.
But you know like me that IT is vast. And that you cannot be competent
in everything.
Thank you for your help and to animate this group.

Le 08-03-23 à 20:48, vince a écrit :
> Sigh

vince

unread,
Mar 8, 2023, 3:56:42 PM3/8/23
to weewx-user
Not a problem. 

Yes, the operating system learning curve can be painful if you are using unusual hardware.

In your case, your FTDI adaptor seems to be the problem, as it requires an extra kernel module to be enabled.  If you instead used a PL2303 compatible serial adaptor it would have worked fine the first time with no customization required.

So your choices are:
  • buy a PL2303 serial adaptor and use that as your hardware
  • or update your os to current and hope the module will modprobe successfully
  • or try to follow the link I provided with what seems to be one way to get the modprobe to work
  • or reflash your os to current, after saving your setup someplace and restoring it so you don't lose your skin customizations
Warren provided a link to how to backup and restore your configuration in his reply.  Eventually you will need to know how to do that no matter how you solve today's problem.

(hope the translation works ok)

Blaise Cacramp

unread,
Mar 9, 2023, 2:36:24 AM3/9/23
to weewx...@googlegroups.com

Hello this good morning

Here, it's +/- relaunched : There are 6 errors of this type there: ERROR weewx.manager: Unable to add record 2023-03-07 20:25:00 CET (1678217100) to database 'weewx': (1062, "Duplicate entry '1678217100' for key 'PRIMARY'")

How to fix this?

Have I lost more than a week of recordings?

Thank you already for your good will

Note: I cut the MQTT so as not to clutter the report even more


Mar  9 07:37:13 PiMeteo weewx[5424]: Stopping weewx weather system: weewx.
Mar  9 07:37:13 PiMeteo systemd[1]: weewx.service: Succeeded.
Mar  9 07:37:13 PiMeteo systemd[1]: Stopped LSB: weewx weather system.
Mar  9 07:37:13 PiMeteo systemd[1]: Starting LSB: weewx weather system...
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Initializing weewx version 4.10.2
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Using Python 3.7.3 (default, Oct 31 2022, 14:04:00) #012[GCC 8.3.0]
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Located at /bin/python3
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Platform Linux-5.10.103-v7l+-armv7l-with-debian-10.13
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Locale is 'fr_BE.UTF-8'
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: Debug is 1
Mar  9 07:37:13 PiMeteo weewx[5455] INFO __main__: PID file is /var/run/weewx.pid
Mar  9 07:37:13 PiMeteo weewx[5459] DEBUG __main__: Initializing engine
Mar  9 07:37:13 PiMeteo weewx[5459] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar  9 07:37:13 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Driver version is 3.5.2
Mar  9 07:37:13 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Option loop_request=1
Mar  9 07:37:13 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Mar  9 07:37:13 PiMeteo weewx[5444]: Starting weewx weather system: weewx.
Mar  9 07:37:13 PiMeteo systemd[1]: Started LSB: weewx weather system.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Hardware type is 16
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: ISS ID is 1
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: StdConvert target unit is 0x10
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: Archive will use data binding wx_binding
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: Record generation will be attempted in 'hardware'
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: StationRegistry: Registration not requested.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: Wunderground: Posting not enabled.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: PWSweather: Posting not enabled.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: CWOP: Posting not enabled.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: WOW: Posting not enabled.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.restx: AWEKAS: Posting not enabled.
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service user.mqtt.MQTT
Mar  9 07:37:14 PiMeteo weewx[5459] INFO user.mqtt: service version is 0.24
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.restx: MQTT: Data will not be posted: Missing option 'server_url'
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service user.mqtt.MQTT
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Mar  9 07:37:14 PiMeteo weewx[5459] INFO __main__: Starting up weewx version 4.10.2
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: Clock error is 0.18 seconds (positive is fast)
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx'
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.manager: Starting backfill of daily summaries
Mar  9 07:37:14 PiMeteo weewx[5459] INFO weewx.manager: Daily summaries up to date
Mar  9 07:37:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-03-07 20:10:00 CET (1678216200)
Mar  9 07:37:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:37:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Retrieving 37 page(s); starting index= 0
Mar  9 07:37:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Empty record page 0; index 0
Mar  9 07:37:15 PiMeteo weewx[5459] INFO weewx.engine: Starting main packet loop.
Mar  9 07:37:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:37:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar  9 07:37:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:39:01 PiMeteo CRON[5480]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  9 07:39:01 PiMeteo systemd[1]: Starting Clean php session files...
Mar  9 07:39:02 PiMeteo systemd[1]: phpsessionclean.service: Succeeded.
Mar  9 07:39:02 PiMeteo systemd[1]: Started Clean php session files.
Mar  9 07:40:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-03-07 20:10:00 CET (1678216200)
Mar  9 07:40:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:40:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Retrieving 513 page(s); starting index= 1
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:20:00 CET (1678216800) to database 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:20:00 CET (1678216800) to daily summary in 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:25:00 CET (1678217100) to database 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:25:00 CET (1678217100) to daily summary in 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:30:00 CET (1678217400) to database 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:30:00 CET (1678217400) to daily summary in 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:35:00 CET (1678217700) to database 'weewx'
Mar  9 07:40:15 PiMeteo weewx[5459] INFO weewx.manager: Added record 2023-03-07 20:35:00 CET (1678217700) to daily summary in 'weewx'
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Empty record page 1; index 0
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running reports for latest time in the database.
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.cheetahgenerator: Using search list ['user.time_since.TimeSince', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:40:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:40:19 PiMeteo weewx[5459] INFO weewx.cheetahgenerator: Generated 10 files for report SeasonsReport in 2.87 seconds
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:40:19 PiMeteo weewx[5459] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.68 seconds
Mar  9 07:40:19 PiMeteo weewx[5459] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'FTP'
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Attempting connection to ftp.cluster012.hosting.ovh.net
Mar  9 07:40:19 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Connected to ftp.cluster012.hosting.ovh.net
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 0 ./daytempdew.png 0f3d586c56f2728d19c2f5a895687a3b71b8bb963a3a6c1c110194792dcad70d
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempdew.png to /www/meteo/daytempdew.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 1 ./dayhumin.png 5f9c9e173f3b154ef42150e418d19b3e64376aa3e23d1b78d7bbcc97670627b1
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayhumin.png to /www/meteo/dayhumin.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 2 ./daytempfeel.png 55c14fecd697dbb1eab8096e397b598c8c5583e431324e8e7f59d126bdce28d7
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempfeel.png to /www/meteo/daytempfeel.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 3 ./daywinddir.png 2a0d4a998f2d943963c7ffac806d61ac8e18051e2c5a4524be166cb31b341874
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywinddir.png to /www/meteo/daywinddir.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 4 ./dayrain.png 36bd8ab19e6ae862d22852f50eb2b48952ce67f047834457d67bbfd131548ed3
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayrain.png to /www/meteo/dayrain.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 5 ./daytemp.png c569354075701542324e2d2f5cd93f44f0e17cc6188906407b61562de86bc4f7
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytemp.png to /www/meteo/daytemp.png
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 6 ./rss.xml 3e54f10c7fc2e61763843878c913aa12601ac897868f330931e5223778f00e28
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/rss.xml to /www/meteo/rss.xml
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 7 ./telemetry.html c135f5bb1cf0e4a115ead5d5dacd55de005d84cb84bba7e7b7d75096a9455b57
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/telemetry.html to /www/meteo/telemetry.html
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 8 ./index.html 63590cfbaf62a0b660b21f24bc0fa9c8af08483d46d58eaa1275efd5038fa88f
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/index.html to /www/meteo/index.html
Mar  9 07:40:20 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 9 ./daybarometer.png 59ef9ce9f8c82aea799795e70f9f8cfc2667ac64aefca776498670f0459cf6d9
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daybarometer.png to /www/meteo/daybarometer.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 10 ./daywind.png 37c57bbd6ce91d085d20c23e9a2ef484c45afd2695a2d049929cc7cb68d20a37
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywind.png to /www/meteo/daywind.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 11 ./dayradiation.png 0b0da6e60abc6675f70ba72ecf03a50ff68c265086fcb58851dd5ce5ab7922f0
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayradiation.png to /www/meteo/dayradiation.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 12 ./dayuv.png 1cf288a75b2cebe515353652084b7b22292550ef645c430cea813b5b59652c26
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayuv.png to /www/meteo/dayuv.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 13 ./heure.html 902cb1335aed0821c5619bfb24a92d996240af41f1e891c5624555faf22c21b2
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/heure.html to /www/meteo/heure.html
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 14 ./dayvolt.png ca8f499afbe6cb9dca5259633ce80c25592d803bc5b5b22e63a0a612eead0e8f
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayvolt.png to /www/meteo/dayvolt.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 15 ./statistics.html 07dac084cc34ed622573b0577c5e9ebe9ca18259324273c407b67ca00c42f61d
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/statistics.html to /www/meteo/statistics.html
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 16 ./dayhum.png 4ec7db05f7c763ae70afd3cc88e9ec6d4151d17d8846c7c70761b0fe8f63a32e
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayhum.png to /www/meteo/dayhum.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 17 ./tabular.html 87b61ab9db65cf26140a1d71d634da9d63608c2ef985a7e354aebed4d25596a6
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/tabular.html to /www/meteo/tabular.html
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 18 ./celestial.html e6bf00969bf0777ad31e6f1b60a4cfe3c2723060020ee0a005dc42c531be83e9
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/celestial.html to /www/meteo/celestial.html
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 19 ./daytempin.png e5b1534de90319a092e2b6637233175eff03d4fba1f5a87821d981f5d7b37a4c
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempin.png to /www/meteo/daytempin.png
Mar  9 07:40:21 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 20 ./dayrx.png 1971630865385b94d279b37f37f90dad3c8d16cb6ee1c03f21203bc4d5d7a548
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayrx.png to /www/meteo/dayrx.png
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 21 ./daywindvec.png e546bac403648b3d21733d8338820a1bdc67a5670b1d7e51d45ad6a03da4ac4b
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywindvec.png to /www/meteo/daywindvec.png
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 22 ./NOAA/NOAA-2023.txt 70952be8b07c8fb6177920532cd7d146929152de8036dbcbc7e367bf513fbab4
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/NOAA/NOAA-2023.txt to /www/meteo/NOAA/NOAA-2023.txt
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 23 ./NOAA/NOAA-2023-03.txt 6e6cb7f6902a9cfe62a745d55e35054ffc7b655d377e42a9fb208e45c3e2ef39
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/NOAA/NOAA-2023-03.txt to /www/meteo/NOAA/NOAA-2023-03.txt
Mar  9 07:40:22 PiMeteo weewx[5459] INFO weewx.reportengine: ftpgenerator: Ftp'd 24 files in 2.57 seconds
Mar  9 07:40:22 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Mar  9 07:41:01 PiMeteo CRON[5537]: (root) CMD (php /home/pi/MB_WeeWX/meteobelgique.php > /dev/null )
Mar  9 07:45:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-03-07 20:35:00 CET (1678217700)
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Retrieving 513 page(s); starting index= 2
Mar  9 07:45:15 PiMeteo weewx[5459] ERROR weewx.manager: Unable to add record 2023-03-07 20:25:00 CET (1678217100) to database 'weewx': (1062, "Duplicate entry '1678217100' for key 'PRIMARY'")
Mar  9 07:45:15 PiMeteo weewx[5459] ERROR weewx.manager: Unable to add record 2023-03-07 20:30:00 CET (1678217400) to database 'weewx': (1062, "Duplicate entry '1678217400' for key 'PRIMARY'")
Mar  9 07:45:15 PiMeteo weewx[5459] ERROR weewx.manager: Unable to add record 2023-03-07 20:35:00 CET (1678217700) to database 'weewx': (1062, "Duplicate entry '1678217700' for key 'PRIMARY'")
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Empty record page 1; index 0
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running reports for latest time in the database.
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.cheetahgenerator: Using search list ['user.time_since.TimeSince', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Mar  9 07:45:15 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:45:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:45:16 PiMeteo weewx[5459] INFO weewx.cheetahgenerator: Generated 10 files for report SeasonsReport in 1.08 seconds
Mar  9 07:45:16 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:45:17 PiMeteo weewx[5459] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.63 seconds
Mar  9 07:45:17 PiMeteo weewx[5459] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'FTP'
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Attempting connection to ftp.cluster012.hosting.ovh.net
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Connected to ftp.cluster012.hosting.ovh.net
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 0 ./index.html 46f27dee40b959cf5831626cefcfa9563cfc7c6cb578f150b124d94be52ed791
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/index.html to /www/meteo/index.html
Mar  9 07:45:17 PiMeteo weewx[5459] INFO weewx.reportengine: ftpgenerator: Ftp'd 1 files in 0.33 seconds
Mar  9 07:45:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Mar  9 07:50:14 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-03-07 20:35:00 CET (1678217700)
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Retrieving 513 page(s); starting index= 3
Mar  9 07:50:15 PiMeteo weewx[5459] ERROR weewx.manager: Unable to add record 2023-03-07 20:30:00 CET (1678217400) to database 'weewx': (1062, "Duplicate entry '1678217400' for key 'PRIMARY'")
Mar  9 07:50:15 PiMeteo weewx[5459] ERROR weewx.manager: Unable to add record 2023-03-07 20:35:00 CET (1678217700) to database 'weewx': (1062, "Duplicate entry '1678217700' for key 'PRIMARY'")
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Empty record page 1; index 0
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running reports for latest time in the database.
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.cheetahgenerator: Using search list ['user.time_since.TimeSince', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Mar  9 07:50:15 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:50:16 PiMeteo weewx[5459] DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Mar  9 07:50:16 PiMeteo weewx[5459] INFO weewx.cheetahgenerator: Generated 10 files for report SeasonsReport in 1.07 seconds
Mar  9 07:50:16 PiMeteo weewx[5459] DEBUG weewx.manager: Daily summary version is 4.0
Mar  9 07:50:17 PiMeteo weewx[5459] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.61 seconds
Mar  9 07:50:17 PiMeteo weewx[5459] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Running report 'FTP'
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Attempting connection to ftp.cluster012.hosting.ovh.net
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring.
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Connected to ftp.cluster012.hosting.ovh.net
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: 0 ./index.html 4b41ce2de78de9603602fb88593dc7f4b6c0e9c72637e80c8c1761f63aee1c80
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/index.html to /www/meteo/index.html
Mar  9 07:50:17 PiMeteo weewx[5459] INFO weewx.reportengine: ftpgenerator: Ftp'd 1 files in 0.33 seconds
Mar  9 07:50:17 PiMeteo weewx[5459] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.




Reply all
Reply to author
Forward
0 new messages