EnMAP Box crashes QGIS
Opened this issue · 1 comments
grantboxer commented
I am running EnMap algorithms within a graphical modeller script and it occassionally crashed QGIS.
See crash report below.
Report Details
Python Stack Trace
Windows fatal exception: access violation
Thread 0x000036b4 (most recent call first):
File "C:\OSGeo4W\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 6003 in Open
return _gdal.Open(*args)
File "C:\Users/boxer/AppData/Roaming/QGIS/QGIS3\profiles\Grant1/python/plugins\enmapboxplugin\enmapboxprocessing\algorithm\translaterasteralgorithm.py", line 399 in processAlgorithm
outGdalDataset = gdal.Open(filename)
File "C:\Users\boxer\AppData\Roaming\Python\Python312\site-packages\typeguard\__init__.py", line 1033 in wrapper
retval = func(*args, **kwargs)
File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\gui\AlgorithmExecutor.py", line 70 in execute
results, ok = alg.run(parameters, context, feedback, {}, False)
File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line 192 in runAlgorithm
ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)
File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\tools\general.py", line 117 in run
return Processing.runAlgorithm(algOrName, parameters, onFinish=post_process, feedback=feedback, context=context)
File "C:\Users/boxer/AppData/Roaming/QGIS/QGIS3\profiles\Grant1/python/plugins\enmapboxplugin\enmapboxprocessing\enmapalgorithm.py", line 1020 in runAlg
return processing.run(algOrName, parameters, onFinish, feedback, context, is_child_algorithm)
File "C:\Users\boxer\AppData\Roaming\Python\Python312\site-packages\typeguard\__init__.py", line 1033 in wrapper
retval = func(*args, **kwargs)
File "C:\Users/boxer/AppData/Roaming/QGIS/QGIS3\profiles\Grant1/python/plugins\enmapboxplugin\enmapboxprocessing\algorithm\subsetrasterbandsalgorithm.py", line 66 in processAlgorithm
self.runAlg(alg, parameters, None, feedback, context, True)
File "C:\Users\boxer\AppData\Roaming\Python\Python312\site-packages\typeguard\__init__.py", line 1033 in wrapper
retval = func(*args, **kwargs)
Current thread 0x0000477c (most recent call first):
File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\ProcessingPlugin.py", line 435 in executeAlgorithm
dlg.exec()
File "C:\OSGeo4W/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
PyInit_QtCore :
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 :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QMetaObject::activate :
PyInit_QtCore :
PyInit_QtCore :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QAbstractItemView::doubleClicked :
QTreeView::mouseDoubleClickEvent :
PyInit__gui :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
PyInit__gui :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
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.36.2-Maidenhead
QGIS code revision: 6d250527
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.8.5
Running against GDAL: 3.8.5
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
janzandr commented
Can you provide a screencast showing the steps you performed? Otherwise, it's hard to reproduce.