Re: [Qgis-developer] R Sextante error
Hi Victor, I put a new patch for the bug #6545 Sextante doen't execute R command on Linux http://hub.qgis.org/issues/6545 If the solution is more robust, I think it will be interesting to apply the same changes to all the subprocess.Popen code. But I saw that some changes like the join has been already done. I think the bug has to close. Le 19/10/2012 15:12, Victor Olaya a écrit : Thanks! 2012/10/19 rldhont : Hi Victor, Ticket opens and patch supplies http://hub.qgis.org/issues/6545 René-Luc Le 19/10/2012 10:15, Victor Olaya a écrit : That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont : 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 : 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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
BTW, SEXTANTE already have some test (developed by Camilo during GSoC). Currently this test are disabled in CMakeList.txt 2012/10/22 Victor Olaya : > Richard, > > Thanks for the link! That looks really interesting... > > What a pity I could not make it to Essen :-( > > Thanks again > > Victor > > 2012/10/21 Richard Duivenvoorde : >> On 10/21/2012 09:35 PM, Victor Olaya wrote: >> >>> Any recomendation about unit testing for QGIS plugins? Any plugin that >>> already has some good unit tests? >> >> >> Hi Victor, >> >> Not sure if you know, but Tim did a short talk in Essen about python unit >> testing. You can view it here: >> >> http://www.youtube.com/watch?v=vhRcvXvHUSg >> >> Actually we were all encouraged to create at least one python unit test >> during this hackfest... >> >> Regards, >> >> Richard Duivenvoorde > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Richard, Thanks for the link! That looks really interesting... What a pity I could not make it to Essen :-( Thanks again Victor 2012/10/21 Richard Duivenvoorde : > On 10/21/2012 09:35 PM, Victor Olaya wrote: > >> Any recomendation about unit testing for QGIS plugins? Any plugin that >> already has some good unit tests? > > > Hi Victor, > > Not sure if you know, but Tim did a short talk in Essen about python unit > testing. You can view it here: > > http://www.youtube.com/watch?v=vhRcvXvHUSg > > Actually we were all encouraged to create at least one python unit test > during this hackfest... > > Regards, > > Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
On 10/21/2012 09:35 PM, Victor Olaya wrote: Any recomendation about unit testing for QGIS plugins? Any plugin that already has some good unit tests? Hi Victor, Not sure if you know, but Tim did a short talk in Essen about python unit testing. You can view it here: http://www.youtube.com/watch?v=vhRcvXvHUSg Actually we were all encouraged to create at least one python unit test during this hackfest... Regards, Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
> Hi Victor, > I also apply for this privilege ;) you are already on top of the list :-) > I´m with Tim here: having a nice test suite that just check if each module > gives an output would be of paramount importance for both usage and bugfix. > Even better when we´ll be able to check the validity of results, but simply > checking its presence would already be a big improvement (and probably not > too difficult to do, recursively for all backends and modules). I share that opinion. I can staat working out an automated test with dummy values. This might work for most algorithms, but fail in some of them. Those can then be adressed individually with tailored parameter values. I think this is a good starting point. Any recomendation about unit testing for QGIS plugins? Any plugin that already has some good unit tests? Thanks Victor ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Agustin Thanks for your help I will write down how to use the git version so you can have a working version to test Once you get your scripts working (the ones you are trying now but do not work), the best way to help us test things is to write your own new scripts. If they work...perfect. If not, we will try to fix them (and hopefully on time for you meeting). Thanks again for your help Victor > On Sat, Oct 20, 2012 at 9:14 PM, Victor Olaya wrote: >> Agustin >> >> 2 quick things: >> >> 1) I am going to prepare a document with instructions to use the >> latest version from git. That might help you and others as well. >> >> 2)If you are doing a presentation about SEXTANTE, that puts you in my >> list of "privileged" users :-) That means that you can (and you >> should) ask me for direct help or to prepared a tailored version so >> you have it ready for your presentation. >> >> Anyway, do you have any deadline for that?. I am presenting SEXTANTE >> at the Russian FOSS4G conference in mid november, and I should have a >> new version ready by that time. In the meantime, as I said, and if you >> do not manage to use git, I can send you just a zip file with changes >> that affect the R engine in SEXTANTE, so you can just unzip them in >> you QGis plugins folder and test them. >> >> Regards >> >> Victor >> >> >> >> >> 2012/10/20 Agustin Lobo : >>> i understand the hassle, but from the point of view of R scripts in >>> Sextante this is not a bug, it is >>> that Sextante is totally unusable for this purpose. My intention was >>> to include this Sextante capability >>> within my (hopefully) forthcoming presentation on geospatial >>> capabilities of R in a R users meeting, (and have >>> been trying using it, see >>> http://osgeo-org.1560.n6.nabble.com/R-scripts-for-raster-layers-in-External-Apps-of-the-Sextante-Toolbox-plugin-td4998046.html). >>> I will try the git thing (now that Ii know hot to use svn...), if I >>> find directions on how to do it. >>> >>> Agus >>> >>> On Sat, Oct 20, 2012 at 4:53 PM, Victor Olaya wrote: Agustin, There are a few importante changes since last version, but I would like to close a couple of bugs before releasing a new version. The patch, I will apply it today and it will be in the github repo. In short, I guess you can count on a new version in less than a month (there is not a well defined roadmap at the moment, but that is a good estimate). If you want to always have the most recent version (with unstable stuff as well...), using the github version is the recommended way of doing it. 2012/10/20 Agustin Lobo : > Great, Ii assume this solves the problem > Victor, > Will we have a new version of the Sextante plugin soon or do we have > to apply the patch ourselves? > Agus > > On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: >> Thanks! >> >> 2012/10/19 rldhont : >>> Hi Victor, >>> >>> Ticket opens and patch supplies >>> http://hub.qgis.org/issues/6545 >>> >>> René-Luc >>> >>> Le 19/10/2012 10:15, Victor Olaya a écrit : >>> That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont : > > 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 : >>> >>> 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 re
Re: [Qgis-developer] R Sextante error
Victor, If my abstract is accepted, my presentation will be on geospatial capabilities of R, and I will devote a significant part on links to GIS packages. manageR and Sextante are very important, as they offer access to R from within a GIS platform. Obviously, I would like to present them as operational tools. If you recruit a team of beta testers for Sextante, you can count on me to help testing the R part. Let me know how to access to the doc on git that you are preparing as soon as you have it ready, the meetings will be 15-16/11 Thanks Agus On Sat, Oct 20, 2012 at 9:14 PM, Victor Olaya wrote: > Agustin > > 2 quick things: > > 1) I am going to prepare a document with instructions to use the > latest version from git. That might help you and others as well. > > 2)If you are doing a presentation about SEXTANTE, that puts you in my > list of "privileged" users :-) That means that you can (and you > should) ask me for direct help or to prepared a tailored version so > you have it ready for your presentation. > > Anyway, do you have any deadline for that?. I am presenting SEXTANTE > at the Russian FOSS4G conference in mid november, and I should have a > new version ready by that time. In the meantime, as I said, and if you > do not manage to use git, I can send you just a zip file with changes > that affect the R engine in SEXTANTE, so you can just unzip them in > you QGis plugins folder and test them. > > Regards > > Victor > > > > > 2012/10/20 Agustin Lobo : >> i understand the hassle, but from the point of view of R scripts in >> Sextante this is not a bug, it is >> that Sextante is totally unusable for this purpose. My intention was >> to include this Sextante capability >> within my (hopefully) forthcoming presentation on geospatial >> capabilities of R in a R users meeting, (and have >> been trying using it, see >> http://osgeo-org.1560.n6.nabble.com/R-scripts-for-raster-layers-in-External-Apps-of-the-Sextante-Toolbox-plugin-td4998046.html). >> I will try the git thing (now that Ii know hot to use svn...), if I >> find directions on how to do it. >> >> Agus >> >> On Sat, Oct 20, 2012 at 4:53 PM, Victor Olaya wrote: >>> Agustin, >>> >>> There are a few importante changes since last version, but I would >>> like to close a couple of bugs before releasing a new version. The >>> patch, I will apply it today and it will be in the github repo. >>> >>> In short, I guess you can count on a new version in less than a month >>> (there is not a well defined roadmap at the moment, but that is a good >>> estimate). If you want to always have the most recent version (with >>> unstable stuff as well...), using the github version is the >>> recommended way of doing it. >>> >>> >>> 2012/10/20 Agustin Lobo : Great, Ii assume this solves the problem Victor, Will we have a new version of the Sextante plugin soon or do we have to apply the patch ourselves? Agus On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: > Thanks! > > 2012/10/19 rldhont : >> Hi Victor, >> >> Ticket opens and patch supplies >> http://hub.qgis.org/issues/6545 >> >> René-Luc >> >> Le 19/10/2012 10:15, Victor Olaya a écrit : >> >>> That makes sense... >>> >>> Please open a ticket and provide a patch, and I will apply it ASAP >>> >>> Many thanks! >>> >>> Victor >>> >>> 2012/10/19 rldhont : 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 : >> >> I find problem at trying to run R scripts within Sextante >> on ubuntu 10.04 + qgis 1.8 >> >> I include links to screen captu
Re: [Qgis-developer] R Sextante error
On Sat, 20 Oct 2012 21:14:16 +0200, Victor Olaya wrote: > 2)If you are doing a presentation about SEXTANTE, that puts you in my > list of "privileged" users :-) That means that you can (and you > should) ask me for direct help or to prepared a tailored version so > you have it ready for your presentation. Hi Victor, I also apply for this privilege ;) I have just done a 3-days course on QGIS analyses, and obviously Sextante featured prominently. Moreover, I´m going to present what´s new and analytical capabilities of QGIS in verious venues, including FOSS4G-jp. The experience is generally positive, but several bugs are quite annoying, and in general there is a feeling of a minefield, as we can never know which command is going to work. I´m with Tim here: having a nice test suite that just check if each module gives an output would be of paramount importance for both usage and bugfix. Even better when we´ll be able to check the validity of results, but simply checking its presence would already be a big improvement (and probably not too difficult to do, recursively for all backends and modules). Obviously I´m ready to help. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Agustin 2 quick things: 1) I am going to prepare a document with instructions to use the latest version from git. That might help you and others as well. 2)If you are doing a presentation about SEXTANTE, that puts you in my list of "privileged" users :-) That means that you can (and you should) ask me for direct help or to prepared a tailored version so you have it ready for your presentation. Anyway, do you have any deadline for that?. I am presenting SEXTANTE at the Russian FOSS4G conference in mid november, and I should have a new version ready by that time. In the meantime, as I said, and if you do not manage to use git, I can send you just a zip file with changes that affect the R engine in SEXTANTE, so you can just unzip them in you QGis plugins folder and test them. Regards Victor 2012/10/20 Agustin Lobo : > i understand the hassle, but from the point of view of R scripts in > Sextante this is not a bug, it is > that Sextante is totally unusable for this purpose. My intention was > to include this Sextante capability > within my (hopefully) forthcoming presentation on geospatial > capabilities of R in a R users meeting, (and have > been trying using it, see > http://osgeo-org.1560.n6.nabble.com/R-scripts-for-raster-layers-in-External-Apps-of-the-Sextante-Toolbox-plugin-td4998046.html). > I will try the git thing (now that Ii know hot to use svn...), if I > find directions on how to do it. > > Agus > > On Sat, Oct 20, 2012 at 4:53 PM, Victor Olaya wrote: >> Agustin, >> >> There are a few importante changes since last version, but I would >> like to close a couple of bugs before releasing a new version. The >> patch, I will apply it today and it will be in the github repo. >> >> In short, I guess you can count on a new version in less than a month >> (there is not a well defined roadmap at the moment, but that is a good >> estimate). If you want to always have the most recent version (with >> unstable stuff as well...), using the github version is the >> recommended way of doing it. >> >> >> 2012/10/20 Agustin Lobo : >>> Great, Ii assume this solves the problem >>> Victor, >>> Will we have a new version of the Sextante plugin soon or do we have >>> to apply the patch ourselves? >>> Agus >>> >>> On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: Thanks! 2012/10/19 rldhont : > Hi Victor, > > Ticket opens and patch supplies > http://hub.qgis.org/issues/6545 > > René-Luc > > Le 19/10/2012 10:15, Victor Olaya a écrit : > >> That makes sense... >> >> Please open a ticket and provide a patch, and I will apply it ASAP >> >> Many thanks! >> >> Victor >> >> 2012/10/19 rldhont : >>> >>> 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 : > > 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 ti
Re: [Qgis-developer] R Sextante error
i understand the hassle, but from the point of view of R scripts in Sextante this is not a bug, it is that Sextante is totally unusable for this purpose. My intention was to include this Sextante capability within my (hopefully) forthcoming presentation on geospatial capabilities of R in a R users meeting, (and have been trying using it, see http://osgeo-org.1560.n6.nabble.com/R-scripts-for-raster-layers-in-External-Apps-of-the-Sextante-Toolbox-plugin-td4998046.html). I will try the git thing (now that Ii know hot to use svn...), if I find directions on how to do it. Agus On Sat, Oct 20, 2012 at 4:53 PM, Victor Olaya wrote: > Agustin, > > There are a few importante changes since last version, but I would > like to close a couple of bugs before releasing a new version. The > patch, I will apply it today and it will be in the github repo. > > In short, I guess you can count on a new version in less than a month > (there is not a well defined roadmap at the moment, but that is a good > estimate). If you want to always have the most recent version (with > unstable stuff as well...), using the github version is the > recommended way of doing it. > > > 2012/10/20 Agustin Lobo : >> Great, Ii assume this solves the problem >> Victor, >> Will we have a new version of the Sextante plugin soon or do we have >> to apply the patch ourselves? >> Agus >> >> On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: >>> Thanks! >>> >>> 2012/10/19 rldhont : Hi Victor, Ticket opens and patch supplies http://hub.qgis.org/issues/6545 René-Luc Le 19/10/2012 10:15, Victor Olaya a écrit : > That makes sense... > > Please open a ticket and provide a patch, and I will apply it ASAP > > Many thanks! > > Victor > > 2012/10/19 rldhont : >> >> 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 : 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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >>> ___ >>> Qgis-developer mailing list >>> Qgis-developer@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo
Re: [Qgis-developer] R Sextante error
Agustin, There are a few importante changes since last version, but I would like to close a couple of bugs before releasing a new version. The patch, I will apply it today and it will be in the github repo. In short, I guess you can count on a new version in less than a month (there is not a well defined roadmap at the moment, but that is a good estimate). If you want to always have the most recent version (with unstable stuff as well...), using the github version is the recommended way of doing it. 2012/10/20 Agustin Lobo : > Great, Ii assume this solves the problem > Victor, > Will we have a new version of the Sextante plugin soon or do we have > to apply the patch ourselves? > Agus > > On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: >> Thanks! >> >> 2012/10/19 rldhont : >>> Hi Victor, >>> >>> Ticket opens and patch supplies >>> http://hub.qgis.org/issues/6545 >>> >>> René-Luc >>> >>> Le 19/10/2012 10:15, Victor Olaya a écrit : >>> That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont : > > 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 : >>> >>> 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@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >>> >>> ___ >>> Qgis-developer mailing list >>> Qgis-developer@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Il 20/10/2012 14:17, Agustin Lobo ha scritto: > Great, Ii assume this solves the problem > Victor, > Will we have a new version of the Sextante plugin soon or do we have > to apply the patch ourselves? Hi all. This is part of the larger problem: how do we set up a core plugin release cycle independent of that of master? Still do not have a clear solution. I agree it would be important, especially for the fast-moving ones like sextante. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Great, Ii assume this solves the problem Victor, Will we have a new version of the Sextante plugin soon or do we have to apply the patch ourselves? Agus On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya wrote: > Thanks! > > 2012/10/19 rldhont : >> Hi Victor, >> >> Ticket opens and patch supplies >> http://hub.qgis.org/issues/6545 >> >> René-Luc >> >> Le 19/10/2012 10:15, Victor Olaya a écrit : >> >>> That makes sense... >>> >>> Please open a ticket and provide a patch, and I will apply it ASAP >>> >>> Many thanks! >>> >>> Victor >>> >>> 2012/10/19 rldhont : 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 : >> >> 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@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Thanks! 2012/10/19 rldhont : > Hi Victor, > > Ticket opens and patch supplies > http://hub.qgis.org/issues/6545 > > René-Luc > > Le 19/10/2012 10:15, Victor Olaya a écrit : > >> That makes sense... >> >> Please open a ticket and provide a patch, and I will apply it ASAP >> >> Many thanks! >> >> Victor >> >> 2012/10/19 rldhont : >>> >>> 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 : > > 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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >>> >>> ___ >>> Qgis-developer mailing list >>> Qgis-developer@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
Hi Victor, Ticket opens and patch supplies http://hub.qgis.org/issues/6545 René-Luc Le 19/10/2012 10:15, Victor Olaya a écrit : That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont : 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 : 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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont : > 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 : >>> >>> 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@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
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 : 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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] R Sextante error
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 : > 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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer