Exception: Unable to find full path for "dockpanel.ui". Make its directory known to UI_DIRECTORIES

Issue #304 closed
Benjamin Jakimow created an issue

Traceback (most recent call last):

    File "C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\enmapboxplugin.py", line 115, in run
        self.enmapBox = EnMAPBox(self.iface)
    File "C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 235, in __init__
        self.ui.centralFrame.sigDragEnterEvent.connect(
    File "C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 362, in initPanels
        elif isinstance(app, str):
    File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
        mod = _builtin_import(name, globals, locals, fromlist, level)
    File "C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\dockmanager.py", line 1402, in 
        class DockPanelUI(QgsDockWidget, loadUI('dockpanel.ui')):
    File "C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\externals\qps\utils.py", line 472, in loadUI
        raise Exception('Unable to find full path for "{}". Make its directory known to UI_DIRECTORIES'.format(basename))
    Exception: Unable to find full path for "dockpanel.ui". Make its directory known to UI_DIRECTORIES

Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS-Version: 3.4.4-Madeira Madeira, af723c4942

Python-Pfad:

C:/OSGEO4~1/apps/qgis/./python
C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGEO4~1/apps/qgis/./python/plugins
C:\OSGeo4W64\bin\python37.zip
C:\OSGEO4~1\apps\Python37\DLLs
C:\OSGEO4~1\apps\Python37\lib
C:\OSGeo4W64\bin
C:\OSGEO4~1\apps\Python37
C:\OSGEO4~1\apps\Python37\lib\site-packages
d:\daten\code\python\enpt_enmapboxapp
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib
C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin
C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin
C:\Users\user\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages
C:\Users\user\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox

Comments (2)

  1. Benjamin Jakimow reporter
    • changed status to open

    Seems that this related to an incomplete removal of a previous plugin version.

    Workaround:

    1. Close QGIS (to avoid any file handles on EnMAP-Box files)
    2. Remove the EnMAP-Box plugin folder manually: default/python/plugins/enmapboxplugin
    3. Start QGIS and install the most-recent EnMAP-Box version

  2. Benjamin Jakimow reporter

    Workaround: remove EnMAP-box plugin manually and re-install it:

    1. Close QGIS (to avoid any file handles on EnMAP-Box files)
    2. Remove the EnMAP-Box plugin folder manually: default/python/plugins/enmapboxplugin
    3. Start QGIS and install the most-recent EnMAP-Box version
  3. Log in to comment