Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Some emails suddenly properly formatted

#1511

Running Mailmate 1.9.4.

Since yesterday some of my emails are improperly formatted (ignoring linefeeds)...but not all emails.
The weird thing is that the formatting is correct again when I enable the distortion mode....is this a known bug?

Screenshots:

https://www.dropbox.com/sh/td7eqvi5clvidls/AAB8bOgFRAo4i8ZG0OKfvJJf...

Reported by Andreas Jung · August 26th, 2016 @ 02:27 PM

State: fixreleased
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    The bug is not known, but the “symptom” is known. It would usually happen if one of the external scripts fail which MailMate uses to generate the message. It's not obvious to me why using distortion mode would change that, but maybe whatever triggers the script to fail does not happen when the message is distorted.

    You can launch MailMate from a Terminal window to see if any errors are output. The problem is either a local issue, e.g., some kind of system resource issue, or it's something specific in these message triggering a bug in MailMate. In the latter case, I can reproduce it with an example message.

    Launching MailMate from a Terminal window:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    You can also see if this happens to be a fixed issue by updating to the latest test release (hold down ⌥ when clicking “Check Now” in the Software Update preferences pane).

    (And no, I haven't fixed the column-saving issue yet, but at least it's getting nearer the top of my list.)

    August 27th, 2016 @ 09:27 AM

  2. Andreas Jung
    Andreas Jung

    2016-08-27 11:30:35.608 MailMate[58581:2521548] [Accounts] Failed to update account with identifier CD5EFF8B-B9E6-40FA-BFFD-14FC8322445D, error: Error Domain=ABAddressBookErrorDomain Code=1002 "(null)"
    Failed to run script: #!/usr/bin/env bash
    "$MM_SHARED_SUPPORT/bin/canonical_to_html" (/Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:in match': invalid byte sequence in US-ASCII (ArgumentError) from /Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:inmatch' from /Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:in <main>' ) Failed to run script: #!/usr/bin/env bash "$MM_SHARED_SUPPORT/bin/canonical_to_html" (/Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:inmatch': invalid byte sequence in US-ASCII (ArgumentError) from /Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:in match' from /Applications/MailMate.app/Contents/SharedSupport/bin/canonical_to_html:43:in' )

    August 27th, 2016 @ 09:31 AM

  3. benny
    benny

    This indicates that MailMate has not sanitized the data before calling the script, but I thought I already did this. Did it also fail in the test release I suggested?

    If yes, do you have an email you can share? Maybe you can drag it out of MailMate and edit it with a text editor to remove any sensitive data (while it still fails to be displayed correctly by MailMate).

    Thanks in advance.

    August 27th, 2016 @ 10:14 AM

  4. Andreas Jung
    Andreas Jung

    Seems to be fixed in 1.9.5 r5255.

    Thanks

    August 27th, 2016 @ 10:20 AM

  5. benny
    benny
    • State changed from new to fixcommitted

    Thanks for checking.

    August 27th, 2016 @ 10:32 AM

  6. benny
    benny
    • State changed from fixcommitted to fixreleased

    September 15th, 2016 @ 03:57 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.