Bug 16288 - Qgis missing gdal-python dependency
Summary: Qgis missing gdal-python dependency
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA5-64-OK
Keywords: validated_update
: 16262 16287 (view as bug list)
Depends on:
Blocks: 9620 16247
  Show dependency treegraph
 
Reported: 2015-07-04 07:28 CEST by Dimitrios Glentadakis
Modified: 2015-09-08 19:57 CEST (History)
3 users (show)

See Also:
Source RPM: qgis-2.4.0-4.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Dimitrios Glentadakis 2015-07-04 07:28:23 CEST
I have uploaded the qgis package in 5 core updates_testing for Mageia 5 in order to fix a problem to make qgis work with OSM maps, GoogleMaps etc

Suggested advisory:
========================

Updated qgis package fix the follow 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.

References:
https://bugs.mageia.org/show_bug.cgi?id=9620
========================

Updated packages in core/updates_testing:
========================
qgis-2.4.0-4.2.mga5
qgis-devel-2.4.0-4.2.mga5
qgis-grass-2.4.0-4.2.mga5
python-qgis-2.4.0-4.2.mga5

Source RPMs: 
qgis-2.4.0-4.2.mga5.src.rpm

Reproducible: 

Steps to Reproduce:
Dimitrios Glentadakis 2015-07-04 07:30:08 CEST

Blocks: (none) => 9620

Comment 1 David Walser 2015-07-04 17:16:56 CEST
We have 5 bugs for this package, and 3 assigned to QA.  There shouldn't be multiple bugs assigned for the same issue or same Mageia version.  Consolidating the three QA bugs here.

Suggested advisory:
========================

Updated qgis package fix the follow 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.

Additionally, the desktop file on Mageia 5 has been fixed so that the icon
will be shown in more desktops, such as LxQt.

References:
https://bugs.mageia.org/show_bug.cgi?id=9620
https://bugs.mageia.org/show_bug.cgi?id=16247
========================

Updated packages in core/updates_testing:
========================
qgis-2.0.1-3.1.mga4
qgis-devel-2.0.1-3.1.mga4
qgis-grass-2.0.1-3.1.mga4
python-qgis-2.0.1-3.1.mga4
qgis-2.4.0-4.2.mga5
qgis-devel-2.4.0-4.2.mga5
qgis-grass-2.4.0-4.2.mga5
python-qgis-2.4.0-4.2.mga5

Source RPMs: 
qgis-2.0.1-3.1.mga4.src.rpm
qgis-2.4.0-4.2.mga5.src.rpm

URL: https://bugs.mageia.org/show_bug.cgi?id=9620 => (none)
Blocks: (none) => 16247
Whiteboard: (none) => MGA4TOO

Comment 2 David Walser 2015-07-04 17:17:16 CEST
*** Bug 16262 has been marked as a duplicate of this bug. ***
Comment 3 David Walser 2015-07-04 17:17:38 CEST
*** Bug 16287 has been marked as a duplicate of this bug. ***
Comment 4 Dave Hodgins 2015-07-04 21:21:40 CEST
Advisory committed to svn.

CC: (none) => davidwhodgins
Whiteboard: MGA4TOO => MGA4TOO advisory

Comment 5 Lewis Smith 2015-07-17 21:58:25 CEST
Testing MGA4 x64

BEFORE the update, installed just qgis and all its dependencies:
 qgis-2.0.1-3.mga4
 lib64gdal1-1.9.2-10.mga4
NO gdal-python nor python-gdal nor python-qgis.

Starting it from the menu produced no error as per Bug 9620 Description
 https://bugs.mageia.org/show_bug.cgi?id=9620
From console, it output
"Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_cy_GB]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_cy_GB]
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."
the last error about 12 times.

UPDATE to
 qgis-2.0.1-3.1.mga4   which pulled in automatically...
 gdal-python-1.9.2-10.mga4
but NOT python-qgis-2.0.1-3.1.mga4 which was not in Updates Testing.

Running this from the console yielded exactly the same output as before the update.
Something is not right (maybe me). There seems to be confusion between gdal-python and python-qgis.

CC: (none) => lewyssmith

Comment 6 Samuel Verschelde 2015-07-22 17:45:18 CEST
Dimitrios, can you comment?

Whiteboard: MGA4TOO advisory => MGA4TOO advisory feedback

Comment 7 Dimitrios Glentadakis 2015-07-27 08:19:12 CEST
I am just back from vacations; i will take a look at the first occasion, thanks.
Comment 8 Dimitrios Glentadakis 2015-07-27 20:58:45 CEST
I cannot do it in mageia 4 because the python package was dropped in 2.0.1
http://svnweb.mageia.org/packages/cauldron/qgis/current/SPECS/qgis.spec?r1=545329&r2=565134

And restored again in 2.4.0 in mageia 5
http://svnweb.mageia.org/packages/cauldron/qgis/current/SPECS/qgis.spec?r1=688481&r2=697448
Comment 9 Rémi Verschelde 2015-08-30 14:36:19 CEST
What's the status on this bug?
Comment 10 Dimitrios Glentadakis 2015-08-31 10:07:03 CEST
The status is that i cannot update the package in mageia 4 as there is no qgis-python with the version 2.0.1
http://svnweb.mageia.org/packages/cauldron/qgis/current/SPECS/qgis.spec?revision=565134&view=markup

