1

When I attempt to install an addon in GRASS Setting->Install Extension from Addons and select the addon i want from the list (r.stream.order) i get the following error: "ERROR: File is not a zip file: http://wingrass.fsv.cvut.cz/grass70/addons/grass-7.0.2/r.stream.order.zip"

I get a similar error no matter what addon I attempt to install.

Is there a way to download the zip files and install locally? If so where should I download these? When I follow the addon links and locate the the location of this addon online, it does not contain any zip files. (https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.stream.order/)

What are the correct steps in successfully installing an addon?

1

2 Answers 2

2

Version 7.0.2 is an older one. The current release is 7.0.4:

If you are speaking about MS Windows, the older addons are still online but you would need to copy the files manually:

Installation trough g.extension is no longer supported for this version. Install the latest release or as @gene says, use Linux or Mac where the addons will be compiled exactly for your version.

2
  • 1
    Thanks. I've installed GRASS, QGIS and OSGeo4W and installed the latest OSGeo4W which came with GRASS 7.0.4 and I was then able to install the needed extensions. May 12, 2016 at 13:12
  • It might be good to add a version check to g.extension and inform the user about the newer version...
    – markusN
    May 16, 2016 at 18:37
2

What is your OS, Windows, Linux, Mac OS X ? It is important because the addon needs to be compiled

From g.extension

On MS Windows systems, where compilation tools not readily available, g.extension downloads a compiled executable from the GRASS GIS project server. On all other operating systems where it is not difficult to install compilation tools, g.extension downloads the source code of the requested extension (addon) and compiles it locally. This applies for both C and Python modules as well as any other extensions. The reason is that more things such as manual page are compiled, not only the source code (which is really necessary to compile just in case of C).

With the Grass shell in Mac OS X or Linux

g.extension extension=r.stream.order svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <r.stream.order> from GRASS-Addons SVN repository (be patient)...
Compiling...
Installing...
Updating addons metadata file...
Installation of <r.stream.order> successfully finished

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.