Skip to content
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

Backing up Calendar folder or invite mails crashes script #40

Closed
acashley opened this issue Dec 11, 2017 · 5 comments
Closed

Backing up Calendar folder or invite mails crashes script #40

acashley opened this issue Dec 11, 2017 · 5 comments
Assignees
Labels

Comments

@acashley
Copy link

When backing up the Calendar folder or any individual Calendar invite/reply mails in the Inbox, the script crashes. The mailbox in question is an Office 365 mailbox.

Trace example from [Sent Items] folder as follows:

W, [2017-12-11T12:48:05.459451 #15793] WARN -- : [Sent Items] failed to save message 40531:
Date: Fri, 07 Jul 2017 10:42:18 +0200
Subject: Accepted:Monthly Meeting
To: yyy.xxx@xyz.com
Content-Type: multipart/alternative; boundary="--_com.android.email_593210916315722"
MIME-Version: 1.0

----_com.android.email_593210916315722
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

<snipped base 64>

----_com.android.email_593210916315722
Content-Type: text/calendar; method=REPLY;
name="invite.ics"
Content-Transfer-Encoding: base64

<snipped base 64>

----_com.android.email_593210916315722--
. undefined method `[]' for nil:NilClass

@joeyates
Copy link
Owner

Thanks for the bug report - I'll look into it and get back to you.

@acashley
Copy link
Author

Just following up on this one to see if there is any progress? Thanks!

@joeyates
Copy link
Owner

I've released an updated version: 1.2.2, with better logging on failures.
Could you see if that helps pinpoint the problem?

@joeyates joeyates added the bug label May 13, 2018
@joeyates joeyates self-assigned this May 13, 2018
@acashley
Copy link
Author

Pulled the updated code and re-ran the job. So far I haven't been able to reproduce this issue.
Not sure if it is successful now because the offending Calendar appointment no longer exists or something else has changed. Lets hope that is the end of it...

@joeyates
Copy link
Owner

I'll close for now.

Please reopen if you get the error again. Also, in that case, please post a sanitized log of the failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants