Skip to content

Python error : An error has occurred while executing Python code #12 #11

@andebhuvana

Description

@andebhuvana

Hai,
I am using QGIS 2.6.1, Brighton and when I am trying to create change map in MOLUSCE plugin the following error I have encountered.
Kindly help me in fixing the problem
An error has occurred while executing Python code:

Traceback (most recent call last):
File "C:/Users/Civil/.qgis2/python/plugins\molusce\moluscedialog.py", line 467, in createChangeMap
self.analyst = AreaAnalyst(self.inputs["initial"], self.inputs["final"])
File "C:/Users/Civil/.qgis2/python/plugins\molusce\algorithms\models\area_analysis\manager.py", line 62, in init
raise AreaAnalizerError("List of categories of the first raster doesn't contains a category of the second raster!")
AreaAnalizerError

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

QGIS version:
2.6.1-Brighton Brighton, e2a51df

Python path: ['C:/PROGRA1/QGISBR1/apps/qgis/./python/plugins\processing', 'C:/PROGRA1/QGISBR1/apps/qgis/./python', u'C:/Users/Civil/.qgis2/python', u'C:/Users/Civil/.qgis2/python/plugins', 'C:/PROGRA1/QGISBR1/apps/qgis/./python/plugins', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg', 'C:\PROGRA1\QGISBR1\bin\python27.zip', 'C:\PROGRA1\QGISBR1\apps\Python27\DLLs', 'C:\PROGRA1\QGISBR1\apps\Python27\lib', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\plat-win', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\lib-tk', 'C:\PROGRA1\QGISBR1\bin', 'C:\PROGRA1\QGISBR1\apps\Python27', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg', 'C:\PROGRA1\QGISBR1\apps\qgis\python\plugins\fTools\tools']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions