[QGIS-Developer] Error message: Processing toolbox

Pat Hin phi73 at gmx.de
Sat Sep 30 13:12:49 PDT 2017


> Von: "Pat Hin" <phi73 at gmx.de>
> Datum: 30. September 2017 um 19:08
> An: "qgis-userlists.osgeo.org" <qgis-user at lists.osgeo.org>
> Betreff: Error message: Processing toolbox
> 
> Hello,
>  
> i have crashed my QGIS :-))
>  
> What i did: Unter "Processing toolbox->option->menu" i enabled checkbox for adding my own script to the menu bar.
> after restart the processing toolbox is defect and cant be started.
>  
> The error message is below.
>  
> I tried to reinstall by plugin repo but there i get the same message that the "processing toolbox" is defect.
>  
> What can i do before fully reinstall what i would dont like due to lose all my projects etc.
>  
> thanks
> pat
>  
>  
>  
>  
>  
> Konnte Erweiterung processing nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> Traceback (most recent call last):
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin
>     plugins[packageName] = package.classFactory(iface)
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 38, in classFactory
>     return ProcessingPlugin(iface)
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py", line 58, in __init__
>     Processing.initialize()
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize
>     Processing.addProvider(c())
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 103, in addProvider
>     % (provider.getDescription(), traceback.format_exc()))
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py", line 123, in getDescription
>     version = SagaUtils.getSagaInstalledVersion()
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 130, in getSagaInstalledVersion
>     commands = [os.path.join(sagaPath(), "saga_cmd -v")]
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 75, in sagaPath
>     if not os.path.isdir(folder):
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in isdir
>     st = os.stat(s)
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> 
> Python-Version: 2.7.10 (default, Feb  7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
> QGIS-Version: 2.18.2 Las Palmas, exported
> Python-Pfad:
> 
> /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/Applications/QGIS.app/Contents/MacOS/../Resources/python/Users/hindenberger/.qgis2/python/Users/hindenberger/.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/2.1/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/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/Library/Python/2.7/site-packages/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/Users/hindenberger/.qgis2//python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170930/7a16276d/attachment.html>


More information about the QGIS-Developer mailing list