[QGIS-Developer] [Qgis-user] Mac QGIS 3 GRASS fix

Nyall Dawson nyall.dawson at gmail.com
Sun Mar 25 23:25:13 PDT 2018


On 23 March 2018 at 11:57, Nyall Dawson <nyall.dawson at gmail.com> wrote:
> On 23 March 2018 at 11:35, Vaclav Petras <wenzeslaus at gmail.com> wrote:
>
>>
>> I'm not sure what exactly you want to use os.path.isfile() for, but
>> etc/colors/grass is a file in GRASS GIS since 7.2, so os.path.isfile() will
>> return True. In unix, you can see if the file is executable with
>> os.access(name, os.X_OK) (not sure if instead or in addtion to
>> os.path.isfile()). On Windows, testing for .bat or some other extension
>> might be the right test.
>>
>

William/others,

Can you please test https://github.com/qgis/QGIS/pull/6676 and confirm
that the fix works?

Thanks,
Nyall


More information about the QGIS-Developer mailing list