[GRASS-dev] [GRASS GIS] #3341: g.search.modules depends on grass-gui
GRASS GIS
trac at osgeo.org
Fri Apr 28 05:48:17 PDT 2017
#3341: g.search.modules depends on grass-gui
------------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 7.2.1
Component: Packaging | Version: unspecified
Keywords: g.search.modules | CPU: Unspecified
Platform: Unspecified |
------------------------------+-------------------------
In distributions like !Debian/Ubuntu GRASS is split into more packages
like `grass-core` and `grass-gui`. Currently G72:g.search.modules (shifted
by `grass-core`) depends on XML (gui/wxpython/xml/module_items.xml) which
is shifted by `grass-gui` package.
Currently the command fails (no `grass-gui` package not installed).
{{{
RASS 7.2.0 (landsat):~ > g.search.modules buffer
Traceback (most recent call last):
File "/usr/lib/grass72/scripts/g.search.modules", line 246, in <module>
sys.exit(main())
File "/usr/lib/grass72/scripts/g.search.modules", line 81, in main
modules = _search_module(keywords, AND, manpages)
File "/usr/lib/grass72/scripts/g.search.modules", line 176, in
_search_module
menudata_file = open(filename, 'r')
IOError: [Errno 2] No such file or directory:
'/usr/lib/grass72/gui/wxpython/xml/module_items.xml'
}}}
Solution: GUI XML files could be moved to 'etc' directory.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3341>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list