[Qgis-user] error of python

azizul haque haque.azizul320 at yahoo.com
Wed Sep 3 08:58:10 PDT 2014


Hi All,
I am using semi automatic classification for land use classification. When I load the dataset it shows following error? 
your help are highly appreciated.
Regards
Azizul
??????????????????????????????????????????????????????????????????????????????????????????????
An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:\Users\haque/.qgis2/python/plugins\SemiAutomaticClassificationPlugin\maininterface\landsatTab.py", line 753, in performLandsatCorrection
    self.Landsat(cfg.ui.label_26.text(), cfg.ui.label_27.text())
  File "C:\Users\haque/.qgis2/python/plugins\SemiAutomaticClassificationPlugin\maininterface\landsatTab.py", line 727, in Landsat
    vrtCheck = cfg.utls.createVirtualRaster(rasterList, outVrt)
  File "C:\Users\haque/.qgis2/python/plugins\SemiAutomaticClassificationPlugin\core\utils.py", line 494, in createVirtualRaster
    sP = subprocess.Popen('gdalbuildvrt -separate "' + unicode(output) + '" ' + unicode(r), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "C:\PROGRA~1\QGISDU~1\apps\Python27\lib\subprocess.py", line 703, in __init__
    errread, errwrite) = self._get_handles(stdin, stdout, stderr)
  File "C:\PROGRA~1\QGISDU~1\apps\Python27\lib\subprocess.py", line 839, in _get_handles
    p2cread = self._make_inheritable(p2cread)
  File "C:\PROGRA~1\QGISDU~1\apps\Python27\lib\subprocess.py", line 878, in _make_inheritable
    _subprocess.DUPLICATE_SAME_ACCESS)
WindowsError: [Error 6] Handle non valido

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


QGIS version:
2.0.1-Dufour Dufour, d94c044

Python path: ['C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\\processing', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python', 'C:\\Users\\haque/.qgis2/python', 'C:\\Users\\haque/.qgis2/python/plugins', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISDU~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISDU~1\\bin', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 'C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\python\\plugins\\fTools\\tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140903/f2e31945/attachment.html>


More information about the Qgis-user mailing list