Danamir / imap-attachment-extractor

IMAP attachment exporter, with optional Thunderbird detach mode
11 stars 4 forks source link

Fix AttributeError: 'tuple' object has no attribute 'decode' #3

Closed outermedia-cbo closed 3 years ago

outermedia-cbo commented 3 years ago

Not sure, if it makes sense to process the tuple. At least it continues to processes all other messages.

Danamir commented 3 years ago

Not sure why fetch_data could contain a tuple. Watch if your new error log output does not pop out too often (I never encountered this bug on my servers).

outermedia-cbo commented 3 years ago

I am working on a folder with 4000 messages and 43GB size. 30 messages have this error.

Danamir commented 3 years ago

That's one hell of a mailbox ! I usually use the date restriction to be sure i'm not messing anything in my mails. Most of the development was tested only on the servers I had access too, I hope you're testing before running on the whole box. ^^