[QGIS-Developer] Python error in processing on 2.99 startup

Gary Sherman gsherman at geoapt.com
Fri Dec 1 07:30:24 PST 2017


Is this part of the same issue (latest Master build 19b062c):

2017-12-01T06:25:26	CRITICAL	Could not open GRASS GIS 7 algorithm: /Users/gsherman/apps/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/description/r.sim.sediment.txt
QgsProcessingParameterVectorLayer|observation|Sampling locations vector points|None|True
2017-12-01T06:25:26	CRITICAL	Could not open GRASS GIS 7 algorithm: r.sim.sediment.txt
'NoneType' object has no attribute 'split'
2017-12-01T06:25:26	CRITICAL	Could not open GRASS GIS 7 algorithm: /Users/gsherman/apps/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/description/r.sim.water.txt
QgsProcessingParameterVectorLayer|observation|Sampling locations vector points|None|True
2017-12-01T06:25:26	CRITICAL	Could not open GRASS GIS 7 algorithm: r.sim.water.txt
'NoneType' object has no attribute 'split'
2017-12-01T06:25:28	CRITICAL	Problem with SAGA installation: unsupported SAGA version found.

Running any GRASS alg fails and the dialog closes before you can see any output.



> On Nov 29, 2017, at 10:05 AM, Larry Shaffer <larrys at dakotacarto.com> wrote:
> 
> Hi Salvatore,
> 
> On Wed, Nov 29, 2017 at 11:44 AM, Salvatore Larosa <lrssvtml at gmail.com <mailto:lrssvtml at gmail.com>> wrote:
> Hi,
> 
> On Wed, Nov 29, 2017 at 3:39 PM, Tim Sutton <tim at kartoza.com <mailto:tim at kartoza.com>> wrote:
> Hi All
> 
> Its been a few days since I pulled from master - now I am getting the error below on startup. Does anyone else get it? (Building on MacOS here):
> 
> Couldn't load plugin 'processing' due to an error when calling its initGui() method 
> PermissionError: [Errno 13] Permission denied 
> 
> Traceback (most recent call last):
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/qgis/utils.py", line 345, in startPlugin
>     plugins[packageName].initGui()
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/ProcessingPlugin.py", line 178, in initGui
>     self.toolbox = ProcessingToolbox()
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", line 93, in __init__
>     self.fillTree()
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", line 317, in fillTree
>     self.fillTreeUsingProviders()
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", line 382, in fillTreeUsingProviders
>     providerItem = TreeProviderItem(provider, self.algorithmTree, self)
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", line 513, in __init__
>     self.setToolTip(0, self.provider.longName())
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/algs/grass7/Grass7AlgorithmProvider.py", line 122, in longName
>     version = Grass7Utils.installedVersion()
>   File "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/algs/grass7/Grass7Utils.py", line 113, in installedVersion
>     startupinfo=si if isWindows() else None
>   File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in __init__
>     restore_signals, start_new_session)
>   File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1333, in _execute_child
>     raise child_exception_type(errno_num, err_msg)
> PermissionError: [Errno 13] Permission denied
> 
> building the latest master on OSX (10.11.6) and I do not see any error on startup.
> 
> You may not see any error if you do not have the 'GRASS7 folder' path set, or auto-detection of that path fails, which will lead to not loading the GRASS7 Processing provider.
> 
> Is that GRASS7 Processing provider showing up and working for you?
> 
> If so, what GRASS7 install is it using?
> 
> 
> Regards,
> 
> Larry
>  
> -- 
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore <http://linkedin.com/in/larosasalvatore>
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt on freenode
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Founder, QGIS Project 
-Open Source GIS Books:
 *http://locatepress.com
-Geospatial Consulting & Hosting:
 *http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171201/4e3d0449/attachment.html>


More information about the QGIS-Developer mailing list