[Qgis-user] Gdaltools installation fails

Rainer M Krug r.m.krug at gmail.com
Fri Mar 30 07:48:22 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/03/12 13:36, Paolo Cavallini wrote:
> Il 30/03/2012 13:34, Rainer M Krug ha scritto:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Hi
>> 
>> I tried to reinstall Gdaltools, but I get the following error message:
>> 
> why do you want to reinstall it? it is already included in main qgis. all the best.
> 
Good point. Uninstalled it and now get on startup the following error:

####################
Couldn't load plugin GdalTools due an error when calling its classFactory() method

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 138, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/usr/share/qgis/python/plugins/GdalTools/__init__.py", line 32, in classFactory
    from GdalTools import GdalTools
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/GdalTools/GdalTools.py", line 39, in
    raise ImportError( error_str )
ImportError: /usr/lib/python2.7/dist-packages/osgeo/_gdal.so: symbol VSIFTruncateL, version
GDAL_1.8 not defined in file libgdal.so.1 with link time reference

Python version:
2.7.2+ (default, Oct  4 2011, 20:29:37)
[GCC 4.6.1]


QGIS version:
1.7.4-Wroclaw Wroclaw, exported

Python path: ['/usr/share/qgis/python', '/home/rkrug/.qgis/python',
'/home/rkrug/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/home/rkrug/.qgis/python/plugins/fTools/tools']
####################

but I have /usr/lib/libgdal1.8.0.so.1

For reference:
~$ apt-show-versions | grep gdal
gdal-bin/oneiric uptodate 1.9.0-2~exp5~oneiric1
libgdal-dev/oneiric uptodate 1.9.0-2~exp5~oneiric1
libgdal-ecw-src/oneiric uptodate 1.9.0-2~oneiric1
libgdal-mrsid-src/oneiric uptodate 1.9.0-2~oneiric1
libgdal1/oneiric uptodate 1.9.0-2~exp5~oneiric1
libgdal1-1.7.0/oneiric uptodate 1.7.3-5ubuntu1
libgdal1-1.8.0/oneiric uptodate 1.8.0-3~oneiric1
libgdal1-1.8.0-grass/oneiric uptodate 1.8.0-2~oneiric1
python-gdal/oneiric uptodate 1.9.0-2~exp5~oneiric1

Cheers,

Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk91nYYACgkQoYgNqgF2egqeEgCfX+xs8KoqT8M2NR3rvCN6MVz7
5IMAnAu2zzqOQPF7I/We5JpWmKfMkp7q
=JZsr
-----END PGP SIGNATURE-----


More information about the Qgis-user mailing list