Hi Tom, Tnx for quick respond, this is the result,
Source: https://github.com/lheijst/weewx-rtldavis How to diagnose problems First try running the rtldavis application to be sure that it works properly: $GOPATH/bin/rtldavis This works! Be sure that you are capturing data from the sensors you care about. To do this, you might want to experiment with some of the options to rtldavis. Once that is working, run the driver directly to be sure that it is collecting data from the rtldavis application. cd /home/weewx sudo PYTHONPATH=bin python bin/user/rtldavis.py advise Tom K. creates the next error. pi@wsb-meteo:/home/weewx $ sudo PYTHONPATH=bin python3 bin/user/rtldavis.py Traceback (most recent call last): File "bin/user/rtldavis.py", line 1387, in <module> syslog.openlog('rtldavis', syslog.LOG_PID | syslog.LOG_CONS) NameError: name 'syslog' is not defined pi@wsb-meteo:/home/weewx $ I created a rtldavis.log and a rtldavis file in /var/log….. still the same result. ( --help gives same result) when i start pi@wsb-meteo:/home/weewx $ sudo ./bin/weewxd weewx.conf , the already started program $GOPATH/bin/rtldavis –ex 200 will quit. (looks logical because sudo ./bin/weewxd weewx.conf starts the same program) that’s why I tried the following troubleshooting: In the weewx configuration file, enter the Rtldavis options (if necessary). Then run weewx directly in one shell while you monitor the weewx log in a separate shell: in shell 1: cd /home/weewx sudo ./bin/weewxd weewx.conf in shell 2: tail -f /var/log/syslog *After aprox. 5 minutes with sudo ./bin/weewxd weewx.conf the program quit.* *Shell 1) * LOOP: 2020-10-14 20:00:02 CEST (1602698402) consBatteryVoltage: 0, dateTime: 1602698402, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 1 LOOP: 2020-10-14 20:00:20 CEST (1602698420) consBatteryVoltage: 0, dateTime: 1602698420, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 1 After approx. 5 minutes the program stops Traceback (most recent call last): File "/home/weewx/bin/weewx/engine.py", line 195, in run self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet)) File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent callback(event) File "/home/weewx/bin/weewx/engine.py", line 578, in check_loop raise BreakLoop weewx.engine.BreakLoop During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/weewx/bin/weewx/engine.py", line 594, in post_loop self._catchup(self.engine.console.genArchiveRecords) File "/home/weewx/bin/weewx/engine.py", line 638, in _catchup for record in generator(lastgood_ts): File "/home/weewx/bin/weewx/drivers/__init__.py", line 30, in genArchiveRecords raise NotImplementedError("Method 'genArchiveRecords' not implemented") NotImplementedError: Method 'genArchiveRecords' not implemented During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./bin/weewxd", line 261, in <module> main() File "./bin/weewxd", line 154, in main engine.run() File "/home/weewx/bin/weewx/engine.py", line 202, in run self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent callback(event) File "/home/weewx/bin/weewx/engine.py", line 596, in post_loop self._software_catchup() File "/home/weewx/bin/weewx/engine.py", line 658, in _software_catchup origin='software')) File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent callback(event) File "/home/weewx/bin/user/rtldavis.py", line 966, in new_archive_record self._update_summaries() # calculate summaries File "/home/weewx/bin/user/rtldavis.py", line 955, in _update_summaries (total_max_count, total_count, total_missed, self.stats['pct_good_all'])) TypeError: must be real number, not NoneType pi@wsb-meteo:/home/weewx $ * Shell 2) * Result of tail -f /var/log/syslog (after approx 5. Minutes the program shutdown the proces) No wheather station information is captured or logged within the files). Oct 14 19:54:37 wsb-meteo weewx[1704] INFO __main__: Starting up weewx version 4.1.1 Oct 14 19:54:37 wsb-meteo weewx[1704] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Oct 14 19:54:37 wsb-meteo weewx[1704] INFO weewx.manager: Starting backfill of daily summaries Oct 14 19:54:37 wsb-meteo weewx[1704] INFO weewx.engine: Starting main packet loop. Oct 14 19:55:14 wsb-meteo weewx[1704] INFO weewx.manager: Added record 2020-10-14 19:55:00 CEST (1602698100) to database 'weewx' Oct 14 19:55:15 wsb-meteo weewx[1704] INFO weewx.manager: Added record 2020-10-14 19:55:00 CEST (1602698100) to daily summary in 'weewx' Oct 14 19:55:15 wsb-meteo weewx[1704] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.83 seconds Oct 14 19:55:18 wsb-meteo weewx[1704] INFO weewx.imagegenerator: Generated 45 images for report SeasonsReport in 2.66 seconds Oct 14 19:55:18 wsb-meteo weewx[1704] INFO weewx.reportengine: Copied 5 files to /home/weewx/public_html Oct 14 20:00:19 wsb-meteo weewx[1704] INFO weewx.engine: Main loop exiting. Shutting engine down. Oct 14 20:00:19 wsb-meteo weewx[1704] INFO weewx.engine: Shutting down StdReport thread Oct 14 20:00:19 wsb-meteo weewx[1704] INFO user.rtldavis: shutdown process /home/pi/work/bin/rtldavis -ex 200 -tf EU -tr 1 Oct 14 20:00:19 wsb-meteo weewx[1704] INFO user.rtldavis: rtldavis with pid 1708 killed Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: Caught unrecoverable exception: Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** must be real number, not NoneType Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** Traceback (most recent call last): Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** File "/home/weewx/bin/weewx/engine.py", line 195, in run Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet)) Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent Oct 14 20:00:19 wsb-meteo weewx[1704] CRITICAL __main__: **** callback(event) i have no idea why this program stops? i hope anybody can tell me what I did wrong?? tnx /Co Op wo 14 okt. 2020 17:12 schreef Tom Keffer <[email protected]>: > I can't speak to your RTL/SDR problems, but the "No module named > configobj" error is because you are trying to run under python 2. Try this: > > *sudo PYTHONPATH=bin python3 bin/user/rtldavis.py --help* > > > On Wed, Oct 14, 2020 at 5:55 AM Co van der lee <[email protected]> > wrote: > >> Hi all, >> >> I configured RPI with Buster and installed Weewx with install script. >> the location is /home/weewx/ >> http://weewx.com/docs/setup.htm ( WeeWX: Installation using setup.py ) >> I made different installs (MySQL and default sbd DB) >> >> Configuration Weewx is made in simulator mode because i want to use a >> NOOELEC – Nano2+ NESDR RTL SDR device >> >> >> https://www.nooelec.com/store/downloads/dl/file/id/72/product/0/nesdr_installation_manual_for_ubuntu.pdf >> >> i blacklisted the default drivers conform the manual, 1 made another file >> (blacklist.conf) to. >> >> with the command lsusb i see thee device with ID: obda:2838 conform Udev >> setup ( source: git lheijst/rtldavis) >> install driver: >> https://github.com/lheijst/rtldavis >> >> after installing the driver: (some parts ar already done while installing >> the driver, step before) >> https://github.com/lheijst/weewx-rtldavis >> >> test results: >> >> pi@wsb-meteo:/home/weewx $ sudo $GOPATH/bin/rtldavis -ex 200 >> 14:44:29.838227 rtldavis.go VERSION=0.15 >> 14:44:29.838711 tr=1 fc=0 ppm=0 gain=0 maxmissed=51 ex=200 >> receiveWindow=300 actChan=[0] maxChan=1 >> 14:44:29.838950 undefined=false verbose=false disableAfc=false >> deviceString=0 >> 14:44:29.839240 BitRate: 19200 >> 14:44:29.839513 SymbolLength: 14 >> 14:44:29.839749 SampleRate: 268800 >> 14:44:29.839791 Preamble: 1100101110001001 >> 14:44:29.839828 PreambleSymbols: 16 >> 14:44:29.839864 PreambleLength: 224 >> 14:44:29.839901 PacketSymbols: 80 >> 14:44:29.839937 PacketLength: 1120 >> 14:44:29.839973 BlockSize: 512 >> 14:44:29.840009 BufferLength: 2048 >> Found Rafael Micro R820T tuner >> 14:44:30.832430 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 >> Transmitter:0} >> Exact sample rate is: 268800.001367 Hz >> 14:44:31.136851 GetTunerGain: 0 Db >> 14:44:31.138133 SetFreqCorrection 0 ppm Successful >> 14:44:31.145999 Init channels: wait max 17 seconds for a message of each >> transmitter >> Allocating 1 zero-copy buffers >> 14:44:49.085402 Init channels: wait max 17 seconds for a message of each >> transmitter >> 14:44:49.085420 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 >> Transmitter:0} >> 14:45:07.023533 Init channels: wait max 17 seconds for a message of each >> transmitter >> 14:45:07.023559 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 >> Transmitter:0} >> >> *is this ok so far?* >> >> *next test:* >> cd /home/weewx sudo >> ./bin/weewxd weewx.conf >> >> *after some time the system will crash. (10 a 15 minutes)* >> *(output from /var/log/syslog)* >> >> Oct 14 09:01:07 wsb-meteo mtp-probe: checking bus 2, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 09:01:07 wsb-meteo mtp-probe: bus: 2, device: 2 was not an MTP >> device >> Oct 14 09:01:07 wsb-meteo mtp-probe: checking bus 2, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 09:01:07 wsb-meteo mtp-probe: bus: 2, device: 2 was not an MTP >> device >> Oct 14 10:21:00 wsb-meteo mtp-probe: checking bus 2, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb2/2-1" >> Oct 14 10:21:00 wsb-meteo mtp-probe: bus: 2, device: 2 was not an MTP >> device >> Oct 14 10:21:00 wsb-meteo udisksd[592]: udisks daemon version 2.8.1 >> starting >> Oct 14 10:20:59 wsb-meteo udisksd[592]: failed to load module crypto: >> libbd_crypto.so.2: cannot open shared object file: No such file or directory >> Oct 14 10:20:59 wsb-meteo udisksd[592]: failed to load module mdraid: >> libbd_mdraid.so.2: cannot open shared object file: No such file or directory >> Oct 14 10:21:00 wsb-meteo udisksd[592]: Failed to load the 'mdraid' >> libblockdev plugin >> Oct 14 10:21:00 wsb-meteo udisksd[592]: Failed to load the 'crypto' >> libblockdev plugin >> Oct 14 10:21:00 wsb-meteo udisksd[592]: Acquired the name >> org.freedesktop.UDisks2 on the system message bus >> Oct 14 10:21:00 wsb-meteo udisksd[592]: Cleaning up mount point >> /media/cdrom0 (device 11:0 is not mounted) >> Oct 14 10:21:00 wsb-meteo lightdm[711]: Error getting user list from >> org.freedesktop.Accounts: >> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name >> org.freedesktop.Accounts was not provided by any .service files >> Oct 14 10:21:02 wsb-meteo lightdm[803]: Error getting user list from >> org.freedesktop.Accounts: >> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name >> org.freedesktop.Accounts was not provided by any .service files >> Oct 14 10:21:03 wsb-meteo udisksd[592]: Mounted /dev/sr0 (system) at >> /media/cdrom0 on behalf of uid 1000 >> Oct 14 10:22:13 wsb-meteo mtp-probe: checking bus 1, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1" >> Oct 14 10:22:13 wsb-meteo mtp-probe: bus: 1, device: 2 was not an MTP >> device >> Oct 14 10:22:13 wsb-meteo mtp-probe: checking bus 1, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1" >> Oct 14 10:22:13 wsb-meteo mtp-probe: bus: 1, device: 2 was not an MTP >> device >> Oct 14 12:05:06 wsb-meteo mtp-probe: checking bus 1, device 3: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1" >> Oct 14 12:05:06 wsb-meteo mtp-probe: bus: 1, device: 3 was not an MTP >> device >> Oct 14 12:05:06 wsb-meteo mtp-probe: checking bus 1, device 3: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1" >> Oct 14 12:05:06 wsb-meteo mtp-probe: bus: 1, device: 3 was not an MTP >> device >> Oct 14 12:28:03 wsb-meteo udisksd[592]: udisks daemon version 2.8.1 >> exiting >> Oct 14 12:28:21 wsb-meteo mtp-probe: checking bus 1, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb1/1-1" >> Oct 14 12:28:21 wsb-meteo mtp-probe: bus: 1, device: 2 was not an MTP >> device >> Oct 14 12:28:21 wsb-meteo mtp-probe: checking bus 2, device 2: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 12:28:21 wsb-meteo mtp-probe: bus: 2, device: 2 was not an MTP >> device >> Oct 14 12:28:21 wsb-meteo udisksd[607]: udisks daemon version 2.8.1 >> starting >> Oct 14 12:28:21 wsb-meteo udisksd[607]: failed to load module crypto: >> libbd_crypto.so.2: cannot open shared object file: No such file or directory >> Oct 14 12:28:21 wsb-meteo udisksd[607]: failed to load module mdraid: >> libbd_mdraid.so.2: cannot open shared object file: No such file or directory >> Oct 14 12:28:21 wsb-meteo udisksd[607]: Failed to load the 'mdraid' >> libblockdev plugin >> Oct 14 12:28:21 wsb-meteo udisksd[607]: Failed to load the 'crypto' >> libblockdev plugin >> Oct 14 12:28:21 wsb-meteo udisksd[607]: Acquired the name >> org.freedesktop.UDisks2 on the system message bus >> Oct 14 12:28:22 wsb-meteo udisksd[607]: Cleaning up mount point >> /media/cdrom0 (device 11:0 is not mounted) >> Oct 14 12:28:22 wsb-meteo lightdm[714]: Error getting user list from >> org.freedesktop.Accounts: >> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name >> org.freedesktop.Accounts was not provided by any .service files >> Oct 14 12:28:23 wsb-meteo lightdm[810]: Error getting user list from >> org.freedesktop.Accounts: >> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name >> org.freedesktop.Accounts was not provided by any .service files >> Oct 14 12:28:25 wsb-meteo udisksd[607]: Mounted /dev/sr0 (system) at >> /media/cdrom0 on behalf of uid 1000 >> Oct 14 13:17:50 wsb-meteo mtp-probe: checking bus 2, device 3: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:17:50 wsb-meteo mtp-probe: bus: 2, device: 3 was not an MTP >> device >> Oct 14 13:17:50 wsb-meteo mtp-probe: checking bus 2, device 3: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:17:50 wsb-meteo mtp-probe: bus: 2, device: 3 was not an MTP >> device >> Oct 14 13:18:07 wsb-meteo mtp-probe: checking bus 2, device 4: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:18:07 wsb-meteo mtp-probe: bus: 2, device: 4 was not an MTP >> device >> Oct 14 13:18:07 wsb-meteo mtp-probe: checking bus 2, device 4: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:18:07 wsb-meteo mtp-probe: bus: 2, device: 4 was not an MTP >> device >> Oct 14 13:18:30 wsb-meteo mtp-probe: checking bus 2, device 5: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:18:30 wsb-meteo mtp-probe: bus: 2, device: 5 was not an MTP >> device >> Oct 14 13:18:30 wsb-meteo mtp-probe: checking bus 2, device 5: >> "/sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb2/2-1" >> Oct 14 13:18:30 wsb-meteo mtp-probe: bus: 2, device: 5 was not an MTP >> device >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Initializing weewx >> version 4.1.1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Using Python 3.7.3 >> (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Platform >> Linux-4.19.0-10-amd64-x86_64-with-debian-10.5 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Locale is >> 'en_US.UTF-8' >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Using configuration >> file weewx.conf >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Debug is 0 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Loading station >> type Rtldavis (user.rtldavis) >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: driver version >> is 0.18 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> rain_bucket_type 1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: sensor map is: >> {'pressure': 'pressure', 'inTemp': 'temp_in', 'windSpeed': 'wind_speed', >> 'windDir': 'wind_dir', 'outTemp': 'temperature', 'outHumidity': 'humidity', >> 'inHumidity': 'humidity_in', 'rainRate': 'rain_rate', 'radiation': >> 'solar_radiation', 'UV': 'uv', 'soilTemp1': 'soil_temp_1', 'soilTemp2': >> 'soil_temp_2', 'soilTemp3': 'soil_temp_3', 'soilTemp4': 'soil_temp_4', >> 'leafTemp1': 'leaf_temp_1', 'extraHumid1': 'humid_1', 'extraHumid2': >> 'humid_2', 'soilMoist1': 'soil_moisture_1', 'soilMoist2': >> 'soil_moisture_2', 'soilMoist3': 'soil_moisture_3', 'soilMoist4': >> 'soil_moisture_4', 'leafWet1': 'leaf_wetness_1', 'leafWet2': >> 'leaf_wetness_2', 'rxCheckPercent': 'pct_good_all', 'txBatteryStatus': >> 'bat_iss', 'supplyVoltage': 'supercap_volt', 'referenceVoltage': >> 'solar_power', 'windBatteryStatus': 'bat_anemometer', 'rainBatteryStatus': >> 'bat_leaf_soil', 'outTempBatteryStatus': 'bat_th_1', 'inTempBatteryStatus': >> 'bat_th_2', 'extraTemp1': 'pct_good_0', 'extraTemp2': 'pct_good_1', >> 'extraTemp3': 'pct_good_2', 'leafTemp2': 'pct_good_3', >> 'consBatteryVoltage': 'freqError0', 'hail': 'freqError1', 'hailRate': >> 'freqError2', 'heatingTemp': 'freqError3', 'heatingVoltage': 'freqError4'} >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: sensor map is {} >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using frequency >> EU >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> iss_channel 1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> anemometer_channel 0 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> leaf_soil_channel 0 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> temp_hum_1_channel 0 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> temp_hum_2_channel 0 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: using >> transmitters 1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: >> log_humidity_raw False >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO user.rtldavis: startup process >> '/home/pi/work/bin/rtldavis -ex 200 -tf EU -tr 1' >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: StdConvert >> target unit is 0x1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.wxservices: The >> following values will be calculated: pressure=prefer_hardware, >> altimeter=prefer_hardware, appTemp=prefer_hardware, >> barometer=prefer_hardware, beaufort=prefer_hardware, >> cloudbase=prefer_hardware, dewpoint=prefer_hardware, ET=prefer_hardware, >> heatindex=prefer_hardware, humidex=prefer_hardware, >> inDewpoint=prefer_hardware, maxSolarRad=prefer_hardware, >> rainRate=prefer_hardware, windchill=prefer_hardware, windrun=prefer_hardware >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.wxservices: The >> following algorithms will be used for calculations: altimeter=aaASOS, >> maxSolarRad=RS >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Archive will use >> data binding wx_binding >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Record >> generation will be attempted in 'hardware' >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Using archive >> interval of 300 seconds (specified in weewx configuration) >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: StationRegistry: >> Registration not requested. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: Wunderground: >> Posting not enabled. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: PWSweather: >> Posting not enabled. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: CWOP: Posting not >> enabled. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: WOW: Posting not >> enabled. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.restx: AWEKAS: Posting >> not enabled. >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO __main__: Starting up weewx >> version 4.1.1 >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Using binding >> 'wx_binding' to database 'weewx' >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.manager: Starting >> backfill of daily summaries >> Oct 14 13:23:09 wsb-meteo weewx[1603] INFO weewx.engine: Starting main >> packet loop. >> Oct 14 13:25:16 wsb-meteo weewx[1603] INFO weewx.manager: Added record >> 2020-10-14 13:25:00 CEST (1602674700) to database 'weewx' >> Oct 14 13:25:16 wsb-meteo weewx[1603] INFO weewx.manager: Added record >> 2020-10-14 13:25:00 CEST (1602674700) to daily summary in 'weewx' >> Oct 14 13:25:17 wsb-meteo weewx[1603] INFO weewx.cheetahgenerator: >> Generated 8 files for report SeasonsReport in 0.69 seconds >> Oct 14 13:25:22 wsb-meteo weewx[1603] INFO weewx.imagegenerator: >> Generated 60 images for report SeasonsReport in 4.75 seconds >> Oct 14 13:25:22 wsb-meteo weewx[1603] INFO weewx.reportengine: Copied 5 >> files to /home/weewx/public_html >> Oct 14 13:30:21 wsb-meteo weewx[1603] INFO weewx.engine: Main loop >> exiting. Shutting engine down. >> Oct 14 13:30:21 wsb-meteo weewx[1603] INFO weewx.engine: Shutting down >> StdReport thread >> Oct 14 13:30:21 wsb-meteo weewx[1603] INFO user.rtldavis: shutdown >> process /home/pi/work/bin/rtldavis -ex 200 -tf EU -tr 1 >> Oct 14 13:30:21 wsb-meteo weewx[1603] INFO user.rtldavis: rtldavis with >> pid 1607 killed >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: Caught >> unrecoverable exception: >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** must >> be real number, not NoneType >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Traceback (most recent call last): >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 195, in run >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet)) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> callback(event) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 578, in check_loop >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> raise BreakLoop >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> weewx.engine.BreakLoop >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** During >> handling of the above exception, another exception occurred: >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Traceback (most recent call last): >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 594, in post_loop >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> self._catchup(self.engine.console.genArchiveRecords) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 638, in _catchup >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> for record in generator(lastgood_ts): >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/drivers/__init__.py", line 30, in genArchiveRecords >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> raise NotImplementedError("Method 'genArchiveRecords' not implemented") >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> NotImplementedError: Method 'genArchiveRecords' not implemented >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** During >> handling of the above exception, another exception occurred: >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Traceback (most recent call last): >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "./bin/weewxd", line 154, in main >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 202, in run >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> callback(event) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 596, in post_loop >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> self._software_catchup() >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 658, in _software_catchup >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> origin='software')) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> callback(event) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/user/rtldavis.py", line 966, in new_archive_record >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> self._update_summaries() # calculate summaries >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** File >> "/home/weewx/bin/user/rtldavis.py", line 955, in _update_summaries >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> (total_max_count, total_count, total_missed, self.stats['pct_good_all'])) >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> TypeError: must be real number, not NoneType >> Oct 14 13:30:21 wsb-meteo weewx[1603] CRITICAL __main__: **** >> Exiting. >> >> *problem 2 if i start rtldavis.py source >> https://github.com/lheijst/weewx-rtldavis >> <https://github.com/lheijst/weewx-rtldavis> point 7.) the following error >> occur)* >> >> pi@wsb-meteo:/home/weewx $ sudo PYTHONPATH=bin python >> bin/user/rtldavis.py --help >> Traceback (most recent call last): >> File "bin/user/rtldavis.py", line 94, in <module> >> import weewx.engine >> File "/home/weewx/bin/weewx/engine.py", line 21, in <module> >> import weeutil.logger >> File "/home/weewx/bin/weeutil/logger.py", line 15, in <module> >> import configobj >> ImportError: No module named configobj >> pi@wsb-meteo:/home/weewx $ >> >> >> hope someone can help me???? it a hobby project for a windsurfclub >> >> thanks in advance >> Co >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/6810268c-733c-41e5-9b93-7125d3a2c47dn%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/6810268c-733c-41e5-9b93-7125d3a2c47dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zEDJLRny9E_OWGUfztj8Sz%3DjF3fgboi2xk1SqxugiPnZKQ%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDJLRny9E_OWGUfztj8Sz%3DjF3fgboi2xk1SqxugiPnZKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CABQzV8w1i4XHr8fBZKFfAkg4Fpg1NUs2Nv88wQ9XsY_YGxoA%3Dg%40mail.gmail.com.
