Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run grass commands using R #23

Open
jfsmenezes opened this issue Jan 30, 2020 · 4 comments
Open

Cannot run grass commands using R #23

jfsmenezes opened this issue Jan 30, 2020 · 4 comments

Comments

@jfsmenezes
Copy link

Hi,

I am having an issue where I can run QGIS and SAGA algorithms in RQGIS3 but I receive python erros when running GRASS commands. for example:

  set_env("C:\\Program Files\\QGIS 3.10")
  run_qgis("qgis:createconstantrasterlayer", EXTENT = "-10,10,-10,10", OUTPUT="test.tif")  
  #outputs file path, as expected.
  run_qgis("grass7:i.fft",input="test.tif",
                    real="test2.tif",
                    imaginary="test3.tif"
                    )
 #Error in py_call_impl(callable, dots$args, dots$keywords): 
 #QgsProcessingException: There were errors executing the algorithm.

 #Detailed traceback:
 #File "C:/Program Files/QGIS 3.10/apps/qgis/python/plugins\processing\tools\general.py", line 
 #106, in run
 #return Processing.runAlgorithm(algOrName, parameters, 
 #onFinish, feedback, context)
 #File "C:/Program Files/QGIS 3.10/apps/qgis/python/plugins\processing\core\Processing.py", 
 #line 181, in runAlgorithm
 #raise QgsProcessingException(msg)

Does anyone know how can I fix that?

This problem does not seems to happen in another computer with QGIS 3.4. So maybe it is related to the qgis version?

By the way I would like to thanks the package authors. This is a very easy to use package and really speed up my GIS analysis on R.

@pat-s
Copy link
Member

pat-s commented Jan 30, 2020

Thanks! We currently have not much time for this package.

QGIS changes a lot in new releases and it can very well be that it is related to a new version.
We do not have a working CI integration which reliably checks the functions against the latest QGIS version. So fingers crossed and we suggest to stick to a working environment once you have found one 😅

@mfindeisen
Copy link

Thanks! We currently have not much time for this package.

Which QGIS version is the latest one that is supported or works for you?

@hbermeo
Copy link

hbermeo commented Jun 4, 2020

I have the same problem, it is a last listen that improvements to the package are not heard, which is very good.

@pat-s
Copy link
Member

pat-s commented Jun 5, 2020

I don't know what you mean.

Everyone is welcome to contribute and fix things.
This package is a FOSS offer, not a paid service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants