lequynhhoa / Style-NFI-Map

Style NFI Map
0 stars 0 forks source link

Error in running the plugin #2

Open pcav opened 7 years ago

pcav commented 7 years ago

Just choosing a layer and pressing the button evokes:

KeyError: 'ldlr' 
Traceback (most recent call last):
  File "/home/paolo/.qgis2/python/plugins/stylecolor/style_color.py", line 365, in style_rungkk
    name = feature["ldlr"]
KeyError: 'ldlr'
lequynhhoa commented 7 years ago

ldlr is field name of the first layer style (1- Rừng kiểm kê). So, you must chosse data demo (_rungkk) to style for this layer

pcav commented 7 years ago

The error should be prevented and intercepted by the plugin.