Thanks for spotting that, Vince!

Fixed in commit 256cac5
<https://github.com/weewx/weewx/commit/256cac54931bf03f11f1153917c1bfc43fcc34a1>
.

On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan <[email protected]> wrote:

> Tom - your xaggs extension isn't installing.  I see the identical issue
> with one of my custom extensions too.
>
> (weewx-venv) vagrant@deb12:~/adds$ weectl extension install
> --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
> Using configuration file /home/vagrant/weewx-data/simulator.conf
> Request to install 'weewx-xaggs-master/'.
> Traceback (most recent call last):
>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in <module>
>     sys.exit(main())
>              ^^^^^^
>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py",
> line 66, in main
>     namespace.func(namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
> line 96, in dispatch
>     namespace.action_func(config_dict, namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
> line 116, in install_extension
>     ext.install_extension(namespace.source)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
> line 125, in install_extension
>     extension_name = self.install_from_dir(extension_path)
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
> line 201, in install_from_dir
>     save_config |= self._inject_config(installer['config'], extension_name)
>                                        ~~~~~~~~~^^^^^^^^^^
> KeyError: 'config'
>
> (weewx-venv) vagrant@deb12:~/adds$ pip3 list
> Package            Version
> ------------------ ----------
> certifi            2023.11.17
> charset-normalizer 3.3.2
> configobj          5.0.8
> CT3                3.3.3
> ephem              4.1.5
> idna               3.6
> paho-mqtt          1.6.1
> Pillow             10.1.0
> pip                23.0.1
> pyephem            9.99
> PyMySQL            1.1.0
> pyserial           3.5
> pyusb              1.2.1
> requests           2.31.0
> setuptools         66.1.1
> six                1.16.0
> urllib3            2.1.0
> weewx              5.0.0rc1
> wheel              0.42.0
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" 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-development/73f123da-7608-46d5-add0-a2b9b870d1ffn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/73f123da-7608-46d5-add0-a2b9b870d1ffn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/CAPq0zECTEGMYxhtD3yJJ5X00d_1ZBPWPj32%3DON3mtrmyBdXovw%40mail.gmail.com.

Reply via email to