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

Tim Sutton lists at linfiniti.com
Thu Sep 24 05:34:16 EDT 2009


Hi

Its probably the same issue of the stand alone installer (now fixed in build 1.3.0-3). Since we are linking to gdal 1.6 now, python must be set to look for gdal python pyd files in osgeo4w/apps/gdal1.6 instead of the default python libs path. No idea how to fix that in the osgeo4w dist, though no doubt Juergen will have an idea.

Regards

Tim
Sent from my mobile phone.

-----Original Message-----
From: Paolo Cavallini <cavallini at faunalia.it>
Date: Thu, 24 Sep 2009 10:22:37 
To: qgis-developer<qgis-developer at lists.osgeo.org>
Subject: [Qgis-developer] [Fwd: Re: [Qgis-user] GdalTools plugin generates
	an error on installation]

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
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list