Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nothing-butanol opened this issue Aug 10, 2015 · 2 comments
Open

Comments

@nothing-butanol
Copy link

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

@tomchadwin
Copy link
Contributor

Can you try qgis2web and see if that works? qgis2leaf has not had any development for a little while now.

@nothing-butanol
Copy link
Author

Thank you. It does work with qgis2web. I was unaware it existed. It did have an issue showing all the categories of my point data with openmap3, but worked well with leaflet. Thanks again for all your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants