wget -O weewx-sdr.zip https://github.com/matthewwall/weewx-sdr/archive/master.zip
pi@meteo:~ $ sudo wee_extension --install weewx-sdr.zipRequest to install 'weewx-sdr.zip'
Extracting from zip archive weewx-sdr.zip
Traceback (most recent call last):
File "/usr/bin/wee_extension", line 83, in <module>
main()
File "/usr/bin/wee_extension", line 75, in main
ext.install_extension(options.install)
File "/usr/share/weewx/weecfg/extension.py", line 107, in install_extension
self.tmpdir, self.logger)
File "/usr/share/weewx/weecfg/__init__.py", line 1212, in extract_zip
zip_archive = zipfile.ZipFile(open(filename, mode='r'))
File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
self._RealGetContents()
File "/usr/lib/python2.7/zipfile.py", line 811, in _RealGetContents
raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
Hello, I am installing rtl-sdr on weewx and when I try to install the driver, I have an error, it reports that the zip file is bad. can you help me, thanks.
Those exact commands worked fine for me just now. I suggest you delete the old .zip file and try downloading the .zip file again, it looks like it was corrupted somewhere between github and your computer.
Gary