Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

ImportError: 'get_valid_filename' #66

Closed
cefect opened this issue Jan 29, 2021 · 1 comment
Closed

ImportError: 'get_valid_filename' #66

cefect opened this issue Jan 29, 2021 · 1 comment
Labels
bug Something isn't working migrate
Milestone

Comments

@cefect
Copy link
Collaborator

cefect commented Jan 29, 2021

A user reported the following error when installing 0.4.2

image

@cefect cefect added the bug Something isn't working label Jan 29, 2021
@cefect cefect added this to the 0.4.2 milestone Jan 29, 2021
@cefect
Copy link
Collaborator Author

cefect commented Jan 29, 2021

This error is thrown if the user attempts to 'Install from Zip' without first uninstalling the previous version, then re-starting.

Simply ignore the error and re-start QGIS and you're new install should work fine.

(this happens because QGIS only reloads the top-level modules on each plugin install... leaving all the lower-level modules in the memory as is. So the error comes from the new top-level making a call to an old lower-level module and failing. re-starting QGIS gives you a fresh load on all the modules).

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

No branches or pull requests

1 participant