Hi Guys, I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, and soil and leaf sensors.
got a website at Meteo Sint-Katelijne-Waver, Belgium (sint-katelijne-waver-meteo.be) <https://www.sint-katelijne-waver-meteo.be/template/indexDesktop.php> so finally i'm getting some data in at var/www/html/weewx/index.html. using for the moment vantage pro 2 iplink, i have also wll, thats for later. but when i start weewx i get a lot of errors see attachment. next thing is to send it to my website, i'm missing something... thanks Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem: > hey Guys, > > I'm trying weewx for the first time, no experience in python, a little bit > in php > > done the setup as required. > > running ubuntu as a virtual machine on windows, want to check it out > before i buy a raspberry. > > problems: in the config file I see a lot of setups which I dont get when > performing the the how to. > > sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth pole > default thing. > > and sudo ./bin/weewxd doesn't exist??? > > although i configured the config manually and copied it. > > what files do you want to troubleshout? > > I've set up a cumulusMX, pwsWD and a meteotemplate website, so this should > work too? > > Bare with me please, > > THX > > alex > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a03198e9-b36a-4b1f-9c1d-50d6bb1183dcn%40googlegroups.com.
oot@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start sudo: /etc/init.d/weewx: command not found root@LAPTOP-M848VS7O:~# sudo apt-get install weewx Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite httpd The following NEW packages will be installed: weewx 0 upgraded, 1 newly installed, 0 to remove and 277 not upgraded. Need to get 0 B/1838 kB of archives. After this operation, 6144 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package weewx. (Reading database ... 39374 files and directories currently installed.) Preparing to unpack .../archives/weewx_4.9.1-1_all.deb ... Unpacking weewx (4.9.1-1) ... Setting up weewx (4.9.1-1) ... invoke-rc.d: could not determine current runlevel Processing triggers for systemd (245.4-4ubuntu3) ... root@LAPTOP-M848VS7O:~# sudo tail -f /var/log/syslog tail: cannot open '/var/log/syslog' for reading: No such file or directory tail: no files remaining root@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start * Starting weewx weather system weewx --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 101, in main log.info("Initializing weewx version %s", weewx.__version__) Message: 'Initializing weewx version %s' Arguments: ('4.9.1',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 102, in main log.info("Using Python %s", sys.version) Message: 'Using Python %s' Arguments: ('3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 103, in main log.info("Located at %s", sys.executable) Message: 'Located at %s' Arguments: ('/bin/python3',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 104, in main log.info("Platform %s", platform.platform()) Message: 'Platform %s' Arguments: ('Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 105, in main log.info("Locale is '%s'", locale.setlocale(locale.LC_ALL)) Message: "Locale is '%s'" Arguments: ('C.UTF-8',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 106, in main log.info("Using configuration file %s", config_path) Message: 'Using configuration file %s' Arguments: ('/etc/weewx/weewx.conf',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 107, in main log.info("Debug is %s", weewx.debug) Message: 'Debug is %s' Arguments: (0,) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/usr/lib/python3.8/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory Call stack: File "/usr/share/weewx/weewxd", line 249, in <module> main() File "/usr/share/weewx/weewxd", line 136, in main log.info("PID file is %s", options.pidfile) Message: 'PID file is %s' Arguments: ('/var/run/weewx.pid',) [ OK ] root@LAPTOP-M848VS7O:~#