<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi all,<br>
<br>
I'm developing a standalone script in Python, using QGIS libraires.
My goal is to apply a style to my geopackage and save it without
opening QGIS.<br>
Before to write a standalone script, I tested my script in the
python console of QGIS and it works.<br>
<br>
Now, I'm trying to run it in using PYQGIS in standalone script and
obvioulsy it doesn't work.<br>
When I'm trying to save my layers with processing.run, a
segmentation fault appears. Do you have any idea what is going on ?
Please find attached my script and the QGIS version .<br>
<br>
**************************************<br>
<b>python3.8 Create_Style_QGIS.py</b><br>
<font color="#e11111">/usr/share/qgis/python/plugins/processing/algs/qgis/ImportIntoSpatialite.py:103:
SyntaxWarning: "is" with a literal. Did you mean "=="?<br>
if uri.database() is '':<br>
/usr/share/qgis/python/plugins/processing/algs/qgis/SpatialiteExecuteSQL.py:69:
SyntaxWarning: "is" with a literal. Did you mean "=="?<br>
if uri.database() is '':<br>
/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py:191:
SyntaxWarning: "is" with a literal. Did you mean "=="?<br>
if path is '':<br>
Segmentation fault (core dumped)</font><br>
**************************************<br>
<br>
Many thanks and regards,<br>
<br>
Mélanie Dol<br>
</body>
</html>