{"action":"created","issue":{"url":"https://api.github.com/repos/knipknap/exscript/issues/70","labels_url":"https://api.github.com/repos/knipknap/exscript/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/knipknap/exscript/issues/70/comments","events_url":"https://api.github.com/repos/knipknap/exscript/issues/70/events","html_url":"https://github.com/knipknap/exscript/issues/70","id":53968707,"number":70,"title":"Manually set exscript timeout after establishing a connection","user":{"login":"mpenning","id":36991,"avatar_url":"https://avatars.githubusercontent.com/u/36991?v=3","gravatar_id":"","url":"https://api.github.com/users/mpenning","html_url":"https://github.com/mpenning","followers_url":"https://api.github.com/users/mpenning/followers","following_url":"https://api.github.com/users/mpenning/following{/other_user}","gists_url":"https://api.github.com/users/mpenning/gists{/gist_id}","starred_url":"https://api.github.com/users/mpenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpenning/subscriptions","organizations_url":"https://api.github.com/users/mpenning/orgs","repos_url":"https://api.github.com/users/mpenning/repos","events_url":"https://api.github.com/users/mpenning/events{/privacy}","received_events_url":"https://api.github.com/users/mpenning/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"egroeper","id":535113,"avatar_url":"https://avatars.githubusercontent.com/u/535113?v=3","gravatar_id":"","url":"https://api.github.com/users/egroeper","html_url":"https://github.com/egroeper","followers_url":"https://api.github.com/users/egroeper/followers","following_url":"https://api.github.com/users/egroeper/following{/other_user}","gists_url":"https://api.github.com/users/egroeper/gists{/gist_id}","starred_url":"https://api.github.com/users/egroeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egroeper/subscriptions","organizations_url":"https://api.github.com/users/egroeper/orgs","repos_url":"https://api.github.com/users/egroeper/repos","events_url":"https://api.github.com/users/egroeper/events{/privacy}","received_events_url":"https://api.github.com/users/egroeper/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-10T19:34:03Z","updated_at":"2015-02-22T21:43:44Z","closed_at":"2015-02-22T21:43:44Z","body":"I'm trying to figure out whether you can manually specify a timeout before an exscript conn.execute()... The online docs seem to indicate that this should be possible, but this bombs with an error when I try it...\r\n\r\n    import sys\r\n\r\n    from Exscript.util.interact import read_login\r\n    from Exscript.protocols import SSH2\r\n    from Exscript.protocols.drivers import ios, shell, generic\r\n\r\n    account = read_login()\r\n    conn = SSH2(debug=0, auto_verify=False, stdout=sys.stdout, timeout=15)\r\n    conn.buffer = 2048\r\n    conn.set_driver('ios')\r\n    conn.connect('172.16.1.1')\r\n    conn.login(account)\r\n    conn.execute('term pager 0')\r\n    conn.set_timeout(5)     ### <------ Required functionality here\r\n    conn.execute('show ver')\r\n\r\nWhen I run that script, I get this error while running the `conn.set_timeout(5)` line:\r\n    AttributeError: 'int' object has no attribute 'tail'\r\n\r\n\r\nIs this a bug, or is this even supposed to be supported?"},"comment":{"url":"https://api.github.com/repos/knipknap/exscript/issues/comments/75463274","html_url":"https://github.com/knipknap/exscript/issues/70#issuecomment-75463274","issue_url":"https://api.github.com/repos/knipknap/exscript/issues/70","id":75463274,"user":{"login":"egroeper","id":535113,"avatar_url":"https://avatars.githubusercontent.com/u/535113?v=3","gravatar_id":"","url":"https://api.github.com/users/egroeper","html_url":"https://github.com/egroeper","followers_url":"https://api.github.com/users/egroeper/followers","following_url":"https://api.github.com/users/egroeper/following{/other_user}","gists_url":"https://api.github.com/users/egroeper/gists{/gist_id}","starred_url":"https://api.github.com/users/egroeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egroeper/subscriptions","organizations_url":"https://api.github.com/users/egroeper/orgs","repos_url":"https://api.github.com/users/egroeper/repos","events_url":"https://api.github.com/users/egroeper/events{/privacy}","received_events_url":"https://api.github.com/users/egroeper/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T21:43:44Z","updated_at":"2015-02-22T21:43:44Z","body":"Please reopen, if you have further information and/or it doesn't work with current master."}}