[GRASS-web] HOW TO FIX THIS ERROR

GAVALAS MINAS migavala at uth.gr
Sat May 14 08:58:33 PDT 2016


When I am running LecoS plugin I have this error.
How to fix it?

An error has occurred while executing Python code:

MemoryError
Traceback (most recent call last):
   File "C:/Users/Minas/.qgis2/python/plugins\LecoS\lecos_dlg.py",  
line 320, in accept
     classes, array = lcs.f_landcover(rasterPath,nodata)
   File  
"C:/Users/Minas/.qgis2/python/plugins\LecoS\landscape_statistics.py",  
line 133, in f_landcover
     array =  band.ReadAsArray()
   File  
"C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\osgeo\gdal.py",  
line 1244, in ReadAsArray
     callback_data = callback_data)
   File  
"C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py",  
line 331, in BandReadAsArray
     buf_obj = numpy.empty([buf_ysize,buf_xsize], dtype = typecode)
MemoryError


Python version: 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32  
bit (Intel)]
QGIS version: 2.14.2-Essen Essen, b3e642c

Python Path:
C:/PROGRA~1/QGISES~1/apps/qgis/./python/plugins\processing
C:/Users/Minas/.qgis2/python/plugins\LecoS
C:/PROGRA~1/QGISES~1/apps/qgis/./python
C:/Users/Minas/.qgis2/python
C:/Users/Minas/.qgis2/python/plugins
C:/PROGRA~1/QGISES~1/apps/qgis/./python/plugins
C:\PROGRA~1\QGISES~1\bin\python27.zip
C:\PROGRA~1\QGISES~1\apps\Python27\DLLs
C:\PROGRA~1\QGISES~1\apps\Python27\lib
C:\PROGRA~1\QGISES~1\apps\Python27\lib\plat-win
C:\PROGRA~1\QGISES~1\apps\Python27\lib\lib-tk
C:\PROGRA~1\QGISES~1\bin
C:\PROGRA~1\QGISES~1\apps\Python27
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\PIL
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\win32
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\win32\lib
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\Pythonwin
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg
C:\PROGRA~1\QGISES~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
C:/Users/Minas/.qgis2//python
C:\PROGRA~1\QGISES~1\apps\qgis\python\plugins\fTools\tools



More information about the grass-web mailing list