Title: hex2bin error · Issue #4 · python-intelhex/intelhex · GitHub
Open Graph Title: hex2bin error · Issue #4 · python-intelhex/intelhex
X Title: hex2bin error · Issue #4 · python-intelhex/intelhex
Description: Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error: Traceback (most recent call last): File "hex2.py", line 139, in
Open Graph Description: Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error: Traceback (most recent call last): File "hex2.py", line 139, in
X Description: Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error: Traceback (most recent call last): File "hex2.py", line 139, in <module> sys.e...
Opengraph URL: https://github.com/python-intelhex/intelhex/issues/4
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hex2bin error","articleBody":"Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error:\n`Traceback (most recent call last):\n File \"hex2.py\", line 139, in \u003cmodule\u003e\n sys.exit(hex2bin(fin, fout, start, end, size, pad))\n File \"/usr/local/lib/python3.4/dist-packages/intelhex/__init__.py\", line 1001, in hex2bin\n h.tobinfile(fout, start, end)\n File \"/usr/local/lib/python3.4/dist-packages/intelhex/__init__.py\", line 412, in tobinfile\n fobj.write(self._tobinstr_really(start, end, pad, size))\nTypeError: must be str, not bytes\n` \nScript I use as `python3 hex2bin Blinky.hex`\n","author":{"url":"https://github.com/kript0n","@type":"Person","name":"kript0n"},"datePublished":"2016-02-04T10:44:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4/intelhex/issues/4"}
| 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:c107defb-9bde-a437-460c-0e4fc9e7ef26 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAA4:CBB93:59E67:74546:698E248F |
| html-safe-nonce | f7810c5295c035d0decd6ffeacf103664ae12ca986553ebd239d5ab62aa9c1b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUE0OkNCQjkzOjU5RTY3Ojc0NTQ2OjY5OEUyNDhGIiwidmlzaXRvcl9pZCI6IjQzMTY4NTk3ODk3NTU2ODgwNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f322bdc2303a6cba1fa4e26d2752f704a40df048508a01ccea0a281536d98000 |
| hovercard-subject-tag | issue:131308907 |
| 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/python-intelhex/intelhex/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ff3c0a9840d2ee8cea2f4a63478c6ba17789337546895f6e0159b20c5feb2d0/python-intelhex/intelhex/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ff3c0a9840d2ee8cea2f4a63478c6ba17789337546895f6e0159b20c5feb2d0/python-intelhex/intelhex/issues/4 |
| og:image:alt | Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error: Traceback (most recent call last): File "hex2.py", line 139, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kript0n |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d71262819a4a68a7786924c05495bfd40a7561e4258dd129ba36f53d667639a |
| turbo-cache-control | no-preview |
| go-import | github.com/python-intelhex/intelhex git https://github.com/python-intelhex/intelhex.git |
| octolytics-dimension-user_id | 55888006 |
| octolytics-dimension-user_login | python-intelhex |
| octolytics-dimension-repository_id | 33128473 |
| octolytics-dimension-repository_nwo | python-intelhex/intelhex |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33128473 |
| octolytics-dimension-repository_network_root_nwo | python-intelhex/intelhex |
| 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 | 1d904ac995eb43f93014fbdbcc9ae5878653c932 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width