gmail icon indicating copy to clipboard operation
gmail copied to clipboard

error during fetch()

Open windmaple opened this issue 11 years ago • 1 comments

I'm getting this error when trying to fetch any msg. I'm at commit 667c14958714c5ea7b5487e79e262d40818229a4 and using ubuntu. Looks like a bug. Hopefully Charlie can fix it soon.

unread[1].fetch() Traceback (most recent call last): File "", line 1, in File "message.py", line 171, in fetch self.parse(results[0]) File "message.py", line 164, in parse self.attachments = [Attachment(attachment) for attachment in self.message._payload if attachment.get('Content-Disposition') is not None] AttributeError: 'str' object has no attribute 'get'

windmaple avatar Feb 02 '14 01:02 windmaple

btw, the msg body was actually fetch successfully. It's just the attachment part fails.

windmaple avatar Feb 02 '14 01:02 windmaple