-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Labels
bugSomething isn't workingSomething isn't workingwindowsMicrosoft Windows specificMicrosoft Windows specific
Milestone
Description
Describe the bug
g.extension module fails during installation addon under MS Windows OS because Git is not installed and distributed by default with GRASS GIS installation.
To Reproduce
Steps to reproduce the behavior:
- Install GRASS GIS with MS Windows standalone installer
- Try install some addon e.g.
g.extension db.join - See error
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
8.4\scripts\g.extension.py", line 2853, in <module>
sys.exit(main())
File "C:\Program Files\GRASS GIS
8.4\scripts\g.extension.py", line 2828, in main
get_addons_paths(gg_addons_base_dir=options["prefix"])
File "C:\Program Files\GRASS GIS
8.4\scripts\g.extension.py", line 2732, in get_addons_paths
addons_branch = get_version_branch(VERSION[0])
File "C:\Program Files\GRASS GIS
8.4\scripts\g.extension.py", line 507, in get_version_branch
branch = gs.Popen(
File "C:\Program Files\GRASS GIS
8.4\etc\python\grass\script\core.py", line 55, in __init__
raise OSError(_("Cannot find the executable
{0}").format(args[0]))
OSError: Cannot find the executable git
Expected behavior
g.extension module should install some addon without error message and Git program should be distributed with GRASS GIS installation by default.
System description:
- Operating System: MS Windows
- GRASS GIS version: 8.4.dev, 8.3.0
Additional context
We need to update the GRASS GIS installation/runtime dependencies (add Git program) for package maintainer on other OS platforms too.
Originally reported here #3059.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwindowsMicrosoft Windows specificMicrosoft Windows specific