<div dir="ltr"><div>Sure thing.  Open the .qgis2/python/plugins/processing/algs/grass7/ folder and open the Grass7Algorithm.py file in a text editor. You can see the changes that you'll need to make on GitHub: <br><br><a href="https://github.com/qgis/QGIS/commit/2a14ffd281d0a0e99a0a899622a29ca0efdb0852">https://github.com/qgis/QGIS/commit/2a14ffd281d0a0e99a0a899622a29ca0efdb0852</a><br><br></div><div>It is just a couple small changes.  I suppose alternately you could just download the Grass7Algorithm.py file from GitHub and replace the one in the above mentioned folder.<br><br></div><div>Andrew<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 12:29 PM, Bernd Vogelgesang <span dir="ltr"><<a href="mailto:bernd.vogelgesang@gmx.de" target="_blank">bernd.vogelgesang@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


<div><div>Hi Andrew</div><span class=""><div><br></div><div><br></div><div>Am 06.08.2015, 19:20 Uhr, schrieb Andrew <<a href="mailto:amcaninch@gmail.com" target="_blank">amcaninch@gmail.com</a>>:<br></div><br><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex"><div dir="ltr"><div><div>Victor,<br><br>I edited the version of the processing plugin that i have installed (QGIS 2.8.3, processing 2.10.1) with the changes you made and now GRASS7 tools work as they should, thanks!<br></div><br></div>Andrew</div></blockquote><div><br></div></span><div>Could you maybe describe a little bit what you have changed and how ?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Bernd</div></font></span><div><div class="h5"><div><br></div><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex"><div dir="ltr"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 5:59 AM, Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A quick (but very relevant) note about GRASS7:<br>
<br>
It seems that, in one of the latest changes, I unintentionally left<br>
out a code line where GRASS was actually being called. I was getting a<br>
bit crazy wondering where the error might be and why GRASS7 was not<br>
working in the latest release....and finally found out that the reason<br>
was that. So, in short, Processing was not running grass when running<br>
a grass7 algorithm.<br>
<br>
I have added that line back and it should be fine now.<br>
<br>
If you can install the current master version, please test and let me<br>
know if there are any issues or it is working correctly as before.<br>
<br>
Regards<br>
<br>
<br>
<br>
2015-08-03 1:37 GMT+02:00 Bernd Vogelgesang <<a href="mailto:bernd.vogelgesang@gmx.de" target="_blank">bernd.vogelgesang@gmx.de</a>>:<br>
> Hi Alex<br>
><br>
> Am 03.08.2015, 01:20 Uhr, schrieb Alex Mandel <<a href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>>:<br>
><br>
>> Ah but we're closer to finding a solution with all those details. It may<br>
>> be fixable in Processing, which can be pushed to the plugin repo for<br>
>> update any time.<br>
>><br>
>> Passing this along to devs who might have enough information now.<br>
>><br>
>> Thanks,<br>
>> Alex<br>
><br>
><br>
><br>
> Thanks for taking care,<br>
><br>
> by the way: by copying the gdal algorithms from processing 2.10.1 to the<br>
> 2.9.3 folder (.qgis2/python/plugins/processing/algs/gdal), I gained access<br>
> to the new GDAL dissolve polygons :)<br>
><br>
> Unfortunately, the model from before (GRASS6) didn't work anymore, and all<br>
> attempts to adjust it via diff of a test model failed. So reworking my model<br>
> (for the 10th time or so) in Ubuntu 2.8.3 from ubuntugis-ltr with working<br>
> GRASS7, SAGA and everything and a partially upgraded Processing 2.9.3<br>
><br>
> I'm on my way ... finally .. hopefully ...<br>
><br>
> Bernd<br>
><br>
><br>
><br>
>> On 08/02/2015 03:07 PM, Bernd Vogelgesang wrote:<br>
>>><br>
>>> Am 02.08.2015, 22:44 Uhr, schrieb Alex Mandel<br>
>>> <<a href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>>:<br>
>>><br>
>>>> After some brief testing, my OSGeoLive 8.5 VM with QGIS 2.6 and<br>
>>>> Processing 2.9.3, GRASS 7 works.<br>
>>>><br>
>>>> My QGIS 2.8, GRASS 6/7, Processing 2.10.1 does not.<br>
>>><br>
>>><br>
>>> Gave Windows another try: Removed everything, and installed the simple<br>
>>> install OSGEO4W setup.<br>
>>> QGIS 2.10.1 with Processing 2.10.1 and GRASS 6 working.<br>
>>><br>
>>> switched back to Ubuntu, cause of a bug in the modeler version of GDAL<br>
>>> Dissolve Polygons (which is crucial for me).<br>
>>> <a href="https://hub.qgis.org/issues/13174" rel="noreferrer" target="_blank">https://hub.qgis.org/issues/13174</a><br>
>>><br>
>>> Ubuntu: Now that I installed 2.8 with the debian repository only (so<br>
>>> without ubuntis depencies), my GRASS 6 works (sorted out another error,<br>
>>> that GRASS takes a column name "OR" from shape as an sql-command or<br>
>>> sth), update to Processing 2.10.1 worked as well.<br>
>>><br>
>>> The drawback, no SAGA, which might come handy cause the now available<br>
>>> algos do not really do what I expect ;)<br>
>>><br>
>>> I think the problem is within Processing in combination with the<br>
>>> packaging:<br>
>>> When e.g. I install QGIS 2.8 with ubuntugis-ltr dependencies (where<br>
>>> nobody on the install page claims I shouldn't do), GRASS7 and the<br>
>>> modeler are working, but Processing version is 2.6. Updating Processing<br>
>>> to current Processing 2.10.1 (as recommended) seems to work.<br>
>>> (Besides that v.clean in the modeler only returns a polygon layer from<br>
>>> an polygon input, if I also set an output name for the error layer,<br>
>>> otherwise I get an empty line shape)<br>
>>><br>
>>> But: The next time I run QGIS and want to run an GRASS algo: Missing<br>
>>> depencies<br>
>>><br>
>>> I can now replace Processing 2.10.1 with the second latest 2.9.3 from<br>
>>> <a href="https://plugins.qgis.org/plugins/processing/version/2.9.3/" rel="noreferrer" target="_blank">https://plugins.qgis.org/plugins/processing/version/2.9.3/</a><br>
>>> and there v.clean does what it should in Processing AND modeler.<br>
>>><br>
>>> But: Now I do not have GDAL Dissolve polygons which is in Processing<br>
>>> 2.10.1. Well, I could switch back to Windows QGIS 2.10, but, grr, there<br>
>>> is the bug in this algo ...<br>
>>><br>
>>> You see, I'm trapped.<br>
>>><br>
>>> Thanx for you attention<br>
>>> Bernd<br>
>>><br>
>>><br>
>>><br>
>>>><br>
>>>> Both are Ubuntu 14.04 based.<br>
>>>><br>
>>>> I'm not sure if this is a bug in Processing, or in packaging. I recall<br>
>>>> in OSGeoLive 8.5 that we had custom packages with a patch. Note, you can<br>
>>>> get those versions for your Ubuntu system from<br>
>>>> <a href="https://launchpad.net/~osgeolive/+archive/ubuntu/release-8.5" rel="noreferrer" target="_blank">https://launchpad.net/~osgeolive/+archive/ubuntu/release-8.5</a><br>
>>>><br>
>>>> We freeze a copy of the working versions in our own ppa for long term<br>
>>>> history.<br>
>>>><br>
>>>> Thanks,<br>
>>>> Alex<br>
>>>><br>
>>>><br>
>>>> On 2015-08-02 03:32, Bernd Vogelgesang wrote:<br>
>>>>><br>
>>>>> Hi Alex,<br>
>>>>><br>
>>>>> Am 02.08.2015, 01:22 Uhr, schrieb Alex Mandel<br>
>>>>> <<a href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>>:<br>
>>>>><br>
>>>>>> It's not a Windows/Ubuntu/Mac/OS thing, it's a QGIS + GRASS version<br>
>>>>>> change thing.<br>
>>>>>><br>
>>>>>> Please indicate which version of QGIS and GRASS you are trying to get<br>
>>>>>> working.<br>
>>>>><br>
>>>>><br>
>>>>> Actually I do not mind any more what version I would like to get<br>
>>>>> working. I would have preferred the 2.8-LTR branch with no-matter-what<br>
>>>>> GRASS version.<br>
>>>>><br>
>>>>> I just would like to be able to finish my project, and there is<br>
>>>>> unfortunately no alternative to the GRASS algos in my model.<br>
>>>>><br>
>>>>>> QGIS 2.6 and older works with GRASS 6, 2.8+ sometimes is built to work<br>
>>>>>> with GRASS 7 (though possibly also with GRASS 6).<br>
>>>>><br>
>>>>><br>
>>>>> Mhm, reverting to 2.6 ... Lets see if this still possible at all ...<br>
>>>>><br>
>>>>>> If you want a guaranteed working setup ASAP download a copy of OSGeo<br>
>>>>>> Live Virtual Machine, we made sure that it works in that.<br>
>>>>>> <a href="http://live.osgeo.org" rel="noreferrer" target="_blank">http://live.osgeo.org</a><br>
>>>>><br>
>>>>><br>
>>>>> Will give it a try. Download will take another 1.5 hours ...<br>
>>>>><br>
>>>>> So does that mean that even your do not have a working GRASS in a<br>
>>>>> recent<br>
>>>>> QGIS by "normal" means but the osgeo VM?<br>
>>>>><br>
>>>>><br>
>>>>>><br>
>>>>>> Thanks,<br>
>>>>>> Alex<br>
>>>>><br>
>>>>><br>
>>>>> Cheers<br>
>>>>> Bernd<br>
>>>>><br>
>>>>>><br>
>>>>>> On 2015-08-01 14:41, Bernd Vogelgesang wrote:<br>
>>>>>>><br>
>>>>>>> Hi guys,<br>
>>>>>>> is it just bad karma, that I seem not to able to get a working<br>
>>>>>>> GRASS in<br>
>>>>>>> QGIS? Or did I miss the big advertisement "GRASS out of order"<br>
>>>>>>> somewhere.<br>
>>>>>>><br>
>>>>>>> For nearly 2 weeks, I tried to get things to work in Ubuntu/Mint, and<br>
>>>>>>> tried every possible/impossible repository, but always GRASS has<br>
>>>>>>> missing<br>
>>>>>>> dependencies, the forms open in Processing, but the algos don't run<br>
>>>>>>> through, or the functions are working in Processing, but failing in<br>
>>>>>>> the<br>
>>>>>>> modeller.<br>
>>>>>>><br>
>>>>>>> As I really got to finish a model in the Modeller including some<br>
>>>>>>> GRASS<br>
>>>>>>> algos, I finally turned on my VM with Windows ...<br>
>>>>>>> but what the heck? Same s...t there!<br>
>>>>>>><br>
>>>>>>> I really wonder why there aren't many post about trouble with GRASS<br>
>>>>>>> on<br>
>>>>>>> this list or at stackexchange, normally this would explode when<br>
>>>>>>> things<br>
>>>>>>> like these happen.<br>
>>>>>>><br>
>>>>>>> So am I really the one with the bad karma, do you all other simply<br>
>>>>>>> not<br>
>>>>>>> use GRASS in processing as much as I do, or do you all simply have<br>
>>>>>>> working installs, so there is not problem?<br>
>>>>>>><br>
>>>>>>> Please, at least one: Do you have an install under Ubuntu or Windows,<br>
>>>>>>> where GRASS algos are functional in the Modeler ? If yes, which<br>
>>>>>>> version/what did you do?<br>
>>>>>>><br>
>>>>>>> ... Soon, I will go and find me a rope ...<br>
>>>>>>><br>
>>>>>>> Bernd<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
><br>
> --<br>
> Bernd Vogelgesang<br>
> Siedlerstraße 2<br>
> 91083 Baiersdorf/Igelsdorf<br>
> Tel: 09133-825374<br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br></div>
</blockquote><br><br><br><div><div>-- </div><div>Bernd Vogelgesang<br>Siedlerstraße 2<br>91083 Baiersdorf/Igelsdorf<br>Tel: 09133-825374</div></div></div></div></div></blockquote></div><br></div>