You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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?
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.
bogind
changed the title
Error when applying style: KeyError 'fields'
CIMClassBreaksRenderer not supported, causes crash
Oct 24, 2021
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'
The text was updated successfully, but these errors were encountered: