Addon manual page missing

The manual page of r.in.vect is not included on the overview of addons (Addon Tools - GRASS 8.5 Documentation). I can install it using g.extension. The log files (GRASS /home/neteler/.grass8/addons AddOns Logs (x86_64)) all show failed status, so I guess that is not why this particular addon is not listed. I would like to investigate where the problem lies, but not sure where to start. Any clues?

Is it the gs.open Python issue? There is a ticket for that.

Is that the one about manual pages missing from the toolbox? Otherwise, I can’t find a ticket gs.open. Is that in grass, grass addons or grass website?

Hello, this log you mention related with GRASS GIS version 8.6.0dev (main GIT branch). Issue especially related with this PR.

Extension installed locally successfully work with g.extension module. Problem is related with compilation (GRASS GIS switched from usage Make to CMake for compilation) addons via this script file https://github.com/OSGeo/grass-addons/blob/14f2ab1c765381dd9b1c949e6a65cb8347f66662/utils/cronjobs_osgeo_lxd/compile_addons_git.sh#L155-L164 (make command is still here used) on the server.

See my initial comment here.

Hi, thanks. But would this be the same cause r.in.vect does not show in the list of addons, while all (most) others are?

Hi, if you mean r.in.vect doesn’t show in online addons doc list, my opinion is that different issue.

I tried find and install r.in.vect addon successfully. But command man r.in.vect return No manual entry for r.in.vect. If I launch r.in.vect --ui command man page is showed inside GUI Manual tab.

GRASS nc_spm_08_grass7/climate_2000_2012:~ > g.extension -l | grep "r.in.vect"
List of available extensions (modules):
r.in.vect

GRASS nc_spm_08_grass7/climate_2000_2012:~ > g.extension r.in.vect
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), done.
Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
WARNING: Extension <r.in.vect> already installed. Re-installing...
Fetching <r.in.vect> from <https://github.com/OSGeo/grass-addons/> (be
patient)...
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), done.
Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 30, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 30 (delta 0), reused 0 (delta 0), pack-reused 19 (from 5)
Receiving objects: 100% (30/30), 79.31 KiB | 828.00 KiB/s, done.
Resolving deltas: 100% (1/1), done.
Already on 'grass8'
Your branch is up to date with 'origin/grass8'.
Compiling...
Installing...
Updating extensions metadata file...
Updating extension modules metadata file...
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), done.
Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
Installation of <r.in.vect> successfully finished

GRASS nc_spm_08_grass7/climate_2000_2012:~ > r.in.vect --help
Converts an external vector layer to a raster layer using gdal.Rasterize and imports this raster layer.

Usage:
 r.in.vect [-cvrdla] input=name [layer=value] output=name
   [attribute_column=name] [label_column=name] [value=value]
   [background=value] [where=sql_query] [sql=string] [memory=memory in MB]
   [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:
  -c   Count overlapping features
  -v   Convert whole vector
  -r   Match region to vector bounding box
  -d   Create densified lines
  -l   Linearize curved geometries
  -a   Print attribute table columns

Parameters:
             input   Name of input file
             layer   OGR layer name
            output   Name for output raster map
  attribute_column   Column with raster values
      label_column   Column with raster labels
             value   Raster value
        background   Value for background pixels
             where   WHERE conditions of SQL statement without 'where' keyword
               sql   SQL statement
            memory   Maximum memory to be used (in MB)
                     default: 300

GRASS nc_spm_08_grass7/climate_2000_2012:~ > man r.in.vect
No manual entry for r.in.vect

Yes, that is exactly it. I wonder if it something wrong with the addon or its manual page or something else.

Let’s see if this helps with the documentation pages:

Thanks @annakrat, your fix helps:

I have just backported the fix also to the GRASS 8.5. branch.

2 Likes