weectl extension install ~/Downloads/weewx-steelseries-master.zip

139 views
Skip to first unread message

philip....@gmail.com

unread,
Mar 3, 2024, 8:16:34 AM3/3/24
to weewx-user
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

Tom Keffer

unread,
Mar 3, 2024, 10:19:13 AM3/3/24
to weewx...@googlegroups.com
You haven't done anything wrong.

For some reason, the SteelSeries repository is missing the skin! 

I will follow up with Gary.

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

gjr80

unread,
Mar 3, 2024, 4:23:01 PM3/3/24
to weewx-user
Tldr, but you cannot install the weewx-steelseries extension direct from Github. You need to download the latest release package from the releases tab and install from the package file.

Gary

philip....@gmail.com

unread,
Mar 3, 2024, 4:47:44 PM3/3/24
to weewx-user
Thanks Gary
That worked

Reply all
Reply to author
Forward
0 new messages