[MlMt] Python errors(?) in replies
Shoshanna Green
shoshannag at gmail.com
Fri May 20 16:06:18 EDT 2022
Thank you, Bill! I'm top-posting my reply partly to test this fix. I did indeed migrate myself from Intel to Apple silicon, and "Premailer (Python)" was indeed selected in Mailmate's Bundles preference pane. I deselected it, and found that the embedding method in the Composer pane immediately switched to "Inline CSS (Juice)."
The problem did begin sometime around the time v5895 came out, so I suspect you have the right of it.
On 20 May 2022, at 15:41, Bill Cole wrote:
> This looks like you migrated a user from an Intel machine to an Apple Silicon machine. Is that correct?
>
> There's a tangled mess of what could be involved, with Apple removing Python2 in the latest macOS, but it looks like you have a version of the "Premailer" bundle installed which is (at least) compiled for Intel. Premailer has been the default tool for "inlining CSS" in HTML mail in MM, but is no longer as of the r5895 Beta version, as it has been replaced by something called "Juice." I would expect that the simplest fix for this (skipping a solid diagnosis...) would be to switch the "Embedding method" preference in the Prefs Composer pane, and deselecting "Premailer (Python)" in the Bundles pane.
>
>
> On 2022-05-20 at 15:05:49 UTC-0400 (Fri, 20 May 2022 15:05:49 -0400)
> Shoshanna Green <mailmate at lists.freron.com>
> is rumored to have said:
>
>> I BCC myself on outgoing mail. Sometimes but not always, when I reply to a message from someone else (top-posting my reply and leaving their original message below it), my copy of my message contains not their original message but what looks like a dump of Python errors:
>>
>> [My reply appears just fine, and then below it is this]
>>
>> On 20 May 2022, at 13:54, Samuel Dalpé wrote:
>>
>> Bundle command: Inline CSS UUID: 9846E526-1B45-42E8-8E75-F2B47AB5FF76 /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.6) or chardet (4.0.0) doesn't match a supported version! RequestsDependencyWarning) Traceback (most recent call last): File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/premailerize", line 7, in from premailer.premailer import Premailer File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/premailer/__init__.py", line 2, in from .premailer import Premailer, transform # noqa File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/premailer/premailer.py", line 12, in from lxml import etree ImportError: dlopen(/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so, 2): no suitable image found. Did find: /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so: mach-o, but wrong architecture /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so: mach-o, but wrong architecture line 6 column 141 - Error: is not recognized! line 8 column 157 - Error: is not recognized! line 10 column 159 - Error: is not recognized! line 18 column 141 - Error: is not recognized! line 20 column 157 - Error: is not recognized! line 22 column 159 - Error: is not recognized! /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.6) or chardet (4.0.0) doesn't match a supported version! RequestsDependencyWarning) Traceback (most recent call last): File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/premailerize", line 7, in from premailer.premailer import Premailer File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/premailer/__init__.py", line 2, in from .premailer import Premailer, transform # noqa File "/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/premailer/premailer.py", line 12, in from lxml import etree ImportError: dlopen(/Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so, 2): no suitable image found. Did find: /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so: mach-o, but wrong architecture /Users/shoshanna/Library/Application Support/MailMate/Managed/Bundles/Premailer (Python).mmbundle/Support/vendor/lxml/etree.so: mach-o, but wrong architecture
>>
>> I copied and pasted that from the most recent instance; I was going to forward the message to this list so you could see it more directly, but the forwarded email contained not this error dump but the original message below mine, exactly as it ought to! And no correspondent has complained about seeing a mass of Python errors in what they received from me, so I suspect that it's appearing just fine to them. And as I said, this doesn't happen all the time and I don't know what causes it.
>>
>> What is happening?
>>
>> Shoshanna Green
>> shoshannag at gmail.com
>> _______________________________________________
>> mailmate mailing list
>> mailmate at lists.freron.com
>> https://lists.freron.com/listinfo/mailmate
>
>
> --
> Bill Cole
> bill at scconsult.com or billcole at apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
Shoshanna Green
shoshannag at gmail.com
More information about the mailmate
mailing list