error when right click on SpectralView number of profiles node [MASTER version]

Issue #596 resolved
Andreas Janz created an issue

An error has occurred while executing Python code:

AttributeError: 'LayerTreeNode' object has no attribute 'contextMenu'

Traceback (most recent call last):
  File "C:\source\QGISPlugIns\enmap-box\enmapbox\gui\dockmanager.py", line 1148, in createContextMenu
    menu = node.contextMenu()
AttributeError: 'LayerTreeNode' object has no attribute 'contextMenu'

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.16.0-Hannover Hannover, 43b64b13f3

Python Path:

  • C:\source\QGISPlugIns\enmap-box\enmapbox\apps\ensomap
  • C:/QGIS/apps/qgis/./python
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:\source\QGISPlugIns
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  • C:/QGIS/apps/qgis/./python/plugins
  • C:\QGIS\apps\Python37
  • C:\QGIS\apps\Python37\Scripts
  • C:\QGIS\bin\python37.zip
  • C:\QGIS\apps\Python37\DLLs
  • C:\QGIS\apps\Python37\lib
  • C:\QGIS\bin
  • C:\Users\janzandr\AppData\Roaming\Python\Python37\site-packages
  • C:\QGIS\apps\Python37\lib\site-packages
  • C:\QGIS\apps\Python37\lib\site-packages\win32
  • C:\QGIS\apps\Python37\lib\site-packages\win32\lib
  • C:\QGIS\apps\Python37\lib\site-packages\Pythonwin
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:\source\QGISPlugIns\enmap-box
  • C:\source\QGISPlugIns\enmap-box\site-packages
  • C:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\externals
  • C:\source\QGISPlugIns\enmap-box\enmapbox
  • .
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows
  • C:/Users/janzandr/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\timeseriesviewerplugin
  • C:\Users\janzandr\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\timeseriesviewerplugin\eotimeseriesviewer
  • C:\source\QGISPlugIns\enmap-box\enmapbox\coreapps
  • C:\source\QGISPlugIns\enmap-box\enmapbox\apps

Comments (3)

  1. Log in to comment