Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ImportError: No module named networkaccessmanager #428

Open
dustinturp opened this issue Jul 13, 2017 · 1 comment
Open

Uncaught ImportError: No module named networkaccessmanager #428

dustinturp opened this issue Jul 13, 2017 · 1 comment
Labels

Comments

@dustinturp
Copy link

Couldn't load plugin webappbuilder due to an error when calling its classFactory() method
Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "/Library/Boundless/Desktop/1.1/Cellar/qgis2-bdesk/2.18.10/QGIS for Boundless Desktop 1.1.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/Users/dustinturpin/.qgis2/python/plugins/webappbuilder/__init__.py", line 13, in classFactory
    from webappbuilder.webappbuilder_plugin import WebAppBuilderPlugin
  File "/Library/Boundless/Desktop/1.1/Cellar/qgis2-bdesk/2.18.10/QGIS for Boundless Desktop 1.1.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/dustinturpin/.qgis2/python/plugins/webappbuilder/webappbuilder_plugin.py", line 15, in <module>
    from webappbuilder.maindialog import MainDialog
  File "/Library/Boundless/Desktop/1.1/Cellar/qgis2-bdesk/2.18.10/QGIS for Boundless Desktop 1.1.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/dustinturpin/.qgis2/python/plugins/webappbuilder/maindialog.py", line 14, in <module>
    import utils
  File "/Library/Boundless/Desktop/1.1/Cellar/qgis2-bdesk/2.18.10/QGIS for Boundless Desktop 1.1.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/dustinturpin/.qgis2/python/plugins/webappbuilder/utils.py", line 20, in <module>
    from qgiscommons.networkaccessmanager import NetworkAccessManager
  File "/Library/Boundless/Desktop/1.1/Cellar/qgis2-bdesk/2.18.10/QGIS for Boundless Desktop 1.1.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named networkaccessmanager

webappbuilder 1.0, QGIS 2.18.10 on Darwin 16.6.0

@dustinturp dustinturp added the bug label Jul 13, 2017
@gioman
Copy link

gioman commented Jul 18, 2017

Hi, sorry for late reply, I investigated a bit and with the help of Desktop team I understand that at this moment because of developments in the qgiscommons library there could not be a mix of plugins installed from Boundless DEV repo and from users repo. Try remove any plugin installed from DEV repo, disabled the DEV repo and try install again WAB from users repo.

@gioman gioman added question and removed bug labels Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants