Hi Tom,

I confirmed that I (user pi) am in the weewx group and ran the command as 
you suggested, but the outcome is the same!  I tried running the command 
using sudo and it worked!

Any ideas?

Ron

On Tuesday, October 28, 2025 at 4:29:39 PM UTC-4 Tom Keffer wrote:

> Probably a permissions problem. Try adding yourself to the 'weewx' group:
>
> *sudo usermod -aG weewx my-user-name*
> *exec bash*
>
>
> -tk
>
> On Tue, Oct 28, 2025 at 12:52 PM 'Ron Walker' via weewx-user <
> [email protected]> wrote:
>
>> 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
>>  
>> <https://groups.google.com/d/msgid/weewx-user/1cb13cd9-8406-4662-bf00-926ddf2cd861n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/89135359-55ba-4bb3-9160-204e4d4199dbn%40googlegroups.com.

Reply via email to