[Users] Python error
Paul Losse
paul.losse at gmail.com
Mon Jan 25 10:51:06 PST 2021
Hi all,
I've been getting the following message after upgrading to the latest
version of QFieldSync. The problem only occurs when setting one or more
layers to 'offline editing'. Setting all layers in QField sync to 'copy'
works fine. Any ideas what the problem is?:
An error has occurred while executing Python code:
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted
Traceback (most recent call last): File
"C:/Users/paull/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qfieldsync\core\offline_converter.py",
line 342, in on_offline_editing_next_layer msg =
self.trUtf8('Packaging layer
{layer_name}…').format(layer_name=self.__offline_layers[layer_index -
1].name()) RuntimeError: wrapped C/C++ object of type QgsVectorLayer has
been deleted
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC
v.1914 64 bit (AMD64)]
QGIS version: 3.16.3-Hannover Hannover, 94ac9f21b8
Best regards
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qfield.org/pipermail/users-qfield.org/attachments/20210125/45b7889f/attachment-0002.html>
More information about the Users
mailing list