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

2023-03-04 Thread PC
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, 1

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

2023-03-04 Thread Tom Keffer
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 seria

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

2023-03-04 Thread Blaise Cacramp
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 : I am guessing that you are trying to connect to a Vantage station through an etherne

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

2023-03-04 Thread PC
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 s

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

2023-03-04 Thread PC
It's a PI4 USB2.0 port at the bottom left Le samedi 4 mars 2023 à 19:18:30 UTC+1, PC a écrit : > 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

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

2023-03-04 Thread vince
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 Dev

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

2023-03-04 Thread Blaise Cacramp
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[3

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

2023-03-04 Thread vince
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. On Saturday, March 4, 2023 at 12:44:41 PM UTC-8 Blaise Cacramp wrote: > I have already tried the 4 ports, without success > > pi@PiMeteo:~ $ sudo geany /e

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

2023-03-05 Thread Blaise Cacramp
Hello and thank you It's very verbose and I don't see anything clear. Here is the 2nd dmesg pi@PiMeteo:~ $ dmesg [    0.00] Booting Linux on physical CPU 0x0 [    0.00] 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

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

2023-03-05 Thread vince
[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,

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

2023-03-05 Thread Blaise Cacramp
"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 /

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

2023-03-07 Thread vince
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... On Sunday, March 5, 2023 at 10:02:09 AM UTC-8 Blaise Cacramp wrote: > "lsmod" does not see much. > And when I try this with "insmod", it's not terr

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

2023-03-08 Thread Blaise Cacramp
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/mod

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

2023-03-08 Thread vince
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

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

2023-03-08 Thread Blaise Cacramp
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 : A longer description and possible fix is in https://forums.raspberrypi.com/viewtopic.php?t=262963#p1601067 -- You received this message because you ar

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

2023-03-08 Thread vince
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. On Wednesday, March 8, 2023 at 11:02:16 AM UTC-8 Blaise Cacramp wrote: > Thank you, > > but is this procedur

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

2023-03-08 Thread Warren Gill
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) Check https://weewx.com/docs/usersguide.htm#backup for details On Wed, Mar 8, 2023 at 1:48 PM vince wrote: >

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

2023-03-08 Thread Blaise Cacramp
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 compe

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

2023-03-08 Thread vince
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

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

2023-03-08 Thread Blaise Cacramp
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 we