{"action":"opened","issue":{"url":"https://api.github.com/repos/AirtestProject/Airtest/issues/49","repository_url":"https://api.github.com/repos/AirtestProject/Airtest","labels_url":"https://api.github.com/repos/AirtestProject/Airtest/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/AirtestProject/Airtest/issues/49/comments","events_url":"https://api.github.com/repos/AirtestProject/Airtest/issues/49/events","html_url":"https://github.com/AirtestProject/Airtest/issues/49","id":319781448,"number":49,"title":"run air script on ubuntu which is connected with android phone, occure \"Permission denied\" Error","user":{"login":"oaktester","id":38458667,"avatar_url":"https://avatars2.githubusercontent.com/u/38458667?v=4","gravatar_id":"","url":"https://api.github.com/users/oaktester","html_url":"https://github.com/oaktester","followers_url":"https://api.github.com/users/oaktester/followers","following_url":"https://api.github.com/users/oaktester/following{/other_user}","gists_url":"https://api.github.com/users/oaktester/gists{/gist_id}","starred_url":"https://api.github.com/users/oaktester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oaktester/subscriptions","organizations_url":"https://api.github.com/users/oaktester/orgs","repos_url":"https://api.github.com/users/oaktester/repos","events_url":"https://api.github.com/users/oaktester/events{/privacy}","received_events_url":"https://api.github.com/users/oaktester/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T04:01:01Z","updated_at":"2018-05-03T04:01:01Z","closed_at":null,"author_association":"NONE","body":"test@ubuntu:~/work$ airtest run main_ui3.air --device Android://127.0.0.1:5037/VS7STS6TUKAU5TBE\r\n[08:51:01][DEBUG]<airtest.core.android.adb> /home/qatest/.local/lib/python2.7/site-packages/airtest/core/android/static/adb/linux/adb -P 5037 -s VS7STS6TUKAU5TBE wait-for-device\r\n======================================================================\r\nERROR: setUpClass (airtest.cli.runner.AirtestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/qatest/.local/lib/python2.7/site-packages/airtest/cli/runner.py\", line 37, in setUpClass\r\n    connect_device(dev)\r\n  File \"/home/qatest/.local/lib/python2.7/site-packages/airtest/core/api.py\", line 46, in connect_device\r\n    dev = cls(uuid, **params)\r\n  File \"/home/qatest/.local/lib/python2.7/site-packages/airtest/core/android/android.py\", line 35, in __init__\r\n    self.adb.wait_for_device()\r\n  File \"/home/qatest/.local/lib/python2.7/site-packages/airtest/core/android/adb.py\", line 271, in wait_for_device\r\n    proc = self.start_cmd(\"wait-for-device\")\r\n  File \"/home/qatest/.local/lib/python2.7/site-packages/airtest/core/android/adb.py\", line 146, in start_cmd\r\n    stderr=subprocess.PIPE\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 711, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 1343, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 13] Permission denied\r\n\r\n----------------------------------------------------------------------\r\nRan 0 tests in 0.316s\r\n\r\nFAILED (errors=1)\r\nexiting.......\r\n"}}
{"actor":{"display_login":"oaktester"}}