{"action":"closed","issue":{"url":"https://api.github.com/repos/jannes-m/RQGIS/issues/71","repository_url":"https://api.github.com/repos/jannes-m/RQGIS","labels_url":"https://api.github.com/repos/jannes-m/RQGIS/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/jannes-m/RQGIS/issues/71/comments","events_url":"https://api.github.com/repos/jannes-m/RQGIS/issues/71/events","html_url":"https://github.com/jannes-m/RQGIS/issues/71","id":233920625,"number":71,"title":"Unable to execute algorithm run_qgis","user":{"login":"raff-k","id":26696813,"avatar_url":"https://avatars1.githubusercontent.com/u/26696813?v=4","gravatar_id":"","url":"https://api.github.com/users/raff-k","html_url":"https://github.com/raff-k","followers_url":"https://api.github.com/users/raff-k/followers","following_url":"https://api.github.com/users/raff-k/following{/other_user}","gists_url":"https://api.github.com/users/raff-k/gists{/gist_id}","starred_url":"https://api.github.com/users/raff-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raff-k/subscriptions","organizations_url":"https://api.github.com/users/raff-k/orgs","repos_url":"https://api.github.com/users/raff-k/repos","events_url":"https://api.github.com/users/raff-k/events{/privacy}","received_events_url":"https://api.github.com/users/raff-k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-06-06T14:57:21Z","updated_at":"2017-08-15T18:17:11Z","closed_at":"2017-08-15T18:17:11Z","body":"Hey,\r\n\r\nwhen I execute run_qgis() with your examples like\r\n`alg <- \"grass7:r.slope.aspect\"`\r\n`data(dem, package = \"RQGIS\")`\r\n`slope <- run_qgis(alg, elevation = dem, slope = \"slope.asc\", load_output = TRUE)`\r\nor\r\n`ger <- getData(name = \"GADM\", country = \"DEU\", level = 1)`\r\n`params$INPUT_LAYER  <- ger`\r\n`params$OUTPUT_LAYER <- file.path(tempdir(), \"ger_coords.shp\")`\r\n`out <- run_qgis(alg = \"qgis:polygoncentroids\", params = params, load_output = TRUE)`\r\n\r\nI get the following error:\r\n> Error in run_qgis(alg, elevation = dem, slope = \"slope.asc\", load_output = TRUE) : \r\n>   Unable to execute algorithm\r\n> AVer\\AppData\\Local\\Temp\\Rtmps3f6yS/elevation.tif\r\nor \r\n> Error in run_qgis(alg = \"qgis:polygoncentroids\", params = params, load_output = TRUE) : \r\n>  Unable to execute algorithm\r\n> AVer\\AppData\\Local\\Temp\\Rtmps3f6yS/INPUT_LAYER.shp\r\n,  respectively.\r\n\r\nIt seems to me that the temp-path is not valid, because my computer name is **r**AVer and not AVer. After execution I also checked the temp directory, and the files exist!\r\nWhen I use hard-coded paths instead (I saved the dem on a specific location, and give the exact location also of the \"slope.asc\"), it works.\r\n\r\nI use Windows 10 Pro 64-bit, R version 3.4.0 (2017-04-21), RQGIS_1.0.0 and QGIS 2.18.7."}}
{"actor":{"display_login":"jannes-m"}}