Skip to content

Field Calculator in .SHP file doesn't work #64518

@jdelreal-lgtm

Description

@jdelreal-lgtm

What is the bug or the crash?

Python Stack Trace
Windows fatal exception: access violation

Current thread 0x000062e4 (most recent call first):

Stack Trace

QgsTextWidgetWrapper::~QgsTextWidgetWrapper :
QgsAttributeTableModel::prefetchSortData :
QgsAttributeTableFilterModel::setAttributeTableConfig :
QgsDualView::hideEvent :
QObject::qt_static_metacall :
QgsVectorLayer::updateFields :
QgsVectorLayerUndoCommandAddAttribute::redo :
QUndoStack::push :
QgsVectorLayerEditBuffer::addAttribute :
QgsFieldCalculator::calculate :
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 :
QgsAttributeTableDialog::mActionOpenFieldCalculator_triggered :
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.40.1-Bratislava
QGIS code revision: 989853a
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.3
Running against GDAL: 3.9.3

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

Steps to reproduce the issue

Image

Versions

Versión de QGIS3.40.1-Bratislava
Revisión del código de QGIS989853a7
 
Bibliotecas
Versión Qt5.15.13
Versión de Python3.12.7
Versión de GDAL/OGR3.9.3
Versión de PROJ9.5.0
Versión del registro de base de datos EPSGv11.016 (2024-08-31)
Versión de GEOS3.13.0-CAPI-1.19.0
Versión de SQLite3.46.1
Versión de PDAL2.8.1
Versión del cliente de PostgreSQL16.2
Versión de SpatiaLite5.1.0
Versión de QWT6.3.0
Versión de QScintilla22.14.1
Versión del SOWindows 11 Version 2009
 
Complementos activos de Python
attributePainter5.3
gprlp_metadata_search0.3.2
LandXml2.4
OSMDownloader1.0.4
pg_metadata1.3.1
qconsolidate30.2.0
QuickOSM2.4.1
quick_map_services1.1.0
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!FeedbackWaiting on the submitter for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions