kartoza / docker-qgis-desktop

A docker project that will run your QGIS desktop app inside a docker container
GNU General Public License v2.0
98 stars 46 forks source link

osgeo [python-gdal] mdule is missing #27

Closed Bakaniko closed 6 years ago

Bakaniko commented 6 years ago

Hi, when I run the 2.18.12 and 2.14.16 images I encounter this error:

image

There is after that a message that the processing and metasearch plugins can't be load (I think it is related)

QGIS works quite well but the python console is not working.

image

I think it is because I don't have any spatial library (and especially GDAL) on the python installation from the host machine. I'm running on a fresh ubuntu mate 16.04.3 with python 2.7.12

Is there a way to install it on the docker image ? Or do I have to install it on my host python ? How can I do that ?

Please note that for the 2.14 image I didn't encounter this error and the python console works pretty well.

For the moment I only tested those 3 images only.

Thanks,

Nicolas

valpesendorfer commented 6 years ago

Hi @Bakaniko ,

I've experienced the same issue, along with a bunch of other missing dependencies. You don't need to change anything on your host machine, the dependencies are missing within the Ubuntu container which should run qgis.

For a hotfix I just modified the getDeps.sh script and added all missing dependencies. Feel free to check it out on my fork.

I'm not sure if you need all the modifications I made, but I also started out with the osgeo problem and after fixing that the plugin errors just kept coming. With the current setup it's working fine for me.

HTH

Bakaniko commented 6 years ago

Thanks @valpesendorfer I'll be looking at that :)