{"action":"closed","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/4327","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/4327/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/4327/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/4327/events","html_url":"https://github.com/spyder-ide/spyder/issues/4327","id":219590146,"number":4327,"title":"A file cannot be loaded if path contains a directory name with spaces","user":{"login":"Mathemilda","id":10033385,"avatar_url":"https://avatars2.githubusercontent.com/u/10033385?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathemilda","html_url":"https://github.com/Mathemilda","followers_url":"https://api.github.com/users/Mathemilda/followers","following_url":"https://api.github.com/users/Mathemilda/following{/other_user}","gists_url":"https://api.github.com/users/Mathemilda/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathemilda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathemilda/subscriptions","organizations_url":"https://api.github.com/users/Mathemilda/orgs","repos_url":"https://api.github.com/users/Mathemilda/repos","events_url":"https://api.github.com/users/Mathemilda/events{/privacy}","received_events_url":"https://api.github.com/users/Mathemilda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-05T13:52:31Z","updated_at":"2017-04-05T14:15:16Z","closed_at":"2017-04-05T14:15:16Z","body":"## Description of your problem\r\nI run Spyder3 on Ubuntu 16.04. I cannot load a file from a directory if there are spaces in a path to the directory.\r\n**What steps will reproduce the problem?**\r\n\r\n1. I changed my working directory on Spyder to the one containing my file, 'data.csv'\r\n2. Imported \"pandas\" package\r\n3. Typed \r\ndataset = pd.read_csv('Data.csv') \r\nand pressed to run my selection.\r\n\r\n**What is the expected output? What do you see instead?**\r\n\r\nI was supposed to see nothing, but instead I got the following error message:\r\nData <- read_csv(\"~/Downloads/data_science/Machine Learning A-Z Template Folder/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Data.csv\")\r\nError: '~/Downloads/data_science/Machine Learning A-Z Template Folder/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Data.csv' does not exist.\r\n\r\n**Please provide any additional information below**\r\n\r\n\r\n## Versions and main components\r\n\r\n* Spyder Version: 2.3\r\n* Python Version: 3.5\r\n* Qt Version: 4.8.7\r\n* PyQt Version:  4.11.4\r\n* Operating system: Linux, Ubuntu 16.04\r\n\r\n\r\n## Dependencies\r\n\r\nPlease go to the menu entry `Help > Optional Dependencies` (or\r\n`Help > Dependencies`), press the button `Copy to clipboard`\r\nand paste the contents below:\r\n\r\nIPython >=1.0      :  2.4.1 (OK)\r\njedi >=0.8.1;<0.9.0:  0.9.0 (NOK)\r\nmatplotlib >=1.0   :  1.5.1 (OK)\r\npandas >=0.13.1    :  0.17.1 (OK)\r\npep8 >=0.6         :  1.7.0 (OK)\r\npsutil >=0.3       :  3.4.2 (OK)\r\npyflakes >=0.6.0   :  1.1.0 (OK)\r\npygments >=1.6     :  2.1 (OK)\r\npylint >=0.25      :  1.6.5 (OK)\r\nrope >=0.9.2       :  None (NOK)\r\nsphinx >=0.6.6     :  1.3.6 (OK)\r\nsympy >=0.7.3      :  None (NOK)\r\nzmq >=2.1.11       :  15.2.0 (OK)\r\n"}}
{"actor":{"display_login":"goanpeca"}}