[Qgis-user] Problems

Guillaume Larocque glaroc at gmail.com
Tue Nov 15 12:55:44 PST 2011


Hi again, this is definitely not my day of luck with QGIS.

I have been working in QGIS doing various things and I started getting
the message below with almost everything I do (add a new layer,
various raster operations, ...), which crashes the function.

Any help would be appreciated. I am teaching a workshop on QGIS
tomorrow and I really need this to work!

Thank you,

Guillaume

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\GdalTools.py",
line 278, in doGrid
    self.runToolDialog( d )
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\GdalTools.py",
line 326, in runToolDialog
    dlg.show_()
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\widgetPluginBase.py",
line 43, in show_
    self.onLayersChanged()
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\doGrid.py",
line 69, in onLayersChanged
    self.inSelector.setLayers(
Utils.LayerRegistry.instance().getVectorLayers() )
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\GdalTools_utils.py",
line 161, in getVectorLayers
    return filter( self.isVector, LayerRegistry.layers )
  File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins\GdalTools\tools\GdalTools_utils.py",
line 156, in isVector
    if layer.usesProvider() and layer.providerKey() != 'ogr':
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.1-Wroclaw Wroclaw, e6718b6

Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
'C:/Users/Guillaume/.qgis/python',
'C:/Users/Guillaume/.qgis/python/plugins',
'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins',
'C:\\PROGRA~2\\QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools']



More information about the Qgis-user mailing list