After upgrading to 3.7.0 I tried to update the database becuase of the 
max_wind issues.

Running wee_database --update results in.

Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
The update process does not affect archive data, but does alter the 
database.
Continue (y/n)? y
Preparing Interval Weighting Fix...
Daily summary tables are at version 1.0
Calculating interval weights...
Traceback (most recent call last):
  File "/usr/bin/wee_database", line 793, in <module>
    main()
  File "/usr/bin/wee_database", line 165, in main
    update(config_dict, db_binding, options)
  File "/usr/bin/wee_database", line 552, in update
    weight_obj.run()
  File "/usr/share/weewx/weecfg/database.py", line 443, in run
    self.do_fix(_next_day_to_patch_ts)
  File "/usr/share/weewx/weecfg/database.py", line 501, in do_fix
    _weight = self.get_interval(_day_span) * 60
  File "/usr/share/weewx/weecfg/database.py", line 596, in get_interval
    return _row[0]
TypeError: 'NoneType' object has no attribute '__getitem__'

restarting weewx doesn't work becuase the database update isn't finished.

could you help me out?

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