Skip to content

AttributeError: 'QgsFillSymbolV2' object has no attribute 'size' #272

@nothing-butanol

Description

@nothing-butanol

Hi, I have been having an issue with point data being displayed using categorized styling. I keep receiving the error below. Single symbol is fine for the data. Maybe I'm doing something wrong.

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:/Users/--------------/.qgis2/python/plugins\qgis2leaf\qgis2leafdialog.py", line 297, in export2leaf
qgis2leaf_exec(self.outFileName, self.basemapName, self.basemapMeta, self.basemapAddress, self.width, self.height, self.extent, self.full_screen, self.layer_list, self.visible, self.opacity, self.encode2JSON,self.createcluster, self.webpage_name, self.webmap_head,self.webmap_subhead, self.legend,self.locate,self.address, self.precision, self.labels, self.labelshover, self.matchCRS, self.selected)
File "C:/Users/------------/.qgis2/python/plugins\qgis2leaf\qgis2leaf_exec.py", line 519, in qgis2leaf_exec
fillOpacity: '""" + str(symbol.alpha()) + """',
AttributeError: 'QgsFillSymbolV2' object has no attribute 'size'

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.8.2-Wien Wien, 1b929ef

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions