-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
ERROR: r.distance: Sorry, <output> is not a valid parameter[Bug] #643
Comments
To me it looks like a wrong definition in the respective QGIS control file: since (unless there is an extra trick in the QGIS processing interface to deal with such text outputs sent to the standard output like in this case...) |
This is a QGIS issue.
Yes, the standard output is supposed to be redirected to a text file as declared in
I'm not sure how that is intended to work, but as a workaround, changing that line to:
the command works (output will be in html format though). @julychee that file is probably located here:
|
Reported the issue with QGIS. |
Thank you! When changing the command mentioned above by @nilason, the output is now created as an html. However, I am now getting a different error, which leads the html output to be empty: ERROR: Raster map <rast_5ec28a490abe839> is not CELL I am not sure I understand what this means. I didn't have this error before. |
This issue has been closed downstream qgis/QGIS#36520 with fix qgis/QGIS#36644, which was also backported to QGIS 3.10. This issue may be closed. @julychee Thanks for your report! I don't know what caused your second issue. Please take a look at manual of r.distance, maybe that can give a clue. If not, consider file a new report at https://github.com/qgis/QGIS/. |
Hello!
For an assignment I am using QGIS (on macOS 10.14.6 with Grass 7 version 2.0) and I am wanting to use r.distance to calculate the distance between points and an area (which i'm assuming works but i'm not even sure because I can't run r.distance). Once I input my parameters and run the tool, it gives me the following error written in red: ERROR: r.distance: "Sorry, is not a valid parameter". In the log file I can also see another error after it executes the folder in which r.distance is, saying "NameError: name 'file' is not defined". In addition, the log says that there is an output as a txt file, but it is not created.
![Screen Shot 2020-05-17 at 10 37 48 PM](https://user-images.githubusercontent.com/65404664/82159549-3f6bdc00-988f-11ea-8423-07c4e0623d94.png)
![Screen Shot 2020-05-17 at 10 38 03 PM](https://user-images.githubusercontent.com/65404664/82159550-41ce3600-988f-11ea-842a-b2e909d257e8.png)
Steps:
I will add screenshots of the log as a resulting of running r.distance.
My question is, what does that error message mean? Is it something I can fix?If not, is there another tool I can use that serves the same purpose?
Thank you!
The text was updated successfully, but these errors were encountered: