{"action":"created","issue":{"url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/1","repository_url":"https://api.github.com/repos/okanulas/Pathfind3r","labels_url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/1/comments","events_url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/1/events","html_url":"https://github.com/okanulas/Pathfind3r/issues/1","id":176991483,"number":1,"title":"Python scripts working on brick, not on the apache web","user":{"login":"gdbiomax","id":22153480,"avatar_url":"https://avatars.githubusercontent.com/u/22153480?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbiomax","html_url":"https://github.com/gdbiomax","followers_url":"https://api.github.com/users/gdbiomax/followers","following_url":"https://api.github.com/users/gdbiomax/following{/other_user}","gists_url":"https://api.github.com/users/gdbiomax/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbiomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbiomax/subscriptions","organizations_url":"https://api.github.com/users/gdbiomax/orgs","repos_url":"https://api.github.com/users/gdbiomax/repos","events_url":"https://api.github.com/users/gdbiomax/events{/privacy}","received_events_url":"https://api.github.com/users/gdbiomax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T19:00:16Z","updated_at":"2016-09-15T07:43:34Z","closed_at":null,"body":"I have issue of trying to run the web interface socket_server.py from web php, \r\n![pm](https://cloud.githubusercontent.com/assets/22153480/18525682/be4431d0-7a7a-11e6-87b5-c8181eecd490.jpg).\r\ntried  sudo python /home/robot/myproject/socket_server.py   it works\r\nbut not on web php, checked the code on PHP\r\n\tputenv('PYTHONPATH=/var/www/.local/lib/python2.7/site-packages:/var/www/.local/lib/python2.7/site-packages:');\r\n\t\t$start_server = shell_exec('sudo python /var/www/pathfinder/python/socket_server.py' );\r\nanything need to setup?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/comments/247259391","html_url":"https://github.com/okanulas/Pathfind3r/issues/1#issuecomment-247259391","issue_url":"https://api.github.com/repos/okanulas/Pathfind3r/issues/1","id":247259391,"user":{"login":"okanulas","id":148727,"avatar_url":"https://avatars.githubusercontent.com/u/148727?v=3","gravatar_id":"","url":"https://api.github.com/users/okanulas","html_url":"https://github.com/okanulas","followers_url":"https://api.github.com/users/okanulas/followers","following_url":"https://api.github.com/users/okanulas/following{/other_user}","gists_url":"https://api.github.com/users/okanulas/gists{/gist_id}","starred_url":"https://api.github.com/users/okanulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okanulas/subscriptions","organizations_url":"https://api.github.com/users/okanulas/orgs","repos_url":"https://api.github.com/users/okanulas/repos","events_url":"https://api.github.com/users/okanulas/events{/privacy}","received_events_url":"https://api.github.com/users/okanulas/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T07:43:34Z","updated_at":"2016-09-15T07:43:34Z","body":"Hi,\r\nUnfortunatelly i'm on holiday and i dont have my computer with me, i have my phone only. I can examine the problem when i get back. But it seems like php doesnt have permission to access to run python scripts. Setting chmod 777 for the scripts folder could solve the problem. "}}
{"actor":{"display_login":"okanulas"}}