Re: Dev environment setup

Marko von Oppen <[email protected]> Fri, 1 Dec 2023 13:27:48 +0100
Newsgroups gmane.mail.spam.spambayes.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4542023364631380114==
Content-Type: multipart/alternative;
 boundary="------------gKZ5kIolQllf0IMWymFx00cM"
Content-Language: de-DE, en-US

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

Hello John,

in the last few days I did some additional work based on the code from here:

https://github.com/mpwillson/spambayes3

Here at least the Spambayes core functionality is already running under 
Python3 (There are other similar repositories available too).

It supports also Berkeley DB. From my understanding Berkeley DB is not 
supported anymore by modern Linux distributions like Debian. So It's not 
an option for me.

The code in the repository seems to support standard Python pickle and 
ZODB-pickle what is available  at least on modern Linux. From the 
comments in the code I assume that ZODB is the best option when you do 
not want to use a real SQL database backend but I have not used 
Zope/ZODB on Windows for nearly 20 years. So I don't know if ZODB is an 
option for you. Maybe ZODB is easy available in pip.

As I'm planning to use sb_filter.py, I re-activated MySQL as DB in the 
code there and it is running well against my old Spambayes database. 
PostgreSQL should work too.

Currently I'm working on some modernization of this code, using argparse 
instead of getopt, logging module instaed of printf(), modern string 
formatting and so on. Also I'll do some SQL optimizations ("insert ... 
on duplicate key ...", specify charset on table creation and so on).


Too I want to implement a new feature by adding support for 
"langdetect". As I get emails in different languages with overlapping 
words and very different Ham/Spam ratios I suppose tagging all words 
with the email's language could reasonable improve the results.

I'll share my changes here https://github.com/mvoppen/spambayes3 soon.


BR

Marko