If it is ok we can accept the fix for mageia 5 only ?
Comment 11 Samuel Verschelde 2015-08-31 10:36:29 CEST
Given how close we are from MGA4 EOL, I think we can.
Comment 12 Lewis Smith 2015-09-01 09:18:28 CEST
(In reply to Samuel VERSCHELDE from comment #11)
> Given how close we are from MGA4 EOL, I think we can.

In which case, should this be removed from the Mageia 4 update list, & MGA4TOO removed from the whiteboard? I am about to try this for MGA5, so can do the latter.
Comment 13 Rémi Verschelde 2015-09-01 09:25:38 CEST
(In reply to Lewis Smith from comment #12)
> In which case, should this be removed from the Mageia 4 update list, &
> MGA4TOO removed from the whiteboard?

Indeed, just did this and also removed the feedback marker and advisory, since the advisory needs to be fixed to remove the reference to Mageia 4 packages.

Whiteboard: MGA4TOO advisory feedback => (none)

Comment 14 Rémi Verschelde 2015-09-01 09:26:07 CEST
Suggested advisory:
========================

Updated qgis package fix the follow 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.

Additionally, the desktop file on Mageia 5 has been fixed so that the icon
will be shown in more desktops, such as LxQt.

References:
https://bugs.mageia.org/show_bug.cgi?id=9620
https://bugs.mageia.org/show_bug.cgi?id=16247
========================

Updated packages in core/updates_testing:
========================
qgis-2.4.0-4.2.mga5
qgis-devel-2.4.0-4.2.mga5
qgis-grass-2.4.0-4.2.mga5
python-qgis-2.4.0-4.2.mga5

Source RPMs: 
qgis-2.4.0-4.2.mga5.src.rpm
Comment 15 Lewis Smith 2015-09-01 10:05:31 CEST
Rémi in Comment 13 beat me to it for cleaning the Whiteboard!

Testing MGA5 x64 - OK I think, but Dimitrios please confirm.

BEFORE
Installed: qgis-2.4.0-4.mga5 
 qgis-grass-2.4.0-4.mga5
 qgis-python-2.4.0-4.mga5
which pulled in an additional 33 pkgs.
Quite different from Mageia 4. Duplicated menu entries were:
 2 * QGIS Browser, 2 * QGIS Desktop
each of which worked (started) without visible errors. From console:
 $ qgis
 Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_cy_GB]
 Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_cy_GB]
 Warning: QGraphicsScene::addItem: item has already been added to this scene
So another case of the reported errors not manifesting themselves.

AFTER
Updated to: qgis-2.4.0-4.2.mga5
 qgis-grass-2.4.0-4.2.mga5
 qgis-python-2.4.0-4.2.mga5
and the outcome was identical to previously in all respects. Perhaps new menu icons.

@Dimitrios
If this result looks OK to you, please MGA5-64-OK the Whiteboard. TIA
Comment 16 Dimitrios Glentadakis 2015-09-01 13:14:53 CEST
I will add MGA5-64-OK ? I am not in the QA team...
Comment 17 Dimitrios Glentadakis 2015-09-01 13:17:02 CEST
For me is OK :
there is solution about gdal-python dependency and the missing icons in #9620
Comment 18 Rémi Verschelde 2015-09-01 13:22:49 CEST
(In reply to Lewis Smith from comment #15)
> So another case of the reported errors not manifesting themselves.

IIUC, the reported errors should be displayed if the gdal-python dependency is missing. In your case, I suspect that you already had gdal-python installed in the BEFORE test case, that's why you did not notice any difference with the update candidate (apart from the menu icons).

The duplicated menu entries and missing translations might warrant another bug report, but shouldn't prevent from pushing this update candidate IMO.

OK'ing comment 15 as per comment 17.

Whiteboard: (none) => MGA5-64-OK

Comment 19 Rémi Verschelde 2015-09-01 13:25:00 CEST
(In reply to Rémi Verschelde from comment #18)
> In your case, I suspect that you already had gdal-python
> installed in the BEFORE test case, that's why you did not notice any
> difference with the update candidate (apart from the menu icons).

I might be mistaken though, since you seem to be well aware of this fact judging by comment 5.
Comment 20 Lewis Smith 2015-09-01 22:24:43 CEST
Re gdal I dare not comment. I rather think it was one of the things pulled in by the pkg installation from normal repos Comment 15. BTAIM I certainly have it from somewhere:
 gdal-1.9.2-16.mga5
 gdal-python-1.9.2-16.mga5
 lib64gdal1-1.9.2-16.mga5
Thanks to Rémi & Dimitrios for your contributions.
Comment 21 claire robinson 2015-09-08 16:00:20 CEST
Advisory updated re comment 14

Validating.

Please push to 5 updates

Thanks
claire robinson 2015-09-08 16:01:29 CEST

Keywords: (none) => validated_update
Whiteboard: MGA5-64-OK => has_procedure advisory MGA5-64-OK
CC: (none) => sysadmin-bugs

Comment 22 Mageia Robot 2015-09-08 19:57:12 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0117.html

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


Note You need to log in before you can comment on or make changes to this bug.