The documentation is not very clear. The utility wee_extension can install
an *unpacked* extension from a directory. You have to unpack it first.

-tk

On Thu, Oct 11, 2018 at 4:15 AM Auchtermuchty Weather <[email protected]>
wrote:

> Ah ha!  thanks.  Why on earth does the documentation suggest install
> points to the directory containing the .tar.gz rather than the .gar.gz
> itself?  And why didn't I think of that?  :)
>
> Now to make it work...
>
>
> On Thursday, 11 October 2018 08:43:24 UTC+1, Auchtermuchty Weather wrote:
>>
>> I’d like to use the gauges for a weather station I’m setting up, but am
>> having problems installing the download in
>> *https://github.com/brewster76/fuzzy-archer/archive/v2.23.tar.gz*
>> <https://github.com/brewster76/fuzzy-archer/archive/v2.23.tar.gz>.
>>
>>
>>
>> I installed WeeWx myself so it’s in /home/weewx.  I downloaded
>> fuzz-archer-2.23.tar.gz it in /tmp where it’s the only .tar.gz file.
>>
>>
>>
>> When I attempt to run the installation script I end up with an error:
>>
>>
>>
>> $ pwd
>>
>> /home/weewx
>>
>>
>>
>> $ ls /tmp/*gz
>>
>> /tmp/fuzzy-archer-2.23.tar.gz
>>
>>
>>
>> $ bin/wee_extension --install=/tmp
>>
>> Request to install '/tmp'
>>
>> Traceback (most recent call last):
>>
>>   File "bin/wee_extension", line 83, in <module>
>>
>>     main()
>>
>>   File "bin/wee_extension", line 75, in main
>>
>>     ext.install_extension(options.install)
>>
>>   File "/home/weewx/bin/weecfg/extension.py", line 122, in
>> install_extension
>>
>>     self.install_from_dir(extension_path)
>>
>>   File "/home/weewx/bin/weecfg/extension.py", line 137, in
>> install_from_dir
>>
>>     extension_dir)
>>
>>   File "/home/weewx/bin/weecfg/__init__.py", line 1296, in
>> get_extension_installer
>>
>>     raise ExtensionError("Cannot find 'install' module in %s" %
>> extension_installer_dir)
>> weecfg.ExtensionError: Cannot find 'install' module in /tmp
>>
>> I imagine I've made a very simple & stupid mistake!
>>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to