[GRASS-dev] [GRASS GIS] #1869: wingrass7: r.in.wms - ERROR: Unable to load GDAL python bindings

#1869: wingrass7: r.in.wms - ERROR: Unable to load GDAL python bindings
----------------------------------------------+-----------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: wingrass, r.in.wms, gdal, python | Platform: MSWindows 7
      Cpu: x86-64 |
----------------------------------------------+-----------------------------
tested with some examples from the manual

{{{
r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
ERROR: Unable to load GDAL python bindings
(Sat Feb 02 18:26:31 2013) Command finished (0 sec)
(Sat Feb 02 18:41:46 2013)
r.in.wms url=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms
layers=bluemarble,landsat_1_01 styles=default,default output=landsat
srs=4326 format=png
ERROR: Unable to load GDAL python bindings
(Sat Feb 02 18:41:46 2013) Command finished (0 sec)
}}}

tested with

{{{
GRASS version: 7.0.svn
GRASS SVN Revision: 54831
Build Date: 2013-02-02
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.6dev
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1869&gt;
GRASS GIS <http://grass.osgeo.org>

Hi,

On Sat, Feb 2, 2013 at 6:45 PM, GRASS GIS <trac@osgeo.org> wrote:

#1869: wingrass7: r.in.wms - ERROR: Unable to load GDAL python bindings
----------------------------------------------±----------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: wingrass, r.in.wms, gdal, python | Platform: MSWindows 7
Cpu: x86-64 |
----------------------------------------------±----------------------------
tested with some examples from the manual

{{{
r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
ERROR: Unable to load GDAL python bindings
(Sat Feb 02 18:26:31 2013) Command finished (0 sec)
(Sat Feb 02 18:41:46 2013)
r.in.wms url=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms
layers=bluemarble,landsat_1_01 styles=default,default output=landsat
srs=4326 format=png
ERROR: Unable to load GDAL python bindings
(Sat Feb 02 18:41:46 2013) Command finished (0 sec)
}}}

tested with

{{{
GRASS version: 7.0.svn
GRASS SVN Revision: 54831
Build Date: 2013-02-02
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.6dev
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}

Helmut, GDAL needs to be configured --with-python

HTH,
madi

Helmut


Ticket URL: <http://trac.osgeo.org/grass/ticket/1869>
GRASS GIS <http://grass.osgeo.org>


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

hi madi,

GDAL needs to be configured --with-python

thanks for the hint!

before I ask at osgeo4w, which wingrass is based on, I've wanted to check if
there is any grass-related issue.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-GIS-1869-wingrass7-r-in-wms-ERROR-Unable-to-load-GDAL-python-bindings-tp5031663p5031707.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On Sun, Feb 3, 2013 at 12:20 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

hi madi,

GDAL needs to be configured --with-python

thanks for the hint!

before I ask at osgeo4w, which wingrass is based on, I’ve wanted to check if
there is any grass-related issue.

Maybe it should be written somewhere in the GRASS manual (?) though, since AFAIK it’s not the default configuration of GDAL.


best regards
Helmut

View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-GIS-1869-wingrass7-r-in-wms-ERROR-Unable-to-load-GDAL-python-bindings-tp5031663p5031707.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Sun, Feb 3, 2013 at 10:00 AM, Margherita Di Leo <dileomargherita@gmail.com> wrote:

On Sun, Feb 3, 2013 at 12:20 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

hi madi,

GDAL needs to be configured --with-python

thanks for the hint!

before I ask at osgeo4w, which wingrass is based on, I’ve wanted to check if
there is any grass-related issue.

Maybe it should be written somewhere in the GRASS manual (?) though, since AFAIK it’s not the default configuration of GDAL.

I mean, * we should add it in the manual


best regards
Helmut

View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-GIS-1869-wingrass7-r-in-wms-ERROR-Unable-to-load-GDAL-python-bindings-tp5031663p5031707.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

#1869: wingrass7: r.in.wms - ERROR: Unable to load GDAL python bindings
--------------------------+-------------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: wingrass, r.in.wms, gdal, python
  Platform: MSWindows 7 | Cpu: x86-64
--------------------------+-------------------------------------------------
Changes (by hellik):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [ticket:1869 hellik]:
> {{{
> r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
> ERROR: Unable to load GDAL python bindings

see http://lists.osgeo.org/pipermail/osgeo4w-dev/2013-February/002088.html

adding the osgeo4w-GDAL-python-bindings helps for this, for further r.in
.wms-issues in windows see:

http://trac.osgeo.org/grass/ticket/1872

closing ticket.

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1869#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

Maybe it should be written somewhere in the GRASS manual (?) though, since

AFAIK it's not the

default configuration of GDAL.

adding the GDAL-python-bindings in osgeo4w helps for this issue.

a short note in the manual would be nice.

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-GIS-1869-wingrass7-r-in-wms-ERROR-Unable-to-load-GDAL-python-bindings-tp5031663p5031799.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

2013/2/3 Helmut Kudrnovsky <hellik@web.de>:

adding the GDAL-python-bindings in osgeo4w helps for this issue.

I have added this dependency for winGRASS7.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa