<div dir="ltr"><div><div><div><div>Thanks Alexander,<br><br></div>That worked!<br><br></div>(It was actually the first thing I was going to try, but definitely wanted to see if there was anything else obvious...)<br></div>Cheers,<br></div>mike<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 1:17 PM, Alexander Bruy <span dir="ltr"><<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,<br>
<br>
try to remove Processing plugin from your user directory,<br>
e.g. /Users/evan/.qgis2/python/plugins/processing<br>
<div><div class="h5"><br>
2016-02-03 21:02 GMT+02:00 Michael Treglia <<a href="mailto:mtreglia@gmail.com">mtreglia@gmail.com</a>>:<br>
> Hi All,<br>
><br>
> I have a student trying to work with QGIS on a Mac and is having trouble<br>
> starting the Processing Plugin; I'm primarily Windows & Ubuntu user and<br>
> thought some Mac users on the list might have some trouble-shooting tips I<br>
> can recommend. (It might be something simple - I just haven't encountered<br>
> this issue before, and a lot of the options I see on StackExchange are<br>
> homebrew focused).<br>
><br>
> The student is on a fairly recent version of OS 10, and said he installed<br>
> QGIS via the downloads (w/ dependencies) available from KyngChaos.<br>
><br>
> The student first started with 2.12.1-1, and when trying to make sure the<br>
> processing plugin was activated/installed, got this error:<br>
> Couldn't load plugin 'processing'<br>
> ImportError: cannot import name spatialite_utils<br>
><br>
> I can send the entire traceback if needed, but this is where it seems to<br>
> have gotten hung up:<br>
><br>
>   File "/Users/evan/.qgis2/python/plugins/processing/tools/vector.py", line<br>
> 20, in<br>
><br>
>     from processing.algs.qgis import spatialite_utils<br>
><br>
> ImportError: cannot import name spatialite_utils<br>
><br>
> They then tried QGIS 2.8.4-1 (also from KyngChaos), with Processing throwing<br>
> the result given at the end of this e-mail. I will be meeting with the<br>
> student later today to try a couple of things, but any suggestions of what<br>
> might be going on or how to deal with this are welcome. I think for the<br>
> 2.8.4, might just need to remove the .qgis folder and start over, but it<br>
> would be great to solve the issue in 2.12 also.<br>
><br>
> Thanks!<br>
> Mike<br>
><br>
><br>
><br>
><br>
> Couldn't load plugin 'processing' from<br>
> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',<br>
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python',<br>
> '/Users/evan/.qgis2/python', '/Users/evan/.qgis2/python/plugins',<br>
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',<br>
> '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7',<br>
> '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages',<br>
> '/Library/Python/2.7/site-packages/numpy-override',<br>
> '/Library/Python/2.7/site-packages/matplotlib-override',<br>
> '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',<br>
> '/Library/Python/2.7/site-packages', '/Users/evan/.qgis2//python',<br>
> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']<br>
> Traceback (most recent call last):<br>
>   File<br>
> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",<br>
> line 196, in loadPlugin<br>
>     __import__(packageName)<br>
>   File<br>
> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",<br>
> line 478, in _import<br>
>     mod = _builtin_import(name, globals, locals, fromlist, level)<br>
>   File "/Users/evan/.qgis2/python/plugins/processing/__init__.py", line 29,<br>
> in<br>
>     from processing.tools.general import *<br>
>   File<br>
> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",<br>
> line 478, in _import<br>
>     mod = _builtin_import(name, globals, locals, fromlist, level)<br>
>   File "/Users/evan/.qgis2/python/plugins/processing/tools/general.py", line<br>
> 28, in<br>
>     from processing.core.Processing import Processing<br>
>   File<br>
> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",<br>
> line 478, in _import<br>
>     mod = _builtin_import(name, globals, locals, fromlist, level)<br>
>   File<br>
> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",<br>
> line 41, in<br>
>     from processing.gui.AlgorithmClassification import AlgorithmDecorator<br>
> ImportError: cannot import name AlgorithmDecorator<br>
><br>
> Python version:<br>
> 2.7.10 (default, Oct 23 2015, 18:05:06)<br>
> [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]<br>
><br>
><br>
> QGIS version:<br>
> 2.8.4-Wien Wien, exported<br>
><br>
> Python path:<br>
> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',<br>
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python',<br>
> u'/Users/evan/.qgis2/python', u'/Users/evan/.qgis2/python/plugins',<br>
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',<br>
> '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7',<br>
> '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages',<br>
> '/Library/Python/2.7/site-packages/numpy-override',<br>
> '/Library/Python/2.7/site-packages/matplotlib-override',<br>
> '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',<br>
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',<br>
> '/Library/Python/2.7/site-packages', u'/Users/evan/.qgis2//python',<br>
> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Alexander Bruy<br>
</font></span></blockquote></div><br></div>