grass icon indicating copy to clipboard operation
grass copied to clipboard

[Bug] Launching GRASS manual from GUI leads or 'g.manual -i' leads to isolated index.html

Open gregorywaynepower opened this issue 6 months ago • 3 comments

Describe the bug

Clicking on "GRASS manual" button in wxpython GUI leads to file:///run/user/1000/doc/c71f2992/index.html--which is isolated from where the rest of the documentation files are installed.

g.manual -i also leads to file:///run/user/1000/doc/c71f2992/index.html.

/usr/share/doc/grass-doc/html/index.html is what it used to point to so I could navigate the documentation.

Output of g.gisenv

GISDBASE=/home/gregorywpower/grassdata
LOCATION_NAME=mapping_cary_2264
MAPSET=PERMANENT
GUI=text
PID=34543

Should I be seeing GISBASE_DIR or GRASS_DOC_DIR here?

To reproduce

  1. Launch grass.
  2. g.manual -i

Expected behavior

Screenshots

Image

System description

g.version -rge version=8.4.1 date=2025 revision=exported build_date=2025-03-26 build_platform=x86_64-pc-linux-gnu build_off_t_size=8 libgis_revision=8.4.1 libgis_date=2025-03-28T14:29:40+00:00 proj=9.3.1 gdal=3.8.4 geos=3.12.1 sqlite=3.37.2

Additional context

Pulling from https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable

gregorywaynepower avatar May 31 '25 14:05 gregorywaynepower

Are you on noble or jammy? At least both of them in the PPA seem to exist

echoix avatar May 31 '25 14:05 echoix

Even with that, I'm not sure how I would start to help out debugging this. The old docs in the old release, and an unstable ubuntugis package. I don't know where to look first.

echoix avatar May 31 '25 14:05 echoix

@echoix I'm on jammy. I've started trying to figure out if there's something up with one of my environment variables, because that's where I think something could be going wrong? I've edited the initial post.

Edit: This could be a red herring, but I don't know if c71f2992 in the URL leads to a commit hash?

gregorywaynepower avatar May 31 '25 14:05 gregorywaynepower