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

Qgis2web crashes in different computers and with different qgis versions and projects #1051

Closed
Dorexplor opened this issue Mar 4, 2024 · 1 comment

Comments

@Dorexplor
Copy link

Good afternoon,
I have been trying since several days to export a map with Qgis2web but every time I try it the plug in an the programme crash. Few months ago I used this plug in and it perfectly works but now it always crashes. I have uninstalled Qgis and reinstall different versions in my computer and I also install the latest version of the plug in but this problem persists. I leave a copy of the error report below and screenshots of the qgis2web settings used. Thank you in advance.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00000eec (most recent call first):
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\utils.py", line 253 in exportVector
    e, err = QgsVectorFileWriter.writeAsVectorFormat(cleanLayer, tmpPath,
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\utils.py", line 231 in exportLayers
    exportVector(layer, sln, layersFolder, restrictToExtent,
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\olwriter.py", line 130 in writeOL
    exportLayers(iface, layers, folder, precision, optimize,
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\olwriter.py", line 81 in write
    self.preview_file = self.writeOL(iface, feedback,
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\maindialog.py", line 345 in createPreview
    return writer.write(self.iface,
  File "C:\Users/Florencia/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\maindialog.py", line 383 in previewMap
    preview_file = self.createPreview()

Stack Trace
No stack trace is available.

QGIS Info
QGIS Version: 3.26.2-Buenos Aires
QGIS code revision: feec3d3b12f
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.5.1
Running against GDAL: 3.5.1

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045

Screenshots of Qgis2web settings:

image
image
image

@andreaordonselli
Copy link
Collaborator

Please attach your data.
Ps: groups are poorly supported, you should try exporting layers by extracting them from groups.

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