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

Incomplete export of iCloud mailbox (with attachments) #640

Open
Zarkorix opened this issue Oct 10, 2024 · 2 comments
Open

Incomplete export of iCloud mailbox (with attachments) #640

Zarkorix opened this issue Oct 10, 2024 · 2 comments

Comments

@Zarkorix
Copy link

Zarkorix commented Oct 10, 2024

ImportExportTools NG - v14.1.2
Thunderbird 128.3.0esr (64-bit) (Flatpak, Linux)

I'm encountering a strange bug. Whenever I attempt to export my iCloud inbox, with attachments, it never completes. The debug console reveals there may be an issue with specific attachments and/or calendar invites. This happens no matter what format I try to export in (HTML, plaintext etc.)

This is only happening with my iCloud inbox - all others work fine.

I'm able to export my iCloud inbox successfully, in any format, so long as I do not not include attachments.

This is happening on Thunderbird 128, on both the flatpak and native versions and on both Ubuntu 22.04 and Fedora 40. I've tried to rebuild the iCloud inbox, but it does not help.

Any idea how to fix this or locate the offending attachments so I can remove them?

I have no active calendars in my Thunderbird, and I'm just right-clicking on the iCloud inbox to export.

Debug (at the point the export stops):

Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 88BDC4AD-AE1E-4B52-AA3A-4ACF358A94D6 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 88BDC4AD-AE1E-4B52-AA3A-4ACF358A94D6 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 88BDC4AD-AE1E-4B52-AA3A-4ACF358A94D6 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 88BDC4AD-AE1E-4B52-AA3A-4ACF358A94D6 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: 040000008200E00074C5B7101A82E008000000005B50DE27A50DD50100000000000000001000000033C904BFD4C8F44484F871D20EE14BD2 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: BDBA400E-EC05-4B16-89C3-678A708A9042 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes] CalItemBase.sys.mjs:964:13
Error: invalid duration value: Not enough duration components in "" Ical.sys.mjs:233:13
Calendar: Invalid alarm for item: BDBA400E-EC05-4B16-89C3-678A708A9042 (BEGIN:VALARM

DESCRIPTION:REMINDER

TRIGGER;RELATED=START:P

ACTION:DISPLAY

END:VALARM

) exception: [Exception... "[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]'[JavaScript Error: "invalid duration value: Not enough duration components in """ {file: "resource:///modules/calendar/Ical.sys.mjs" line: 233}]' when calling method: [calIIcalComponent::getFirstProperty]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource:///modules/CalAlarm.sys.mjs :: set icalComponent :: line 494"  data: yes]
@cleidigh
Copy link
Collaborator

@Zarkorix
Hmm, none of the debug you posted is from IETNG, it looks like calendar event errors.
Have you tried exporting a single message with an attachment?
Also try moving a message or messages to a local folder and see what happens.
@cleidigh

@Zarkorix
Copy link
Author

@cleidigh I agree, this is definitely strange.

Exporting a single message with an attachment works fine. There are ~7500 messages in this inbox, many with attachments. IETNG successfully exports ~5500 of them, including attachments, before it consistently fails at the same point each time. It may therefore be a specific email or set of emails with attachments causing the problem.

Each time the export stops, the same error messages appear in the debug.

I copied the entire inbox into a local folder. No luck - the export with attachments still fails and when retrying it, it fails at the same point again. Although the point of failure is now at a different number than in the original inbox.

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

No branches or pull requests

2 participants