[Qgis-user] Sextante - problems with GRASS tools

Victor Olaya volayaf at gmail.com
Tue Dec 11 15:24:23 PST 2012


Working here for me.  There's been a change a week ago, modifying how
the grass mapset is created, but it seems you are not using it, since
it refers to the "user" mapset, and now everything goes into
PERMANENT. Maybe an old version somewhere?





2012/12/11 Pedro Venâncio <pedrongvenancio at yahoo.com>:
> Hi,
>
> I am not able to run any GRASS tools from Sextante since the last update.
>
> I leave here the logs of r.shaded.relief algorithm:
>
> sextante.runalg("grass:r.shaded.relief","/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/MDT/mdt_rst_5.tif",30,270,1,1,0,"250412.0,322808.0,400555.0,447300.0",0,None)
>
>
> GRASS execution commands
> g.proj -c proj4="+proj=tmerc +lat_0=39.66666666666666 +lon_0=1 +k=1 +x_0=200000 +y_0=300000 +ellps=intl +towgs84=-304.046,-60.576,103.64,0,0,0,0 +pm=lisbon +units=m +no_defs"
> r.external input="/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/MDT/mdt_rst_5.tif" band=1 output=tmp1355265938984 --overwrite -o
> g.region n=447300.0 s=400555.0 e=322808.0 w=250412.0 res=24.9986187845
> r.shaded.relief map=tmp1355265938984 altitude=30 azimuth=270 zmult=1 scale=1 units=none shadedmap=shadedmap53696621697a4515859b91ae5914b8e1 --overwrite
> g.region rast=shadedmap53696621697a4515859b91ae5914b8e1
> r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=shadedmap53696621697a4515859b91ae5914b8e1 output="/home/pedro/.qgis//sextante/tempdata/grassrshadedreliefeb60658e09754b028e2b1d1af83ad5ba.tif"
>
>
> GRASS execution console output
> Cleaning up temporary files ...
> Starting GRASS ...
>
> GRASS_INFO_ERROR(9329,1): MAPSET user não encontrado
> GRASS_INFO_END(9329,1)
> /home/pedro/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a valid GRASS location
> Cleaning up temporary files ...
> Starting GRASS ...
>
> GRASS_INFO_ERROR(9363,1): MAPSET user não encontrado
> GRASS_INFO_END(9363,1)
> /home/pedro/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a valid GRASS location
>
>
>
> Anyone confirm?
>
>
> I am using QGIS master version 1.9.0+git20121208+7841975~precise-ubuntugis1 on Xubuntu 12.04.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list