Am 01.12.2023 um 02:39 schrieb John Cherney:
>
> I think I’ve gotten most of the code converted to Python 3.12. I’m at 
> the point now where I have to get the database working. It looks like 
> bsddb is only supported up to 3.9. Its replacement is berkeleydb from 
> Oracle, but I’d need to set up an account to download the installer. 
> I’m assuming berkeleydb is freeware and redistributable, but I’d have 
> to look into that. Before I go that far, though, is there a different 
> database (maybe one already built into python, or a python friendly 
> db) that you would recommend? Ideally, the db would be just a drop-in 
> replacement for bsddb.
>
> Thanks,
>
> jwc
>
> *From:* John Cherney <[email protected]>
> *Sent:* Saturday, November 18, 2023 6:07 PM
> *To:* Marko von Oppen <[email protected]>; Skip Montanaro 
> <[email protected]>; [email protected]
> *Cc:* [email protected]
> *Subject:* RE: [spambayes-dev] Dev environment setup
>
> Thank you, Marko! That did help. I found DebugView at 
> https://learn.microsoft.com/en-us/sysinternals/downloads/debugview. 
> When I re-enable the spambayes add-in, I see the errors pop up in the 
> debugview window. At this point, I haven’t had to install anything 
> new. I’m playing around with the PATH and PYTHONPATH so the modules 
> are found, and then adjusting code to python3. Fortunately, the 
> changes fall within my limited knowledge of python and ability to 
> google. It isn’t fast progress, but it’s progress.
>
> For your other question: Spambayes with Python3, there is none that I 
> could find. I’m hoping it’s just syntax changes that are required to 
> get this running on a 64-bit MS Office install with Python3.
>
> Thanks!
>
> jwc
>
> *From:* Marko von Oppen <[email protected]>
> *Sent:* Thursday, November 16, 2023 7:38 PM
> *To:* John Cherney <[email protected]>; Skip Montanaro 
> <[email protected]>; [email protected]
> *Cc:* [email protected]
> *Subject:* Re: [spambayes-dev] Dev environment setup
>
> Hello jwc,
>
> some 15 years ago I was a little bit involved in the development of 
> the Outlook plugin. I do not remember much because I also switched to 
> Thunderbird in 2007 and have not used Outlook since that nor did I 
> develop anything for Windows since that except some Python console 
> scripting.
>
> I remember one thing, when you write that you see no output. In the 
> development tools at that time there existed a Windows function 
> "OutputDebugMsg()" and an application from Microsoft named "Debug 
> Monitor" catching all debug output. If I remember correctly things 
> like Python exceptions where redirected to that application if no 
> other debugger running.
>
> I do not know if this mechanism still exists in modern Windows but 
> maybe it could be a hint where to start searching.
>
> BR
>
> Marko
>
> Am 15.11.2023 um 04:48 schrieb John Cherney:
>
>     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]>
>     <mailto:[email protected]>
>     *Sent:* Monday, November 13, 2023 2:57 PM
>     *To:* [email protected]
>     *Cc:* John Cherney <[email protected]>
>     <mailto:[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
>
>     _______________________________________________
>
>     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
-- 

*Marko von Oppen - Technische Software*
Nürnberger Str. 43, 01187 Dresden
fon +49 (0)351 21118511, fax +49 (0)351 27229679
e-mail [email protected] web www.von-oppen.com 
<https://www.von-oppen.com/>

--------------gKZ5kIolQllf0IMWymFx00cM
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><font face="Calibri">Hello John,</font></p>
    <p><font face="Calibri">in the last few days I did some additional
        work based on the code from here:</font></p>
    <p><font face="Calibri"><a
          href="https://github.com/mpwillson/spambayes3"
          class="moz-txt-link-freetext">https://github.com/mpwillson/spambayes3</a></font></p>
    <p><font face="Calibri">Here at least the Spambayes core
        functionality is already running under Python3 (There are other
        similar repositories available too).<br>
      </font></p>
    <p><font face="Calibri">It supports also Berkeley DB. From my
        understanding Berkeley DB is not supported anymore by modern
        Linux distributions like Debian. So It's not an option for me.<br>
      </font></p>
    <p><font face="Calibri">The code in the repository seems to support
        standard Python pickle and ZODB-pickle what is available  at
        least on modern Linux. </font><font face="Calibri">From the
        comments in the code I assume that ZODB is the best option when
        you do not want to use a real SQL database backend but I h</font><font
        face="Calibri">ave not used Zope/ZODB on Windows for nearly 20
        years. So I don't know if ZODB is an option for you. Maybe ZODB
        is easy available in pip. <br>
      </font></p>
    <p><font face="Calibri">As I'm planning to use </font><font
        face="Courier New, Courier, monospace">sb_filter.py</font><font
        face="Calibri">, I re-activated MySQL as DB in the code there
        and it is running well against my old Spambayes database.
        PostgreSQL should work too.<br>
      </font></p>
    <p><font face="Calibri">Currently I'm working on some modernization
        of this code, using </font><font
        face="Courier New, Courier, monospace">argparse </font><font
        face="Calibri">instead of </font><font
        face="Courier New, Courier, monospace">getopt</font><font
        face="Calibri">, </font><font
        face="Courier New, Courier, monospace">logging </font><font
        face="Calibri">module instaed of </font><font
        face="Courier New, Courier, monospace">printf()</font><font
        face="Calibri">, modern string formatting and so on. Also I'll
        do some SQL optimizations ("</font><font
        face="Courier New, Courier, monospace">insert ... on duplicate
        key ...</font><font face="Calibri">", specify charset on table
        creation and so on).</font></p>
    <p><font face="Calibri"><br>
      </font></p>
    <p><font face="Calibri">Too I want to implement a new feature by
        adding support for "</font><font
        face="Courier New, Courier, monospace">langdetect</font><font
        face="Calibri">". As I get emails in different languages with
        overlapping words and very different Ham/Spam ratios I suppose
        tagging all words with the email's language could reasonable
        improve the results.<br>
      </font></p>
    <p><font face="Calibri">I'll share my changes here <a
          href="https://github.com/mvoppen/spambayes3"
          class="moz-txt-link-freetext">https://github.com/mvoppen/spambayes3</a>
        soon.</font></p>
    <p><font face="Calibri"><br>
      </font></p>
    <p><font face="Calibri">BR</font></p>
    <p><font face="Calibri">Marko<br>
      </font></p>
    <p><font face="Calibri"><br>
      </font></p>
    <p><font face="Calibri"><br>
      </font></p>
    <div class="moz-cite-prefix">Am 01.12.2023 um 02:39 schrieb John
      Cherney:<br>
    </div>
    <blockquote type="cite"
cite="mid:IA0PR11MB73542734007D5F1D3E90708BBC81A-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;
	mso-ligatures:none;}span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}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">I think I’ve gotten most of the code
          converted to Python 3.12. I’m at the point now where I have to
          get the database working. It looks like bsddb is only
          supported up to 3.9. Its replacement is berkeleydb from
          Oracle, but I’d need to set up an account to download the
          installer. I’m assuming berkeleydb is freeware and
          redistributable, but I’d have to look into that. Before I go
          that far, though, is there a different database (maybe one
          already built into python, or a python friendly db) that you
          would recommend? Ideally, the db would be just a drop-in
          replacement for bsddb.
          <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>
          <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> John Cherney
              <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> <br>
              <b>Sent:</b> Saturday, November 18, 2023 6:07 PM<br>
              <b>To:</b> Marko von Oppen <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>;
              Skip Montanaro <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>Cc:</b> <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>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thank you, Marko! That did help. I found
          DebugView at <a
