CIMClassBreaksRenderer not supported, causes crash
Opened this issue · 3 comments
When loading a style, I receive the following error in the console:
File "C:\Users/xxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qlyrx\qlyrx.py", line 1601, in run
self.j_data = self.read_lyrx(self.dlg.file_select.filePath())
File "C:\Users/sascari/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qlyrx\qlyrx.py", line 298, in read_lyrx
self.initial_lyrx_parse(data,layer)
File "C:\Users/xxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qlyrx\qlyrx.py", line 1239, in initial_lyrx_parse
for f in renderers[z]['fields']:
KeyError: 'fields'
Can you please edit your issue to provide additional information,
What operating system you are using?
What version of GQIS?
what version of the plugin?
Can you provide the data and .lyrx you are trying to use?
plugin version: 0.3.2
OS: Win 10 64 bit
QGIS: 3.20.3-Odense
Property Values.zip
You seem to have been trying to use a currently unsupported symbology type.
Your .lyrx is using CIMClassBreaksRenderer which is still not supported.
You can check out the readme to see which symbology types are supported.
Will keep this issue open under a new name.
A warning message should be added to prevent questions about this.