{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/help/issues/20","repository_url":"https://api.github.com/repos/jupyter/help","labels_url":"https://api.github.com/repos/jupyter/help/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/help/issues/20/comments","events_url":"https://api.github.com/repos/jupyter/help/issues/20/events","html_url":"https://github.com/jupyter/help/issues/20","id":147061725,"number":20,"title":"File exists path empty when creating new notebook","user":{"login":"AlecAivazis","id":916317,"avatar_url":"https://avatars.githubusercontent.com/u/916317?v=3","gravatar_id":"","url":"https://api.github.com/users/AlecAivazis","html_url":"https://github.com/AlecAivazis","followers_url":"https://api.github.com/users/AlecAivazis/followers","following_url":"https://api.github.com/users/AlecAivazis/following{/other_user}","gists_url":"https://api.github.com/users/AlecAivazis/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecAivazis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecAivazis/subscriptions","organizations_url":"https://api.github.com/users/AlecAivazis/orgs","repos_url":"https://api.github.com/users/AlecAivazis/repos","events_url":"https://api.github.com/users/AlecAivazis/events{/privacy}","received_events_url":"https://api.github.com/users/AlecAivazis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T23:12:03Z","updated_at":"2016-04-09T00:10:49Z","closed_at":null,"body":"Hey all,\r\n\r\nSorry to keep flooding your help channels but I have run into another issue for which I could use some advice. \r\n\r\nWhen creating a new notebook, the `file_exists` handler is called (I'm assuming to check for the conflicts with the name of the notebook its about to create). However, my function is passed an empty string for `path` so I can't really check if there is already a notebook with the name. I saw on the documentation a line that says `The server is responsible for naming the new file` but I dont really see where that happens or how I specify the new name/path.\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/help/issues/comments/207658430","html_url":"https://github.com/jupyter/help/issues/20#issuecomment-207658430","issue_url":"https://api.github.com/repos/jupyter/help/issues/20","id":207658430,"user":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T00:10:49Z","updated_at":"2016-04-09T00:10:49Z","body":"If you get `''` passed to file_exists, you should be able to return False, because there is no file at the root."}}