[Qgis-user] Problem with GdalTools and python-gdal 1.9 on ubuntu 10:04
Agustin Lobo
alobolistas at gmail.com
Wed Jul 25 01:55:16 PDT 2012
Using qgis 1.8 on ubuntu 10.04
I've upgraded to python-gdal 1.9 and the GdalTools plugin and some others
complain at qgis start-up:
Couldn't load plugin openlayers due an error when calling its
classFactory() method
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 164, in
startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/alobo/.qgis//python/plugins/openlayers/__init__.py",
line 48, in classFactory
from openlayers_plugin import OpenlayersPlugin
File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/alobo/.qgis//python/plugins/openlayers/openlayers_plugin.py",
line 35, in
from openlayers_ovwidget import OpenLayersOverviewWidget
File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/alobo/.qgis//python/plugins/openlayers/openlayers_ovwidget.py",
line 28, in
import bindogr
File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/alobo/.qgis//python/plugins/openlayers/bindogr.py", line 1, in
from osgeo import ogr, osr
File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/lib/python2.6/dist-packages/osgeo/__init__.py", line 21, in
_gdal = swig_import_helper()
File "/usr/lib/python2.6/dist-packages/osgeo/__init__.py", line 17,
in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: /usr/lib/python2.6/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.6.5 (r265:79063, Apr 16 2010, 14:15:55)
[GCC 4.4.3]
I had circumvented this issue by forcin python-gdal 1.8, but this
version is no longer available.
Any solution to this problem?
Thanks
Agus
More information about the Qgis-user
mailing list