[Qgis-user] QGIS with SAGA in macos

gvSIGMac gvsig.mac at gmail.com
Thu Jun 13 05:54:00 PDT 2013


Victor,
But the thing is that the export part seems to be failing in my Grass as well:
Oooops! SEXTANTE could not open the following output layers

Output raster layer: /Users/adiez/0000/borrar2.tif
The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm

Checking the log information might help you see why those layers were not created as expected

This algorithm requires GRASS to be run. A test to check if GRASS is correctly installed and configured in your system has been performed, with the following result:

GRASS seems to be correctly installed and configured
Algorithm r.mapcalculator - Calculate new raster map from a r.mapcalc expression. started
g.proj -c proj4="+proj=longlat +ellps=WGS84 +no_defs"
r.external input="/Volumes/eltera/Users/adiez/0000/borrar.tif" band=1 output=tmp1371127548527 --overwrite -o
g.region n=7.01236 s=4.99072 e=37.00659 w=34.98495 res=0.000833322341303
r.mapcalculator amap=tmp1371127548527 formula=" A*2" outfile=outfiled9bdc5da39c64ff18679e06aa66d094e --overwrite
g.region rast=outfiled9bdc5da39c64ff18679e06aa66d094e
r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" input=outfiled9bdc5da39c64ff18679e06aa66d094e output="/Users/adiez/0000/borrar3.tif"
Rebuilding Addon HTML manual pages index...
cat: global_r.prominence.html: No such file or directory
cat: global_r.stream.distance.html: No such file or directory
cat: global_r.stream.extract.html: No such file or directory
cat: global_r.stream.order.html: No such file or directory
cat: global_r.stream.stats.html: No such file or directory
Rebuilding Addon menu...
grep: /Users/adiez/Library/GRASS/6.4/Modules/bin/docs: Is a directory
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements
Python 2.7.2 found.
Cleaning up temporary files ...
Starting GRASS ...
Executing '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' ...
Welcome to GRASS 6.4.2 (2012)

GRASS_INFO_WARNING(51804,1): Datum not recognised by GRASS and no parameters found
GRASS_INFO_END(51804,1)

GRASS_INFO_MESSAGE(51804,2): N.B. The default region was updated to the new projection, but if you have multiple mapsets g.region -d should be run in each to update the region from the default.
GRASS_INFO_END(51804,2)

GRASS_INFO_MESSAGE(51804,3): Projection information updated!
GRASS_INFO_END(51804,3)

GRASS_INFO_WARNING(51805,1): Datum not recognised by GRASS and no parameters found
GRASS_INFO_END(51805,1)

GRASS_INFO_WARNING(51805,2): Over-riding projection check
GRASS_INFO_END(51805,2)

GRASS_INFO_MESSAGE(51805,3): Importing band 1 of 1...
GRASS_INFO_END(51805,3)

GRASS_INFO_MESSAGE(51805,4): Link to raster map created
GRASS_INFO_END(51805,4)

GRASS_INFO_MESSAGE(51811,1): r.mapcalc "outfiled9bdc5da39c64ff18679e06aa66d094e" = "( "tmp1371127548527" *2)"
GRASS_INFO_END(51811,1)

GRASS_INFO_ERROR(51812,1): Unable to load GDAL library
GRASS_INFO_END(51812,1)

GRASS_INFO_ERROR(51813,1): Calculating outfiled9bdc5da39c64ff18679e06aa66d094e. Try expert mode.
GRASS_INFO_END(51813,1)

GRASS_INFO_ERROR(51814,1): Raster map not found
GRASS_INFO_END(51814,1)

GRASS_INFO_ERROR(51815,1): Raster map or group not found
GRASS_INFO_END(51815,1)
Closing monitors ...
dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid
Cleaning up temporary files ...
Batch job '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB variable) was executed.
Goodbye from GRASS GIS
Rebuilding Addon HTML manual pages index...
cat: global_r.prominence.html: No such file or directory
cat: global_r.stream.distance.html: No such file or directory
cat: global_r.stream.extract.html: No such file or directory
cat: global_r.stream.order.html: No such file or directory
cat: global_r.stream.stats.html: No such file or directory
Rebuilding Addon menu...
grep: /Users/adiez/Library/GRASS/6.4/Modules/bin/docs: Is a directory
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements
Python 2.7.2 found.
Cleaning up temporary files ...
Starting GRASS ...
Executing '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' ...
Welcome to GRASS 6.4.2 (2012)

GRASS_INFO_ERROR(52030,1): Raster map not found
GRASS_INFO_END(52030,1)

GRASS_INFO_ERROR(52031,1): Raster map or group not found
GRASS_INFO_END(52031,1)
Closing monitors ...
dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid
Cleaning up temporary files ...
Batch job '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB variable) was executed.
Goodbye from GRASS GIS
Converting outputs
Loading resulting layers
Algorithm r.mapcalculator - Calculate new raster map from a r.mapcalc expression. finished

On 13/06/2013, at 13:26, Victor Olaya <volayaf at gmail.com> wrote:

>> An error has occured while executing Python code:
>> 
>> Traceback (most recent call last):
>>  File
>> "/Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/sextante/gui/OutputSelectionPanel.py",
>> line 92, in saveToFile
>>    filename= unicode(files.first())
>> AttributeError: 'list' object has no attribute 'first'
>> 
> 
> That error was fixed a few days ago in this commit
> 
> https://github.com/qgis/Quantum-GIS/commit/a6f9f563095d2ebd3334de3809bda1d2f8ec1d64
> 
> updating your qgis-dev version should fix it.
> 
> The other problem is related to using 2.1.
> 
> It's easy to update SEXTANTE for the export command (which is the one
> failing), but I do not want to do it until a final stable 2.1 is
> released. For now, SEXTANTE runs on the latest stable version of SAGA,
> ,which is 2.0.8
> 
> Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130613/3e6ef449/attachment.html>


More information about the Qgis-user mailing list