Skip to content

QGIS Crashes when using Isochrones from Point-Layer #338

Open
@jlogan25

Description

@jlogan25

I've been trying to create walk distance isochrones from a point layer with some areas that would certainly overlap (~120 points). It is consistently crashing when the process reaches 15% with the report pasted below.

It results whether I ask for one or both of 400 and 800-metre distances, whether I specify an output file, and whether I specify an input layer ID field or not. The process worked as expected when I ran it for roughly half the dataset on a test run previously, but even that won't work now. Is something going on with my plugin, or should I be looking for issues within the point dataset? Thank you!

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x00002574 (most recent call first):
  File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\networkaccessmanager.py", line 268 in request
    self.el.exec(QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents)
  File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 169 in request
    response, content = self.nam.request(
  File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py", line 189 in request
    return self.request(url, params, first_request_time, retry_counter + 1, post_json)
  File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\isochrones_layer_proc.py", line 203 in processAlgorithm
    response = ors_client.request(f"/v2/{endpoint}/{profile}", {}, post_json=params)

Current thread 0x00005c60 (most recent call first):
  File "C:\PROGRA~1/QGIS34~1.4/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 198 in execAlgorithmDialog
    dlg.exec()
  File "C:\Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\gui\ORStoolsDialog.py", line 361 in <lambda>
    lambda: processing.execAlgorithmDialog(f"{PLUGIN_NAME}:isochrones_from_layer")

Stack Trace


QPropertyAnimation::targetObject :
QFocusFrame::tr :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QDialog::exec :
PyInit_QtWidgets :
PyLong_FromString :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
PyInit_QtWidgets :
QWidget::event :
PyInit_QtWidgets :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.40.4-Bratislava
QGIS code revision: 4dd7d7e969
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.10.2
Running against GDAL: 3.10.2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions