gacarrillor / AppendFeaturesToLayer

QGIS Processing plugin to add an algorithm for upserting features from a source vector layer to an existing target vector layer.
23 stars 4 forks source link

Batch mode leads to crash #21

Open subashnalla opened 11 months ago

subashnalla commented 11 months ago

I have mapped all my source and target features in the Append Feature to Layer UI and generated the JSON file and saved it. QGIS is crasing when I tried to execute it in batch mode, however the single layer process is working fine. AppendFeaturesToLayer 1.5.0, QGIS 3.32.1-Lima on Windows 10

JLSQC commented 1 week ago

Dear Sir, I have the same issue on QGIS 3.28.11 but not always on te same source.

hear is part of the error :

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x0000093c (most recent call first):
  File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\core\additions\edit.py", line 43 in __exit__
    if not self.layer.commitChanges():
  File "C:\Users/bulvoas/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AppendFeaturesToLayer\processing\algs\AppendFeaturesToLayer.py", line 344 in processAlgorithm
    target.endEditCommand()

Current thread 0x00003334 (most recent call first):
  File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\gui\AlgorithmDialog.py", line 102 in runAsBatch
    dlg.exec_()
  File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\ProcessingPlugin.py", line 394 in executeAlgorithm
    dlg.exec_()
  File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py", line 234 in executeAlgorithm
    self.executeWithGui.emit(alg.id(), self, self.in_place_mode, False)