Steve Canny

Results 316 comments of Steve Canny

As it happens I was just looking at this code last night to diagnose a different issue in a downstream system and I'm pretty sure it's working as intended. If...

Hi @marctorsoc I'm not sure this metadata is of general interest for users of the library. Let me ask around and see what folks have to say. For sure we...

Closing as inactive. Please feel free to reopen if you're still having trouble. Some changes since the last comment seem to have remedied this.

@TaylorN15 here's what we need: A test that fails before your change and passes afterward. If the current test can be modified to suit, that's fine. I can see the...

@TaylorN15 why don't you post an anonymized version of the problematic message and I'll take a look. I expect I can whip up an appropriate test in a minute or...

k, this test should be plenty: ```python def test_partition_reads_message_part_with_inline_content_disposition(): elements = partition_email( example_doc_path("eml/text-part-marked-inline.eml"), process_attachments=False ) assert len(elements) == 1 e = elements[0] assert e.text.startswith("Hi Please find attached a project proposal.")...

@shoang22 you're going to want to remove the relationship from the slide (package) part to the part containing the movie (Media part maybe?). Otherwise I expect PowerPoint isn't going to...

Basically dig out the relationship and delete it. The relationship(s) would be identified by an `embed` or `link` element with `rId="rId{N}"` I believe, dumping the XML for the moving shape...

Okay, so a couple possible approaches: 1. do the repair and save it to a separate file. Then compare the XML from the original to the repaired version to see...