NEW SCP version CRASH QGIS
GITHUBAntoineDENIS opened this issue · 4 comments
Hello,
I updated SCP plugin in QGIS LTR 3.28.10, and the scp plugin is not appearing anymore. When trying to uncheck it in the extension list, this crash qgis.
Same behavior twice, after restarting qgis.
Details below.
Best regards,
Antoine
Report Details
Python Stack Trace
Windows fatal exception: access violation
Current thread 0x00002cb0 (most recent call first):
File "C:\Users/Administrator/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 668 in unload
qgis_utils.iface.removeDockWidget(cfg.dock_class_dlg)
File "C:\PROGRA~1/QGIS32~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 523 in unloadPlugin
plugins[packageName].unload()
File "C:\PROGRA~1/QGIS32~1.10/apps/qgis-ltr/./python\pyplugin_installer\installer.py", line 285 in showPluginManagerWhenReady
iface.pluginManagerInterface().showPluginManager(tabIndex)
Stack Trace
QAbstractButton::group :
QgisApp::removeDockWidget :
QgsPresetSchemeColorRamp::clone :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalCodeWithName :
PyEval_EvalCodeEx :
PyEval_EvalCode :
PyDict_GetItemString :
PyArena_New :
PyRun_StringFlags :
instance :
instance :
QgsPluginRegistry::unloadPythonPlugin :
QgsGpsInformationWidget::updateTimestampDestinationFields :
QgsGpsInformationWidget::updateTimestampDestinationFields :
QObject::qt_static_metacall :
QStandardItemModel::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::dataChanged :
QStandardItemModel::itemChanged :
QStandardItem::setData :
QStandardItemModel::setData :
QSortFilterProxyModel::setData :
QStyledItemDelegate::editorEvent :
QAbstractItemView::selectionModel :
QAbstractItemView::edit :
QAbstractItemView::mouseReleaseEvent :
QListView::mouseReleaseEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
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 :
QDialog::exec :
PyInit__gui :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyFloat_FromDouble :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalCodeWithName :
PyEval_EvalCodeEx :
PyEval_EvalCode :
PyDict_GetItemString :
PyArena_New :
PyRun_StringFlags :
instance :
instance :
pdal::Stage::run :
QgsPythonRunner::run :
QgisApp::showPluginManager :
QObject::qt_static_metacall :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
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.28.10-Firenze
QGIS code revision: e2edb9c468
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.7.1
Running against GDAL: 3.7.1
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
I unistalled qgis 3.28.10 ans installed 3.28.11 (last LTR), and tryed again uncheck/check scp extension --> qgis crash
i trayed reinstal scp --> qgis crash
report:
Report Details
Python Stack Trace
Windows fatal exception: access violation
Current thread 0x00001b3c (most recent call first):
File "C:\Users/Administrator/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 668 in unload
qgis_utils.iface.removeDockWidget(cfg.dock_class_dlg)
File "C:\PROGRA~1/QGIS32~1.11/apps/qgis-ltr/./python\qgis\utils.py", line 523 in unloadPlugin
plugins[packageName].unload()
File "C:\PROGRA~1/QGIS32~1.11/apps/qgis-ltr/./python\qgis\utils.py", line 586 in reloadPlugin
unloadPlugin(packageName)
File "C:\PROGRA~1/QGIS32~1.11/apps/qgis-ltr/./python\pyplugin_installer\installer.py", line 358 in installPlugin
reloadPlugin(key) # unloadPlugin + loadPlugin + startPlugin
File "C:\PROGRA~1/QGIS32~1.11/apps/qgis-ltr/./python\pyplugin_installer\installer.py", line 285 in showPluginManagerWhenReady
iface.pluginManagerInterface().showPluginManager(tabIndex)
Stack Trace
QAbstractButton::group :
QgisApp::removeDockWidget :
QgsPresetSchemeColorRamp::clone :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalCodeWithName :
PyEval_EvalCodeEx :
PyEval_EvalCode :
PyDict_GetItemString :
PyArena_New :
PyRun_StringFlags :
instance :
instance :
pdal::Stage::run :
QgsPythonRunner::run :
QgsGpsInformationWidget::updateTimestampDestinationFields :
QObject::qt_static_metacall :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QWidget::event :
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 :
QDialog::exec :
PyInit__gui :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyFloat_FromDouble :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalCodeWithName :
PyEval_EvalCodeEx :
PyEval_EvalCode :
PyDict_GetItemString :
PyArena_New :
PyRun_StringFlags :
instance :
instance :
pdal::Stage::run :
QgsPythonRunner::run :
QgisApp::showPluginManager :
QObject::qt_static_metacall :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
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.28.11-Firenze
QGIS code revision: b02458a196
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.7.2
Running against GDAL: 3.7.2
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
Hello @GITHUBAntoineDENIS ,
please install the plugin dependencies as described here
https://semiautomaticclassificationmanual.readthedocs.io/en/latest/installation_win64.html
Thanks! it worked !
You are welcome! I'm glad it worked