-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `[]' for nil:NilClass #42
Comments
Here is a slightly annonymized log: https://pastebin.com/raw/UNH7SVkS |
Hello, thanks for the bug report. It looks like the imap gem is failing to parse the message body in those two cases. Could send me a link (like a secret Gist) to the full content of the messages? |
Thanks for the log dump. I'm unable to see why those messages are causing problems. In the meantime, I've released version 1.2.2 with (#48) and better handling of failed server responses. |
Hi, I have updated to 1.2.2 and updated the gist. Hopefully the traceback will help you to pinpoint what is the problem... |
@dolik-rce The Gist is still the original (21/1/2018 with version 1.2.1). Could you post a link to the updated Gist? |
My apologies, I totally forgot about that. I have updated to the 1.2.2 from gem and updated the original gist. |
@dolik-rce I'm still seeing the original log here: https://pastebin.com/raw/UNH7SVkS Have you creted a new pastebin? |
No, I have updated the secret gist. Also, I sent the url to your email again just a minute ago, just to make sure. |
@dolik-rce Thanks. The failing emails have no 'From' field, and that's what's causing the failure. Earlier today I released 1.2.3 that fixed the failure, and I've just released 1.3.0 that handles one of your cases better as it grabs the 'Sender' field if there is no 'From'. Please upgrade to 2.3.0 and let me know if the problem is fixed. |
Yes, 1.3.0 works without errors. Thank you for the fix! |
Hi,
I have two messages in my inbox, which imap-backup fails to backup, with the message stated in the title. This migt be related to #40, but in my case those are regular messages, not invites.
Also, none of the invites in my Calendar folder are synced, but there is no error message. The gem just dies with exit code 1.
The text was updated successfully, but these errors were encountered: