Sorry that 400 was non-sense. Most of my files are 644 . . . group read-only.
On Tuesday, October 28, 2025 at 4:11:46 PM UTC-5 Jobu wrote: > FWIW, on my system while files are assigned to the weewx group, group > permissions are 400 (read-only). > > This was a fresh install of weewx 5.1.0 using `apt install weewx` on > Unbuntu 24.04 > > On Tuesday, October 28, 2025 at 4:03:26 PM UTC-5 vince wrote: > > Permission denied generally means you tried to read or write from/to > someplace you aren't in the required group to succeed doing that. The > problem going away via sudo (which you shouldn't almost ever need to do > typically for weewx v5) generally confirms that. > > Keyerror frequently means a typo or something missing from weewx.conf so > you probably should post that for more eyeballs taking a look. > On Tuesday, October 28, 2025 at 1:52:47 PM UTC-7 Ron Walker wrote: > > Addtional information. After running the command the fileparse > installation appeared to finish successfully, however, when I started > weewx, it failed with the following: > > weewx.service - WeeWX > Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; > preset: enabled) > Active: failed (Result: exit-code) since Tue 2025-10-28 16:43:39 EDT; > 8s ago > Duration: 801ms > Invocation: 61d79b2574f2414689af666970c8e86a > Docs: https://weewx.com/docs > Process: 1844 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, > status=1/FAILURE) > Main PID: 1844 (code=exited, status=1/FAILURE) > CPU: 702ms > > Oct 28 16:43:39 raspberrypi weewxd[1844]: > self.setupStation(config_dict) > Oct 28 16:43:39 raspberrypi weewxd[1844]: > ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ > Oct 28 16:43:39 raspberrypi weewxd[1844]: File > "/usr/share/weewx/weewx/engine.py", line 99, in setupStation > Oct 28 16:43:39 raspberrypi weewxd[1844]: driver = > config_dict[station_type]['driver'] > Oct 28 16:43:39 raspberrypi weewxd[1844]: > ~~~~~~~~~~~^^^^^^^^^^^^^^ > Oct 28 16:43:39 raspberrypi weewxd[1844]: File > "/usr/lib/python3/dist-packages/configobj/__init__.py", line 549, in > __getit> > Oct 28 16:43:39 raspberrypi weewxd[1844]: val = dict.__getitem__(self, > key) > Oct 28 16:43:39 raspberrypi weewxd[1844]: KeyError: 'fileparse' > Oct 28 16:43:39 raspberrypi systemd[1]: weewx.service: Main process > exited, code=exited, status=1/FAILURE > Oct 28 16:43:39 raspberrypi systemd[1]: weewx.service: Failed with result > 'exit-code'. > > Sorry for the multiple messages! > > On Tuesday, October 28, 2025 at 4:43:14 PM UTC-4 Ron Walker wrote: > > 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/82731e46-4b3a-4318-95e6-34ff84a29bedn%40googlegroups.com.
