[Qgis-developer] Processing error in upgrading

Paolo Cavallini cavallini at faunalia.it
Fri Jun 19 09:58:35 PDT 2015


Hi all,
I'm unsure it has been mentioned before. Upon upgrading I'm getting the
error below (on severeal machines and OSs). Restarting QGIS fixes it.
Thanks!
===
Couldn't load plugin qgis2web due to an error when calling its
classFactory() method


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 219, in
startPlugin
    plugins[packageName] = package.classFactory(iface)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/qgis2web/__init__.p
y", line
23, in classFactory
    from qgis2web import qgis2web
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/qgis2web/qgis2web.
py", line
28, in
    from maindialog import MainDialog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/qgis2web/maindialog
.py",
line 29, in
    from leafletWriter import *
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/qgis2web/leafletWrit
er.py",
line 23, in
    import processing
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/processing/__init__.
py",
line 29, in
    from processing.tools.general import *
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/paolo/Scrivania/ghana/config/python/plugins/processing/tools/gen
eral.py",
line 28, in
    from processing.core.Processing import Processing
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/core/Processing.py",
line 41, in
    from processing.gui.AlgorithmClassification import AlgorithmDecorator
ImportError: cannot import name AlgorithmDecorator
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list