[GRASS-user] g.extension in windows

Giuliano Urgeghe giuliano.u at gmail.com
Sat Apr 19 14:47:52 PDT 2014


Hi all,
I have some problems with g.extension in windows with grass 7.0
I have replaced g.extension.py in C:\Program Files\GRASS GIS
7.0.0beta1\scripts with the version fixed by Martin Landa in @59799

but I have this error  (windows Vista is my OS!):

g.extension extension=r.basin
operation=add
Downloading precompiled GRASS Addons <r.basin>...
Traceback (most recent call last):
  File "C:\Program Files\GRASS GIS
7.0.0beta1\scripts\g.extension.py", line 1083, in <module>
    sys.exit(main())
  File "C:\Program Files\GRASS GIS
7.0.0beta1\scripts\g.extension.py", line 1071, in main
    install_extension(xmlurl)
  File "C:\Program Files\GRASS GIS
7.0.0beta1\scripts\g.extension.py", line 478, in
install_extension
    ret += install_extension_win(module)
  File "C:\Program Files\GRASS GIS
7.0.0beta1\scripts\g.extension.py", line 706, in
install_extension_win
    zfobj = zipfile.ZipFile(fo)
  File "C:\Program Files\GRASS GIS
7.0.0beta1\Python27\lib\zipfile.py", line 766, in __init__
    self._RealGetContents()
  File "C:\Program Files\GRASS GIS
7.0.0beta1\Python27\lib\zipfile.py", line 807, in
_RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
(Sat Apr 19 23:36:13 2014) Comando terminato (6
sec)


Saluti e Buona Pasqua a tutti!
Giuliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140419/0ebc0651/attachment.html>


More information about the grass-user mailing list