tmccoid-tech / extract-em

Extract 'Em!: email attachment extraction extension for Mozilla Thunderbird
https://addons.thunderbird.net/en-US/thunderbird/addon/extract-em
Mozilla Public License 2.0
1 stars 0 forks source link

Extract 'Em! 1.2.1 intermittent stalls #10

Open tmccoid-tech opened 1 month ago

tmccoid-tech commented 1 month ago

A user reports that the extension stalls in a non-deterministic fashion during either discovery or packaging. Attaching a troubleshooting extension version with enhanced logging.

extractem_1_2_1_x01.zip

tmccoid-tech commented 1 month ago

The issue is due to the attachments in question being "linked attachments" where the attachment file data is stored in a remote location rather than embedded in the message. For this user, large files (90 MB, for instance) were being downloaded from various internet locations and sometimes required inordinate amounts of time to complete; since there is no reporting of download progress available (either to the user or the developer) in this context, the extension appeared to stall.

Resources: Topicbox post Identifying "linked attachments"

tmccoid-tech commented 1 month ago

A second bug report has been opened with the Thunderbird Extension API team: messenger.messages.getAttachmentFile() method stalling while retrieving linked attachments