Drealine / weatherlinklive-driver-weewx

Weewx driver for WeatherLinkLive module with VP2 including archive from Weatherlink.com when data be lost.
https://meteo-jussy.fr
Apache License 2.0
4 stars 4 forks source link

Error installation version 0.4 #2

Closed dhover closed 4 years ago

dhover commented 4 years ago

I got an error installing the lastest version:

`version 0.3.0: sudo ./bin/wee_extension --install=/home/weewx/WLLDriver.zip Request to install '/home/weewx/WLLDriver.zip' Extracting from zip archive /home/weewx/WLLDriver.zip Saving installer file to /home/weewx/bin/user/installer/WLLDriver Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20200905125026 Finished installing extension '/home/WLLDriver.zip'

version 0.4.0: sudo ./bin/wee_extension --install=/home/weewx/WLLDriver.zip Request to install '/home/weewx/WLLDriver.zip' Extracting from zip archive /home/weewx/WLLDriver.zip Traceback (most recent call last): File "./bin/wee_extension", line 88, in main() File "./bin/wee_extension", line 80, in main ext.install_extension(options.install) File "/home/weewx/bin/weecfg/extension.py", line 112, in install_extension member_names = weecfg.extract_zip(extension_path, File "/home/weewx/bin/weecfg/init.py", line 1773, in extract_zip with open(path, 'wb') as dest_file: PermissionError: [Errno 13] Permission denied: '/var/tmp/.gitignore' `

What went wrong?

Drealine commented 4 years ago

Hi,

Thank you for you feedback. It is a wrong zip file. I updated the good zip file. I've tested and it work.

Let me know if it good for you. NB : Please not that some parameters has changed, see readme.

dhover commented 4 years ago

Now it works again. Thanks.