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 : 'NoneType' object has no attribute 'symbolLayer' #629
Comments
Please see my response to another issue here: This is not the same problem, but that answer should help you provide what is needed for someone to be able to debug this issue properly. |
I've committed a possible fix to master for #628 which might also fix this issue. Can you test and report back? |
I do not know how to solve this problem, can not find the solution anywhere |
Please try upgrading to qgis2web 3.0.1, now available in the QGIS plugin manager. Please report back on whether the error still occurs with 3.0.1 |
Closed without further feedback - comment here and I'll reopen. |
i'm using QGIS 3 and still have this error. AttributeError: 'NoneType' object has no attribute 'symbolLayer' |
Hello, |
When i try to export a layer into html page with qgis2web i have this error :
qgis2web produced an error:
Traceback (most recent call last):
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\maindialog.py", line 318, in previewMap
preview_file = self.createPreview()
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\maindialog.py", line 280, in createPreview
dest_folder=utils.tempFolder()).index_file
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\olwriter.py", line 89, in write
folder=dest_folder)
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\olwriter.py", line 128, in writeOL
popup, json, restrictToExtent, extent, feedback, matchCRS)
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\utils.py", line 180, in exportLayers
iface, extent, precision, crs, optimize)
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\utils.py", line 194, in exportVector
if is25d(layer, canvas, restrictToExtent, extent):
File "C:/Users/ACH/.qgis2/python/plugins\qgis2web\utils.py", line 448, in is25d
sl1 = sym.symbolLayer(1)
AttributeError: 'NoneType' object has no attribute 'symbolLayer'
Thanks in advance.
The text was updated successfully, but these errors were encountered: