Hello Maybe you can do more with that than with the log file.
Thanks Günther daham@hp-pc:~$ ssh [email protected] [email protected]'s password: Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Apr 15 17:21:47 2020 from 192.168.1.103 pi@raspberrypi:~ $ cd /home/weewx/archive pi@raspberrypi:/home/weewx/archive $ dir weewx.sdb pi@raspberrypi:/home/weewx/archive $ sudo /etc/init.d/weewx stop [ ok ] Stopping weewx (via systemctl): weewx.service. pi@raspberrypi:/home/weewx/archive $ sudo cp weewx.sdb /var/tmp pi@raspberrypi:/home/weewx/archive $ sudo /home/weewx/bin/wee_import --import-config=/var/tmp/csv.conf --dry-run Starting wee_import... A CSV import from source file '/var/tmp/datad.csv' has been requested. Using database binding 'wx_binding', which is bound to database 'weewx.sdb' Destination table 'archive' unit system is '0x01' (US). Missing derived observations will be calculated. This is a dry run, imported data will not be saved to archive. Starting dry run import ... 288 records identified for import. Records processed: 250; Unique records: 250; Last timestamp: 2019-05-01 20:47:00Records processed: 288; Unique records: 288; Last timestamp: 2019-05-01 23:57:00 CEST (1556747820) Finished dry run import. 288 records were processed and 288 unique records would have been imported. pi@raspberrypi:/home/weewx/archive $ sudo /home/weewx/bin/wee_import --import-config=/var/tmp/csv.conf Starting wee_import... A CSV import from source file '/var/tmp/datad.csv' has been requested. Using database binding 'wx_binding', which is bound to database 'weewx.sdb' Destination table 'archive' unit system is '0x01' (US). Missing derived observations will be calculated. Starting import ... 288 records identified for import. Proceeding will save all imported records in the WeeWX archive. Are you sure you want to proceed (y/n)? y Records processed: 288; Unique records: 288; Last timestamp: 2019-05-01 23:57:00 CEST (1556747820) Finished import. 288 raw records resulted in 288 unique records being processed in 10.23 seconds. Those records with a timestamp already in the archive will not have been imported. Confirm successful import in the WeeWX log file. pi@raspberrypi:/home/weewx/archive $ sudo /etc/init.d/weewx start [ ok ] Starting weewx (via systemctl): weewx.service. pi@raspberrypi:/home/weewx/archive $ sudo tail -f /var/log/syslog Apr 15 20:14:35 raspberrypi weewx[14619]: wh23xx: Found device on USB bus= device= Apr 15 20:14:35 raspberrypi kernel: [10925.373718] usb 1-1.5: reset full-speed USB device number 4 using dwc_otg Apr 15 20:14:35 raspberrypi weewx[14619]: engine: StdConvert target unit is 0x1 Apr 15 20:14:35 raspberrypi weewx[14619]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Apr 15 20:14:35 raspberrypi weewx[14619]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Apr 15 20:14:35 raspberrypi weewx[14619]: engine: Archive will use data binding wx_binding Apr 15 20:14:35 raspberrypi weewx[14619]: engine: Record generation will be attempted in 'hardware' Apr 15 20:14:35 raspberrypi weewx[14619]: engine: Using archive interval of 300 seconds (specified in weewx configuration) Apr 15 20:14:35 raspberrypi weewx[14619]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Apr 15 20:14:35 raspberrypi weewx[14619]: manager: Starting backfill of daily summaries Apr 15 20:15:57 raspberrypi weewx[14619]: engine: Caught unrecoverable exception in engine: Apr 15 20:15:57 raspberrypi weewx[14619]: **** accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:15:57 raspberrypi weewx[14619]: **** Traceback (most recent call last): Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/engine.py", line 888, in main Apr 15 20:15:57 raspberrypi weewx[14619]: **** engine = engine_class(config_dict) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/engine.py", line 78, in __init__ Apr 15 20:15:57 raspberrypi weewx[14619]: **** self.loadServices(config_dict) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/engine.py", line 142, in loadServices Apr 15 20:15:57 raspberrypi weewx[14619]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/engine.py", line 500, in __init__ Apr 15 20:15:57 raspberrypi weewx[14619]: **** self.setup_database(config_dict) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/engine.py", line 617, in setup_database Apr 15 20:15:57 raspberrypi weewx[14619]: **** _nrecs, _ndays = dbmanager.backfill_day_summary() # @UnusedVariable Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/manager.py", line 1473, in backfill_day_summary Apr 15 20:15:57 raspberrypi weewx[14619]: **** day_accum.addRecord(rec, weight=weight) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/accum.py", line 260, in addRecord Apr 15 20:15:57 raspberrypi weewx[14619]: **** func(self, record, obs_type, add_hilo, weight) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/accum.py", line 318, in add_value Apr 15 20:15:57 raspberrypi weewx[14619]: **** self[obs_type].addHiLo(val, record['dateTime']) Apr 15 20:15:57 raspberrypi weewx[14619]: **** File "/home/weewx/bin/weewx/accum.py", line 78, in addHiLo Apr 15 20:15:57 raspberrypi weewx[14619]: **** "got type '%s' ('%s')" % (type(val), val)) Apr 15 20:15:57 raspberrypi weewx[14619]: **** ValueError: accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:15:57 raspberrypi weewx[14619]: **** Exiting. ^C pi@raspberrypi:/home/weewx/archive $ sudo /etc/init.d/weewx stop [ ok ] Stopping weewx (via systemctl): weewx.service. pi@raspberrypi:/home/weewx/archive $ cd /var/tmp pi@raspberrypi:/var/tmp $ sudo /home/weewx/bin/wee_import --import-config=/var/tmp/csv.conf Starting wee_import... A CSV import from source file '/var/tmp/datad.csv' has been requested. Using database binding 'wx_binding', which is bound to database 'weewx.sdb' Destination table 'archive' unit system is '0x01' (US). Missing derived observations will be calculated. Starting import ... 288 records identified for import. Proceeding will save all imported records in the WeeWX archive. Are you sure you want to proceed (y/n)? y Records processed: 288; Unique records: 288; Last timestamp: 2019-05-01 23:57:00 CEST (1556747820) Finished import. 288 raw records resulted in 288 unique records being processed in 4.05 seconds. Those records with a timestamp already in the archive will not have been imported. Confirm successful import in the WeeWX log file. pi@raspberrypi:/var/tmp $ sudo /etc/init.d/weewx start [ ok ] Starting weewx (via systemctl): weewx.service. pi@raspberrypi:/var/tmp $ sudo tail -f /var/log/syslog Apr 15 20:17:07 raspberrypi weewx[14938]: **** File "/home/weewx/bin/weewx/manager.py", line 1473, in backfill_day_summary Apr 15 20:17:07 raspberrypi weewx[14938]: **** day_accum.addRecord(rec, weight=weight) Apr 15 20:17:07 raspberrypi weewx[14938]: **** File "/home/weewx/bin/weewx/accum.py", line 260, in addRecord Apr 15 20:17:07 raspberrypi weewx[14938]: **** func(self, record, obs_type, add_hilo, weight) Apr 15 20:17:07 raspberrypi weewx[14938]: **** File "/home/weewx/bin/weewx/accum.py", line 318, in add_value Apr 15 20:17:07 raspberrypi weewx[14938]: **** self[obs_type].addHiLo(val, record['dateTime']) Apr 15 20:17:07 raspberrypi weewx[14938]: **** File "/home/weewx/bin/weewx/accum.py", line 78, in addHiLo Apr 15 20:17:07 raspberrypi weewx[14938]: **** "got type '%s' ('%s')" % (type(val), val)) Apr 15 20:17:07 raspberrypi weewx[14938]: **** ValueError: accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:17:07 raspberrypi weewx[14938]: **** Exiting. ^C pi@raspberrypi:/var/tmp $ sudo /etc/init.d/weewx reload [ ok ] Reloading weewx configuration (via systemctl): weewx.service. pi@raspberrypi:/var/tmp $ sudo /etc/init.d/weewx restart [ ok ] Restarting weewx (via systemctl): weewx.service. pi@raspberrypi:/var/tmp $ sudo tail -f /var/log/syslog Apr 15 20:19:17 raspberrypi weewx[15205]: wh23xx: Found device on USB bus= device= Apr 15 20:19:17 raspberrypi kernel: [11207.753810] usb 1-1.5: reset full-speed USB device number 4 using dwc_otg Apr 15 20:19:17 raspberrypi weewx[15205]: engine: StdConvert target unit is 0x1 Apr 15 20:19:17 raspberrypi weewx[15205]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Apr 15 20:19:17 raspberrypi weewx[15205]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Apr 15 20:19:17 raspberrypi weewx[15205]: engine: Archive will use data binding wx_binding Apr 15 20:19:17 raspberrypi weewx[15205]: engine: Record generation will be attempted in 'hardware' Apr 15 20:19:17 raspberrypi weewx[15205]: engine: Using archive interval of 300 seconds (specified in weewx configuration) Apr 15 20:19:17 raspberrypi weewx[15205]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Apr 15 20:19:17 raspberrypi weewx[15205]: manager: Starting backfill of daily summaries Apr 15 20:19:22 raspberrypi weewx[15205]: engine: Caught unrecoverable exception in engine: Apr 15 20:19:22 raspberrypi weewx[15205]: **** accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:19:22 raspberrypi weewx[15205]: **** Traceback (most recent call last): Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/engine.py", line 888, in main Apr 15 20:19:22 raspberrypi weewx[15205]: **** engine = engine_class(config_dict) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/engine.py", line 78, in __init__ Apr 15 20:19:22 raspberrypi weewx[15205]: **** self.loadServices(config_dict) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/engine.py", line 142, in loadServices Apr 15 20:19:22 raspberrypi weewx[15205]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/engine.py", line 500, in __init__ Apr 15 20:19:22 raspberrypi weewx[15205]: **** self.setup_database(config_dict) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/engine.py", line 617, in setup_database Apr 15 20:19:22 raspberrypi weewx[15205]: **** _nrecs, _ndays = dbmanager.backfill_day_summary() # @UnusedVariable Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/manager.py", line 1473, in backfill_day_summary Apr 15 20:19:22 raspberrypi weewx[15205]: **** day_accum.addRecord(rec, weight=weight) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 260, in addRecord Apr 15 20:19:22 raspberrypi weewx[15205]: **** func(self, record, obs_type, add_hilo, weight) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 318, in add_value Apr 15 20:19:22 raspberrypi weewx[15205]: **** self[obs_type].addHiLo(val, record['dateTime']) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 78, in addHiLo Apr 15 20:19:22 raspberrypi weewx[15205]: **** "got type '%s' ('%s')" % (type(val), val)) Apr 15 20:19:22 raspberrypi weewx[15205]: **** ValueError: accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:19:22 raspberrypi weewx[15205]: **** Exiting. ^C pi@raspberrypi:/var/tmp $ sudo tail -f /var/log/syslog Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/manager.py", line 1473, in backfill_day_summary Apr 15 20:19:22 raspberrypi weewx[15205]: **** day_accum.addRecord(rec, weight=weight) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 260, in addRecord Apr 15 20:19:22 raspberrypi weewx[15205]: **** func(self, record, obs_type, add_hilo, weight) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 318, in add_value Apr 15 20:19:22 raspberrypi weewx[15205]: **** self[obs_type].addHiLo(val, record['dateTime']) Apr 15 20:19:22 raspberrypi weewx[15205]: **** File "/home/weewx/bin/weewx/accum.py", line 78, in addHiLo Apr 15 20:19:22 raspberrypi weewx[15205]: **** "got type '%s' ('%s')" % (type(val), val)) Apr 15 20:19:22 raspberrypi weewx[15205]: **** ValueError: accum: ScalarStats.addHiLo expected float or int, got type '<type 'unicode'>' ('') Apr 15 20:19:22 raspberrypi weewx[15205]: **** Exiting. ^C pi@raspberrypi:/var/tmp $ sudo /etc/init.d/weewx stop [ ok ] Stopping weewx (via systemctl): weewx.service. pi@raspberrypi:/var/tmp $ sudo cp /home/weewx/archive/weewx.sdb /tmp/ pi@raspberrypi:/var/tmp $ sudo cp weewx.sdb /home/weewx/archive pi@raspberrypi:/var/tmp $ sudo /etc/init.d/weewx start [ ok ] Starting weewx (via systemctl): weewx.service. pi@raspberrypi:/var/tmp $ sudo tail -f /var/log/syslog Apr 15 20:23:19 raspberrypi weewx[15651]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Apr 15 20:23:19 raspberrypi weewx[15651]: manager: Starting backfill of daily summaries Apr 15 20:23:19 raspberrypi weewx[15651]: restx: StationRegistry: Station will be registered. Apr 15 20:23:19 raspberrypi weewx[15651]: restx: Wunderground-PWS: Data for station IMATZENR2 will be posted Apr 15 20:23:19 raspberrypi weewx[15651]: restx: PWSweather: Posting not enabled. Apr 15 20:23:19 raspberrypi weewx[15651]: restx: CWOP: Posting not enabled. Apr 15 20:23:19 raspberrypi weewx[15651]: restx: WOW: Posting not enabled. Apr 15 20:23:19 raspberrypi weewx[15651]: restx: AWEKAS: Data will be uploaded for user Gilli Apr 15 20:23:19 raspberrypi weewx[15651]: engine: Starting up weewx version 3.9.2 Apr 15 20:23:19 raspberrypi weewx[15651]: engine: Starting main packet loop. Apr 15 20:24:13 raspberrypi systemd[1]: Started Session c3 of user pi. Apr 15 20:24:14 raspberrypi systemd[1]: Started Session c4 of user pi. Apr 15 20:25:20 raspberrypi weewx[15651]: manager: Added record 2020-04-15 20:25:00 CEST (1586975100) to database 'weewx.sdb' Apr 15 20:25:20 raspberrypi weewx[15651]: manager: Added record 2020-04-15 20:25:00 CEST (1586975100) to daily summary in 'weewx.sdb' Apr 15 20:25:22 raspberrypi weewx[15651]: restx: AWEKAS: Failed to publish record 2020-04-15 20:25:00 CEST (1586975100): server returned ' - UV Wert administrativ gesperrt - Transfer OK' Apr 15 20:25:23 raspberrypi weewx[15651]: restx: StationRegistry: Published record 2020-04-15 20:25:00 CEST (1586975100) Apr 15 20:25:24 raspberrypi weewx[15651]: restx: Wunderground-PWS: Published record 2020-04-15 20:25:00 CEST (1586975100) Apr 15 20:25:28 raspberrypi weewx[15651]: cheetahgenerator: Generated 9 files for report SeasonsReport in 5.58 seconds Apr 15 20:25:46 raspberrypi weewx[15651]: reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator' Apr 15 20:25:46 raspberrypi weewx[15651]: **** unsupported operand type(s) for -: 'list' and 'float' Apr 15 20:25:46 raspberrypi weewx[15651]: **** Traceback (most recent call last): Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/reportengine.py", line 204, in run Apr 15 20:25:46 raspberrypi weewx[15651]: **** obj.start() Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/reportengine.py", line 300, in start Apr 15 20:25:46 raspberrypi weewx[15651]: **** self.run() Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/imagegenerator.py", line 33, in run Apr 15 20:25:46 raspberrypi weewx[15651]: **** self.genImages(self.gen_ts) Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/imagegenerator.py", line 188, in genImages Apr 15 20:25:46 raspberrypi weewx[15651]: **** new_data_vec_t = self.converter.convert(data_vec_t) Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/units.py", line 784, in convert Apr 15 20:25:46 raspberrypi weewx[15651]: **** new_val_t = convert(val_t, new_unit_type) Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/units.py", line 1138, in convert Apr 15 20:25:46 raspberrypi weewx[15651]: **** new_val = conversion_func(val_t[0]) if val_t[0] is not None else None Apr 15 20:25:46 raspberrypi weewx[15651]: **** File "/home/weewx/bin/weewx/units.py", line 33, in FtoC Apr 15 20:25:46 raspberrypi weewx[15651]: **** return (x - 32.0) * 5.0 / 9.0 Apr 15 20:25:46 raspberrypi weewx[15651]: **** TypeError: unsupported operand type(s) for -: 'list' and 'float' Apr 15 20:25:46 raspberrypi weewx[15651]: **** Generator terminated Apr 15 20:25:46 raspberrypi weewx[15651]: copygenerator: copied 34 files to /var/weewx/reports ^C pi@raspberrypi:/var/tmp $ sudo /home/weewx/bin/wee_import --import-config=/var/tmp/csv.conf --dry-run Starting wee_import... A CSV import from source file '/var/tmp/datad.csv' has been requested. Using database binding 'wx_binding', which is bound to database 'weewx.sdb' Destination table 'archive' unit system is '0x01' (US). Missing derived observations will be calculated. This is a dry run, imported data will not be saved to archive. Starting dry run import ... 288 records identified for import. Records processed: 288; Unique records: 288; Last timestamp: 2019-05-01 23:57:00 CEST (1556747820) Finished dry run import. 288 records were processed and 288 unique records would have been imported. pi@raspberrypi:/var/tmp $ -- 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/d4637573-2bfa-4708-8f12-1803c2c53f23%40googlegroups.com.
