root676 / QNEAT3

QNEAT3 - Qgis Network Analysis Toolbox 3
GNU General Public License v3.0
63 stars 12 forks source link

Modified QNEAT3 Plugin Crashed while Running #65

Open alaatorkey95 opened 9 months ago

alaatorkey95 commented 9 months ago

I have modified qneat3 plugin to take into account minimizing a column attribute in the road network other than distance or speed. However, while running the plugin and building the OD matrix as lines, once the OD matrix reaches 50% built-up, QGIS crashes and I get the following message:

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00000f14 (most recent call first):
  File "C:\Users/..../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QNEAT3\Qneat3Framework.py", line 139 in __init__
    self.list_tiedPoints = self.director.makeGraph(self.builder, self.list_input_points, self.feedback)
  File "C:\Users/...../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QNEAT3\algs\OdMatrixFromLayersAsLines.py", line 253 in processAlgorithm
    net = Qneat3Network(network, merged_coords, strategy, risk_attribute, directionFieldName, forwardValue, backwardValue, bothValue, defaultDirection, analysisCrs, default_speed, speedFieldName, tolerance, feedback)

Thread 0x00005510 (most recent call first):
  File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins\processing\ProcessingPlugin.py", line 432 in executeAlgorithm
    dlg.exec_()
  File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py", line 232 in executeAlgorithm
    self.executeWithGui.emit(alg.id(), self, self.in_place_mode, False)

Stack Trace


QgsVectorLayerDirector::requiredAttributes :
QgsVectorLayerDirector::makeGraph :
PyInit__analysis :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyType_GenericNew :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyFunction_Vectorcall :
PyFloat_FromDouble :
PyVectorcall_Call :
PyObject_Call :
pdal::StreamPointTable::finalize :
pdal::Option::getName :
QgsProcessingAlgorithm::runPrepared :
QgsProcessingAlgRunnerTask::run :
pdal::Option::getName :
QgsTask::start :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.32.0-Lima QGIS code revision: 311a8cb8a6 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.7.0 Running against GDAL: 3.7.0

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.19045