Re: Dev environment setup

Skip Montanaro <[email protected]> Wed, 15 Nov 2023 11:16:02 -0600
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <CANc-5UyOd1yvUqjF3=_ZviDTUtzAqA0n2A-P_XvT-UJn3Ff-UA@mail.gmail.com>
--===============8021594514140828289==
Content-Type: multipart/alternative; boundary="000000000000654d76060a340fa2"

--000000000000654d76060a340fa2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I've never done anything with Windows. Based on questions asked in the
SpamBayes-related mailing lists, it seems most usage these days does come
from Outlook users, who by-in-large aren't developers.

Aside: Given that other email providers have implemented satisfactory spam
filters (Gmail, Thunderbird, even Yahoo!), it's always struck me as odd
that Microsoft hasn't seen fit to provide something for Outlook users.

Skip

On Tue, Nov 14, 2023, 9:48=E2=80=AFPM John Cherney <[email protected]> =
wrote:

> Thank you for the info and support!
>
>
>
> Do either of you use the Outlook client, and if so, can you suggest and
> alternate spam filter? I agree gmail does a great job keeping out spam. I
> want to still use the Outlook client for my Microsoft email accounts.
> (Although I suppose I could be convinced to use their web client, but I
> think its spam filtering is just like the Outlook client)
>
>
>
> With the help of Google and StackOverflow, I was able to get the local
> code running with Python3.12 and get the Add In gets registered. But it h=
as
> the same issue as with the original 1.1a6 install. Outlook complains that
> there is a runtime error on loading of the Add In, and the add-in is
> disabled. Any ideas on where I could go to see that exception? I was hopi=
ng
> something would go in the EventViewer, or in a log file somewhere, but I
> haven=E2=80=99t found anything yet.
>
>
>
> Thanks,
>
> jwc
>
>
>
> *From:* Skip Montanaro <[email protected]>
> *Sent:* Monday, November 13, 2023 2:57 PM
> *To:* [email protected]
> *Cc:* John Cherney <[email protected]>; [email protected]
> *Subject:* Re: [spambayes-dev] Dev environment setup
>
>
>
> Thanks for responding Mark. As you indicated, SpamBayes has been on
> long-term hiatus. The biggest impressive for me are a) Gmail does a good
> job, and b) I've so far been unable to convince anyone with Windows
> packaging experience to update that side of things.
>
>
>
> That said, porting most of it to Python 3 isn't likely to be all that
> difficult. A couple of us have taken partial cracks at it.
>
>
>
> Skip
>
>
>
> On Mon, Nov 13, 2023, 10:13=E2=80=AFAM Mark Hammond <skippy.hammond@gmail=
.com>
> wrote:
>
> I don't think SpamBayes has any current developers and most work dried up
> even before Python 3 was ready. Modern Outlook also hasn't been tested. S=
o
> I suspect you are probably on your own here, but those of us left holding
> the keys would be happy to arrange any doc etc changes you might make get
> committed if possible.
>
> Cheers,
>
> Mark
>
> On 2023-11-12 10:57 p.m., John Cherney wrote:
>
> Is there a recommended set of versions of tools and libraries for
> Spambayes development? (In particular, is there a recommended setup for
> python 3.x?)
>
>
>
> I would like to get Spambayes to work on a Windows 10 64-bit machine. The
> current recommendation works on my machine: Use the 32-bit version of
> Office 365 Outlook and install Spambayes into a non-standard directory li=
ke
> C:/Spambayes. Given that the software works under those conditions on a
> 64-bit machine, it makes me think that there is some interaction (registr=
y
> key, etc) missing for Outlook 64-bit to recognize Spambayes. Maybe this i=
s
> something as simple as rebuilding the installer on a 64-bit machine? (Ok,
> realistically, I=E2=80=99m sure someone has already tried that.)
>
>
>
> Additionally, is there any way to see the runtime error being generated?
> Outlook 64-bit recognizes that Spambayes is there but generates this
> message in the Add-ins window: =E2=80=9CLoad Behavior: Not loaded. A runt=
ime error
> occurred during the loading of the COM Add-in.=E2=80=9D Where can I see t=
hat
> runtime error? Maybe it=E2=80=99s a problem that=E2=80=99s already been s=
olved? I remember
> seeing some DEP related issues with Outlook and/or the Spambayes plugin. =
I
> didn=E2=80=99t have any luck trying to disable DEP on the machine or disa=
ble it for
> Outlook (per the FAQ). Any other suggestions?
>
>
>
> Thanks,
>
> jwc
>
>
>
>
>
>
>
> _______________________________________________
>
> spambayes-dev mailing list
>
> [email protected]
>
> https://mail.python.org/mailman/listinfo/spambayes-dev
>
> _______________________________________________
> spambayes-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/spambayes-dev
>
>

--000000000000654d76060a340fa2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I&#39;ve never done anything with Windows. Based on quest=
ions asked in the SpamBayes-related mailing lists, it seems most usage thes=
e days does come from Outlook users, who by-in-large aren&#39;t developers.=
<div dir=3D"auto"><br></div><div dir=3D"auto">Aside: Given that other email=
 providers have implemented satisfactory spam filters (Gmail, Thunderbird, =
even Yahoo!), it&#39;s always struck me as odd that Microsoft hasn&#39;t se=
en fit to provide something for Outlook users.</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">Skip</div></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Tue, Nov 14, 2023, 9:48=E2=80=AFPM John=
 Cherney &lt;<a href=3D"mailto:[email protected]">[email protected]=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:break=
