[Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Mon Aug 27 13:51:18 PDT 2012


Hmmm. I'll maybe have another look and send you a version with some
debugging statements. I was in a rush., it definitely worked fir me! The
reason you had it in a different line was because I had some debug print
statements in.
On Aug 27, 2012 8:40 PM, "Werner Macho" <werner.macho at gmail.com> wrote:

> On 08/27/2012 04:12 PM, Barry Rowlingson wrote:
> > I think the subprocess.Popen call in RUtils is at fault. The "command"
> > is a list, but I think shell=True causes it to be sent to the shell as
> > a command line. If you concatenate (join) the command list with spaces
> > into a single string, this works: proc = subprocess.Popen("
> > ".join(command), shell=True, stdout=subprocess.PIPE,
> > stdin=subprocess.PIPE,stderr=subprocess.STDOUT,
> > universal_newlines=True) line 62 of RUtils.py in the sextante plugin.
> > Barry
>
> Hi!
> Tried your new line (actually it was line 62 in my sextante)
> with no luck ..
> same result as before :(
>
> So I still do not know where the problem is ..
> Probably Victor will be at the next hackfest and I can show my notebook
> to him ;)
>
> but thanks for your try anyway .
>
> kind regards
> Werner
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120827/228e3736/attachment.html>


More information about the Qgis-developer mailing list