north-road / qgis-processing-r

QGIS Processing R Provider Plugin

Home Page:https://north-road.github.io/qgis-processing-r/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'QgsProcessingParameterColor'

tohka opened this issue · comments

commented

There was a report in the Japanese forum that an error occurred when running in QGIS 3.8.

Processing R Provider version 3.1.0 states that it supports QGIS 3.4 or higher, but QGIS 3.4 does not yet have QgsProcessingParameterColor.

The plugin might be compatible QGIS 3.4. But then it depends what kind of R parameter your are adding in your script.
QgsProcessingParameterColor has been introduced in 3.10.

We should probably raise the supported version to 3.16 or something like that. Both 3.4 and 3.8 are really old.

Both 3.4 and 3.8 are really old.

True, but in this case it's trivial to fix support for these versions (just need to gracefully catch an ImportError). I lean toward only dropping support for older reasons when there's a significantly justifiable reason for doing this