it looks like a bug in the v5 station actions. fixed at commit 2754e393
On Friday, March 15, 2024 at 7:38:23 AM UTC-4 [email protected] wrote:
*I am not able to upgrade after upgrading Weewx 5.0 on Ubuntu 23.10*
*Any thoughts are greatly appreciated!*
Setting up weewx (5.0.2-1) ...
Using weewx:weewx as user:group
Saving old defaults to /etc/default/weewx-20240315073503
Creating /etc/default/weewx
Using debconf configuration values from previous install
Using configuration file /etc/weewx/weewx.conf
Processing configuration file /etc/weewx/weewx.conf
Traceback (most recent call last):
File "/usr/share/weewx/weectl.py", line 74, in <module>
main()
File "/usr/share/weewx/weectl.py", line 66, in main
namespace.func(namespace)
File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
namespace.action_func(config_dict, namespace)
File "/usr/share/weewx/weectllib/station_cmd.py", line 311, in
reconfigure_station
weectllib.station_actions.station_reconfigure(config_dict=config_dict,
File "/usr/share/weewx/weectllib/station_actions.py", line 164, in
station_reconfigure
config_config(config_dict,
File "/usr/share/weewx/weectllib/station_actions.py", line 206, in
config_config
config_units(config_dict, unit_system=unit_system, no_prompt=no_prompt)
File "/usr/share/weewx/weectllib/station_actions.py", line 384, in
config_units
config_dict['StdReport']['Defaults']['unit_system'] = final_unit_system
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/configobj/__init__.py", line 553, in
__getitem__
val = dict.__getitem__(self, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'Defaults'
dpkg: error processing package weewx (--configure):
installed weewx package post-installation script subprocess returned error
exit status 1
Errors were encountered while processing:
weewx
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
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/f65390c9-c5c3-4a66-90bc-ef30e203c369n%40googlegroups.com.