[GRASS-dev] [GRASS GIS] #3691: addon r.connectivity.distance not working

GRASS GIS trac at osgeo.org
Thu Nov 1 10:34:37 PDT 2018


#3691: addon r.connectivity.distance not working
------------------------+-------------------------
  Reporter:  cgarzon    |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  Addons     |    Version:  7.4.1
Resolution:             |   Keywords:
       CPU:  OSX/Intel  |   Platform:  MacOSX
------------------------+-------------------------
Description changed by neteler:

Old description:

> I have installed the addon r.connectivity. But when I try to use
> r.connectivity.distance I get the following error:
>
> GRASS 7.4.1 (nc_spm_08_grass7):~ > r.connectivity.distance
>
> Traceback (most recent call last):
>
>   File
> "/Users/carolgarzon/Library/GRASS/7.4/Modules/scripts/r.connectivity.distance",
> line 242, in <module>
>
>     TMP_PREFIX = grass.tempname(12)
>
> AttributeError: 'module' object has no attribute 'tempname'
>
> --------
>
> There is no manual page for this command and when I tried reinstalling I
> got:
>

>
> ADVERTENCIA: Extension <r.connectivity> already installed. Re-
> installing...
>
> Fetching <r.connectivity> from GRASS GIS Addons repository (be
> patient)...
>
> Compiling...
>
> Traceback (most recent call last):
>
>   File
> "/tmp/grass7-carolgarzon-7044/tmp_ooFcV/r.connectivity/scripts/r.connectivity.distance",
> line 242, in <module>
>
>     TMP_PREFIX = grass.tempname(12)
>
> AttributeError: 'module' object has no attribute 'tempname'
>
> make[1]: *** [r.connectivity.distance.tmp.html] Error 1
>
> Installing...
>
> install:
> /tmp/grass7-carolgarzon-7044/tmp_ooFcV/r.connectivity/docs/html/r.connectivity.distance.html:
> No such file or directory
>
> make[1]: *** [install] Error 71
>
> Updating addons metadata file...
>
> Installation of <r.connectivity> successfully finished
>
> What might be the problem?

New description:

 I have installed the addon r.connectivity. But when I try to use
 r.connectivity.distance I get the following error:

 {{{

 GRASS 7.4.1 (nc_spm_08_grass7):~ > r.connectivity.distance

 Traceback (most recent call last):

   File
 "/Users/carolgarzon/Library/GRASS/7.4/Modules/scripts/r.connectivity.distance",
 line 242, in <module>

     TMP_PREFIX = grass.tempname(12)

 AttributeError: 'module' object has no attribute 'tempname'

 --------

 There is no manual page for this command and when I tried reinstalling I
 got:



 ADVERTENCIA: Extension <r.connectivity> already installed. Re-
 installing...

 Fetching <r.connectivity> from GRASS GIS Addons repository (be patient)...

 Compiling...

 Traceback (most recent call last):

   File
 "/tmp/grass7-carolgarzon-7044/tmp_ooFcV/r.connectivity/scripts/r.connectivity.distance",
 line 242, in <module>

     TMP_PREFIX = grass.tempname(12)

 AttributeError: 'module' object has no attribute 'tempname'

 make[1]: *** [r.connectivity.distance.tmp.html] Error 1

 Installing...

 install:
 /tmp/grass7-carolgarzon-7044/tmp_ooFcV/r.connectivity/docs/html/r.connectivity.distance.html:
 No such file or directory

 make[1]: *** [install] Error 71

 Updating addons metadata file...

 Installation of <r.connectivity> successfully finished
 }}}


 What might be the problem?

--

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3691#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list