[Qgis-user] Problem w/ Processing Plugin in Mac
Michael Treglia
mtreglia at gmail.com
Wed Feb 3 11:02:15 PST 2016
Hi All,
I have a student trying to work with QGIS on a Mac and is having trouble
starting the Processing Plugin; I'm primarily Windows & Ubuntu user and
thought some Mac users on the list might have some trouble-shooting tips I
can recommend. (It might be something simple - I just haven't encountered
this issue before, and a lot of the options I see on StackExchange are
homebrew focused).
The student is on a fairly recent version of OS 10, and said he installed
QGIS via the downloads (w/ dependencies) available from KyngChaos.
The student first started with 2.12.1-1, and when trying to make sure the
processing plugin was activated/installed, got this error:
Couldn't load plugin 'processing'
ImportError: cannot import name spatialite_utils
I can send the entire traceback if needed, but this is where it seems to
have gotten hung up:
File "/Users/evan/.qgis2/python/plugins/processing/tools/vector.py",
line 20, in
from processing.algs.qgis import spatialite_utils
ImportError: cannot import name spatialite_utils
They then tried QGIS 2.8.4-1 (also from KyngChaos), with Processing
throwing the result given at the end of this e-mail. I will be meeting with
the student later today to try a couple of things, but any suggestions of
what might be going on or how to deal with this are welcome. I think for
the 2.8.4, might just need to remove the .qgis folder and start over, but
it would be great to solve the issue in 2.12 also.
Thanks!
Mike
Couldn't load plugin 'processing' from
['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/evan/.qgis2/python', '/Users/evan/.qgis2/python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Python/2.7/site-packages/matplotlib-override',
'/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages', '/Users/evan/.qgis2//python',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']
Traceback (most recent call last):
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 196, in loadPlugin
__import__(packageName)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/evan/.qgis2/python/plugins/processing/__init__.py", line 29,
in
from processing.tools.general import *
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/evan/.qgis2/python/plugins/processing/tools/general.py",
line 28, in
from processing.core.Processing import Processing
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 41, in
from processing.gui.AlgorithmClassification import AlgorithmDecorator
ImportError: cannot import name AlgorithmDecorator
Python version:
2.7.10 (default, Oct 23 2015, 18:05:06)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
QGIS version:
2.8.4-Wien Wien, exported
Python path:
['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
u'/Users/evan/.qgis2/python', u'/Users/evan/.qgis2/python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Python/2.7/site-packages/matplotlib-override',
'/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages', u'/Users/evan/.qgis2//python',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160203/957816d7/attachment.html>
More information about the Qgis-user
mailing list