[Qgis-developer] R Sextante error
rldhont
rldhont at gmail.com
Fri Oct 19 01:11:56 PDT 2012
Hi all,
With a friend of mine, we identifying a bug on Ubuntu with R in sextante.
The bug is : The python subprocess doesn't execute the command.
The solution put the parameter shell to False on linux for the
subprocess Popen construction.
Python doc
http://docs.python.org/library/subprocess.html#popen-constructor :
On Windows with shell=True, the COMSPEC environment variable specifies
the default shell. The only time you need to specify shell=True on
Windows is when the command you wish to execute is built into the shell
(e.g. dir or copy). You do not need shell=True to run a batch file or
console-based executable.
If you want I can open an issue and provide a patch.
Regards,
René-Luc
Le 19/10/2012 10:01, Victor Olaya a écrit :
> Agustin
>
> The most useful info here is in the Rlog file that you will find in
> [your-user-folder]/sextante
>
> That tells us what was the problem with R (if any). Could you please send it?
>
> thanks for your help
>
> Victor
>
> 2012/10/19 Agustin Lobo <alobolistas at gmail.com>:
>> I find problem at trying to run R scripts within Sextante
>> on ubuntu 10.04 + qgis 1.8
>>
>> I include links to screen captures of the results at attempting to run
>> the provided example script "Create random sample grid":
>>
>> http://dl.dropbox.com/u/3180464/Rsextante1.jpeg
>> http://dl.dropbox.com/u/3180464/Rsextante2.jpeg
>> http://dl.dropbox.com/u/3180464/Rsextante3.jpeg
>> http://dl.dropbox.com/u/3180464/Rsextante4.jpeg
>>
>> I've seen a couple or R-Sextante tickets in
>> http://hub.qgis.org/projects/sextante/issues
>>
>> but I think that they are not related to this, as it seems that
>> those users were able to go beyond than I've been. It also seems like R Sextante
>> might be working on windows and not on linux?
>>
>> Should I open a ticket for this in
>> http://hub.qgis.org/projects/sextante/issues ?
>>
>> Thanks
>>
>> Agus
>>
>> QGIS version 1.8.0-Lisboa
>> QGIS code revision exported
>> Compiled against Qt4.6.2
>> Running against Qt4.6.2
>> Compiled against GDAL/OGR1.9.1
>> Running against GDAL/OGR1.9.1
>> GEOS Version3.3.3
>> PostgreSQL Client Version8.4.12
>> SpatiaLite Version2.4.0
>> QWT Version5.2.0
>> _______________________________________________
>> 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
More information about the Qgis-developer
mailing list