<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I want to use the serviceareafromlayer alg in a python script, but it give me an error :<br>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">Traceback (most recent call last):<br>File "C:/PROGRA~1/QGIS3~1.0/apps/qgis/./python/plugins\processing\algs\qgis\ServiceAreaFromLayer.py", line 264, in processAlgorithm<br>fields, QgsWkbTypes.MultiLineString, network.sourceCrs())<br>Exception: unknown</span></p><br></div>I can successfuly lunch that alg with the same input layer from the GUI, so what's wrong with my code ?<br><br></div>Here is the code : <a href="http://paste.debian.net/1023040/">http://paste.debian.net/1023040/</a><br><br></div>Thanks,<br></div>