Title: Cannot loop through devices · Issue #158 · google/python-adb · GitHub
Open Graph Title: Cannot loop through devices · Issue #158 · google/python-adb
X Title: Cannot loop through devices · Issue #158 · google/python-adb
Description: Hi, I'm trying to use your library but i cannot access to all my devices because of the error LIBUSB_ERROR_TIMEOUT. Here is my code: cmd = 'echo hello world' for connectedDevice in adb_commands.AdbCommands.Devices() device = adb_commands...
Open Graph Description: Hi, I'm trying to use your library but i cannot access to all my devices because of the error LIBUSB_ERROR_TIMEOUT. Here is my code: cmd = 'echo hello world' for connectedDevice in adb_commands.Adb...
X Description: Hi, I'm trying to use your library but i cannot access to all my devices because of the error LIBUSB_ERROR_TIMEOUT. Here is my code: cmd = 'echo hello world' for connectedDevice in adb_...
Opengraph URL: https://github.com/google/python-adb/issues/158
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot loop through devices","articleBody":"Hi,\r\nI'm trying to use your library but i cannot access to all my devices because of the error LIBUSB_ERROR_TIMEOUT.\r\n\r\nHere is my code:\r\n```\r\ncmd = 'echo hello world'\r\nfor connectedDevice in adb_commands.AdbCommands.Devices()\r\n device = adb_commands.AdbCommands()\r\n device.ConnectDevice(port_path=connectedDevice.port_path, rsa_keys=[self.signer])\r\n print device.Shell(command=cmd).strip()\r\n device.Close()\r\n```\r\nI can run the command only to the first device in generator object, when the loop arrive to the second device it fail with the described error.\r\n\r\nAny advice about this?\r\nThanx","author":{"url":"https://github.com/Danny89530","@type":"Person","name":"Danny89530"},"datePublished":"2019-06-07T07:48:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/158/python-adb/issues/158"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:652dbf38-4a90-7670-8aea-aaddda844908 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDBE:14F335:C49E7D0:FEEAF64:6976AEC8 |
| html-safe-nonce | 66cf0fc8db43b354187808f92fb87d4b71a277b22fb4673c90f7debc7807779a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREJFOjE0RjMzNTpDNDlFN0QwOkZFRUFGNjQ6Njk3NkFFQzgiLCJ2aXNpdG9yX2lkIjoiNzE2MDgzNDY0NDY0NjQ3MzQxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7a2e5c02130471d07bd1b580bf9165f164de6de643a80d5248ff4e8de0d0125 |
| hovercard-subject-tag | issue:453382684 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/python-adb/158/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ea443f6dca58da5deaba31a7faa2b752f96ebfeadba89dac9a7031ba756c4a27/google/python-adb/issues/158 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ea443f6dca58da5deaba31a7faa2b752f96ebfeadba89dac9a7031ba756c4a27/google/python-adb/issues/158 |
| og:image:alt | Hi, I'm trying to use your library but i cannot access to all my devices because of the error LIBUSB_ERROR_TIMEOUT. Here is my code: cmd = 'echo hello world' for connectedDevice in adb_commands.Adb... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Danny89530 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/google/python-adb git https://github.com/google/python-adb.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 21404763 |
| octolytics-dimension-repository_nwo | google/python-adb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21404763 |
| octolytics-dimension-repository_network_root_nwo | google/python-adb |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width