Opened 7 years ago
Last modified 5 years ago
#3341 new defect
g.search.modules depends on grass-gui
| Reported by: | martinl | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 7.8.3 |
| Component: | Packaging | Version: | unspecified |
| Keywords: | g.search.modules | Cc: | |
| CPU: | Unspecified | Platform: | Unspecified |
Description
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.
Change History (10)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Milestone: | 7.2.1 → 7.2.2 |
|---|
comment:5 by , 6 years ago
| Milestone: | → 7.2.4 |
|---|
comment:6 by , 5 years ago
| Milestone: | 7.2.4 → 7.8.0 |
|---|
comment:10 by , 5 years ago
| Milestone: | → 7.8.3 |
|---|
Note:
See TracTickets
for help on using tickets.

I'm not really sure about the right directory and files which are specific to wxGUI GUI actions, but generally I agree that this needs to be revised. If would implement #645 by using the toolbox trees with the current structure, we would make
grass-guidependent ongrass-docwhich is not right.