[Qgis-developer] [Fwd: Re: [Qgis-user] GdalTools plugin generates an error on installation]

Paolo Cavallini cavallini at faunalia.it
Thu Sep 24 04:22:37 EDT 2009


Mmmh, looks a packaging problem: Jurge, do you agree?
All the best.

-------- Messaggio Originale  --------
Paolo Cavallini <cavallini at faunalia.it> написал:

> Hi all.
> I understand the problems remain with the OSGeo4w installer: can any Windows user confirm?
> Thanks.

Hi,

I confirm. Windows XP Pro SP3, QGIS 1.3.0 (svn 11644) and QGIS 1.4.0 (svn 11704). When I try to
activate GdalTools plugin I get error, with this output:

Не удалось загрузить модуль gdaltools при вызове его метода classFactory()

Traceback (most recent call last):
  File "", line 1, in
  File "C:/OSGeo4W/apps/qgis-unstable/./python/plugins\gdaltools\__init__.py", line 30, in classFactory
    from GdalTools import GdalTools
  File "C:\OSGeo4W\apps\qgis-unstable\python\plugins\gdaltools\GdalTools.py", line 29, in
    import doBuildVRT, doContour, doRasterize, doPolygonize, doMerge, doSieve
  File "C:\OSGeo4W\apps\qgis-unstable\python\plugins\gdaltools\tools\doRasterize.py", line 7, in
    from osgeo import ogr
ImportError: No module named osgeo

Версия Python:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Путь поиска Python:
['C:/OSGeo4W/apps/qgis-unstable/./python', 'C:/Documents and Settings/Alex/.qgis//python/plugins',
'C:/OSGeo4W/apps/qgis-unstable/./python/plugins', 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 'C:\\',
'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis-unstable\\bin',
'C:\\OSGeo4W\\apps\\Python25', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\OSGeo4W\\apps\\qgis-unstable\\python\\plugins\\fTools\\tools',
'C:\\OSGeo4W\\apps\\qgis-unstable\\python\\plugins\\gdaltools\\tools',
'C:\\OSGeo4W\\apps\\qgis-unstable\\python\\plugins\\gdaltools\\tools']

Gdal 1.6.2 and 1.7-pre9 are installed via OSGeo4W

-- 
Alexander Bruy
mailto: alexander.bruy at gmail.com

-- 
Paolo Cavallini: http://www.faunalia.it/pc


More information about the Qgis-developer mailing list