Can anyone help resolve this installation error?
$ weectl extension install weewx-forecast-4.0.zip
Using configuration file /etc/weewx/weewx.conf
Install extension 'weewx-forecast-4.0.zip' (y/n)? y
Extracting from zip archive weewx-forecast-4.0.zip
Traceback (most recent call last):
File "/usr/share/weewx/weectl.py", line 75, in <module>
main()
File "/usr/share/weewx/weectl.py", line 67, in main
namespace.func(namespace)
File "/usr/share/weewx/weectllib/__init__.py", line 90, in dispatch
namespace.action_func(config_dict, namespace)
File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in
install_extension
ext.install_extension(namespace.source, no_confirm=namespace.yes)
File "/usr/share/weewx/weecfg/extension.py", line 140, in
install_extension
extension_name = self._install_from_file(extension_path, filetype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weecfg/extension.py", line 170, in
_install_from_file
extension_name = self.install_from_dir(extension_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weecfg/extension.py", line 187, in install_from_dir
self._install_files(installer['files'], extension_dir)
File "/usr/share/weewx/weecfg/extension.py", line 271, in _install_files
shutil.copy(source_path, destination_path)
File "/usr/lib/python3.11/shutil.py", line 420, in copy
copymode(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.11/shutil.py", line 309, in copymode
chmod_func(dst, stat.S_IMODE(st.st_mode))
PermissionError: [Errno 1] Operation not permitted:
'/etc/weewx/bin/user/forecast.py'
Although it says "PermissionError", the paths through to /etc/weewx are
open rwx for the world.
--
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 visit
https://groups.google.com/d/msgid/weewx-user/16498d53-f985-4da8-aaed-23930fdf01fbn%40googlegroups.com.