Opened 8 years ago
Last modified 6 years ago
#3253 new defect
Main GUI fails to start when g.extension fails when fetching the addons
| Reported by: | wenzeslaus | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2.4 |
| Component: | wxGUI | Version: | svn-releasebranch72 |
| Keywords: | toolboxes, g.extension, startup, addons | Cc: | |
| CPU: | Unspecified | Platform: | Unspecified |
Description
The GUI fails to start when g.extension fails during Addons toolbox creation in core/toolboxes.py. GUI should continue just with an empty Addons toolbox.
After hitting OK, there is no further error or window visible. It does not matter what if it is during GRASS start or with g.gui with or without -f, same for 72 branch and trunk.
This is the error message in a dialog. The g.extension error is in the command line which is not ideal because it should be at the same place as the traceback.
List of addons cannot be obtained because g.extension failed.
Reason: Process ended with non-zero return code 1. See errors in the (error) output.
Traceback (most recent call last):
File ".../gui/wxpython/core/toolboxes.py", line 507, in _getAddons
output = gcore.read_command('g.extension', quiet=True, flags='qwertyuiopag')
File ".../etc/python/grass/script/core.py", line 474, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File ".../etc/python/grass/script/core.py", line 330, in handle_errors
returncode=returncode)
CalledModuleError: Module run None ['g.extension', '--q', '-qwertyuiopag'] ended with error
Process ended with non-zero return code 1. See errors in the (error) output.
Change History (5)
comment:1 by , 8 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 |
|---|
Note:
See TracTickets
for help on using tickets.

In 70461: