PROBLEM WITH QGIS version 3.14.15-Pi & TRENDS.EARTH PLUGIN

215 views
Skip to first unread message

Carmen Morales

unread,
Sep 8, 2020, 6:15:25 AM9/8/20
to Trends.Earth Users

When I try to open the plugin in the new QGIS version I get the following message:

Python error: Couldn't load plugin 'LDMP' due to an error when calling its classFactory() method See message log (Python Error) for more details.

ImportError: cannot import name 'ldn_total_deg' from 'LDMP.calculate' (C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\calculate.py)

Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\__init__.py", line 50, in classFactory
    return LDMPPlugin(iface)
  File "C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\plugin.py", line 67, in __init__
    self.dlg_calculate = DlgCalculate()
  File "C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\calculate.py", line 437, in __init__
    self.dlg_calculate_ld = DlgCalculateLD()
  File "C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\calculate.py", line 474, in __init__
    from LDMP.calculate_ldn import DlgCalculateOneStep, DlgCalculateLDNSummaryTableAdmin
  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/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\calculate_ldn.py", line 38, in
    from LDMP.calculate import (DlgCalculateBase, get_script_slug, MaskWorker,
ImportError: cannot import name 'ldn_total_deg' from 'LDMP.calculate' (C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LDMP\calculate.py)


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

Python Path:

  • C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python
  • C:\Users\Carmen\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\LDMP\ext-libs
  • C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  • C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts
  • C:\Program Files\QGIS 3.14\bin\python37.zip
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib
  • C:\Program Files\QGIS 3.14\bin
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib
  • C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin
  • C:/Users/Carmen/AppData/Roaming/QGIS/QGIS3\profiles\default/python

Monica Noon

unread,
Sep 9, 2020, 10:58:33 AM9/9/20
to Trends.Earth Users
Thank you for your message, Carmen. Could you please also share with us the version of the plugin from the repository menu?

Regards,
Trends.Earth Team
Reply all
Reply to author
Forward
0 new messages