{"action":"created","issue":{"url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/108","labels_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/108/comments","events_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/108/events","html_url":"https://github.com/dnanexus/dx-toolkit/issues/108","id":107621151,"number":108,"title":"dx-run-app-locally dies with `UnboundLocalError`","user":{"login":"lgautier","id":650866,"avatar_url":"https://avatars.githubusercontent.com/u/650866?v=3","gravatar_id":"","url":"https://api.github.com/users/lgautier","html_url":"https://github.com/lgautier","followers_url":"https://api.github.com/users/lgautier/followers","following_url":"https://api.github.com/users/lgautier/following{/other_user}","gists_url":"https://api.github.com/users/lgautier/gists{/gist_id}","starred_url":"https://api.github.com/users/lgautier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgautier/subscriptions","organizations_url":"https://api.github.com/users/lgautier/orgs","repos_url":"https://api.github.com/users/lgautier/repos","events_url":"https://api.github.com/users/lgautier/events{/privacy}","received_events_url":"https://api.github.com/users/lgautier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-21T23:56:16Z","updated_at":"2015-09-25T13:54:25Z","closed_at":"2015-09-25T13:47:48Z","body":"Running\r\n```\r\ndx-run-app-locally my-app -imy-input=foo.txt\r\n```\r\n\r\nends with:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/dx-run-app-locally\", line 161, in <module>\r\n    local_exec_utils.run_entry_points(run_spec=dxapp_json['runSpec'])\r\n  File \"/usr/local/lib/python2.7/site-packages/dxpy/utils/local_exec_utils.py\", line 461, in run_entry_points\r\n    name=entry_point_to_run.get('name'))\r\n  File \"/usr/local/lib/python2.7/site-packages/dxpy/utils/local_exec_utils.py\", line 367, in run_one_entry_point\r\n    invocation_args = [arg.encode(sys.stdout.encoding) for arg in invocation_args]\r\nUnboundLocalError: local variable 'invocation_args' referenced before assignment\r\n```\r\n\r\n(`dxpy` was pip-installed today: \r\n```\r\n$ dx --version\r\ndx v0.161.0\r\n```"},"comment":{"url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/comments/143230284","html_url":"https://github.com/dnanexus/dx-toolkit/issues/108#issuecomment-143230284","issue_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/108","id":143230284,"user":{"login":"lgautier","id":650866,"avatar_url":"https://avatars.githubusercontent.com/u/650866?v=3","gravatar_id":"","url":"https://api.github.com/users/lgautier","html_url":"https://github.com/lgautier","followers_url":"https://api.github.com/users/lgautier/followers","following_url":"https://api.github.com/users/lgautier/following{/other_user}","gists_url":"https://api.github.com/users/lgautier/gists{/gist_id}","starred_url":"https://api.github.com/users/lgautier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgautier/subscriptions","organizations_url":"https://api.github.com/users/lgautier/orgs","repos_url":"https://api.github.com/users/lgautier/repos","events_url":"https://api.github.com/users/lgautier/events{/privacy}","received_events_url":"https://api.github.com/users/lgautier/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T13:54:25Z","updated_at":"2015-09-25T13:54:25Z","body":"Continued on issue #111"}}