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

QGIS is terminated unexpectedly. #56

Open
HerminioSabino opened this issue Apr 2, 2021 · 7 comments
Open

QGIS is terminated unexpectedly. #56

HerminioSabino opened this issue Apr 2, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@HerminioSabino
Copy link

Describe the bug
I'm trying to use the plugin
but, at the export stage it hangs at 97% and QGIS is terminated unexpectedly.
I tried to use it with different layers (Point, Line and Polygon), but without success

To Reproduce
Steps to reproduce the behavior:

  1. Go to Web > Unfolder > Export to web
  2. Click on ' Export Map'

Expected behavior
The plugin should create a .zip file with all the files needed for the import

Desktop (please complete the following information):

  • Plugin: 1.0.1
  • QGIS: 3.16.5
  • Python: 3.7
  • OS: Windows 10

Additional context
Add any other context about the problem here.

@HerminioSabino HerminioSabino added the bug Something isn't working label Apr 2, 2021
@Joonalai
Copy link
Contributor

Joonalai commented Apr 2, 2021

Thank you for reporting the issue and for testing the plugin. Can you paste the relevant content of the log file (Unfolded dialog -> Settings -> Log)?

@HerminioSabino
Copy link
Author

03.04.2021 14:02:58 - [INFO ] - about_panel.py:42 : Plugin version is 1.0.1
03.04.2021 14:04:08 - [INFO ] - about_panel.py:42 : Plugin version is 1.0.1
03.04.2021 14:06:01 - [INFO ] - about_panel.py:42 : Plugin version is 1.0.1
03.04.2021 14:06:23 - [INFO ] - config_creator.py:108 : Validating inputs
03.04.2021 14:06:23 - [INFO ] - config_creator.py:192 : Started config creation
03.04.2021 14:06:23 - [INFO ] - config_creator.py:248 : Creating map config
03.04.2021 14:07:14 - [INFO ] - about_panel.py:42 : Plugin version is 1.0.1

@Joonalai
Copy link
Contributor

Joonalai commented Apr 6, 2021

The log is not giving much details here. The percentage 97% indicates that all files are exported successfully to a temporary directory (you could check the path <QGIS profile>/python/plugins/Unfolded/resources for temporary directories) and the process fails on zip file creation.

@tjukanovt
Copy link

@HerminioSabino Firstly: thanks for reporting!

Can you try the following steps:

  1. Check the configuration output directory on the settings tab. Make sure it's somewhere you have rights to write.
  2. If you can't share your own data, can you try it out with this data and see if it works:
    naturalearth_countries.zip

@HerminioSabino
Copy link
Author

That's right @Joonalai,
The process generates a temporary directory, but only one .csv is created.

@tjukanovt I already modified the output directory for the folders that I have all permissions to, but the error continues, even with the data sent.
I'm trying with simple data from the state I live in.

Thank you very much for the answers, I'll keep trying to find the error.

Municipios.zip

@tjukanovt
Copy link

@HerminioSabino I got the export working on my machine (Windows 10 and QGIS version 3.16.2)
image

One more thing you could still try is to install this plugin to a fresh QGIS profile (Settings --> User Profiles --> New Profile) and then try. That is usually a good way to debug QGIS problems.

@HerminioSabino
Copy link
Author

Many thanks for the reply.
I'll have to look for what's wrong with my machine. Even adding another profile, the plugin has the same behavior.

I'll study the possible causes of this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants