wee_database weewx.conf --drop-daily
Followed bywee_database weewx.conf --rebuild-daily
With this latest command I get this error:
./bin/wee_database weewx.conf --rebuild-daily
Using configuration file weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_mysql'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx' ...
Traceback (most recent call last):e: 2017-04-11 14:41:06 CEST (1491914466)
File "./bin/wee_database", line 794, in <module>
main()
File "./bin/wee_database", line 153, in main
rebuildDaily(config_dict, db_binding, options)
File "./bin/wee_database", line 263, in rebuildDaily
trans_days=20)
File "/home/pi/cleusb/weewx/bin/weewx/manager.py", line 1469, in backfill_day_summary
weight = self._calc_weight(rec)
File "/home/pi/cleusb/weewx/bin/weewx/manager.py", line 1582, in _calc_weight
raise ValueError("Non-positive value for record field 'interval': %s" % (record['interval'], ))
ValueError: Non-positive value for record field 'interval': 0
What should I do?
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1edda18d-b9df-4ee5-9175-f43a61ef4a1b%40googlegroups.com.
Thanks, the database is in MySQL, so it's easier to manage.I have many lines with interval = 0 (none < 0)
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9bb2c0fc-e556-4e8e-9338-2738f7db8ade%40googlegroups.com.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7e33b26d-d639-45c6-b748-d1b770f8120f%40googlegroups.com.