{"action":"created","issue":{"url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/27","labels_url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/27/comments","events_url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/27/events","html_url":"https://github.com/mattsawyer77/atom-perforce/issues/27","id":100340102,"number":27,"title":"Perforce commands error out with Atom","user":{"login":"vsriniva28","id":8062240,"avatar_url":"https://avatars.githubusercontent.com/u/8062240?v=3","gravatar_id":"","url":"https://api.github.com/users/vsriniva28","html_url":"https://github.com/vsriniva28","followers_url":"https://api.github.com/users/vsriniva28/followers","following_url":"https://api.github.com/users/vsriniva28/following{/other_user}","gists_url":"https://api.github.com/users/vsriniva28/gists{/gist_id}","starred_url":"https://api.github.com/users/vsriniva28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsriniva28/subscriptions","organizations_url":"https://api.github.com/users/vsriniva28/orgs","repos_url":"https://api.github.com/users/vsriniva28/repos","events_url":"https://api.github.com/users/vsriniva28/events{/privacy}","received_events_url":"https://api.github.com/users/vsriniva28/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mattsawyer77/atom-perforce/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mattsawyer77","id":236582,"avatar_url":"https://avatars.githubusercontent.com/u/236582?v=3","gravatar_id":"","url":"https://api.github.com/users/mattsawyer77","html_url":"https://github.com/mattsawyer77","followers_url":"https://api.github.com/users/mattsawyer77/followers","following_url":"https://api.github.com/users/mattsawyer77/following{/other_user}","gists_url":"https://api.github.com/users/mattsawyer77/gists{/gist_id}","starred_url":"https://api.github.com/users/mattsawyer77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattsawyer77/subscriptions","organizations_url":"https://api.github.com/users/mattsawyer77/orgs","repos_url":"https://api.github.com/users/mattsawyer77/repos","events_url":"https://api.github.com/users/mattsawyer77/events{/privacy}","received_events_url":"https://api.github.com/users/mattsawyer77/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-08-11T15:36:24Z","updated_at":"2015-09-16T20:58:31Z","closed_at":null,"body":"Hi,\r\n\r\nI downloaded the perforce plugin and restarted Atom to use it. I am however unable to use the plugin to edit/save/revert files. The CLI works just fine from the project directory. I get the below error when using p4 commands via the Atom editor:\r\n\r\n/single is outside any known perforce workspace\r\n/home/vsriniva/.atom/packages/atom-perforce/lib/atom-perforce.js:541 Error: Command failed: /bin/sh -c p4 -ztag opened  ./...\r\nClient 'ah-vsriniva-maci' unknown - use 'client' command to create it.\r\n\r\nMy .bashrc file has the below:\r\n\r\nexport PATH=$HOME/local/bin:$PATH\r\nexport P4CONFIG=.p4config\r\nexport P4PORT=perforce:1666\r\nexport P4USER=vsriniva\r\n\r\nMy path variable has the location of p4. p4 info contains ah-vsriniva-maci as the client name\r\n\r\nAny ideas on what could be going on?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/comments/140892592","html_url":"https://github.com/mattsawyer77/atom-perforce/issues/27#issuecomment-140892592","issue_url":"https://api.github.com/repos/mattsawyer77/atom-perforce/issues/27","id":140892592,"user":{"login":"artagnon","id":37226,"avatar_url":"https://avatars.githubusercontent.com/u/37226?v=3","gravatar_id":"","url":"https://api.github.com/users/artagnon","html_url":"https://github.com/artagnon","followers_url":"https://api.github.com/users/artagnon/followers","following_url":"https://api.github.com/users/artagnon/following{/other_user}","gists_url":"https://api.github.com/users/artagnon/gists{/gist_id}","starred_url":"https://api.github.com/users/artagnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artagnon/subscriptions","organizations_url":"https://api.github.com/users/artagnon/orgs","repos_url":"https://api.github.com/users/artagnon/repos","events_url":"https://api.github.com/users/artagnon/events{/privacy}","received_events_url":"https://api.github.com/users/artagnon/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T20:58:31Z","updated_at":"2015-09-16T20:58:31Z","body":"> \"is your workspace root at a higher level than the root of your p4 client root\"\r\n\r\nYeah, the client root is //foo/bar/ while the workspace root is /."}}