<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p class="" style="margin-bottom: 0cm; line-height: 12px;">Buenos días,</p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Estoy tratando de usar QGIS 2.18 en MacOS Sierra (2.16 funcionaba sin problema)</p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Al iniciar QGIS 2.18 me aparece un error y no se carga el módulo de Processing , por lo que no aparece la pestaña de Procesos (caja de herramientas, modulador gráfico, etc). </p><p class="" style="margin-bottom: 0cm; line-height: 12px;">El error es el siguiente:</p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><br class=""></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">No se pudo cargar el complemento processing debido a un error al llamar a su método classFactory() </p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><br class=""></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">TypeError: coercing to Unicode: need string or buffer, NoneType found</p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">Traceback (most recent call last):</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">plugins[packageName] = package.classFactory(iface)</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 38, in classFactory</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">return ProcessingPlugin(iface)</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py", line 58, in __init__</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">Processing.initialize()</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">Processing.addProvider(c())</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 103, in addProvider</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">% (provider.getDescription(), traceback.format_exc()))</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py", line 123, in getDescription</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">version = SagaUtils.getSagaInstalledVersion()</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 130, in getSagaInstalledVersion</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">commands = [os.path.join(sagaPath(), "saga_cmd -v")]</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 75, in sagaPath</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">if not os.path.isdir(folder):</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in isdir</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><font class="" style="font-size: 10pt;">st = os.stat(s)</font></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">TypeError: coercing to Unicode: need string or buffer, NoneType found</p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><br class=""></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Versión de Python: 2.7.10 (default, Jul 30 2016, 19:40:32) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] </p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Versión de QGIS: 2.18.2 Las Palmas, exported </p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><br class=""></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">y en administrador de complementos me dice que esta roto y no permite desinstalarlo.</p><p class="" style="margin-bottom: 0cm; line-height: 12px;"><br class=""></p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Como no se resolver el problema de forma correcta, he hecho la siguiente chapuza:</p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Copio la carpeta completa de Processing (de Contents>Resources>Python>Plugins) de la versión de QGIS 2.16, desinstalo 2.16, instalo 2.18, y sustituyo la carpeta Processing de esta versión por la 2.16.</p><p class="" style="margin-bottom: 0cm; line-height: 12px;">Se que algo he perdido, porque la carpeta processing de 2.16 pesa menos que la de 2.18, pero ahora funciona... de momento.</p><p class="" style="margin-bottom: 0cm; line-height: 12px;">¿Hay alguna forma de solucionar el problema sin utilizar mi método cortar/pegar?</p><div class=""><br class=""></div><div class="">Muchas gracias,</div><div class=""><br class=""></div><div class="">Saludos</div></body></html>