{"action":"created","issue":{"url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/44","repository_url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools","labels_url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/44/comments","events_url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/44/events","html_url":"https://github.com/jblindsay/whitebox-geospatial-analysis-tools/issues/44","id":289520823,"node_id":"MDU6SXNzdWUyODk1MjA4MjM=","number":44,"title":"whitebox_tools errors if no \\ in the input file path (on Windows)","user":{"login":"AlisterH","id":714600,"node_id":"MDQ6VXNlcjcxNDYwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/714600?v=4","gravatar_id":"","url":"https://api.github.com/users/AlisterH","html_url":"https://github.com/AlisterH","followers_url":"https://api.github.com/users/AlisterH/followers","following_url":"https://api.github.com/users/AlisterH/following{/other_user}","gists_url":"https://api.github.com/users/AlisterH/gists{/gist_id}","starred_url":"https://api.github.com/users/AlisterH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlisterH/subscriptions","organizations_url":"https://api.github.com/users/AlisterH/orgs","repos_url":"https://api.github.com/users/AlisterH/repos","events_url":"https://api.github.com/users/AlisterH/events{/privacy}","received_events_url":"https://api.github.com/users/AlisterH/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-18T06:40:39Z","updated_at":"2018-11-12T07:50:27Z","closed_at":"2018-02-16T12:47:36Z","author_association":"NONE","body":"Hi,\r\nOn Windows it is normally possible to use either back or forward slashes in file paths.\r\nWhitebox_tools produces an error if there is not at least one Windows style \\ in the input file path.\r\nThis is a problem for the whitebox_tools plugin for QGIS (as per below), but you can reproduce the issue just running from a command prompt.\r\n````\r\nWhiteBox Tools command:\r\nwhitebox_tools --run=AbsoluteValue --input=\"C:/Users/alistair/AppData/Local/Temp/processing_d685dfb1b3cf4ac2b834a7914e97c281/6dba484805634d64a81fedc42787c19a/Terrain.tif\" --output=\"C:/Users/alistair/AppData/Local/Temp/processing_d685dfb1b3cf4ac2b834a7914e97c281/92d44f5f766f41f083829db94e470d1f/output.tif\" -v\r\nWhiteBox Tools command output:\r\n**************************** \r\n* Welcome to AbsoluteValue * \r\n**************************** \r\nReading data... \r\nthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 123, message: \"The filename, directory name, or volume label syntax is incorrect.\" } }', src\\libcore\\result.rs:906:4 \r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace. \r\nExecution completed in 2.75 seconds\r\nResults:\r\n{'output': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/alistair/AppData/Local/Temp/processing_d685dfb1b3cf4ac2b834a7914e97c281/92d44f5f766f41f083829db94e470d1f/output.tif, 'createOptions': {'fileEncoding': 'System'}}>}\r\n\r\nLoading resulting layers\r\nThe following layers were not correctly generated.\r\nC:/Users/alistair/AppData/Local/Temp/processing_d685dfb1b3cf4ac2b834a7914e97c281/92d44f5f766f41f083829db94e470d1f/output.tif\r\nYou can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.\r\n````\r\noriginal ticket at processing-whitebox: https://github.com/alexbruy/processing-whitebox/issues/4"},"comment":{"url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/comments/437786945","html_url":"https://github.com/jblindsay/whitebox-geospatial-analysis-tools/issues/44#issuecomment-437786945","issue_url":"https://api.github.com/repos/jblindsay/whitebox-geospatial-analysis-tools/issues/44","id":437786945,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzc4Njk0NQ==","user":{"login":"AlisterH","id":714600,"node_id":"MDQ6VXNlcjcxNDYwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/714600?v=4","gravatar_id":"","url":"https://api.github.com/users/AlisterH","html_url":"https://github.com/AlisterH","followers_url":"https://api.github.com/users/AlisterH/followers","following_url":"https://api.github.com/users/AlisterH/following{/other_user}","gists_url":"https://api.github.com/users/AlisterH/gists{/gist_id}","starred_url":"https://api.github.com/users/AlisterH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlisterH/subscriptions","organizations_url":"https://api.github.com/users/AlisterH/orgs","repos_url":"https://api.github.com/users/AlisterH/repos","events_url":"https://api.github.com/users/AlisterH/events{/privacy}","received_events_url":"https://api.github.com/users/AlisterH/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T07:50:27Z","updated_at":"2018-11-12T07:50:27Z","author_association":"NONE","body":"For the record, this is fixed in the current Windows download."}}
{"actor":{"display_login":"AlisterH"}}