Error:'ClassificationWorkflowApp! has no attribute 'colors'

Issue #565 resolved
Estelle Solem created an issue

My EnMap version is 3.7. When I want to use the Classification Workflow map I have the following message Error:'ClassificationWorkflowApp! has no attribute ‘colors': I have checked that my vector data is categorized and my ClassID an integer. I have uploaded the stack raster and vector data in EnMap but I cannot find where the problem is. Thank you for your help! Attached you can find a screeshot of the issue.

Best,

Estelle

Comments (6)

  1. Estelle Solem reporter

    I tried it but it is still not working. When I open EnMap Box I have this error message: EnMAPBoxApplication error(s): ensomap:

    TypeError:create_target_machine() got an unexpected keyword argument 'jitdebug'
    Traceback:
    File "C:/Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\applications.py", line 290, in addApplicationFolder
    apps = factory(self.mEnMAPBox)
    File "C:\Users\User\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\ensomap\__init__.py", line 35, in enmapboxApplicationFactory
    from ensomap.enmapboxintegration import EnSoMAP
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\ensomap\enmapboxintegration.py", line 32, in
    import hys
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\ensomap\hys\__init__.py", line 26, in
    from .tools import *
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\ensomap\hys\tools.py", line 5, in
    from numba import jit, float32, void, intc, int64, int32
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\__init__.py", line 196, in
    import numba.typed
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\typed\__init__.py", line 3, in
    from .typeddict import Dict
    File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 743, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\typed\typeddict.py", line 19, in
    @njit
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\decorators.py", line 238, in njit
    return jit(*args, **kws)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\decorators.py", line 175, in jit
    return wrapper(pyfunc)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\decorators.py", line 191, in wrapper

    • *dispatcher_args)

    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\dispatcher.py", line 650, in __init__
    self.targetctx = self.targetdescr.target_context
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\registry.py", line 50, in target_context
    return self._toplevel_target_context
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\utils.py", line 390, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\registry.py", line 34, in _toplevel_target_context
    return cpu.CPUContext(self.typing_context)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\base.py", line 260, in __init__
    self.init()
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\cpu.py", line 51, in init
    self._internal_codegen = codegen.JITCPUCodegen("numba.exec")
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\codegen.py", line 628, in __init__
    self._init(self._llvm_module)
    File "C:\Users\User\AppData\Roaming\Python\Python37\site-packages\numba\targets\codegen.py", line 637, in _init
    tm = target.create_target_machine(**tm_options)

  2. Log in to comment