Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using the get_symbol_colors() function QGIS freezes #335

Open
pigreco opened this issue Aug 20, 2023 · 0 comments
Open

using the get_symbol_colors() function QGIS freezes #335

pigreco opened this issue Aug 20, 2023 · 0 comments
Labels

Comments

@pigreco
Copy link

pigreco commented Aug 20, 2023

image

I created the project, at reopening QGIS crashes

In the project I use the function get_symbol_colors()

I have no message other than the following:

attached data and project:
https://github.com/pigreco/cityEuropee_piu_vicine/tree/main/risorse

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00005c30 (most recent call first):
  File "C:\Users/pigre/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\core\plot_expressions.py", line 42 in get_symbol_colors
    renderer.startRender(renderer_context, layer.fields())
  File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\core\additions\qgsfunction.py", line 81 in func
    return self.function(*values)

Thread 0x0000284c (most recent call first):
<no Python frame>

Stack Trace

QgsSymbolRenderContext::setExpressionContextScope :
QgsSymbol::startRender :
QgsCategorizedSymbolRenderer::startRender :
pdal::Option::getName :
PyArg_ParseTuple_SizeT :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyVectorcall_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyFunction_Vectorcall :
PyFloat_FromDouble :
PyVectorcall_Call :
PyObject_Call :
pdal::StreamPointTable::finalize :
QgsPresetSchemeColorRamp::clone :
QgsExpressionFunction::run :
QgsPresetSchemeColorRamp::clone :
QgsExpressionNodeFunction::evalNode :
QgsExpressionNode::eval :
QgsExpression::evaluate :
QgsExpression::cleanRegisteredFunctions :
QgsExpression::cleanRegisteredFunctions :
QgsPointCloudIndex::metadataClassStatistic :
QgsExpressionFunction::run :
QgsExpressionNodeFunction::evalNode :
QgsExpressionNode::eval :
QgsExpressionNodeIndexOperator::evalNode :
QgsExpressionNode::eval :
QgsExpression::evaluate :
QgsProperty::value :
QgsProperty::valueAsColor :
QgsAbstractPropertyCollection::valueAsColor :
QgsSimpleFillSymbolLayer::applyDataDefinedSymbology :
QgsSimpleFillSymbolLayer::renderPolygon :
QgsFillSymbol::renderPolygonUsingLayer :
QgsFillSymbol::renderPolygon :
QgsSymbol::renderFeature :
QgsFeatureRenderer::renderFeature :
QgsVectorLayerProfileResults::visitFeaturesInRange :
QgsVectorLayerProfileResults::visitFeaturesInRange :
QgsVectorLayerProfileResults::visitFeaturesInRange :
QgsMapRendererParallelJob::renderLayerStatic :
QgsProfilePlotRenderer::replaceSourceInternal :
QgsMapRendererParallelJob::renderingFinished :
QgsMapRendererParallelJob::takeLabelingResults :
QtConcurrent::ThreadEngineBase::run :
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
DataPlotly 4.0.3
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

@pigreco pigreco added the bug label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant