Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X: GRASS GIS 7.0 correction #22326

Closed
qgib opened this issue Feb 19, 2016 · 5 comments
Closed

Mac OS X: GRASS GIS 7.0 correction #22326

qgib opened this issue Feb 19, 2016 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 19, 2016

Author Name: Martin Laloux (Martin Laloux)
Original Redmine Issue: 14339
Affected QGIS version: 2.12.1
Redmine category:processing/grass
Assignee: Giovanni Manghi


The original Grass7Utils.py script for Mac OS X is (lines 257-259)

        if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + 'grass70.sh'):
            command = Grass7Utils.grassPath() + os.sep + 'grass70.sh ' \\
                + Grass7Utils.grassMapsetFolder() + '/PERMANENT'

It does not work because in the GRASS 7.0 version of Mac OS X from M.Bartons's http://grassmac.wikidot.com/downloads, the script is grass.sh (and not grass70.sh)

So,

        if isMac() and os.path.exists(Grass7Utils.grassPath() + os.sep + '*grass.sh*'):
            command = Grass7Utils.grassPath() + os.sep + '*grass.sh* ' \\
                + Grass7Utils.grassMapsetFolder() + '/PERMANENT'

works.

@qgib
Copy link
Contributor Author

qgib commented Feb 19, 2016

Author Name: Paolo Cavallini (@pcav)


  • subject was changed from Mac OS X: GRASS GIS 7.0 correctiion to Mac OS X: GRASS GIS 7.0 correction

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2016

Author Name: Giovanni Manghi (@gioman)


Is that the official download for GRASS on OsX? I think that we rely on another package (see the QGIS download page), is there any difference between the two about how they define the GRASS7 paths?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2016

Author Name: Martin Laloux (Martin Laloux)


Yes, is is probably best known. If you look a http://www.kyngchaos.com/software/grass : For GRASS 7 see Michael Barton's GRASS page

Same if you look at https://grass.osgeo.org/download/software/mac-osx/

I don't know the status of Homebrew GRASS, MacPorts GRASS

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2016

Author Name: Giovanni Manghi (@gioman)


see #2871


  • status_id was changed from Feedback to In Progress
  • done_ratio was changed from 0 to 100
  • assigned_to_id was changed from Victor Olaya to Giovanni Manghi

@qgib
Copy link
Contributor Author

qgib commented Mar 18, 2016

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented
  • status_id was changed from In Progress to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS labels May 25, 2019
@qgib qgib added this to the Version 2.14 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS
Projects
None yet
Development

No branches or pull requests

1 participant