From jwcherney at hotmail.com Sun Nov 12 22:57:47 2023 From: jwcherney at hotmail.com (John Cherney) Date: Mon, 13 Nov 2023 03:57:47 +0000 Subject: [spambayes-dev] Dev environment setup Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From skippy.hammond at gmail.com Mon Nov 13 11:13:17 2023 From: skippy.hammond at gmail.com (Mark Hammond) Date: Mon, 13 Nov 2023 11:13:17 -0500 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: Message-ID: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> 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 > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip.montanaro at gmail.com Mon Nov 13 14:57:09 2023 From: skip.montanaro at gmail.com (Skip Montanaro) Date: Mon, 13 Nov 2023 13:57:09 -0600 Subject: [spambayes-dev] Dev environment setup In-Reply-To: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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 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 listspambayes-dev at python.orghttps://mail.python.org/mailman/listinfo/spambayes-dev > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwcherney at hotmail.com Tue Nov 14 22:48:56 2023 From: jwcherney at hotmail.com (John Cherney) Date: Wed, 15 Nov 2023 03:48:56 +0000 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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 Sent: Monday, November 13, 2023 2:57 PM To: mhammond at skippinet.com.au Cc: John Cherney ; spambayes-dev at python.org 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 > 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 spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev _______________________________________________ spambayes-dev mailing list spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhammond at skippinet.com.au Tue Nov 14 22:52:55 2023 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue, 14 Nov 2023 22:52:55 -0500 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: <16178610-8a25-4b31-ad99-2e19c9499cfa@skippinet.com.au> 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 > *Sent:* Monday, November 13, 2023 2:57 PM > *To:* mhammond at skippinet.com.au > *Cc:* John Cherney ; spambayes-dev at python.org > *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 > 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 > > spambayes-dev at python.org > > https://mail.python.org/mailman/listinfo/spambayes-dev > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip.montanaro at gmail.com Wed Nov 15 12:16:02 2023 From: skip.montanaro at gmail.com (Skip Montanaro) Date: Wed, 15 Nov 2023 11:16:02 -0600 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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?PM 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 > *Sent:* Monday, November 13, 2023 2:57 PM > *To:* mhammond at skippinet.com.au > *Cc:* John Cherney ; spambayes-dev at python.org > *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 > 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 > > spambayes-dev at python.org > > https://mail.python.org/mailman/listinfo/spambayes-dev > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony.meyer at gmail.com Wed Nov 15 21:16:25 2023 From: tony.meyer at gmail.com (Tony Meyer) Date: Thu, 16 Nov 2023 15:16:25 +1300 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: > 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. I think the expectation these days is that Outlook users are generally using M365 (or maybe hosted Exchange) and so they have EOP, Defender for 365, or something similar. Ng? mihi, Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From marko at von-oppen.com Thu Nov 16 19:38:09 2023 From: marko at von-oppen.com (Marko von Oppen) Date: Fri, 17 Nov 2023 01:38:09 +0100 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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 > *Sent:* Monday, November 13, 2023 2:57 PM > *To:* mhammond at skippinet.com.au > *Cc:* John Cherney ; spambayes-dev at python.org > *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 > 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 > > spambayes-dev at python.org > > https://mail.python.org/mailman/listinfo/spambayes-dev > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev > > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > https://mail.python.org/mailman/listinfo/spambayes-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From marko at von-oppen.com Fri Nov 17 12:40:21 2023 From: marko at von-oppen.com (Marko von Oppen) Date: Fri, 17 Nov 2023 18:40:21 +0100 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: Currently I'm not aware of the Spambayes status. I do not use external email providers but I'm hosting the complete mail infrastructure myself. Over many years it worked nearly perfect for me. The main setup was Debian+Exim4+Procmail+Spamassassin+some own scripts+Spambayes. Together Spamassassin and Spambayes were nearly 100 percent effective. This was broken when Spambayes fell out after Python 2 was removed by Debian and I did not want to let Python 2 on the system alone for Spambayes. So currently I'm running Spamassassin alone but this by far not so good as the previous setup. My question is: How far is Spambayes for Python 3? Some people reported a running port to Python 3 but it is not clear to me what exactly from Spambayes is running and how well it is doing. Could there give somebody a overview about Spambayes on Python 3? Thanks and best regards Marko Am 15.11.2023 um 18:16 schrieb Skip Montanaro: > 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 From jwcherney at hotmail.com Sat Nov 18 18:06:43 2023 From: jwcherney at hotmail.com (John Cherney) Date: Sat, 18 Nov 2023 23:06:43 +0000 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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 Sent: Thursday, November 16, 2023 7:38 PM To: John Cherney ; Skip Montanaro ; mhammond at skippinet.com.au Cc: spambayes-dev at python.org 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 Sent: Monday, November 13, 2023 2:57 PM To: mhammond at skippinet.com.au Cc: John Cherney ; spambayes-dev at python.org 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 > 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 spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev _______________________________________________ spambayes-dev mailing list spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev _______________________________________________ spambayes-dev mailing list spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwcherney at hotmail.com Thu Nov 30 20:39:58 2023 From: jwcherney at hotmail.com (John Cherney) Date: Fri, 1 Dec 2023 01:39:58 +0000 Subject: [spambayes-dev] Dev environment setup In-Reply-To: References: <63b1f2a8-6f8a-4160-bdfa-b5949a276d2d@gmail.com> Message-ID: 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 Sent: Saturday, November 18, 2023 6:07 PM To: Marko von Oppen ; Skip Montanaro ; mhammond at skippinet.com.au Cc: spambayes-dev at python.org 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 > Sent: Thursday, November 16, 2023 7:38 PM To: John Cherney >; Skip Montanaro >; mhammond at skippinet.com.au Cc: spambayes-dev at python.org 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 Sent: Monday, November 13, 2023 2:57 PM To: mhammond at skippinet.com.au Cc: John Cherney ; spambayes-dev at python.org 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 > 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 spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev _______________________________________________ spambayes-dev mailing list spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev _______________________________________________ spambayes-dev mailing list spambayes-dev at python.org https://mail.python.org/mailman/listinfo/spambayes-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: