Hi there,

Currently i am trying to import my csv archive files via wee import into 
the weewx. At first i thought everything went well, as wee import showed 
that all the files have been processed. After that i deleted the year and 
month files in the public_html folder and waited for the next update cycle.
 
As the old data was still shown on the files, i decided to wait another two 
hours until midnight local time. Still no change. Then i checked the sql 
table and noticed that no new files have been added to the database at all- 
my database still starts at October 14th 2018 7:31 PM.

Afterwards i started a new approach by rebooting my raspberry pi (thought 
maybe the time was wrong) and restarted weewx and the wee import. This time 
i also made sure that syslog was running and voilá, i got the following 
error...

Nov 24 02:00:31 raspberrypi wee_import[2686]: wee_import: Starting 
wee_import...
Nov 24 02:00:32 raspberrypi wee_import[2686]: 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
Nov 24 02:00:32 raspberrypi wee_import[2686]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import: A CSV import from 
source file '/home/weewx/tests/test2.csv' has been requested.
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import: Using database 
binding 'wx_binding', which is bound to database 'weewx.sdb'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import: Destination table 
'archive' unit system is '0x01' (US).
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import: The following 
imported field-to-weeWX field map will be used:
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'Temp' in units 'degree_C' --> weeWX field 'outTemp'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'humidity' in units 'percent' --> weeWX field 'outHumidity'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'Interval' --> weeWX field 'interval'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'dayrain' in units 'mm' --> weeWX field 'rain'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'Time' --> weeWX field 'dateTime'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'wind' in units 'degree_compass' --> weeWX field 'windDir'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'pressure' in units 'hPa' --> weeWX field 'pressure'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'windspeed' in units 'km_per_hour' --> weeWX field 'windSpeed'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'gust' in units 'km_per_hour' --> weeWX field 'windGust'
Nov 24 02:00:32 raspberrypi wee_import[2686]: wee_import:      source field 
'rate' in units 'mm_per_hour' --> weeWX field 'rainRate'
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:00:00 CEST (1538344800) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:05:00 CEST (1538345100) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:10:00 CEST (1538345400) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:15:00 CEST (1538345700) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:20:00 CEST (1538346000) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:25:00 CEST (1538346300) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:30:00 CEST (1538346600) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:35:00 CEST (1538346900) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:40:00 CEST (1538347200) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:45:00 CEST (1538347500) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:50:00 CEST (1538347800) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 00:55:00 CEST (1538348100) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:00:00 CEST (1538348400) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:05:00 CEST (1538348700) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:10:00 CEST (1538349000) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:15:00 CEST (1538349300) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:20:00 CEST (1538349600) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:25:00 CEST (1538349900) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:30:00 CEST (1538350200) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:35:00 CEST (1538350500) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:40:00 CEST (1538350800) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:45:00 CEST (1538351100) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:50:00 CEST (1538351400) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 01:55:00 CEST (1538351700) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:00:00 CEST (1538352000) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:05:00 CEST (1538352300) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:10:00 CEST (1538352600) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:15:00 CEST (1538352900) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:20:00 CEST (1538353200) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:25:00 CEST (1538353500) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:30:00 CEST (1538353800) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:35:00 CEST (1538354100) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:40:00 CEST (1538354400) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:45:00 CEST (1538354700) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:50:00 CEST (1538355000) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 02:55:00 CEST (1538355300) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime
Nov 24 02:00:39 raspberrypi wee_import[2686]: manager: Unable to add record 
2018-10-01 03:00:00 CEST (1538355600) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime

Anyone having an idea, what i could still try to do? My station is a Fine 
Offset WH1080 so maybe its related to that?

Many thanks in advance

George 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to