Title: Open Word docx file with "The image part with relationship rID8 was not found" error, it always fails · Issue #1105 · python-openxml/python-docx · GitHub
Open Graph Title: Open Word docx file with "The image part with relationship rID8 was not found" error, it always fails · Issue #1105 · python-openxml/python-docx
X Title: Open Word docx file with "The image part with relationship rID8 was not found" error, it always fails · Issue #1105 · python-openxml/python-docx
Description: When I try to open a docx file with "The image part with relationship rID8 was not found" error, the following error is reported always. The code is as simple as following: from docx import Document doc = Document('.\WordHasSomeProblem.d...
Open Graph Description: When I try to open a docx file with "The image part with relationship rID8 was not found" error, the following error is reported always. The code is as simple as following: from docx import Documen...
X Description: When I try to open a docx file with "The image part with relationship rID8 was not found" error, the following error is reported always. The code is as simple as following: from docx impo...
Opengraph URL: https://github.com/python-openxml/python-docx/issues/1105
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Open Word docx file with \"The image part with relationship rID8 was not found\" error, it always fails","articleBody":"When I try to open a docx file with \"The image part with relationship rID8 was not found\" error, the following error is reported always.\r\n\r\nThe code is as simple as following:\r\n\r\n```\r\n\r\nfrom docx import Document\r\n\r\ndoc = Document('.\\WordHasSomeProblem.docx')\r\n```\r\n[WordHasSomeProblem.docx](https://github.com/python-openxml/python-docx/files/8966092/WordHasSomeProblem.docx)\r\n\r\nThe problematic word file is attached, i.e., WordHasSomeProblem.docx\r\n\r\nAs Microsoft has declared here: https://docs.microsoft.com/en-us/office/troubleshoot/word/image-part-relationship-rld8-not-found-error-microsoft-word, the problem happens here is because of some target field was set to \"NULL.\".\r\n\r\nMy question is: is that possible to add some parameter in Document() to just ignore this kind of errors and continue loading the docx into RAM?\r\n\r\nThanks!","author":{"url":"https://github.com/paradise321","@type":"Person","name":"paradise321"},"datePublished":"2022-06-23T09:55:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/1105/python-docx/issues/1105"}
| 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:8268fdb7-1669-4ed4-d4ce-de0b48a9812b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7D0:35E3DA:11CDFA8:1786324:696D4F14 |
| html-safe-nonce | e6da2519afea3d0b0c287b7ee08a958ffbd1fd7d7a602167fda3496bc471269b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0QwOjM1RTNEQToxMUNERkE4OjE3ODYzMjQ6Njk2RDRGMTQiLCJ2aXNpdG9yX2lkIjoiODkzMjkxNzQwNjI4MzQxOTQxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d7f90537cafceac7ef51542b0ae9f82c8eb9cf7535d4cdd0c6a172608f994c88 |
| hovercard-subject-tag | issue:1282134399 |
| 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-openxml/python-docx/1105/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6678ebf798d1c0e41505383c369ce8eac80e1085a5738d40847d9762fd34d89e/python-openxml/python-docx/issues/1105 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6678ebf798d1c0e41505383c369ce8eac80e1085a5738d40847d9762fd34d89e/python-openxml/python-docx/issues/1105 |
| og:image:alt | When I try to open a docx file with "The image part with relationship rID8 was not found" error, the following error is reported always. The code is as simple as following: from docx import Documen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paradise321 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0944e430045f4fb5f7bd103e0660080acfe593174063212555773ca41c144a14 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git |
| octolytics-dimension-user_id | 3403760 |
| octolytics-dimension-user_login | python-openxml |
| octolytics-dimension-repository_id | 13592924 |
| octolytics-dimension-repository_nwo | python-openxml/python-docx |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13592924 |
| octolytics-dimension-repository_network_root_nwo | python-openxml/python-docx |
| 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 | 66b6e773801d28660016072069017cfcc851f54b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width