Hi All,
I have a fresh install of version 5.2.0 running on a Raspberry Pi running
Trixie OS. The installation went smoothly with no issues except I did have
to add myself to the weewx group in order to access files. The issues came
when I attempted to use the fileparse driver. I installed the driver using
the following command:
*weectl extension install /etc/weewx/examples/fileparse*
When I executed the command I got the following error:
pi@raspberrypi:~ $ weectl extension install /etc/weewx/examples/fileparse
Using configuration file /etc/weewx/weewx.conf
Install extension '/etc/weewx/examples/fileparse' (y/n)? y
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 143, in
install_extension
extension_name = self.install_from_dir(extension_path)
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.13/shutil.py", line 429, in copy
copymode(src, dst, follow_symlinks=follow_symlinks)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/shutil.py", line 318, in copymode
chmod_func(dst, stat.S_IMODE(st.st_mode))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted:
'/etc/weewx/bin/user/fileparse.py'
Can someone point me in the right direction?
Thanks in advance!
Ron
--
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/1cb13cd9-8406-4662-bf00-926ddf2cd861n%40googlegroups.com.