[Qgis-user] Lecos plug in

Yasser Said Lopez de Olmos Reyes biolyasser at gmail.com
Thu Jul 10 23:31:00 PDT 2014


Did you install numpy package before installing Lecos plugin? What kind of
operation are you trying to do? Can you detail your entries (are they
rasters with int or float adata)?


2014-07-08 8:52 GMT-05:00 Manuel Spínola <mspinola10 at gmail.com>:

> Dear list members,
>
> I am trying to run Lecos plug in in QGIS 2.4 (32 bits) en Windows 8.1 and
> I got the following error message:
>
>
> Ha ocurrido un error mientras se ejecutaba el código de Python:
>
> Traceback (most recent call last):
>   File "C:/Users/Manuel/.qgis2/python/plugins\LecoS\lecos_dlg.py", line 320, in accept
>
>
>     classes, array = lcs.f_landcover(rasterPath,nodata)
>   File "C:/Users/Manuel/.qgis2/python/plugins\LecoS\landscape_statistics.py", line 133, in f_landcover
>     classes = sorted(numpy.unique(array)) # get classes
>
>
>   File "C:\PROGRA~2\QGISCH~1\apps\Python27\lib\site-packages\numpy\lib\arraysetops.py", line 165, in unique
>     ar = ar.flatten()
> MemoryError
>
>
> Versión de Python:
> 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
>
>
> Versión de QGIS:
> 2.4.0-Chugiak Chugiak, 8fdd08a
>
> Ruta de Python: ['C:/Users/Manuel/.qgis2/python/plugins\\LecoS',
> 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python/plugins\\processing',
> 'C:/Users/Manuel/.qgis2/python/plugins\\sextante_animove',
> 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python',
> u'C:/Users/Manuel/.qgis2/python', u'C:/Users/Manuel/.qgis2/python/plugins',
> 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python/plugins',
> 'C:\\PROGRA~2\\QGISCH~1\\bin\\python27.zip',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\DLLs',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\plat-win',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\lib-tk',
> 'C:\\PROGRA~2\\QGISCH~1\\bin', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\GDAL-1.11.0-py2.7-win32.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\PIL',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win32.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\python_dateutil-2.2-py2.7.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\pytz-2014.2-py2.7.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
> 'C:\\Users\\Manuel\\.qgis2\\python\\plugins\\mmqgis/forms',
> 'C:\\PROGRA~2\\QGISCH~1\\apps\\qgis\\python\\plugins\\fTools\\tools']
>
>
> --
> *Manuel Spínola, Ph.D.*
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspinola at una.ac.cr
> mspinola10 at gmail.com
> Teléfono: (506) 2277-3598
> Fax: (506) 2237-7036
> Personal website: Lobito de río
> <https://sites.google.com/site/lobitoderio/>
> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Saludos,

Yasser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140711/6127103f/attachment.html>


More information about the Qgis-user mailing list