EarthObservation / rvt-qgis

Apache License 2.0
14 stars 5 forks source link

Couldn't load plugin after upgrade #9

Closed KrOstir closed 3 years ago

KrOstir commented 3 years ago

The upgrade issues the following error:

Couldn't load plugin 'rvt-qgis' due to an error when calling its classFactory() method

QGIS restart loads the plugin and everything works as intended.

qgis-bin_210202_075412

Windows 10 Python version: 3.7.0 QGIS version: 3.16.2-Hannover

zm8597 commented 3 years ago

I am aware of this problem. When you upgrade plugin to new version, QGIS reloads plugin code but doesn't reload library (rvt-py) code. Library code is only loded when you start QGIS, this is why you have to restart QGIS when upgrading to newer version. I will take a look and try to figure something out to solve this.

zm8597 commented 3 years ago

Bug was resolved in plugin version 0.4.0, now plugin refreshes rvt-py library when you update plugin.