[QGIS-Developer] segmentation fault in standalone script using PyQGIS

Jacky Volpes jacky.volpes at oslandia.com
Fri Oct 28 07:55:34 PDT 2022


Hi Mélanie,

Have you initialized your standalone script as shown in 
https://docs.qgis.org/3.22/en/docs/pyqgis_developer_cookbook/intro.html#using-pyqgis-in-standalone-scripts 
?

Best regards,
Jacky


Le 28/10/2022 à 16:40, Mélanie Dol via QGIS-Developer a écrit :
> Hi Andrea,
>
> Thank you. I've updated with QGIS 3.26 Buenos Aires. The warning 
> message have disappeared. Unfortunately, the script still generates a 
> segmentation fault.
>
> Best regards,
>
> Mélanie Dol
>
> On 10/28/22 11:47 AM, Andrea Giudiceandrea via QGIS-Developer wrote:
>> Il 27/10/2022 16:34, Mélanie Dol via QGIS-Developer ha scritto:
>>> /usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py:191: 
>>> SyntaxWarning: "is" with a literal. Did you mean "=="?
>>>   if path is '':
>>
>> Hi Mélanie,
>> while I don't know why that script generates a segmentation fault, It 
>> seems you are using QGIS 3.10 which is a three years old version. The 
>> QGIS repository for Ubuntu 20.04 currently offers the latest 
>> available QGIS LTR 3.22.12.
>>
>> Best regards.
>>
>> Andrea Giudiceandrea
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Jacky Volpes

Ingénieur SIG - Oslandia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221028/d48f4ee8/attachment-0001.htm>


More information about the QGIS-Developer mailing list