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

Couldn't load plugin 'GAVOCoverage' : ModuleNotFoundError: No module named 'gdalconst' #1

Open
kidpixo opened this issue Sep 6, 2024 · 1 comment

Comments

@kidpixo
Copy link

kidpixo commented Sep 6, 2024

OS : Arch Linux
QGIS version : QGIS 3.38.2-Grenoble 'Grenoble' (exported)
QGIS installed via conda-forge

I get this error :

Couldn't load plugin 'GAVOCoverage' due to an error when calling its classFactory() method 
[...]
ModuleNotFoundError: No module named 'gdalconst'

Changing this line https://github.com/epn-vespa/VO_QGIS3.x_plugin/blob/master/GAVOCoverage/gavo_coverage.py#L38
to

from osgeo.gdalconst import * #Gdal constants. Seems to require char values... substituting an int doesnt work :(

solved this.

@kidpixo
Copy link
Author

kidpixo commented Sep 12, 2024

I fixed this in my fork

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

1 participant