[Qgis-user] Processing tools stopped working.
Tyler Veinot
tylerkveinot at gmail.com
Thu Mar 30 09:12:21 PDT 2017
I am getting Python errors on QGIS Startup for Processing and QEsg, due to
classFactory() error. The issue started when I installed; pip install
python-Qt5, PyQt4-4.11.4-cp27-cp27m-win32.whl,
PyQtdesignerplugins-1.1-py2.py3-none-any.whl, and
pyqtgraph-0.10.0-py2.py3-none-any.whl trying to fill the dependencies
required for the QField Sync plugin which was failing because it could not
import name uic.
I tried uninstalling the Python Modules 1 by 1 and checking QGIS but after
they were all uninstalled QGIS still failed. I reinstalled QGIS with no
changes. I then uninstalled QGIS and reinstalled using the OSGeo4W
installer. I still get the classFactory() error for as stated above.
Below is the Python Message Log, any thoughts on how to fix this?
2017-03-30T12:57:32 1 Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 333, in
startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\__init__.py", line 34,
in classFactory
from QEsg_00Settings import QEsg
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\QEsg_00Settings.py",
line 41, in <module>
from QEsg_05Perfil import *
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\QEsg_05Perfil.py", line
31, in <module>
import matplotlib.pyplot as plt
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named matplotlib.pyplot
2017-03-30T12:57:34 1 Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 333, in
startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line
37, in classFactory
from processing.ProcessingPlugin import ProcessingPlugin
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\ProcessingPlugin.py",
line 38, in <module>
from processing.gui.ProcessingToolbox import ProcessingToolbox
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py",
line 31, in <module>
from qgis.PyQt import uic
ImportError: cannot import name uic
2017-03-30T12:57:34 1 Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 333, in
startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\__init__.py", line 34,
in classFactory
from QEsg_00Settings import QEsg
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\QEsg_00Settings.py",
line 41, in <module>
from QEsg_05Perfil import *
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/tveinot/.qgis2/python/plugins\QEsg\QEsg_05Perfil.py", line
31, in <module>
import matplotlib.pyplot as plt
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named matplotlib.pyplot
2017-03-30T12:57:34 1 Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 308, in
loadPlugin
__import__(packageName)
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line
29, in <module>
from processing.tools.general import * # NOQA
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py",
line 31, in <module>
from processing.core.Processing import Processing
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py",
line 42, in <module>
from processing.script.ScriptUtils import ScriptUtils
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\script\ScriptUtils.py",
line 30, in <module>
from processing.script.ScriptAlgorithm import ScriptAlgorithm
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\script\ScriptAlgorithm.py",
line 34, in <module>
from processing.gui.Help2Html import getHtmlFromHelpFile
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\gui\__init__.py",
line 1, in <module>
from qgis.PyQt import uic
ImportError: cannot import name uic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170330/970445c4/attachment.html>
More information about the Qgis-user
mailing list