Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread Leon Shaner
Gary, I already did the same validation and came to the same doubt as stated below... Something went wrong with the sync. Regards, \Leon -- Leon Shaner :: Dearborn, Michigan (iPad) > On Nov 16, 2019, at 9:39 PM, gjr80 wrote: > >  > Are you sure you have picked up development? I just searched t

Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread gjr80
Are you sure you have picked up development? I just searched through restx.py and wunderfixer in the development branch and there are no apikey entries (well apiKey is used in a URL but this has nothing to do with the config option name), everything is api_key. I would be very surprised to see

Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread Leon Shaner
Gary, I had just done a new sync this afternoon from the latest development. That introduced a disagreement as to whether the property should be api_key as I had it, or apikey as the newly sync'd code was expecting. I figured Tom had taken a different path and decided to use apikey afterall, bec

Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread gjr80
Would appreciate some more info on this, I just used 4.0 wee_debug it it obfuscated a new WU API key as expected. The obfuscation code is pretty basic, for WU it is if key name == 'api_key' then value with 'XXX obfuscated by wee_debug XXX'. I seem to remember you changing WU config option names

Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread Leon Shaner
Tom,Here you go, attached below...BTW, wee_debug is not obfuscating the new WU apikey property.Also for some strange reason the error is no longer being reported.  :-/Did you happen to fix anything in the last 6 months related to time zones or even daylight savings vs. standard time?Seems to me tha

Re: [weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread Thomas Keffer
Could I see a copy of weewx.conf, appropriately obfuscated? You can use the utility wee_debug to do this: *wee_debug --info* -tk On Sat, Nov 16, 2019 at 11:08 AM Leon Shaner wrote: > Hey, WeeWX'ers. > > I just sync'd my local copy of the development branch. > Now I'm getting these errors. How

[weewx-development] Sync'd with development now getting database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

2019-11-16 Thread Leon Shaner
Hey, WeeWX'ers. I just sync'd my local copy of the development branch. Now I'm getting these errors. How to fix? Nov 16 13:51:15 nixie weewx[4545] ERROR weewx.manager: Unable to add record 2019-11-16 13:51:00 EST (1573930260) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime