Rainer, that worked. I had figured it out just before you'd sent that message. I just had to add the full path for weewx.conf to the command. "/etc/weewx/weewx.conf"
Everything is back to normal. Thank you! On Tuesday, June 13, 2023 at 4:53:46 PM UTC-4 Rainer Lang wrote: > you should read and apply the proper synthax: > > try wee_database --help > and apply .... > when you mention weewx.conf then as --config=/etc/weewx/weewx.conf > if you have only one database and one respective weewx.conf, you don't > need to mention it (but you can, however, then correctly) > > (sudo) wee_database --drop-daily > and > (sudo) weew_database --rebuild-daily > should suffice > > if you want to mention weewx.conf, then: > (sudo) wee_database --drop-daily --config=/etc/weewx/weewx.conf > etc > On 13.06.2023 22:46, Kevin Crivelli wrote: > > I was able to delete the entries from the database using the guide > provided at > https://github.com/weewx/weewx/wiki/Cleaning%20up%20old%20'bad'%20data > however, when I got to the section for cleaning up the daily summaries I > ran into an error with the commands provided > > wee_database weewx.conf --drop-daily and wee_database weewx.conf > --rebuild-daily gave me this error > > Traceback (most recent call last): > File "/usr/share/weewx/wee_database", line 1168, in <module> > main() > File "/usr/share/weewx/wee_database", line 187, in main > config_path, config_dict = weecfg.read_config(options.config_path, > args) > File "/usr/share/weewx/weecfg/__init__.py", line 146, in read_config > config_path = find_file(config_path, args, > File "/usr/share/weewx/weecfg/__init__.py", line 117, in find_file > raise IOError("%s is not a file" % file_path) > OSError: weewx.conf is not a file > On Tuesday, June 13, 2023 at 4:12:46 PM UTC-4 Kevin Crivelli wrote: > >> there were 3 entries over 3,000 strikes in a matter of minutes that >> pushed my count to 11,970 for the day. There has to be a way to remove >> those entries. please let me know if anyone knows how. >> >> [image: lightning strike error.JPG] >> >> On Tuesday, June 13, 2023 at 3:47:46 PM UTC-4 Kevin Crivelli wrote: >> >>> I'm not sure how or why it happened but today around 3:25pm I received a >>> strike count of over 4,000 strikes. Is there a way to go into the database >>> and remove this entry? or perhaps I can add a correction in the corrections >>> section if lightning_strike_count is < 4,000 = none or something? >>> >>> thanks for any help on this matter. really odd >>> >> -- > 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/889e23f5-eeac-4c0a-9cf9-aab1f564f9f7n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/889e23f5-eeac-4c0a-9cf9-aab1f564f9f7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- 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/c340b1a3-c3a8-4a19-bb5a-34a6559d3985n%40googlegroups.com.