href="https://learn.microsoft.com/en-us/sysinternals/downloads/debugview"
            moz-do-not-send="true" class="moz-txt-link-freetext">
https://learn.microsoft.com/en-us/sysinternals/downloads/debugview</a>.
          When I re-enable the spambayes add-in, I see the errors pop up
          in the debugview window. At this point, I haven’t had to
          install anything new. I’m playing around with the PATH and
          PYTHONPATH so the modules are found, and then adjusting code
          to python3. Fortunately, the changes fall within my limited
          knowledge of python and ability to google. It isn’t fast
          progress, but it’s progress.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">For your other question: Spambayes with
          Python3, there is none that I could find. I’m hoping it’s just
          syntax changes that are required to get this running on a
          64-bit MS Office install with Python3.
          <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>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> Marko von Oppen &lt;<a
                href="mailto:[email protected]" moz-do-not-send="true"
                class="moz-txt-link-freetext">[email protected]</a>&gt;
              <br>
              <b>Sent:</b> Thursday, November 16, 2023 7:38 PM<br>
              <b>To:</b> John Cherney &lt;<a
                href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;;
              Skip Montanaro &lt;<a
                href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;;
              <a href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br>
              <b>Cc:</b> <a href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br>
              <b>Subject:</b> Re: [spambayes-dev] Dev environment setup<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p>Hello jwc,<o:p></o:p></p>
        <p>some 15 years ago I was a little bit involved in the
          development of the Outlook plugin. I do not remember much
          because I also switched to Thunderbird in 2007 and have not
          used Outlook since that nor did I develop anything for Windows
          since that except some Python console scripting.<o:p></o:p></p>
        <p>I remember one thing, when you write that you see no output.
          In the development tools at that time there existed a Windows
          function "OutputDebugMsg()" and an application from Microsoft
          named "Debug Monitor" catching all debug output. If I remember
          correctly things like Python exceptions where redirected to
          that application if no other debugger running.<o:p></o:p></p>
        <p>I do not know if this mechanism still exists in modern
          Windows but maybe it could be a hint where to start searching.<o:p></o:p></p>
        <p>BR<o:p></o:p></p>
        <p>Marko<o:p></o:p></p>
        <p><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Am 15.11.2023 um 04:48 schrieb John
            Cherney:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <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
                href="mailto:[email protected]"
                moz-do-not-send="true">
                &lt;[email protected]&gt;</a> <br>
              <b>Sent:</b> Monday, November 13, 2023 2:57 PM<br>
              <b>To:</b> <a href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a><br>
              <b>Cc:</b> John Cherney <a
                href="mailto:[email protected]"
                moz-do-not-send="true">&lt;[email protected]&gt;</a>;
              <a href="mailto:[email protected]"
                moz-do-not-send="true" class="moz-txt-link-freetext">[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-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
              <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>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><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]"
          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"
          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"><o:p> </o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
spambayes-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/spambayes-dev">https://mail.python.org/mailman/listinfo/spambayes-dev</a>
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <p><strong style="color: #0c16f9">Marko von Oppen - Technische
          Software</strong><br>
        Nürnberger Str. 43, 01187 Dresden<br>
        fon +49 (0)351 21118511,
        fax +49 (0)351 27229679<br>
        e-mail <a style="text-decoration: none; color: #0c16f9;"
          href="mailto:[email protected]"
          class="moz-txt-link-freetext">[email protected]</a> web
        <a style="text-decoration: none; color: #0c16f9;"
          href="https://www.von-oppen.com/">www.von-oppen.com</a>
      </p>
    </div>
  </body>
</html>

--------------gKZ5kIolQllf0IMWymFx00cM--

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

--===============4542023364631380114==--