-word">
<div class=3D"m_4676667353909634380WordSection1">
<p class=3D"MsoNormal">Thank you for the info and support! <u></u><u></u></=
p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Do either of you use the Outlook client, and if so, =
can you suggest and alternate spam filter? I agree gmail does a great job k=
eeping out spam. I want to still use the Outlook client for my Microsoft em=
ail accounts. (Although I suppose
 I could be convinced to use their web client, but I think its spam filteri=
ng is just like the Outlook client)<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">With the help of Google and StackOverflow, I was abl=
e to get the local code running with Python3.12 and get the Add In gets reg=
istered. But it has the same issue as with the original 1.1a6 install. Outl=
ook complains that there is a runtime
 error on loading of the Add In, and the add-in is disabled. Any ideas on w=
here I could go to see that exception? I was hoping something would go in t=
he EventViewer, or in a log file somewhere, but I haven=E2=80=99t found any=
thing yet.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal">jwc<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div style=3D"border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Skip Montanaro &lt;<a href=3D"mailto:sk=
[email protected]" target=3D"_blank" rel=3D"noreferrer">skip.montanaro=
@gmail.com</a>&gt; <br>
<b>Sent:</b> Monday, November 13, 2023 2:57 PM<br>
<b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank" r=
el=3D"noreferrer">[email protected]</a><br>
<b>Cc:</b> John Cherney &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]</a>&gt;; <a href=3D"ma=
ilto:[email protected]" target=3D"_blank" rel=3D"noreferrer">spambay=
[email protected]</a><br>
<b>Subject:</b> Re: [spambayes-dev] Dev environment setup<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Thanks for responding Mark. As you indicated, SpamBa=
yes has been on long-term hiatus. The biggest impressive for me are a) Gmai=
l does a good job, and b) I&#39;ve so far been unable to convince anyone wi=
th Windows packaging experience to update
 that side of things.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">That said, porting most of it to Python 3 isn&#39;t =
likely to be all that difficult. A couple of us have taken partial cracks a=
t it.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Skip<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Mon, Nov 13, 2023, 10:13=E2=80=AFAM Mark Hammond =
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"no=
referrer">[email protected]</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p>I don&#39;t think SpamBayes has any current developers and most work dri=
ed up even before Python 3 was ready. Modern Outlook also hasn&#39;t been t=
ested. So I suspect you are probably on your own here, but those of us left=
 holding the keys would be happy to arrange
 any doc etc changes you might make get committed if possible.<u></u><u></u=
></p>
<p>Cheers,<u></u><u></u></p>
<p>Mark<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">On 2023-11-12 10:57 p.m., John Cherney wrote:<u></u>=
<u></u></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal">Is there a recommended set of versions of tools and =
libraries for Spambayes development? (In particular, is there a recommended=
 setup for python 3.x?)
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">I would like to get Spambayes to work on a Windows 1=
0 64-bit machine. The current recommendation works on my machine: Use the 3=
2-bit version of Office 365 Outlook and install Spambayes
 into a non-standard directory like C:/Spambayes. Given that the software w=
orks under those conditions on a 64-bit machine, it makes me think that the=
re is some interaction (registry key, etc) missing for Outlook 64-bit to re=
cognize Spambayes. Maybe this is
 something as simple as rebuilding the installer on a 64-bit machine? (Ok, =
realistically, I=E2=80=99m sure someone has already tried that.)<u></u><u><=
/u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Additionally, is there any way to see the runtime er=
ror being generated? Outlook 64-bit recognizes that Spambayes is there but =
generates this message in the Add-ins window: =E2=80=9CLoad
 Behavior: Not loaded. A runtime error occurred during the loading of the C=
OM Add-in.=E2=80=9D Where can I see that runtime error? Maybe it=E2=80=99s =
a problem that=E2=80=99s already been solved? I remember seeing some DEP re=
lated issues with Outlook and/or the Spambayes plugin. I
 didn=E2=80=99t have any luck trying to disable DEP on the machine or disab=
le it for Outlook (per the FAQ). Any other suggestions?<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal">jwc<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>spambayes-dev mailing list<u></u><u></u></pre>
<pre><a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"n=
oreferrer">[email protected]</a><u></u><u></u></pre>
<pre><a href=3D"https://mail.python.org/mailman/listinfo/spambayes-dev" tar=
get=3D"_blank" rel=3D"noreferrer">https://mail.python.org/mailman/listinfo/=
spambayes-dev</a><u></u><u></u></pre>
</blockquote>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
spambayes-dev mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"norefe=
rrer">[email protected]</a><br>
<a href=3D"https://mail.python.org/mailman/listinfo/spambayes-dev" target=
=3D"_blank" rel=3D"noreferrer">https://mail.python.org/mailman/listinfo/spa=
mbayes-dev</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>

--000000000000654d76060a340fa2--

--===============8021594514140828289==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
spambayes-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/spambayes-dev

--===============8021594514140828289==--