I upgraded to b16 and then attempted a station upgrade.
It errored out on util.
Output uploaded as b16-error.txt
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/4d7cf9cc-ac02-4330-90fe-50574a03d4afn%40googlegroups.com.
(weewx-venv) wx@wx5:~$ weectl station upgrade
Upgrade examples, utility files in /home/wx/weewx-data? (Y/n) y
Removing directory /home/wx/weewx-data/examples
Copying new examples into /home/wx/weewx-data/examples
Finished upgrading examples at /home/wx/weewx-data/examples
Creating utility files in /home/wx/weewx-data/util
Traceback (most recent call last):
File "/home/wx/weewx-venv/bin/weectl", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/wx/weewx-venv/lib/python3.11/site-packages/weectl.py", line 69,
in main
namespace.func(namespace)
File
"/home/wx/weewx-venv/lib/python3.11/site-packages/weectllib/station_cmd.py",
line 235, in upgrade_station
weecfg.station_config.station_upgrade(config_path=namespace.config,
File
"/home/wx/weewx-venv/lib/python3.11/site-packages/weecfg/station_config.py",
line 686, in station_upgrade
util_dir = copy_util(config_path, config_dict, dry_run=dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/wx/weewx-venv/lib/python3.11/site-packages/weecfg/station_config.py",
line 631, in copy_util
shutil.copytree(util_resources, dstdir,
File "/usr/lib/python3.11/shutil.py", line 561, in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/shutil.py", line 459, in _copytree
os.makedirs(dst, exist_ok=dirs_exist_ok)
File "<frozen os>", line 225, in makedirs
FileExistsError: [Errno 17] File exists: '/home/wx/weewx-data/util'
(weewx-venv) wx@wx5:~$