What causes an access violation intermittently? Once it happens sometimes it continues to happen, and I have to delete the QGIS directory in AppData\Roaming\ which is annoying because I have my plugin there and I need to copy it to another directory and then copy it back after running QGIS for first time to have the directory recreated.
It seems to be happening with pyqtgraph\Qt.py which is not my code. Python Stack Trace Windows fatal exception: access violation Current thread 0x00003b98 (most recent call first): File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\pyqtgraph\Qt.py", line 285 in setResizeMode self.setSectionResizeMode(*args) File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 470 in create_project_view_layout_ui self.DESIGN_PALETTE_DIALOG.projectViewQTreeView.header().setResizeMode(5, QHeaderView.ResizeToContents) File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 117 in init_ui_parameters self.create_project_view_layout_ui() File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\tools\master_planning\design_palette_ui.py", line 90 in load self.init_ui_parameters() File "C:\Users\RDTECLAC\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\site_selection\app\gui.py", line 198 in run_mp master_planning_dialog.load() Stack Trace QHeaderView::count : QHeaderView::setSectionResizeMode : PyInit_QtWidgets : PyObject_Str : PyObject_Call : PyObject_Call : PyEval_EvalFrameDefault : PyFunction_Vectorcall : PyObject_GC_Del : PyEval_EvalFrameDefault : PyEval_EvalFrameDefault : PyFunction_Vectorcall : PyEval_EvalFrameDefault : PyEval_EvalFrameDefault : PyFunction_Vectorcall : PyObject_GC_Del : PyVectorcall_Call : PyObject_Call : PyInit_QtCore : PyInit_QtCore : PyInit_QtCore : PyInit_QtCore : QObject::qt_static_metacall : QAction::activate : QAbstractButton::click : QAbstractButton::mouseReleaseEvent : QToolButton::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 : QCoreApplication::exec : main : BaseThreadInitThunk : RtlUserThreadStart : QGIS Info QGIS Version: 3.34.4-Prizren QGIS code revision: decd43dc Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.8.4 Running against GDAL: 3.8.4 System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.19045
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer