Title: Merge fails on two IntelHex16bit files... · Issue #51 · python-intelhex/intelhex · GitHub
Open Graph Title: Merge fails on two IntelHex16bit files... · Issue #51 · python-intelhex/intelhex
X Title: Merge fails on two IntelHex16bit files... · Issue #51 · python-intelhex/intelhex
Description: I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error: nh.merge(oh[base:base+size], overlap='replace') File "C:\Users\md84189...
Open Graph Description: I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error: nh.merge(oh[base:base+size], o...
X Description: I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error: nh.merge(oh[base:base+size], o...
Opengraph URL: https://github.com/python-intelhex/intelhex/issues/51
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Merge fails on two IntelHex16bit files...","articleBody":"I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error:\r\nnh.merge(oh[base:base+size], overlap='replace')\r\n File \"C:\\Users\\md84189\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\intelhex\\__init__.py\", line 964, in __getitem__ __init__.py\", line 964, in __getitem__\r\n addr1 = addr16 * 2\r\nTypeError: unsupported operand type(s) for *: 'slice' and 'int'\r\n\r\nIf both instances are IntelHex or if nh instance is IntelHex and oh remains IntelHex16bit, the operation completes.\r\n\r\nNote: Using Python 3.9.0, intelhex-2.3.0","author":{"url":"https://github.com/thomas-peddle","@type":"Person","name":"thomas-peddle"},"datePublished":"2020-11-13T19:04:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/51/intelhex/issues/51"}
| 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:29292ab0-db49-d44e-4fea-ec7fe49565fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B33C:38DCC4:D294B0:11378B7:698D71AA |
| html-safe-nonce | ec70af49dcfc5243fa02b7ed50d82e3338c2187bef62207d98f3549c93abc405 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzNDOjM4RENDNDpEMjk0QjA6MTEzNzhCNzo2OThENzFBQSIsInZpc2l0b3JfaWQiOiI1ODg5MjU3MzU0MTU5ODEzMDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9011dab14301034cb0b3f46a9739137a965bd0d37dc9da9a044426bada5fe24 |
| hovercard-subject-tag | issue:742720679 |
| 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/51/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab31bdff09fbbd3e298c66ce2b3d0a9f130fe71555b69d0c6091c17cdf28d6a7/python-intelhex/intelhex/issues/51 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab31bdff09fbbd3e298c66ce2b3d0a9f130fe71555b69d0c6091c17cdf28d6a7/python-intelhex/intelhex/issues/51 |
| og:image:alt | I am reading a PIC16 flash image from the target (oh instance IntelHex16bit), and merging it with a new image (nh instance IntelHex16bit) and get the following error: nh.merge(oh[base:base+size], o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thomas-peddle |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| 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 | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width