Re: [weewx-user] Extension Installer Error

2018-01-13 Thread gjr80
That would do it, my understanding of the extension installer is that in the 
archive everything needs to be under a single top level directory.

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


Re: [weewx-user] Extension Installer Error

2018-01-13 Thread Joe Percival
yes.  though I have taken out the readme and changelog for the time being.
I have found the problem.  I created the zip on a Mac and it created a second 
directory inside the archive called _MACOS.  That was confusing the installer.
Deleting that directory allowed the installer to proceed (and churn up the next 
layer of bugs).
Thanks,
joe

> On Jan 13, 2018, at 2:40 PM, gjr80  wrote:
> 
> I know you outlined your zip structure but it wasn't 100% clear to me. I 
> package in tgz format not zip but the structure I have in my tgz file is:
> 
> name
>  |
>  -- install.py
>  |
>  -- readme.txt
>  |
>  -- changelog
>  |
>  -- bin
>  |   |
>  |   -- directories/files to go in $BIN directory
>  |
>  -- skins
>  |
>  -- directories/files to go in skin directory
> 
> where name is the common name of the extension/driver etc
> 
> Alternatively, post your zip.
> 
> Gary
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/WI_RccEFDNM/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+unsubscr...@googlegroups.com 
> .
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Extension Installer Error

2018-01-13 Thread Joe Percival
 I have tried using the extension installer following the guidance from the 
github wiki on an extension package created by modifying the mem extension 
example.  I do not understand the error message I am getting.  Can someone 
please explain where I've gone wrong?
My extension package is a zipped directory named weewx_snow which contains 
install.py, a bin directory and a skins directory.
here is the error message I am getting:

raise InstallError("Unable to install from '%s': no common path (the 
extension archive contains more than a single root directory)" % 
extension_path)
weecfg.extension.InstallError: Unable to install from 
'/home/pi/Downloads/weewx_snow.zip': no common path (the extension archive 
contains more than a single root directory)

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