[Qgis-user] problems in the gdal clipper tool

Giovanni Manghi giovanni.manghi at faunalia.pt
Fri Jan 20 02:37:20 PST 2012


http://hub.qgis.org/issues/4676

hopefully python will be updated soon in the osgeo4w installer.



On Fri, 2012-01-20 at 15:14 +0530, Tilottama Ghosh wrote:
> Hi,
>  
>  I am trying to use the Gdal 'clipper' tool to 'carve out' a portion
> on the basis of a vector shapefile. However, whenever I am trying to
> use the vector shapefile as the 'mask layer' I am getting this error
> message -
>  
> 'Traceback (most recent call last):
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools
> \widgetPluginBase.py", line 28, in someValueChanged
>     self.emit(SIGNAL("valuesChanged(const QStringList &)"),
> self.getArguments())
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools
> \doClipper.py", line 105, in getArguments
>     return self.getArgsModeMask()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools
> \doClipper.py", line 143, in getArgsModeMask
>     if self.alphaBandCheck.isChecked():
> TypeError: 'sip.methoddescriptor' object is not callable
> 
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> 
> 
> QGIS version:
> 1.7.2-Wroclaw Wroclaw, 32e5ead
> 
> Python path: ['C:/OSGeo4W/apps/qgis/./python',
> 'C:/Users/indicus-pc-27/.qgis/python',
> 'C:/Users/indicus-pc-27/.qgis/python/plugins',
> 'C:/OSGeo4W/apps/qgis/./python/plugins', '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\
> \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:\\Users\\indicus-pc-27\\.qgis\\python\\plugins\\mmqgis/forms', 'C:\
> \OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']
> 
> -- 
> 
> Can anyone tell me where I am going wrong? Thanks for your help.
>  
> Thanks,
> Tilo
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user





More information about the Qgis-user mailing list