{"action":"created","issue":{"url":"https://api.github.com/repos/weilu/cs4225/issues/16","repository_url":"https://api.github.com/repos/weilu/cs4225","labels_url":"https://api.github.com/repos/weilu/cs4225/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/weilu/cs4225/issues/16/comments","events_url":"https://api.github.com/repos/weilu/cs4225/issues/16/events","html_url":"https://github.com/weilu/cs4225/issues/16","id":343376159,"node_id":"MDU6SXNzdWUzNDMzNzYxNTk=","number":16,"title":"FileNotFoundError Missing pdftotext","user":{"login":"li-xinyang","id":3349406,"node_id":"MDQ6VXNlcjMzNDk0MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3349406?v=4","gravatar_id":"","url":"https://api.github.com/users/li-xinyang","html_url":"https://github.com/li-xinyang","followers_url":"https://api.github.com/users/li-xinyang/followers","following_url":"https://api.github.com/users/li-xinyang/following{/other_user}","gists_url":"https://api.github.com/users/li-xinyang/gists{/gist_id}","starred_url":"https://api.github.com/users/li-xinyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-xinyang/subscriptions","organizations_url":"https://api.github.com/users/li-xinyang/orgs","repos_url":"https://api.github.com/users/li-xinyang/repos","events_url":"https://api.github.com/users/li-xinyang/events{/privacy}","received_events_url":"https://api.github.com/users/li-xinyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-22T04:32:38Z","updated_at":"2018-07-22T05:18:31Z","closed_at":null,"author_association":"COLLABORATOR","body":"```\r\n## Upload Support PDF Statement\r\ncurl -X \"POST\" \"https://q5i6ef1jfi.execute-api.ap-southeast-1.amazonaws.com/api/upload\" \\\r\n     -H 'Authorization: eyJraWQiOiJNU2FGbnZ4ZnVXUEZHQ2Z1SDNpdDBKTDdOdVwvaTZ3ZjRlbmVkRGwrXC9ob2s9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiYjdkY2RiMC05YjY5LTQwMTMtOTkzMy02MTlmNjdiMjA0OGYiLCJhdWQiOiIxNmljNGw2YW02a2NndTFqc2Y2YWY5ZXZycCIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJldmVudF9pZCI6IjVmMGJmNTk1LThkNjYtMTFlOC1iOTI4LWJmZWFkNWE0MzJlNiIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNTMyMjMzMTQ1LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuYXAtc291dGhlYXN0LTEuYW1hem9uYXdzLmNvbVwvYXAtc291dGhlYXN0LTFfRHREdldaRm1jIiwiY29nbml0bzp1c2VybmFtZSI6ImhpQHhpbnlhbmcubGkiLCJleHAiOjE1MzIyMzY3NDUsImlhdCI6MTUzMjIzMzE0NSwiZW1haWwiOiJoaUB4aW55YW5nLmxpIn0.CtZ8xDPDrMhSEQLXNvJyGR4XK4pHjIhLMAL1evFKLk1GnPk3XsIuV31E2D6vImeKG-EiNqMpVwJL-AyRDd-95pku2QXz3reaNea2G4M4fuHCqr3irzE81FKk1GH9MLiaYBhoYJoJa7QxunvCpxVUBBReFwYbs0wD-OLJXBeXQWFhNqii6tbiOAolao5Fgd85pGqa5K2CMQmvG__0BL-1xvvv8CgsQfUesm6BMrWLDg1oydZBaJo_CaqbgB-mnchHVoEVmJRtvv8DMglauLIHYu6oNDW8sRdOKRAbP9ueG-z8djNCiJ-TMVplJrTBKV-pGXTespviMoNtjcvamj237Q' \\\r\n     -H 'Content-Type: multipart/form-data; charset=utf-8; boundary=__X_PAW_BOUNDARY__' \\\r\n     -F \"file=\"\r\n\r\n```\r\n\r\n500 Error\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/var/task/chalice/app.py\", line 659, in _get_view_function_response\r\n    response = view_function(**function_args)\r\n  File \"/var/task/app.py\", line 164, in upload\r\n    env=dict(LD_LIBRARY_PATH=LIB_DIR))\r\n  File \"/var/task/chalicelib/pdftotxt.py\", line 129, in process_pdf\r\n    result = subprocess.check_output(command, stderr=subprocess.PIPE, **kwargs)\r\n  File \"/var/lang/lib/python3.6/subprocess.py\", line 336, in check_output\r\n    **kwargs).stdout\r\n  File \"/var/lang/lib/python3.6/subprocess.py\", line 403, in run\r\n    with Popen(*popenargs, **kwargs) as process:\r\n  File \"/var/lang/lib/python3.6/subprocess.py\", line 707, in __init__\r\n    restore_signals, start_new_session)\r\n  File \"/var/lang/lib/python3.6/subprocess.py\", line 1326, in _execute_child\r\n    raise child_exception_type(errno_num, err_msg)\r\nFileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/pdftotext'\r\n```"},"comment":{"url":"https://api.github.com/repos/weilu/cs4225/issues/comments/406841918","html_url":"https://github.com/weilu/cs4225/issues/16#issuecomment-406841918","issue_url":"https://api.github.com/repos/weilu/cs4225/issues/16","id":406841918,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg0MTkxOA==","user":{"login":"weilu","id":412533,"node_id":"MDQ6VXNlcjQxMjUzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/412533?v=4","gravatar_id":"","url":"https://api.github.com/users/weilu","html_url":"https://github.com/weilu","followers_url":"https://api.github.com/users/weilu/followers","following_url":"https://api.github.com/users/weilu/following{/other_user}","gists_url":"https://api.github.com/users/weilu/gists{/gist_id}","starred_url":"https://api.github.com/users/weilu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilu/subscriptions","organizations_url":"https://api.github.com/users/weilu/orgs","repos_url":"https://api.github.com/users/weilu/repos","events_url":"https://api.github.com/users/weilu/events{/privacy}","received_events_url":"https://api.github.com/users/weilu/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T05:18:31Z","updated_at":"2018-07-22T05:18:31Z","author_association":"OWNER","body":"Fix deployed to dev"}}
{"actor":{"display_login":"weilu"}}