[MacPorts] #67842: Qgis3 - problems with some plugin

MacPorts noreply at macports.org
Fri Jul 28 20:11:59 UTC 2023


#67842: Qgis3 - problems with some plugin
-----------------------+--------------------
 Reporter:  news24lor  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:             |       Port:  qgis3
-----------------------+--------------------
 Hello

 I would like to report some probelms I have encountered in QGIS3 with some
 widely used plugins.
 QGIS3 works very well in general and many plugins work without problems
 but some very popular ones do not load at startup with an error indication
 that links to python modules that I cannot find in macports.\\


 One plugin that does not load is "Data Plotly," a fantastic plugin that
 allows you to graph data. The error message is this:


 {{{
 Couldn't load plugin 'DataPlotly' due to an error when calling its
 classFactory() method

 ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
 Traceback (most recent call last):
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 423, in _startPlugin
     plugins[packageName] = package.classFactory(iface)
   File "/Users/ben/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/__init__.py",
 line 33, in classFactory
     from .data_plotly import DataPlotly

 .......

 ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
 }}}


 The PyQt5-qtwebkit module I could not find in macports.


 The other plugin that does not load is "Spatial Analysis Toolbox" and the
 error is:

 {{{
 Couldn't load plugin 'spatialanalysistoolbox' due to an error when calling
 its classFactory() method


 ModuleNotFoundError: No module named 'mgwr'
 Traceback (most recent call last):
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 423, in _startPlugin
     plugins[packageName] = package.classFactory(iface)
   File "/Users/ben/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/spatialanalysistoolbox/__init__.py",
 line 36, in classFactory
     from .spatialanalysistoolbox import SpatialAnalysisToolboxPlugin
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)

 .......

 ModuleNotFoundError: No module named 'mgwr'

 }}}


 Where is "mgr"?

 Is it possible to find these modules in MacPorts?

 Thanks

 Lorenzo

-- 
Ticket URL: <https://trac.macports.org/ticket/67842>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list