Bug 9620

Summary: QGIS is missing a dependency to gdal-python
Product: Mageia Reporter: Dušan Pavlík <pavlikd>
Component: RPM PackagesAssignee: Dimitrios Glentadakis <dglent>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: cjw, dglent, oliver.bgr, terraagua
Version: 5Keywords: Junior_job, PATCH, Triaged
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA4TOO
Source RPM: qgis CVE:
Status comment:
Bug Depends on: 16287, 16288    
Bug Blocks:    

Description Dušan Pavlík 2013-04-04 21:17:38 CEST
Description of problem:

When aj start qgis from menu Qgis start with this error table 

"Unable to load GdalTools plugin. 
The required "osgeo [python-gdal]" module is missing. 
Install it and try again."

When I look to plugin manager plugin "gdaltools" is present. But not python-gdal plugin.

When I run qgis from console, console writing this error

ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.


Version-Release number of selected component (if applicable):
QGIS 1.8.0-1.mga3
qgis-python 1.8.0-1.mga3

How reproducible:
Install and run qgis 

Steps to Reproduce:
1. instal qgis and qgis-python in cauldron
2. run qgis


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-04-06 23:13:22 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => oliver.bgr
Source RPM: (none) => qgis

Comment 1 macxi 2013-10-08 22:01:28 CEST
Install the software "gdal-python"

CC: (none) => terraagua

Comment 2 macxi 2013-10-08 22:15:31 CEST
The package "python-gdal" is prerequisite to install the python plugin "openLayer plugin", that allows to work with OSM maps, GoogleMaps etc.
 
So I think that "gdal-python" should be a mandatory dependency on installing Qgis.
Comment 3 macxi 2013-10-08 22:27:54 CEST
The correct name is: "gdal-python"
Comment 4 Samuel Verschelde 2015-04-23 14:45:56 CEST
*** Bug 11412 has been marked as a duplicate of this bug. ***
Samuel Verschelde 2015-04-23 14:48:16 CEST

Keywords: (none) => Junior_job
CC: (none) => cjw, dglent, oliver.bgr
Assignee: oliver.bgr => bugsquad
Summary: QGIS 1.8.0-1.mga3 when start do not load GdalTools => QGIS is missing a dependency to gdal-python
Source RPM: qgis => oliver.bgr@gmail.com, dglent@free.fr, cjw@time4t.net

Comment 5 Dimitrios Glentadakis 2015-04-30 06:01:26 CEST
In Cauldron the gdal-python is in requires since the version 2.4.0:
http://svnweb.mageia.org/packages/cauldron/qgis/current/SPECS/qgis.spec?r1=688481&r2=697448

*In next Cauldron i will change the name to python-gdal to follow the policy
https://wiki.mageia.org/en/Python_policy#Naming_Conventions
Comment 6 Samuel Verschelde 2015-04-30 09:55:00 CEST
So if I understand correctly, we'd just need a fix for Mageia 4, through updates.

Keywords: (none) => PATCH
Version: Cauldron => 4
Source RPM: oliver.bgr@gmail.com, dglent@free.fr, cjw@time4t.net => qgis

Comment 7 Dimitrios Glentadakis 2015-07-03 11:25:45 CEST
I have change the python package name in cauldron
http://svnweb.mageia.org/packages?view=revision&revision=849663

Then the dependency in qgis
http://svnweb.mageia.org/packages/cauldron/qgis/current/SPECS/qgis.spec?r1=849667&r2=849666&pathrev=849667

Now, it remains the modification for the previous versions
Maybe only for mga 5 ?
Comment 8 Samuel Verschelde 2015-07-03 11:58:10 CEST
What about Mageia 4's missing dependency?
Comment 9 Dimitrios Glentadakis 2015-07-03 11:59:24 CEST
Ok i will update the packages for mga5 and mga4
Comment 10 Samuel Verschelde 2015-07-03 12:12:54 CEST
(In reply to Dimitrios Glentadakis from comment #9)
> Ok i will update the packages for mga5 and mga4

From what I understood it already works in Mageia 5 but doesn't in Mageia 4 because of a wrong or missing dependency. If I'm right, then what's really needed is an update of qgis for Mageia 4, that only fixes the dependency (without renaming the gdal python package). And no renaming is needed in Mageia 5 if the package works. The name change must only happen in cauldron.

Is there something I haven't understood correctly?
Comment 11 Dimitrios Glentadakis 2015-07-03 13:23:18 CEST
Actualy i see that python-gdal is not in 5 either in Requires.
In my comment 5 i did an error, i kept in my mind the qgis-python instead of gdal-python.

In current cauldron(6) are both python-qgis and python qdal in requires with qgis 2.8.2

So i will add the dependency for mga 4 and 5
Samuel Verschelde 2015-07-03 14:11:09 CEST

Version: 4 => 5
Whiteboard: (none) => MGA4TOO

Dimitrios Glentadakis 2015-07-04 07:29:24 CEST

Depends on: (none) => 16287

Dimitrios Glentadakis 2015-07-04 07:30:08 CEST

Depends on: (none) => 16288

Comment 12 Samuel Verschelde 2016-10-15 22:17:33 CEST
(In reply to Dimitrios Glentadakis from comment #11)
> So i will add the dependency for mga 4 and 5

Have you done it? Or do you still plan to?

Assignee: bugsquad => dglent

Comment 13 Dimitrios Glentadakis 2016-10-16 07:48:37 CEST
Yes i have added it:
http://svnweb.mageia.org/packages/updates/5/qgis/current/SPECS/qgis.spec?r1=849232&r2=849864
Comment 15 Samuel Verschelde 2016-10-16 14:55:56 CEST
Then there's no need to keep the bug report open, is there? :)

Closing as fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED