Re: [MlMt] Python errors(?) in replies

2022-05-21 Thread Benny Kjær Nielsen
On 20 May 2022, at 22:17, Shoshanna Green wrote:

> Mailmate 1.14 (5897) running under MacOS 11.6.3 (Big Sur) on Apple Silicon 
> with a user migrated from Intel, as Bill intuited.

This is likely the problem. The combination of the M1 and Big Sur. I have only 
removed the option of Premailer on Monterey. It's probably best if I do the 
same for Big Sur.

(There's still the issue of how the error was handled. I'll contact you off 
list if I cannot reproduce it.)

-- 
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Python errors(?) in replies

2022-05-20 Thread Shoshanna Green
On 20 May 2022, at 16:00, Benny Kjær Nielsen wrote:

> If I understand correctly, the error message made its way into the generated 
> message.

It did -- although the original text was still there somehow, because if I hit 
Forward or Reply on an email with that error message, the text that should have 
been there reappeared. I'm happy to debug further off-list if that would be 
helpful.

> As Bill suggested, try explicitly selecting Juice as the inliner in the 
> Composer preferences pane. It should be the only option now (I've disabled 
> Premailer as an option due to the python issues), but it appears this might 
> not be properly enforced.

Can confirm that it is not :) I'm still able to select the Premailer (Python) 
bundle, and when I do, "Inline CSS (with Premailer)" is a valid option in the 
Composer pane.

Mailmate 1.14 (5897) running under MacOS 11.6.3 (Big Sur) on Apple Silicon with 
a user migrated from Intel, as Bill intuited.

Shoshanna Green
shoshan...@gmail.com
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Python errors(?) in replies

2022-05-20 Thread Shoshanna Green
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 
> 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 
>> 

Re: [MlMt] Python errors(?) in replies

2022-05-20 Thread Benny Kjær Nielsen
On 20 May 2022, at 21:43, Shoshanna Green wrote:

> And now someone who was cc:ed on such a reply has just reported seeing the 
> mass of Python errors in what they received (as I also did on my bcc:ed 
> copy); they see what I said but not the message I was replying to. They use 
> Thunderbird, and according to them, making as if to forward the message they 
> received from me did not reveal the original message under my response, the 
> way it does for me if I make as if to forward it in Mailmate.

If I understand correctly, the error message made its way into the generated 
message. That's naturally not supposed to happen and might be a symptom of a 
recent bug. I'll have to look into that.

As Bill suggested, try explicitly selecting Juice as the inliner in the 
Composer preferences pane. It should be the only option now (I've disabled 
Premailer as an option due to the python issues), but it appears this might not 
be properly enforced.

-- 
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Python errors(?) in replies

2022-05-20 Thread Shoshanna Green
And now someone who was cc:ed on such a reply has just reported seeing the mass 
of Python errors in what they received (as I also did on my bcc:ed copy); they 
see what I said but not the message I was replying to. They use Thunderbird, 
and according to them, making as if to forward the message they received from 
me did not reveal the original message under my response, the way it does for 
me if I make as if to forward it in Mailmate.

What on earth...

On 20 May 2022, at 15:05, Shoshanna Green wrote:

> 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
> shoshan...@gmail.com


Shoshanna Green
shoshan...@gmail.com
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Python errors(?) in replies

2022-05-20 Thread Bill Cole
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 
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
shoshan...@gmail.com
___
mailmate mailing list

[MlMt] Python errors(?) in replies

2022-05-20 Thread Shoshanna Green
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
shoshan...@gmail.com
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate