Le 2017-11-09 20:28, Tim Sutton a écrit :
Hi
Its great to see the GRASS stuff merged now. However it gives me an
error on startup:
An error has occurred while executing Python code:
TypeError: QgsProcessingAlgorithm.addParameter(): argument 1 has
unexpected type 'ParameterRaster'
Traceback (most recent call last):
File
"/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 170, in initAlgorithm
res = self.addParameter(p, True)
TypeError: QgsProcessingAlgorithm.addParameter(): argument 1 has
unexpected type 'ParameterRaster'
Python version: 3.6.2 (default, Jul 17 2017, 16:44:45) [GCC 4.2.1
Compatible Apple LLVM 8.1.0 (clang-802.0.42)]
QGIS version: 2.99.0-Master Master, 2c1e2014d7
Python Path:
*
/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing
* /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python
* /Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python
* /Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
* /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins
*
/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/bin/$PYTHONPATH
* /usr/local/opt/gdal2-python/lib/python3.6/site-packages
*
/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
*
/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6
*
/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
*
/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
*
/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pycharm-debug-py3k.egg
* /Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python
Does anyone else get this?
Regards
Tim
—
TIM SUTTON
CO-FOUNDER: Kartoza
PROJECT CHAIR: QGIS.org [1]
Visit http://kartoza.com [2] to find out about open source:
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
SKYPE: timlinux
IRC: timlinux on #qgis at freenode.net [3]
Kartoza is a merger between Linfiniti and Afrispatial
Links:
------
[1] http://QGIS.org
[2] http://kartoza.com/
[3] http://freenode.net
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Hello,
I can't reproduce on a fresh master build. It seems that you are using
some old description files (ParameterRaster has been transformed to
QgsProcessingParameterRaster).
I think you need to either start from a clean/new build directory or a
new install directory...
Cheers,
--
Médéric RIBREUX
https://medspx.fr
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer