Thanks to you both for your suggestions.  Gary, I followed your 
instructions with the following results:
1) Stopped weeWX and verified in /var/log/syslog that it was stopped
2) Used the wee_database utility to drop the daily summaries.  The system 
responded with:
Dropping daily summary tables from 'weewx.sdb' ...  
No daily summaries found in database 'weewx.sdb'. Nothing done.
3) Tried the --rebuild-daily.  That produced the following list of errors:
Traceback (most recent call last):
  File "/usr/bin/wee_database", line 793, in <module>
    main()
  File "/usr/bin/wee_database", line 153, in main
    rebuildDaily(config_dict, db_binding, options)
  File "/usr/bin/wee_database", line 251, in rebuildDaily
    with weewx.manager.open_manager_with_config(config_dict, db_binding, 
initialize=True) as dbmanager:
  File "/usr/share/weewx/weewx/manager.py", line 1017, in 
open_manager_with_config
    return open_manager(manager_dict, initialize)
  File "/usr/share/weewx/weewx/manager.py", line 1006, in open_manager
    manager_dict['schema'])
  File "/usr/share/weewx/weewx/manager.py", line 140, in open_with_create
    dbmanager = cls(connection, table_name=table_name, schema=schema)
  File "/usr/share/weewx/weewx/manager.py", line 1152, in __init__
    self._initialize_day_tables(schema, _cursor)
  File "/usr/share/weewx/weewx/wxmanager.py", line 35, in 
_initialize_day_tables
    weewx.manager.DaySummaryManager._initialize_day_tables(self, 
archiveSchema, cursor)
  File "/usr/share/weewx/weewx/manager.py", line 1179, in 
_initialize_day_tables
    cursor.execute(DaySummaryManager.sql_create_str % (self.table_name, 
_obs_type))
  File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fn
    raise weedb.TableExistsError(e)
weedb.TableExistsError: table archive_day_barometer already exists

I also played with some of the other options to see what they would do 
(using the --dry-run option just in case) but they all ended up printing a 
list of errors that terminated in:
weedb.OperationalError: No day summary schema for table 'archive' in 
database 'weewx.sdb'

Still digging...


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

Reply via email to