Re: Dev environment setup

Mark Hammond <[email protected]> Tue, 14 Nov 2023 22:52:55 -0500
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============6948567351262624490==
Content-Type: multipart/alternative;
 boundary="------------F9cFpzbdQBrkFBkSpSJh3CYP"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------F9cFpzbdQBrkFBkSpSJh3CYP
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I use Thunderbird now, and while its spam filtering isn't as good as my 
own personal spambayes corpus was, I find it good enough that I never 
worked out how to move spambayes to that environment.

Good luck!

Mark

On 2023-11-14 10:48 p.m., John Cherney 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 has 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 hoping something would go in the EventViewer, or in a 
> log file somewhere, but I haven’t 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 AM Mark Hammond <[email protected]> 
> 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. 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.
>
>     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 like C:/Spambayes. Given that
>         the software works under those conditions on a 64-bit machine,
>         it makes me think that there is some interaction (registry
>         key, etc) missing for Outlook 64-bit to recognize Spambayes.
>         Maybe this is something as simple as rebuilding the installer
>         on a 64-bit machine? (Ok, realistically, I’m 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: “Load
>         Behavior: Not loaded. A runtime error occurred during the
>         loading of the COM Add-in.” Where can I see that runtime
>         error? Maybe it’s a problem that’s already been solved? I
>         remember seeing some DEP related issues with Outlook and/or
>         the Spambayes plugin. I didn’t have any luck trying to disable
>         DEP on the machine or disable 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
>
--------------F9cFpzbdQBrkFBkSpSJh3CYP
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I use Thunderbird now, and while its spam filtering isn't as good
      as my own personal spambayes corpus was, I find it good enough
      that I never worked out how to move spambayes to that environment.</p>
    <p>Good luck!</p>
    <p>Mark<br>
    </p>
    <div class="moz-cite-prefix">On 2023-11-14 10:48 p.m., John Cherney
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:IA0PR11MB7354FC9E488C2257090975BCBCB1A-py0Qfd72NcxQ3j7nw2tyHJPPoyLQLiKMvxpqHgZTriW3zl9H0oFU5g@public.gmane.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	font-size:10.0pt;
	font-family:"Courier New";}span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas",serif;
	mso-ligatures:none;}span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}div.WordSection1
	{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Thank you for the info and support! <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="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 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)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">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 has 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 hoping something would go in the EventViewer, or in a
          log file somewhere, but I haven’t found anything yet.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks,<o:p></o:p></p>
        <p class="MsoNormal">jwc<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b>From:</b> Skip Montanaro
            <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> <br>
            <b>Sent:</b> Monday, November 13, 2023 2:57 PM<br>
            <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
            <b>Cc:</b> John Cherney <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>;
            <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
            <b>Subject:</b> Re: [spambayes-dev] Dev environment setup<o:p></o:p></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">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.<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">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.<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Skip<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">On Mon, Nov 13, 2023, 10:13 AM Mark
              Hammond &lt;<a href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
              wrote:<o:p></o:p></p>
          </div>
          <blockquote
style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
            <div>
              <p>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. 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.<o:p></o:p></p>
              <p>Cheers,<o:p></o:p></p>
              <p>Mark<o:p></o:p></p>
              <div>
                <p class="MsoNormal">On 2023-11-12 10:57 p.m., John
                  Cherney wrote:<o:p></o:p></p>
              </div>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <div>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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?)
                    <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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 like C:/Spambayes. Given that the software
                    works under those conditions on a 64-bit machine, it
                    makes me think that there is some interaction
                    (registry key, etc) missing for Outlook 64-bit to
                    recognize Spambayes. Maybe this is something as
                    simple as rebuilding the installer on a 64-bit
                    machine? (Ok, realistically, I’m sure someone has
                    already tried that.)<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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: “Load Behavior: Not loaded. A runtime error
                    occurred during the loading of the COM Add-in.”
                    Where can I see that runtime error? Maybe it’s a
                    problem that’s already been solved? I remember
                    seeing some DEP related issues with Outlook and/or
                    the Spambayes plugin. I didn’t have any luck trying
                    to disable DEP on the machine or disable it for
                    Outlook (per the FAQ). Any other suggestions?<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">jwc<o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                </div>
                <p class="MsoNormal"><o:p> </o:p></p>
                <pre>_______________________________________________<o:p></o:p></pre>
                <pre>spambayes-dev mailing list<o:p></o:p></pre>
                <pre><a href="mailto:[email protected]"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">[email protected]</a><o:p></o:p></pre>
                <pre><a
href="https://mail.python.org/mailman/listinfo/spambayes-dev"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">https://mail.python.org/mailman/listinfo/spambayes-dev</a><o:p></o:p></pre>
              </blockquote>
            </div>
            <p class="MsoNormal">_______________________________________________<br>
              spambayes-dev mailing list<br>
              <a href="mailto:[email protected]" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br>
              <a
href="https://mail.python.org/mailman/listinfo/spambayes-dev"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">https://mail.python.org/mailman/listinfo/spambayes-dev</a><o:p></o:p></p>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>

--------------F9cFpzbdQBrkFBkSpSJh3CYP--

--===============6948567351262624490==
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

--===============6948567351262624490==--