Hi
Using a Pi5 with a clean install of all software (Debian 12 bookworn).
Loaded weewx v5.0.2 using Installation on Debian based systems all OK
Then tried loading extensions using weectl which all worked OK until I tried
weectl extension install ~/Downloads/weewx-steelseries-master.zip.
It failed with
 weectl extension install ~/Downloads/weewx-steelseries-master.zip
Using configuration file /etc/weewx/weewx.conf
Install extension '/home/phil/Downloads/weewx-steelseries-master.zip' 
(y/n)? y
Extracting from zip archive 
/home/phil/Downloads/weewx-steelseries-master.zip
Traceback (most recent call last):
  File "/usr/share/weewx/weectl.py", line 74, in <module>
    main()
  File "/usr/share/weewx/weectl.py", line 66, in main
    namespace.func(namespace)
  File "/usr/share/weewx/weectllib/__init__.py", line 121, 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 138, in 
install_extension
    extension_name = self._install_from_file(extension_path, filetype)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weecfg/extension.py", line 168, in 
_install_from_file
    extension_name = self.install_from_dir(extension_dir)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weecfg/extension.py", line 185, in install_from_dir
    self._install_files(installer['files'], extension_dir)
  File "/usr/share/weewx/weecfg/extension.py", line 269, in _install_files
    shutil.copy(source_path, destination_path)
  File "/usr/lib/python3.11/shutil.py", line 419, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.11/shutil.py", line 256, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/tmpyald28op/weewx-steelseries-master/skins/ss/gauge-data.txt.tmpl'

Just wondered what I may have done wrong
Thanks

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/17a8db89-0641-49da-b015-17a43f6bc579n%40googlegroups.com.

Reply via email to