NRCan / CanFlood

Flood Risk modelling toolbox for Canada
MIT License
29 stars 7 forks source link

[CLOSED] ImportError: 'get_valid_filename' #9

Closed dhanyatha-harish-ibigroup closed 3 years ago

dhanyatha-harish-ibigroup commented 3 years ago

Issue by cefect Friday Jan 29, 2021 at 16:55 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT Originally opened as https://github.com/IBIGroupCanWest/CanFlood/issues/66


A user reported the following error when installing 0.4.2

image

dhanyatha-harish-ibigroup commented 3 years ago

Comment by cefect Friday Jan 29, 2021 at 21:05 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


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).