{"action":"created","issue":{"url":"https://api.github.com/repos/trezor/python-trezor/issues/123","repository_url":"https://api.github.com/repos/trezor/python-trezor","labels_url":"https://api.github.com/repos/trezor/python-trezor/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/trezor/python-trezor/issues/123/comments","events_url":"https://api.github.com/repos/trezor/python-trezor/issues/123/events","html_url":"https://github.com/trezor/python-trezor/issues/123","id":243256026,"number":123,"title":"get_transport must succeed in order to access command usage","user":{"login":"saleemrashid","id":22301423,"avatar_url":"https://avatars3.githubusercontent.com/u/22301423?v=4","gravatar_id":"","url":"https://api.github.com/users/saleemrashid","html_url":"https://github.com/saleemrashid","followers_url":"https://api.github.com/users/saleemrashid/followers","following_url":"https://api.github.com/users/saleemrashid/following{/other_user}","gists_url":"https://api.github.com/users/saleemrashid/gists{/gist_id}","starred_url":"https://api.github.com/users/saleemrashid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleemrashid/subscriptions","organizations_url":"https://api.github.com/users/saleemrashid/orgs","repos_url":"https://api.github.com/users/saleemrashid/repos","events_url":"https://api.github.com/users/saleemrashid/events{/privacy}","received_events_url":"https://api.github.com/users/saleemrashid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-16T18:10:57Z","updated_at":"2017-07-18T20:15:48Z","closed_at":null,"body":"This prevents command usage being accessed if no TREZOR is connected or the TREZOR is not accessible.\r\n\r\n## Steps to reproduce\r\n\r\n1. Disconnect all TREZOR devices\r\n2. `trezorctl get_address --help`\r\n\r\n## Expected result\r\n\r\n`get_address` usage information\r\n\r\n## Actual result\r\n\r\n```\r\nException:  Device not found\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/trezor/python-trezor/issues/comments/316184213","html_url":"https://github.com/trezor/python-trezor/issues/123#issuecomment-316184213","issue_url":"https://api.github.com/repos/trezor/python-trezor/issues/123","id":316184213,"user":{"login":"prusnak","id":42201,"avatar_url":"https://avatars2.githubusercontent.com/u/42201?v=4","gravatar_id":"","url":"https://api.github.com/users/prusnak","html_url":"https://github.com/prusnak","followers_url":"https://api.github.com/users/prusnak/followers","following_url":"https://api.github.com/users/prusnak/following{/other_user}","gists_url":"https://api.github.com/users/prusnak/gists{/gist_id}","starred_url":"https://api.github.com/users/prusnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prusnak/subscriptions","organizations_url":"https://api.github.com/users/prusnak/orgs","repos_url":"https://api.github.com/users/prusnak/repos","events_url":"https://api.github.com/users/prusnak/events{/privacy}","received_events_url":"https://api.github.com/users/prusnak/received_events","type":"User","site_admin":false},"created_at":"2017-07-18T20:15:48Z","updated_at":"2017-07-18T20:15:48Z","body":"I think this would be best fixed as a major rewrite of transports (i.e. transport opens connection only when needed = before send and not when it is instantiated).\r\n\r\nI tried to fix trezorctl meanwhile until we'll do this, but I did not find any solution that is not very hackish/ugly. :-/"}}
{"actor":{"display_login":"prusnak"}}