[Qgis-developer] Problem with GRASS 7 and Processing
Vaclav Petras
wenzeslaus at gmail.com
Thu Oct 1 06:30:01 PDT 2015
On Thu, Oct 1, 2015 at 3:59 AM, Victor Olaya <volayaf at gmail.com> wrote:
> Not sure what's the rationale for that line, since I am no GRASS
> expert,
There is no need to have GISBASE variable set (path to directory where
GRASS binaries live) when GRASS GIS is started explicitly as a 'grass'
command later on. If you have GISBASE, grass command will end with error as
GISBASE says that you are already in GRASS session.
Why GISBASE is set, or if deleting it is just a precaution, I have no idea.
Best,
Vaclav
but this commit should fix it
>
>
> https://github.com/qgis/QGIS/commit/87d8a12e79a4c889d72245fb2b3ba22100aab59f
>
> Please, try and confirm that it fixes the issue
>
> Regards
>
> 2015-10-01 9:36 GMT+02:00 matteo <matteo.ghetta at gmail.com>:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > HI all,
> > QGIS fresh compiled and Grass7 installed (works as standalone).
> > I'm not able to run any of GRASS7 algorithm with Processing, this is
> > the error:
> >
> > 2015-10-01T09:34:21 2 Could not load model model_PCA.model
> > Error in algorithm name: r:acpcercle
> > 2015-10-01T09:34:30 2 Uncaught error while executing algorithm
> > Traceback (most recent call last):
> > Traceback (most recent call last):| File
> > "/home/ma7730/.qgis2/python/plugins/processing/core/GeoAlgorithm.py",
> > line 227, in execute| self.processAlgorithm(progress)| File
> > "/home/ma7730/.qgis2/python/plugins/processing/algs/grass7/Grass7Algorit
> > hm.py",
> > line 425, in processAlgorithm| Grass7Utils.executeGrass7(commands,
> > progress, outputCommands)| File
> > "/home/ma7730/.qgis2/python/plugins/processing/algs/grass7/Grass7Utils.p
> > y",
> > line 270, in executeGrass7| command, grassenv =
> > Grass7Utils.prepareGrass7Execution(commands)| File
> > "/home/ma7730/.qgis2/python/plugins/processing/algs/grass7/Grass7Utils.p
> > y",
> > line 252, in prepareGrass7Execution| del env['GISBASE']|KeyError:
> > 'GISBASE'|
> > 2015-10-01T09:34:30 1 There were errors executing the
> algorithm.
> >
> >
> > Any idea?
> >
> > Thanks!
> >
> > Matteo
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2
> >
> > iQEcBAEBCAAGBQJWDOKYAAoJEBy7UYf0gaEO9NcH/imnsNoRR9cgRIysh5tu5QWX
> > HiOQIbAJcDjehJRr3+yDYLs7dMYPbaRkI4LlptuPsr+oB3p67KQkcXaFV2CKyNP5
> > x6QhKSHjrY7QTRXOnvGXgHfjeliQuLiB9G62j1JclbLy/o2XIZ9Rmq8D8yq9jB3W
> > j6WwS22+78GKQUpDiK3dUfCEpQCTL3UoqpcxRPs39vwq2+WGO3D7NpW/tL623jNr
> > G5oLNL6f6zl9L5R1zzXRjlS6cW9O+JhuwDiIot6q53nD9qyyCACz6GackdTLmbDB
> > emRJNeU7Xor1ej1YzxMKH78jryZ9XHyWH4lpKQq6sOI7Nnanzy+YwSUSxyGsQro=
> > =loCw
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151001/16ea6bc9/attachment-0001.html>
More information about the Qgis-developer
mailing list