Hi,

The system went sour on Oct. 19.

I renamed weewx.sdb and weewxwd.sdb and got i running again.
Lost all my historic data, but at least the weather station is running 
again.
I assume the data from the renamed sdb's could be added to the db to regain 
the history, but that is currently beyond my sqlite competence level.

I do however have another issue that someone might recognize:

Nov  4 21:01:39 WeatherPi weewx[2812]: cheetahgenerator: Generate failed 
with exception '<class 'NameMapper.NotFound'>'
Nov  4 21:01:39 WeatherPi weewx[2812]: cheetahgenerator: **** Ignoring 
template /home/weewx/skins/Testtags/testtags.php.tmpl
Nov  4 21:01:39 WeatherPi weewx[2812]: cheetahgenerator: **** Reason: 
cannot find 'formatted' while searching for 
'currentmonthrecordrain.formatted'
Nov  4 21:01:39 WeatherPi weewx[2812]: ****  Traceback (most recent call 
last):
Nov  4 21:01:39 WeatherPi weewx[2812]: ****    File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 300, in generate
Nov  4 21:01:39 WeatherPi weewx[2812]: ****      print >> _file, text
Nov  4 21:01:39 WeatherPi weewx[2812]: ****    File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__
Nov  4 21:01:39 WeatherPi weewx[2812]: ****      rc = getattr(self, 
mainMethName)()
Nov  4 21:01:39 WeatherPi weewx[2812]: ****    File 
"_home_weewx_skins_Testtags_testtags_php_tmpl.py", line 3391, in respond
Nov  4 21:01:39 WeatherPi weewx[2812]: ****  NotFound: cannot find 
'formatted' while searching for 'currentmonthrecordrain.formatted'

Rune.

lørdag 4. november 2017 16.42.14 UTC+1 skrev vince følgende:
>
> On Saturday, November 4, 2017 at 3:36:47 AM UTC-7, Rune Lægreid wrote:
>>
>> Nov  4 11:10:40 WeatherPi weewx[1881]:         ****  start time 
>> (1509750000) is greater than stop time (1508422800)
>>
>>
> You have some bad dates in your database I'm guessing.
>
> root@pi:~# date -d @1509750000 -u
> Fri Nov  3 23:00:00 UTC 2017
>
> root@pi:~# date -d @1508422800 -u
> Thu Oct 19 14:20:00 UTC 2017
>
>
> So it seems to be trying to compare a date of November as the start of a 
> day with later records of October as end of the day, which is impossible.
>
>
>

-- 
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