[QGIS-Developer] Python error on start up from GRASS processing

Tim Sutton tim at kartoza.com
Thu Nov 9 11:28:09 PST 2017


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

Visit http://kartoza.com <http://kartoza.com/> 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

Kartoza is a merger between Linfiniti and Afrispatial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171109/6eb879ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171109/6eb879ef/attachment-0001.jpg>


More information about the QGIS-Developer mailing list