Repository navigation
Conversation
The job did not install wxPython, so gui/wxpython/menustrings.py was left as a header-only stub and about 1100 menu strings were missing from grasswxpy.pot. Install python3-wxgtk4.0 and enable the optional dependencies of the tools listed in the menus, so that their real descriptions are extracted instead of "Module not installed". Also delete menustrings.py and the other generated files in gui/wxpython when a generator fails (.DELETE_ON_ERROR), so that the existence check in 'make pot' fails visibly instead of passing on a stub. This change was developed with substantial AI assistance.
echoix
commented
Oct 11, 2026
Ubuntu 24.04 does not package PDAL or libLAS, so the update-i18n job cannot build r.in.pdal, v.in.pdal and the *.lidar tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
update-i18njob now installs wxPython (python3-wxgtk4.0) and the optional dependencies of the tools listed in the menus (cairo, fftw, freetype, geos, libsvm, netcdf, opengl, postgres).gui/wxpython/Makefilealso gets.DELETE_ON_ERROR, so a failing generator no longer leaves a header-onlymenustrings.pythatmake potaccepts.Motivation and context
Without wxPython,
core/menutree.pyfails onimport wx, the error is ignored by-$(MAKE) menustrings.py, andmenustrings.pystays a 3-line stub. Since OSGeo#5752, about 1,095 menu and Modeler/Psmap msgids are missing fromgrasswxpy.pot. Tools that are not built also get "Module not installed" instead of their description.Not changed: the CMake
build_menustringstarget (it already fails the build on error), and a parallel-make race that can leaveg.gui.dbmgras "Module not installed".How has this been tested?
Ran the job's apt install, configure,
makeandcd locale && make potlocally.menustrings.pyhas 2366 lines andgrasswxpy.potgoes from 3435 to 4541 msgids, including "Raster map calculator". Without wx,make menustrings.pynow fails and removes the file, andmake potexits with an error.Types of changes
Checklist
pre-defined prefixes
of this project.
Developed with substantial AI assistance.
Generated by Claude Code