Strange. I want to use the driver in my 'production'-environment, and got this error. Any clue? As on my 'test'-environment it is running okay.
Jul 12 18:03:16 weewx weewx[907239] INFO __main__: Using configuration file /etc/weewx/weewx.conf Jul 12 18:03:16 weewx weewx[907239] INFO __main__: Debug is 1 Jul 12 18:03:16 weewx weewx[907239] DEBUG __main__: Initializing engine Jul 12 18:03:16 weewx weewx[907239] INFO weewx.engine: Loading station type WeatherLinkLiveUDP (user.weatherlinkliveudp) Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: Caught OSError: [Errno 98] Address already in use Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** Traceback (most recent call last): Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** File "/usr/share/weewx/weewxd", line 148, in main Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** engine = weewx.engine.StdEngine(config_dict) Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 69, in __init__ Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** self.setupStation(config_dict) Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 92, in setupStation Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** __import__(driver) Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** File "/usr/share/weewx/user/weatherlinkliveudp.py", line 50, in <module> Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** comsocket.bind(('', 22222)) Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** OSError: [Errno 98] Address already in use Jul 12 18:03:16 weewx weewx[907239] CRITICAL __main__: **** Waiting 10 seconds then retrying... Driver: maarten@weewx:/usr/share/weewx/user$ ls -las total 184 4 drwxr-xr-x 4 root root 4096 Jul 12 18:07 . 4 drwxr-xr-x 11 root root 4096 Jun 2 11:15 .. 112 -rw-rw-r-- 1 root root 112300 May 27 19:54 belchertown.py 4 -rw-rw-r-- 1 root root 1795 Jul 10 11:36 calcdrought.py 4 -rw-r--r-- 1 root root 541 May 25 21:10 extensions.py 4 -rw-r--r-- 1 root root 306 Jun 2 00:16 __init__.py 4 drwxr-xr-x 7 root root 4096 Jul 12 18:00 installer 4 -rw-r--r-- 1 root root 3857 Jun 3 12:17 lastrain.py 20 -rw-r--r-- 1 root root 19742 May 27 15:25 mqtt.py 4 drwxr-xr-x 2 root root 4096 Jul 12 18:00 __pycache__ 20 -rw-r--r-- 1 root root 16841 Jul 12 18:00 weatherlinkliveudp.py Conf: <cut> # station_type = Vantage station_type = WeatherLinkLiveUDP <cut> ############################################################################## [WeatherLinkLiveUDP] wll_ip = 192.168.2.33 poll_interval = 10 driver = user.weatherlinkliveudp extra_id = 3 Op woensdag 8 juli 2020 om 19:37:41 UTC+2 schreef Maarten van der Hoeven: > Hi, > > I've been testing with the driver for a couple of days now, and all data > is looking fine. I didnt see any strange deviation from the data that comes > from your driver, and the data that comes from my WeatherLink IP (set up in > another environment). > > So, it look good! > > > Op dinsdag 7 juli 2020 om 23:07:46 UTC+2 schreef Maarten van der Hoeven: > >> Yes, now the csv (although still empty) is created in the 'root'-dir. No >> need for tmp anymore >> >> maarten@ubuntu:~/weatherlink$ ls -las >> total 36 >> 4 drwxrwxr-x 2 maarten maarten 4096 Jul 7 23:06 . >> 4 drwxr-xr-x 24 maarten maarten 4096 Jul 7 21:41 .. >> 0 -rw-rw-r-- 1 maarten maarten 0 Jul 7 23:06 davis1594155999.csv >> 8 -rw-r--r-- 1 maarten maarten 7282 Jul 7 21:43 davis-csv.conf >> 4 -rw-r--r-- 1 maarten maarten 2242 Jul 7 21:31 README.md >> 16 -rw-r--r-- 1 maarten maarten 13259 Jul 7 22:53 weewx_weatherlink >> >> >> Op dinsdag 7 juli 2020 om 22:54:33 UTC+2 schreef Bastiaan Meelberg: >> >>> Somehow the tmp/ dir is not created. I dropped the tmp for now. Can you >>> try again? >>> >>> >>> >>> On Tuesday, July 7, 2020 at 9:57:43 PM UTC+2, Maarten van der Hoeven >>> wrote: >>>> >>>> Okay, have played with it. >>>> >>>> First I needed to create a tmp-directory. Without it, the csv-file >>>> cannot be created. >>>> Started the importer to import one single day: 2020-01-01. It creates >>>> an empty csv-file >>>> >>>> >>>> -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/a1678741-d810-4c38-bf81-a9ec65ff5c4en%40googlegroups.com.