[MacPorts] #67842: Qgis3 - problems with some plugin
MacPorts
noreply at macports.org
Wed Aug 2 20:02:22 UTC 2023
#67842: Qgis3 - problems with some plugin
------------------------+----------------------
Reporter: news24lor | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: qgis3 |
------------------------+----------------------
Comment (by nilason):
Replying to [ticket:67842 news24lor]:
> 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.
{{{Qt WebKit}}} has been deprecated and finally removed with Qt 5.6
https://wiki.qt.io/New_Features_in_Qt_5.6#Removed_Modules, Qt5 on MacPorts
is now at version 5.15.
May I suggest you file a ticket at https://github.com/ghtmtt/DataPlotly to
perhaps adopt the code to use QtWebEngineWidgets (if I'm not mistaken)
https://www.riverbankcomputing.com/software/pyqtwebengine.
>
> 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?
>
{{{mgwr}}} is/was part of {{{py-pysal}}} which is now pretty outdated on
MacPorts. I have an update prepared, but before I can make a PR a number
of outdated and non-existing ports need to be accepted and added.
--
Ticket URL: <https://trac.macports.org/ticket/67842#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list