qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.99k forks source link

can't access in Python to new features added to editBuffer #19568

Closed qgib closed 5 years ago

qgib commented 10 years ago

Author Name: enrico ferreguti (@enricofer) Original Redmine Issue: 11269 Affected QGIS version: 2.4.0 Redmine category:python_plugins


Trying to access to new features added to edit buffer causes application crash (v2.0 v2.4 in xp). You can replicate the bug select a layer, enter in edit mode, add a feature and then input in python console the following command:

@iface.legendInterface().currentLayer().editBuffer().addedFeatures()@

I expect to find a @QgsFeatureMap@, but the application crashes. If you simply edit layer without adding features the same command correctly gives @{}@ (a void dict)

qgib commented 10 years ago

Author Name: Pirmin Kalberer (Pirmin Kalberer)


qgib commented 10 years ago

Author Name: enrico ferreguti (@enricofer)


In windows 7 the command goes well

qgib commented 9 years ago

Author Name: Jürgen Fischer (@jef-n)


qgib commented 9 years ago

Author Name: Matthias Kuhn (@m-kuhn)


On Fedora Linux 64bit/current master the command works as expected

qgib commented 9 years ago

Author Name: enrico ferreguti (@enricofer)


I can't understand. 2.6.1 Brighton remains affected to this issue. And Only on XP systems. In all other platform I tested (windows 7, ubuntu 14.04, mac os mavericks) everything goes well. What can be so system relevant so deep in the code? I am deploying an application for a local government XP based environment for tracking urban planning documents editing and I'm going crazy. Is there anyone that can figure what happens? Thanks a lot in advance related minidump attached....

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 5 years ago

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source: http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/