[GRASS-user] r.width.funct in correct version

Nikos Alexandris nik at nikosalexandris.net
Wed Feb 20 03:25:32 PST 2019


* Juan Lopez <cubarro at gmail.com> [2019-02-20 06:20:48 -0400]:

>I have found a discussion about r.width.funct in this list, but I am
>not sure about the meaning of the final comment in order to solve the
>problem.
>
>
>Discussion is in this link
>
>https://www.mail-archive.com/grass-user@lists.osgeo.org/msg37141.html
>
>Bartolomei Chris and Markus Neteler says that it is already fixed.
>
>
>I am trying to understand their comments.  I have exactly the same
>problem.  r.width.fucnt is not working.
>
>
>What I did:
>
>
>   - I have Linux Mint 19.1 Cinnamon, based on Ubuntu Bionic.
>   - Installed standard Grass 7.4.0 from Ubuntu repositories.
>   - Applied r.width.funct and failed.
>   - Removed this version and added new repository, recomended by
>https://grass.osgeo.org/news/78/15/GRASS-GIS-7-4-2-released
>   - System got updated and new version came to linux.
>   - Installed  Grass 7.6.0 (new stable) from ppa:ubuntugis/ubuntugis-unstable
>   - Problem remains the same.
>   - Reinstalled  r.width.funct and failed.
>   - Replaced script in  r.width.funct for the one presented in this
>tread (https://www.mail-archive.com/grass-user@lists.osgeo.org/msg37141.html)
>and failed.
>
>I would like to keep the original standard repositories in order to
>let administrative maintenance tasks as simple as possible.
>
>Did I missed something to solve the problem?

Installation via g.extension fails here too:

```
→ g.version -r
GRASS 7.7.svn (2019)
libgis Revision: 73998
libgis Date: 2019-01-22 12:04:06 +0100 (Tue, 22 Jan 2019)
```
and
```
→ g.extension r.width.funct
Fetching <r.width.funct> from GRASS GIS Addons repository (be patient)...
Compiling...
Traceback (most recent call last):
  File "/tmp/grass7-nik-25324/tmpnmZ2V7/r.width.funct/scripts/r.width.funct", line 45, in <module>
    import matplotlib #required by windows
ImportError: No module named matplotlib
make: *** [/osgeo/grasstrunk/dist.x86_64-pc-linux-gnu/include/Make/Html.make:14: r.width.funct.tmp.html] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
```

Nikos


More information about the grass-user mailing list