[DebianGIS-dev] Bug#529745: python-gdal: can't import gdal_array

Oz N nahumoz at gmail.com
Thu May 21 09:38:00 UTC 2009


Package: python-gdal
Version: 1.6.1-1
Severity: grave
Justification: renders package unusable

Hi, 
I've installed python gdal, it does not import some of the modules
correctly. 
Here's an output from python:
$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal
>>> from osgeo import gdal_array
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/osgeo/gdal_array.py", line 7,
in <module>
    import _gdal_array
ImportError: dynamic module does not define init function
(init_gdal_array)

###
I installed the whole gdal package from sources and that solves my
problem. So I guess something is malfunctioning with debian packages. 

Thanks for the great work, 

Oz. 

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gdal depends on:
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.0-4  GCC support library
ii  libgdal1-1.6.0                1.6.0-2    Geospatial Data Abstraction Librar
ii  libstdc++6                    4.4.0-4    The GNU Standard C++ Library v3
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.11     register and build utility for Pyt
ii  python-numpy                  1:1.2.1-1  Numerical Python adds a fast array

python-gdal recommends no packages.

python-gdal suggests no packages.

-- no debconf information





More information about the Pkg-grass-devel mailing list