From noreply at sourceforge.net Fri Jul 4 19:56:51 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 5 00:44:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-19 21:12 Message generated for change (Comment added) made by rdesantos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- >Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-23 12:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-22 22:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-22 19:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Fri Jul 4 19:57:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 5 00:44:40 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-19 21:12 Message generated for change (Comment added) made by rdesantos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- >Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-23 12:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-22 22:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-22 19:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Fri Jul 4 21:48:28 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 5 00:44:41 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-19 21:12 Message generated for change (Comment added) made by rdesantos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- >Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 23:48 Message: Logged In: YES user_id=782486 Addendum: following my earlier post today I discovered release 3 of the code had been made. I retested install with the binary and it failed again with an error in the regsvr: DllRegisterServer ... failed Return Code was 0x80040201 with this in the log file: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 71, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I also tried the Python/open source install and it also fails with an error that "Outlook 2000 is not installed on this machine"... well, no isn't. Outlook 2002 (XP) is! I'd love to try out this program but if I can't get it to install I guess I'll never find out. -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-23 12:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-22 22:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-22 19:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Sun Jul 6 09:29:26 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 6 20:05:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 20:44 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Nobody/Anonymous (nobody) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 11:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 00:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 13:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Sun Jul 6 10:39:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 6 20:05:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-766750 ] Source install fails on Office XP Message-ID: Bugs item #766750, was opened at 2003-07-06 12:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Hall Stevenson (hallstevenson) Assigned to: Nobody/Anonymous (nobody) Summary: Source install fails on Office XP Initial Comment: I've been trying and trying to get the binary install to work since upgrading from Outlook 2000 to Outlook XP with no success. So, I tried the source version.... Downloaded and installed Python, the Win32 extensions, and the zip file for Spambayes. Running "addin.py" opens a DOS console that quickly (too quickly) flashes an error message. It took me about six runs to read part of the message. I then located it in the 'addin.py' source file. It's this one: "This Addin requires that Outlook 2000 be installed on this machine." "This appears to not be installed due to the following error:" Apparently it's failing 'cause of not finding something related to this: universal.RegisterInterfaces('{AC0714F2-3D04-11D1- AE7D-00A0C90F26F4}) Part of that is a registry key, I assume. I *do* have that registry key and it has quite a few sub-keys... here's one of the values in a sub-key: MSAddnDr.AddInDesigner.1 My next attempt will be uninstalling Office XP and then using some Office clean-up tools I've read about from Microsoft's website. Will report back... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 From noreply at sourceforge.net Sun Jul 6 12:10:44 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 6 20:05:01 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-766750 ] Source install fails on Office XP Message-ID: Bugs item #766750, was opened at 2003-07-06 12:39 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Hall Stevenson (hallstevenson) Assigned to: Nobody/Anonymous (nobody) Summary: Source install fails on Office XP Initial Comment: I've been trying and trying to get the binary install to work since upgrading from Outlook 2000 to Outlook XP with no success. So, I tried the source version.... Downloaded and installed Python, the Win32 extensions, and the zip file for Spambayes. Running "addin.py" opens a DOS console that quickly (too quickly) flashes an error message. It took me about six runs to read part of the message. I then located it in the 'addin.py' source file. It's this one: "This Addin requires that Outlook 2000 be installed on this machine." "This appears to not be installed due to the following error:" Apparently it's failing 'cause of not finding something related to this: universal.RegisterInterfaces('{AC0714F2-3D04-11D1- AE7D-00A0C90F26F4}) Part of that is a registry key, I assume. I *do* have that registry key and it has quite a few sub-keys... here's one of the values in a sub-key: MSAddnDr.AddInDesigner.1 My next attempt will be uninstalling Office XP and then using some Office clean-up tools I've read about from Microsoft's website. Will report back... ---------------------------------------------------------------------- >Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 14:10 Message: Logged In: YES user_id=120676 Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 From noreply at sourceforge.net Sun Jul 6 12:11:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 6 20:05:02 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 20:44 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Nobody/Anonymous (nobody) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 14:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 11:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 00:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 13:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Sun Jul 6 16:59:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 6 20:05:03 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747107 ] SpamBayes leaves duplicate messages Message-ID: Bugs item #747107, was opened at 2003-06-02 06:28 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes leaves duplicate messages Initial Comment: I am subscribed to a number of different mailing lists, and I have a number of Outlook rules (set up via Rules Wizard) to route the different mailing lists into different folders. When the rules are of the form: Apply this rule after the message arrives with in the subject move it to the folder and a matching message comes in, SpamBayes seems to leave multiple copies of that message in the inbox. This is very frustrating. If the rule is of the form: Apply this rule after the message arrives sent to move it to the folder and a matching message comes in, duplicate messages do not occur. So it seems to be some sort of odd interaction with Outlook Rules. I'm running Outlook 2002 SP 2 on Windows XP SP 1a (with current hotfixes). ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-07 10:59 Message: Logged In: YES user_id=552329 No, installing 003 over the top of 002 should work fine. I don't have any more answers, sorry, but no doubt Mark will look into this when he gets a chance. Stay tuned! ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-05 09:51 Message: Logged In: YES user_id=783913 Anadelon: Outlook junk mail rules are turned off; spam is Moved to Junk Mail. I just ran the release 003 of the plugin, and I'm still seeing the problem. (I didn't bother uninstalling release 002 - is that a problem?) Eric ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-05 03:08 Message: Logged In: YES user_id=18879 It appears the problem lies between the keyboard and chair. :) I seem to have overlooked the option to move messages instead of copying. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:50 Message: Logged In: YES user_id=552329 In addition, the log file seems to indicate that you are using release 002 of the plugin. If you haven't already, could you try release 003 and let us know if the problem still occurs? Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:46 Message: Logged In: YES user_id=552329 Eric, do you have the Outlook junk mail rules turned on? If you do, would both of you be able to try turning them off (they aren't all that much use if you are using spambayes anyway), and seeing if this resolves the problem? In addition, forgive me if you've checked this, but in the spambayes filter setup, do you have "move" selected rather than "copy"? (It's an odd problem that IIRC we have heard before, but I'm using the same version of Windows and Outlook, and have rules of that form, and don't notice this problem). ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-04 03:32 Message: Logged In: YES user_id=18879 I am also having this problem. I have not tested it with various rule types, but I believe it is occurring in conjunction with the Outlook "Junk E-mail" feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 From noreply at sourceforge.net Mon Jul 7 10:09:45 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 7 12:10:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765256 ] train does not work Message-ID: Bugs item #765256, was opened at 2003-07-03 11:37 Message generated for change (Comment added) made by ganssauge You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: hans mueller (modifier) Assigned to: Mark Hammond (mhammond) Summary: train does not work Initial Comment: hi, after choosing the right directories in the "train now" form, an pressing the train button nothing happens... german outlook xp! modi ---------------------------------------------------------------------- Comment By: Gottfried Gan?auge (ganssauge) Date: 2003-07-07 16:09 Message: Logged In: YES user_id=792746 I could verify the behaviour which indeed is quite strange. When starting the training session the progress bar is set up by calling Progress.set_stages in dialogs/AsyncDialog.py. There the assertion in the last line fires because start_pos - 1.0 is not less than 0.001. After a fair bit of trying I came to the conclusion that floating point literals within the python source text are not correctly parsed. It was possible to verify that by asserting 1.0 == float(1). VERY STRANGE INDEED. Changing the locale didn't help at all. I could avoid that particular error by generating floating point constants using the float() builtin. For example I defined 0.001 as (float(1) / float(1000)). ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:41 Message: Logged In: YES user_id=738765 Topic similar to 765912. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 03:43 Message: Logged In: YES user_id=552329 There are some issues with Outlook with non-English locales. We have made some movement towards fixing these, but a definitive fix has eluded us so far. If you could attach your log file to this tracker, that would certainly help. Instructions about how to find it are in the troubleshooting.html file (which you can get to via the "about.html" file from the main manager dialog). Also - are you using the 003 or 002 binary, or source? If you are using the 002 binary, please check to see if this still happens with the 003 release, and attach the log file from that execution if it does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 From noreply at sourceforge.net Mon Jul 7 14:00:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 7 16:01:15 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765256 ] train does not work Message-ID: Bugs item #765256, was opened at 2003-07-03 13:37 Message generated for change (Comment added) made by tvrs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: hans mueller (modifier) Assigned to: Mark Hammond (mhammond) Summary: train does not work Initial Comment: hi, after choosing the right directories in the "train now" form, an pressing the train button nothing happens... german outlook xp! modi ---------------------------------------------------------------------- Comment By: Thomas Verschuren (tvrs) Date: 2003-07-07 22:00 Message: Logged In: YES user_id=810345 Same problem here, dutch outlook XP... Logfile show the following: Loaded bayes database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Saving configuration -> C:\Documents and Settings\ThomasV\Application Data\SpamBayes\Outlook.ini Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Gottfried Gan?auge (ganssauge) Date: 2003-07-07 18:09 Message: Logged In: YES user_id=792746 I could verify the behaviour which indeed is quite strange. When starting the training session the progress bar is set up by calling Progress.set_stages in dialogs/AsyncDialog.py. There the assertion in the last line fires because start_pos - 1.0 is not less than 0.001. After a fair bit of trying I came to the conclusion that floating point literals within the python source text are not correctly parsed. It was possible to verify that by asserting 1.0 == float(1). VERY STRANGE INDEED. Changing the locale didn't help at all. I could avoid that particular error by generating floating point constants using the float() builtin. For example I defined 0.001 as (float(1) / float(1000)). ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 00:41 Message: Logged In: YES user_id=738765 Topic similar to 765912. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 05:43 Message: Logged In: YES user_id=552329 There are some issues with Outlook with non-English locales. We have made some movement towards fixing these, but a definitive fix has eluded us so far. If you could attach your log file to this tracker, that would certainly help. Instructions about how to find it are in the troubleshooting.html file (which you can get to via the "about.html" file from the main manager dialog). Also - are you using the 003 or 002 binary, or source? If you are using the 002 binary, please check to see if this still happens with the 003 release, and attach the log file from that execution if it does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 From noreply at sourceforge.net Mon Jul 7 15:52:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 7 17:52:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 04:28 Message generated for change (Comment added) made by gokubi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 14:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-03 22:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 05:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 08:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 08:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 02:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 01:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-07 19:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 04:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Mon Jul 7 17:37:46 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 7 19:37:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765256 ] train does not work Message-ID: Bugs item #765256, was opened at 2003-07-03 23:37 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: hans mueller (modifier) Assigned to: Mark Hammond (mhammond) Summary: train does not work Initial Comment: hi, after choosing the right directories in the "train now" form, an pressing the train button nothing happens... german outlook xp! modi ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-08 11:37 Message: Logged In: YES user_id=552329 This does sound like (another) locale problem. The problem is that float literals in the code are written like "3.14159", but some locales expect them to be written like "3,14159", and so the wrong number is read. The way around this that was used was that the locale was set to English quite early on. One problem, though, is that calling certain Outlook functions switches the locale back (sigh). I'll look into this again when I get a chance. Note that this is more-or-less the same as the "Include a proper locale fix in Options.py" bug tracker. ---------------------------------------------------------------------- Comment By: Thomas Verschuren (tvrs) Date: 2003-07-08 08:00 Message: Logged In: YES user_id=810345 Same problem here, dutch outlook XP... Logfile show the following: Loaded bayes database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Saving configuration -> C:\Documents and Settings\ThomasV\Application Data\SpamBayes\Outlook.ini Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Gottfried Gan?auge (ganssauge) Date: 2003-07-08 04:09 Message: Logged In: YES user_id=792746 I could verify the behaviour which indeed is quite strange. When starting the training session the progress bar is set up by calling Progress.set_stages in dialogs/AsyncDialog.py. There the assertion in the last line fires because start_pos - 1.0 is not less than 0.001. After a fair bit of trying I came to the conclusion that floating point literals within the python source text are not correctly parsed. It was possible to verify that by asserting 1.0 == float(1). VERY STRANGE INDEED. Changing the locale didn't help at all. I could avoid that particular error by generating floating point constants using the float() builtin. For example I defined 0.001 as (float(1) / float(1000)). ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 10:41 Message: Logged In: YES user_id=738765 Topic similar to 765912. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:43 Message: Logged In: YES user_id=552329 There are some issues with Outlook with non-English locales. We have made some movement towards fixing these, but a definitive fix has eluded us so far. If you could attach your log file to this tracker, that would certainly help. Instructions about how to find it are in the troubleshooting.html file (which you can get to via the "about.html" file from the main manager dialog). Also - are you using the 003 or 002 binary, or source? If you are using the 002 binary, please check to see if this still happens with the 003 release, and attach the log file from that execution if it does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 From noreply at sourceforge.net Tue Jul 8 01:52:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 03:52:09 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-767595 ] Outlook/Imap Badness. Message-ID: Bugs item #767595, was opened at 2003-07-08 07:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767595&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Shaun Broadbent (shaunbroadbent) Assigned to: Mark Hammond (mhammond) Summary: Outlook/Imap Badness. Initial Comment: Similar to report #765042, using XP with Outlook 2002 SP2 and IMAP via SSL . Also recently set up another account using IMAP without SSL New mail is ignored when I first log in. ie log shows Processing 0 missed spam in folder 'Inbox' took 102.157ms Once logged in Mail that has Spam classification of 'No' is not scored. Mail that has Spam classification of 'Unsure' is not scored. Mail that has a Spam classification of 'Yes' is scored but not moved. Filters are set to move only Spam and leave Unsure (ham). Manual Filtering scores read messages but also fails to move them (yes Perform All Actions is marked). Unread messages are not scored (generally.. ) Manual filtering on the non SSL IMAP account seems to generate multiple copies of the same spam email in the Spam Folder (the moves work on this account) probably due to my not purging the inbox folder after the initial move (ie the message is marked for deletion but not deleted) so every manual filter moves the same spam again. Unread Mail is Not Scored or Filtered on the Non SSL account either . Interestingly 'Delete As Spam' works perfectly, it scores and moves the mail (For both SSL and non). Logfile attached ( when I first opened the non SSL IMAP account Spambayes seemed to process all the messages correctly up until a point, this is shown in the log) perhaps this is a database issue?? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767595&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:06:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:06:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-725466 ] Include a proper locale fix in Options.py Message-ID: Bugs item #725466, was opened at 2003-04-22 16:07 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702 Category: None Group: None Status: Open Resolution: None >Priority: 6 Submitted By: Tony Meyer (anadelonbrin) Assigned to: Mark Hammond (mhammond) Summary: Include a proper locale fix in Options.py Initial Comment: When reading the options, the float() call fails when the locale is a language that uses a ',' for a separator instead of '.'. This is hack-fixed in Outlook, but needs to be fixed in general. I imagine that there must be some sort of locale call that will convert between the current locale and English, and that this should be called as the option is set. Anyway, I'll get to this when I can. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:06 Message: Logged In: YES user_id=14198 Still alive :( http://sourceforge.net/tracker/index.php?func=detail&aid=765256&group_id=61702&atid=498103 ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-13 09:33 Message: Logged In: YES user_id=552329 I've checked in a partial fix, where I just set the locale back to (US) English after that call (to work it needs this one, and the one in addin.py, it seems). It all seems to work ok now, but this is hardly a nice solution. I had one problem. (I changed my locale by using the XP control panel). * If I used locale.getlocale I received "de_DE". If I tried to set the locale to this, I get a "locale setting not supported" error. This meant that I couldn't try a nice solution that set the locale back to the local one. My testing setup is pretty much gone now, but if I find time I'll play around with this again, unless you manage to. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-11 04:35 Message: Logged In: YES user_id=14198 Damn. IIRC, MAPI also changes the cwd. I guess the solution may be the same - check the locale before setting, and reset explicitly afterwards. It would be great if you can check this while you are still setup to test, but otherwise it can stay on my todo list :) ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 13:23 Message: Logged In: YES user_id=552329 Ok, I did more digging. The locale set in addin.py isn't enough. This line in msgstore.py screws up the locale: self.session = mapi.MAPILogonEx(0, None, None, logonFlags) (it's in the __init__ of MAPIMsgStore; my line numbers are all screwed up). (by 'screws up the locale', I mean that math.log(2) returns a number with a '.' decimal separator before it, and a ',' decimal separator afterwards). I'll leave it to Mark to figure out what should be done. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 13:15 Message: Logged In: YES user_id=552329 Ok, forget that, I've found a way I can reproduce a similar error. This is definately Outlook specific, and definately cannot be fixed in the spambayes code, except by changing the locale to 'en' or 'c', or something similar. Ignoring spambayes completely, and using the demo outlook plugin that comes with the win32com extensions, I printed out the results of math.log(2). This should be "0.69314718056 " and not "0,69314718056". I made this print statement pretty much every second line. When adding, it always gives the correct answer. As soon as Outlook is started up, it gives the wrong answer. It's beyond me whether this is something that the win32com stuff does (although importing the extensions doesn't cause it), or if it's something that Outlook does, somehow. No doubt you can answer that, Mark? ;) Anyway, unless a change to the win32com stuff occurs, this will have to remain in the spambayes Outlook code. (The options stuff is a separate problem, and my fix for that should work). It doesn't need to be outside the Outlook code though. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 12:22 Message: Logged In: YES user_id=552329 What I don't understand is why I can't reproduce this error. If I make the same addition to manager.py, but use 'german'[1] as the locale, everything still works. (It also still works if I make the change in addin.py where the other locale set is, and also if I change the locale to german in the windows control panel). In addition, why does the import from PythonWin work? Surely this means (as mentioned) that something else that is imported is screwing up the locale setting before random gets imported - but then, shouldn't it do this on my machine, too? Googling on this (NV_MAGICCONST) brings up lots of instances of the problem, but nothing in the way of a solution apart from setting the locale to 'en' or 'c' before the random import. This really doesn't seem like the correct solution. I really am tempted to try my luck with c.l.p for a solution, if there aren't any more ideas here. [1] I can't set to "de_DE", I get a locale not supported error. "german" does use ',' as the decimal separator, so it should be the same, though. ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-09 03:59 Message: Logged In: YES user_id=671479 Ok, I've got it working by setting the locale in the constructor of class BayesManager (manager.py): [...] self.config_filename = config_base + "_configuration.pck" print "locale: ", locale.getlocale() print "default locale: ", locale.getdefaultlocale() locale.setlocale(locale.LC_NUMERIC, "en") # First read the configuration file. [...] Locale/default locale are both de_DE for me. ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-09 03:45 Message: Logged In: YES user_id=671479 >>> import locale >>> locale.setlocale(locale.LC_NUMERIC, "en") 'English_United States.1252' >>> import random >>> ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-07 20:49 Message: Logged In: YES user_id=14198 What happens if you go into Pythonwin/IDLE, execute the locale call mentioned, then import that module? >>> import locale >>> locale.setlocale(locale.LC_NUMERIC, "en") ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-07 19:42 Message: Logged In: YES user_id=671479 The import works fine both in IDLE and PythonWin. I suspect the handling of floats is somehow broken by something loaded by Outlook or Python Windows Extensions. But then I don't really know enough about the architecture to make educated guesses ... Anyway I wonder why float handling at this low level seems to be locale dependent? Parsing text and converting to float is ok to be locale depedent, but doing calculations? ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-07 09:37 Message: Logged In: YES user_id=552329 This makes me wonder if the locale just needs to be set, but that seems too heavy-handed and ugly, really. What happens if you just execute >>> import random from the interpreter (e.g. in PythonWin or IDLE)? I suspect that you'll get the same trace, in which case this really should be fixed in random.py, not in Spambayes (although it would be easy enough to throw together a hack for it). ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-07 00:18 Message: Logged In: YES user_id=671479 It seems like it's not enough to fix Options.py only. I did this and then got the following error: Traceback (most recent call last): File "D:\dev\Python22\lib\site- packages\win32com\universal.py", line 170, in dispatch retVal = ob._InvokeEx_(meth.dispid, 0, meth.invkind, args, None, None) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 322, in _InvokeEx_ return self._invokeex_(dispid, lcid, wFlags, args, kwargs, serviceProvider) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 601, in _invokeex_ return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags, args, kwArgs, serviceProvider) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 541, in _invokeex_ return apply(func, args) File "D:\util\spambayes-1.0a2\Outlook2000\addin.py", line 611, in OnConnection self.manager = manager.GetManager(application) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 335, in GetManager _mgr = BayesManager(outlook=outlook, verbose=verbose) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 79, in __init__ import_core_spambayes_stuff(self.ini_filename) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 53, in import_core_spambayes_stuff from spambayes.tokenizer import tokenize File "D:\util\spambayes-1.0a2\spambayes\tokenizer.py", line 7, in ? import email.Message File "D:\dev\Python22\Lib\email\Message.py", line 14, in ? from email import Utils File "D:\dev\Python22\Lib\email\Utils.py", line 10, in ? import random File "D:\dev\Python22\Lib\random.py", line 93, in ? _verify('NV_MAGICCONST', NV_MAGICCONST, 1.71552776992141) File "D:\dev\Python22\Lib\random.py", line 88, in _verify raise ValueError( exceptions.ValueError: computed value for NV_MAGICCONST deviates too much (computed 2,82843, expected 1) Obviously random.py uses ',' too! I'm using german Windows/Outlook, if I can be of any help in testing, just drop me a mail. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-04-24 16:30 Message: Logged In: YES user_id=552329 Options.py now uses locale.atoi and locale.atof to convert options. I *think* this will solve this problem, but I'm not 100%. If someone could do some testing, that would be great. I'm leaving open until I'm sure it's done. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:07:36 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:07:45 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765256 ] train does not work Message-ID: Bugs item #765256, was opened at 2003-07-03 21:37 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: hans mueller (modifier) Assigned to: Mark Hammond (mhammond) Summary: train does not work Initial Comment: hi, after choosing the right directories in the "train now" form, an pressing the train button nothing happens... german outlook xp! modi ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:07 Message: Logged In: YES user_id=14198 Yep - closing as a dupe, but made a reference to this in [725466] Include a proper locale fix in Options.py ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-08 09:37 Message: Logged In: YES user_id=552329 This does sound like (another) locale problem. The problem is that float literals in the code are written like "3.14159", but some locales expect them to be written like "3,14159", and so the wrong number is read. The way around this that was used was that the locale was set to English quite early on. One problem, though, is that calling certain Outlook functions switches the locale back (sigh). I'll look into this again when I get a chance. Note that this is more-or-less the same as the "Include a proper locale fix in Options.py" bug tracker. ---------------------------------------------------------------------- Comment By: Thomas Verschuren (tvrs) Date: 2003-07-08 06:00 Message: Logged In: YES user_id=810345 Same problem here, dutch outlook XP... Logfile show the following: Loaded bayes database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\ThomasV\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Saving configuration -> C:\Documents and Settings\ThomasV\Application Data\SpamBayes\Outlook.ini Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Gottfried Gan?auge (ganssauge) Date: 2003-07-08 02:09 Message: Logged In: YES user_id=792746 I could verify the behaviour which indeed is quite strange. When starting the training session the progress bar is set up by calling Progress.set_stages in dialogs/AsyncDialog.py. There the assertion in the last line fires because start_pos - 1.0 is not less than 0.001. After a fair bit of trying I came to the conclusion that floating point literals within the python source text are not correctly parsed. It was possible to verify that by asserting 1.0 == float(1). VERY STRANGE INDEED. Changing the locale didn't help at all. I could avoid that particular error by generating floating point constants using the float() builtin. For example I defined 0.001 as (float(1) / float(1000)). ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:41 Message: Logged In: YES user_id=738765 Topic similar to 765912. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:43 Message: Logged In: YES user_id=552329 There are some issues with Outlook with non-English locales. We have made some movement towards fixing these, but a definitive fix has eluded us so far. If you could attach your log file to this tracker, that would certainly help. Instructions about how to find it are in the troubleshooting.html file (which you can get to via the "about.html" file from the main manager dialog). Also - are you using the 003 or 002 binary, or source? If you are using the 002 binary, please check to see if this still happens with the 003 release, and attach the log file from that execution if it does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765256&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:09:49 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:09:52 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764806 ] Filtering Halted Message-ID: Bugs item #764806, was opened at 2003-07-03 05:03 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764806&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Scott Solmonson (scosol) Assigned to: Mark Hammond (mhammond) Summary: Filtering Halted Initial Comment: Outlook2k on Win2k -> Ive had an occasional problem where certain messages would not be caught as spam. (where they very obviously were spam) For these messages, "view spam clues" did nothing. Also, "delete as spam" did nothing. For a long time this was just an occasional thing, but now it's become locked this way. It is no longer filtering anything at all, and I can't view spam clues for any message anywhere. 2 maybe-signifigant things: I have been using the AVG antivirus Outlook plugin for a while now; today it uptaded itself (I believe the first update since my installation of Spambayes). I'll play with things and see if I can fix it. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:09 Message: Logged In: YES user_id=14198 I'm glad I added this error :) I just wish we could find the cause :( Thanks! ---------------------------------------------------------------------- Comment By: Scott Solmonson (scosol) Date: 2003-07-03 05:56 Message: Logged In: YES user_id=254856 Well- I saw that the new version of the outlook plugin was released today. so I installed it and it complained about a corrupt database, I retrained and everything seems to be working :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764806&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:13:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:13:34 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764241 ] Most recent message unopened Message-ID: Bugs item #764241, was opened at 2003-07-02 07:56 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764241&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: David Landry (dlandry99) Assigned to: Mark Hammond (mhammond) Summary: Most recent message unopened Initial Comment: After uninstalling the prior version and installing SpamBayes Outlook Beta 1, Binary Version 3 from http://starship.python.net/crew/mhammond/spambayes / on July 1, 2003, I still encountered the same error I encountered on the previous version (but I can report it with more precision). This error occurs under Outlook 2002 SP2, running on a client with Windows 2000 via Exchange 5.5. When I open the most recent message and close it the message envelop icon indicates the message is still unopened. It is only after I open the message a second time that the message bolding turns off and the icon shows an open rather than closed envelop. This happens for every single most recent message. But unopened messages underneath the most recent one will correctly show their opened status after they are opened. This bug only effects the message that is the most recent. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:13 Message: Logged In: YES user_id=14198 Dupe of [ 716684 ] Filtering marks message as unread ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764241&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:14:00 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:14:21 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:18:17 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:18:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-767595 ] Outlook/Imap Badness. Message-ID: Bugs item #767595, was opened at 2003-07-08 17:52 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767595&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Shaun Broadbent (shaunbroadbent) Assigned to: Mark Hammond (mhammond) Summary: Outlook/Imap Badness. Initial Comment: Similar to report #765042, using XP with Outlook 2002 SP2 and IMAP via SSL . Also recently set up another account using IMAP without SSL New mail is ignored when I first log in. ie log shows Processing 0 missed spam in folder 'Inbox' took 102.157ms Once logged in Mail that has Spam classification of 'No' is not scored. Mail that has Spam classification of 'Unsure' is not scored. Mail that has a Spam classification of 'Yes' is scored but not moved. Filters are set to move only Spam and leave Unsure (ham). Manual Filtering scores read messages but also fails to move them (yes Perform All Actions is marked). Unread messages are not scored (generally.. ) Manual filtering on the non SSL IMAP account seems to generate multiple copies of the same spam email in the Spam Folder (the moves work on this account) probably due to my not purging the inbox folder after the initial move (ie the message is marked for deletion but not deleted) so every manual filter moves the same spam again. Unread Mail is Not Scored or Filtered on the Non SSL account either . Interestingly 'Delete As Spam' works perfectly, it scores and moves the mail (For both SSL and non). Logfile attached ( when I first opened the non SSL IMAP account Spambayes seemed to process all the messages correctly up until a point, this is shown in the log) perhaps this is a database issue?? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=14198 Yeah - identical bug - will track it there. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767595&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:15:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:19:34 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-742440 ] Outlook 2003 doesn't display toolbar Message-ID: Bugs item #742440, was opened at 2003-05-24 02:21 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=742440&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Kenneth Haynes (kh4yn3s) Assigned to: Mark Hammond (mhammond) Summary: Outlook 2003 doesn't display toolbar Initial Comment: I am running Windows XP, SP1. I have the Beta 2 version of Office that includes Outlook 2003. When I tried to install using the windows installer, I got no error messages, but neither did I get the configuration buttons on the menu. spambayes1.log: SpamAddin - Connecting to Outlook Created new configuration file 'C:\Documents and Settings\ken\Application Data\SpamBayes\default_configuration.pck' Loaded bayes database from 'C:\Documents and Settings\ken\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\ken\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages Loaded databases in 4.68803ms SpamAddin - Disconnecting from Outlook spambayes2.log and spambayes3.log all look the same as spambayes1.log. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:15 Message: Logged In: YES user_id=14198 Apparently, the latest version of SpamBayes + the latest Outlook 2003 update work well together :) Please let me know if this isn't true. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-18 23:23 Message: Logged In: YES user_id=14198 I'm hoping this is fixed in CVS - will know soon :) ---------------------------------------------------------------------- Comment By: Cort Schaefer (corts) Date: 2003-05-26 14:47 Message: Logged In: YES user_id=541173 This looks exactly like what I am getting running the same configuration. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=742440&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:35:36 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:35:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-755738 ] Toolbar items aren't created. Message-ID: Bugs item #755738, was opened at 2003-06-17 16:57 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=755738&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fredrik Rodland (fmmr) Assigned to: Mark Hammond (mhammond) >Summary: Toolbar items aren't created. Initial Comment: I have been using spambayes for some months. The latest cvs-version fails with the following traceback: pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 275, in _Invoke_ return self._invoke_(dispid, lcid, wFlags, args) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 280, in _invoke_ return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, args, None, None) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 601, in _invokeex_ return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags, args, kwArgs, serviceProvider) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 541, in _invokeex_ return apply(func, args) File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O utlook2000\addin.py", line 609, in OnSelectionChange self.SetupUI() File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O utlook2000\addin.py", line 500, in SetupUI Tag = "SpamBayesCommand.Manager") File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O utlook2000\addin.py", line 564, in _AddControl item = parent.Controls.Add(Type=control_type, Temporary=False) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\client\__init__.py", line 451, in __getattr__ return apply(self._ApplyTypes_, args) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\client\__init__.py", line 445, in _ApplyTypes_ return self._get_good_object_(apply (self._oleobj_.InvokeTypes, (dispid, 0, wFlags, retType, argTypes) + args), user, resultCLSID) pywintypes.com_error: (-2147352567, 'Det oppstod et unntak.', (0, None, None, None, 0, -2147467259), None) Message 'Kunder med utest?ende hos Stocknet.' had a Spam classification of 'No' The traceback is repeated each time a message is selected. I tried the the cvs-version ca a week ago as well with the same result. I unregistered the plugin before installing it, and also tried this multiple times. The new toolbar doen not seem to work. When clicking the "Anti-Spam"-button nothing happens. When selecting the spam-folder, the "Delete as spam"-button does not change to "recover-from-spam", the latter does not show up at all. OS: win XP home outllook 2000 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:35 Message: Logged In: YES user_id=14198 I just checked in a fix that will still attempt to create all toolbar items, even if a previous one fails. This may means that at least *some* of our toolbar items work. I'm afraid I am a little stumped here. ---------------------------------------------------------------------- Comment By: Fredrik Rodland (fmmr) Date: 2003-07-03 16:38 Message: Logged In: YES user_id=724871 the "new" traceback is: pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 275, in _Invoke_ return self._invoke_(dispid, lcid, wFlags, args) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 280, in _invoke_ return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, args, None, None) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 601, in _invokeex_ return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags, args, kwArgs, serviceProvider) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\server\policy.py", line 541, in _invokeex_ return apply(func, args) File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook 2000\addin.py", line 674, in OnSelectionChange self.SetupUI() File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook 2000\addin.py", line 548, in SetupUI Tag = "SpamBayesCommand.Manager") File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook 2000\addin.py", line 623, in _AddControl item = parent.Controls.Add(Type=control_type, Temporary=False) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\client\__init__.py", line 451, in __getattr__ return apply(self._ApplyTypes_, args) File "C:\PROGRA~1\_DEV\Python22\lib\site- packages\win32com\client\__init__.py", line 445, in _ApplyTypes_ return self._get_good_object_(apply (self._oleobj_.InvokeTypes, (dispid, 0, wFlags, retType, argTypes) + args), user, resultCLSID) pywintypes.com_error: (-2147352567, 'Det oppstod et unntak.', (0, None, 'Medlemmet ble ikke funnet.', None, 0, - 2147467259), None) translation of the last messages: oppstod et unntak.: An exception occured Medlemmet ble ikke funnet: The memeber was not found ---------------------------------------------------------------------- Comment By: Fredrik Rodland (fmmr) Date: 2003-07-02 21:24 Message: Logged In: YES user_id=724871 I see the same _behaviour_. I'll repost a (new) traceback the next time this problem occurs. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 21:14 Message: Logged In: YES user_id=14198 Are you sure this is current CVS? I see: File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O utlook2000\addin.py", line 609, in OnSelectionChange self.SetupUI() File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O utlook2000\addin.py", line 500, in SetupUI Tag = "SpamBayesCommand.Manager") And these are both out by a fair way. Current CVS is rev ---------------------------------------------------------------------- Comment By: Fredrik Rodland (fmmr) Date: 2003-07-02 17:04 Message: Logged In: YES user_id=724871 yes. it seems to happen each morning when I start outllok after having shut down my pc. you tipped me to delete \Documents and Settings\{username} \Application Data\Microsoft\Outlook\outcmd.dat this solves the problem, but it reappears after a while (reboot, new day, shutdown?) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 09:20 Message: Logged In: YES user_id=14198 Does this still happen? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=755738&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:39:45 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:39:48 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-760062 ] Traceback untraining a single message Message-ID: Bugs item #760062, was opened at 2003-06-25 06:48 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=760062&group_id=61702 Category: hammie Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Greg Ward (gward) Assigned to: Mark Hammond (mhammond) Summary: Traceback untraining a single message Initial Comment: If I use hammie.py to untrain on a single message, it crashes with NameError: $ hammie.py -d -p 10.db -U -s msg Untraining spam (msg): 1 Traceback (most recent call last): File "/usr/local/bin/hammie.py", line 6, in ? spambayes.hammiebulk.main() File "/home/greg/lib/python/spambayes/hammiebulk.py", line 204, in main h.store() File "/home/greg/lib/python/spambayes/hammie.py", line 246, in store self.bayes.store() File "/home/greg/lib/python/spambayes/storage.py", line 192, in store assert word not in self.wordinfo, \ NameError: global name 'word' is not defined ('msg' is a Maildir containing exactly one message; it's a subset of the spam folder used to create this training database) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:39 Message: Logged In: YES user_id=14198 Oops - sorry - my obvious error. Fixed in 1.15 of storage.py ---------------------------------------------------------------------- Comment By: Greg Ward (gward) Date: 2003-06-25 06:52 Message: Logged In: YES user_id=14422 It looks like the assert in store() could never have worked, since 'word' is never defined in that method. Reassigning to mhammond, since he wrote that code (rev 1.7-1.8, late May 2003). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=760062&group_id=61702 From noreply at sourceforge.net Tue Jul 8 05:44:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 07:44:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-20 11:12 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:44 Message: Logged In: YES user_id=14198 Seeing as you have Python installed, can you please try the following: * Go to a command prompt, and change to the \Python\lib\site-packages\com\win32com\client directory * Execute "python makepy.py -i" * Select any "Outlook XP" related entries (if necessary, repeat for each one). * You should get a coupld of lines of Python code generated. Mail me these lines, and I will send you a new version to test. I wish I had that combination to test here, but as I don't, this is my best hope :) ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 13:48 Message: Logged In: YES user_id=782486 Addendum: following my earlier post today I discovered release 3 of the code had been made. I retested install with the binary and it failed again with an error in the regsvr: DllRegisterServer ... failed Return Code was 0x80040201 with this in the log file: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 71, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I also tried the Python/open source install and it also fails with an error that "Outlook 2000 is not installed on this machine"... well, no isn't. Outlook 2002 (XP) is! I'd love to try out this program but if I can't get it to install I guess I'll never find out. -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 11:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 11:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-24 02:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-23 12:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-23 09:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Tue Jul 8 10:03:00 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 12:03:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-767871 ] failed to load Bayes database Message-ID: Bugs item #767871, was opened at 2003-07-08 16:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joseph Beaulieu (jbc123) Assigned to: Nobody/Anonymous (nobody) Summary: failed to load Bayes database Initial Comment: Uninstalled version 2, installed version 3. When I fired up Outlook2000, this log file was generated. ERROR: 'There was an error initializing the Spam plugin.\r\n\r\nSpam filtering has been disabled. Please re-configure\r\nand re-enable this plugin\r\n\r\nError details:\r\nFailed to load bayes database' Traceback (most recent call last): File "out1.pyz/manager", line 419, in LoadBayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') Loaded message database from 'C:\Documents and Settings\jbeauli\Application Data\SpamBayes\default_message_database.db' Either bayes database or message database is missing - creating new Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 From noreply at sourceforge.net Tue Jul 8 10:15:24 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 12:15:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764806 ] Filtering Halted Message-ID: Bugs item #764806, was opened at 2003-07-02 12:03 Message generated for change (Comment added) made by scosol You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764806&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Scott Solmonson (scosol) Assigned to: Mark Hammond (mhammond) Summary: Filtering Halted Initial Comment: Outlook2k on Win2k -> Ive had an occasional problem where certain messages would not be caught as spam. (where they very obviously were spam) For these messages, "view spam clues" did nothing. Also, "delete as spam" did nothing. For a long time this was just an occasional thing, but now it's become locked this way. It is no longer filtering anything at all, and I can't view spam clues for any message anywhere. 2 maybe-signifigant things: I have been using the AVG antivirus Outlook plugin for a while now; today it uptaded itself (I believe the first update since my installation of Spambayes). I'll play with things and see if I can fix it. ---------------------------------------------------------------------- >Comment By: Scott Solmonson (scosol) Date: 2003-07-08 09:15 Message: Logged In: YES user_id=254856 Haha- just so it's clear, it still has the problem of some messages just being unable to be filtered. (but its an occasional thing so not a big deal) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 04:09 Message: Logged In: YES user_id=14198 I'm glad I added this error :) I just wish we could find the cause :( Thanks! ---------------------------------------------------------------------- Comment By: Scott Solmonson (scosol) Date: 2003-07-02 12:56 Message: Logged In: YES user_id=254856 Well- I saw that the new version of the outlook plugin was released today. so I installed it and it complained about a corrupt database, I retrained and everything seems to be working :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764806&group_id=61702 From noreply at sourceforge.net Tue Jul 8 15:18:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 17:18:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] SB will not train or filter with O XP swedish Message-ID: Bugs item #765912, was opened at 2003-07-04 14:32 Message generated for change (Comment added) made by gmarziou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: SB will not train or filter with O XP swedish Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 23:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 00:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Tue Jul 8 16:16:41 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 18:18:56 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-19 21:12 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-08 18:16 Message: Logged In: YES user_id=120676 mhammond: you said >> * Go to a command prompt, and change to the >> \Python\lib\site-packages\com\win32com\client >> directory >> * Execute "python makepy.py -i" >> * Select any "Outlook XP" related entries (if >> necessary, repeat for each one). >> * You should get a coupld of lines of Python >> code generated. >> >> Mail me these lines, and I will send you a new >> version to test. Here's what I get: Microsoft Outlook View Control {0006F062-0000-0000-C000-000000000046}, lcid=0, major=1, minor=0 >>> # Use these commands in Python code to auto generate .py support >>> from win32com.client import gencache >>> gencache.EnsureModule('{0006F062-0000-0000-C000- 000000000046}', 0, 1, 0) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 07:44 Message: Logged In: YES user_id=14198 Seeing as you have Python installed, can you please try the following: * Go to a command prompt, and change to the \Python\lib\site-packages\com\win32com\client directory * Execute "python makepy.py -i" * Select any "Outlook XP" related entries (if necessary, repeat for each one). * You should get a coupld of lines of Python code generated. Mail me these lines, and I will send you a new version to test. I wish I had that combination to test here, but as I don't, this is my best hope :) ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 23:48 Message: Logged In: YES user_id=782486 Addendum: following my earlier post today I discovered release 3 of the code had been made. I retested install with the binary and it failed again with an error in the regsvr: DllRegisterServer ... failed Return Code was 0x80040201 with this in the log file: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 71, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I also tried the Python/open source install and it also fails with an error that "Outlook 2000 is not installed on this machine"... well, no isn't. Outlook 2002 (XP) is! I'd love to try out this program but if I can't get it to install I guess I'll never find out. -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-23 12:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-22 22:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-22 19:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Tue Jul 8 18:44:49 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 20:44:53 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-767871 ] failed to load Bayes database Message-ID: Bugs item #767871, was opened at 2003-07-09 04:02 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joseph Beaulieu (jbc123) Assigned to: Nobody/Anonymous (nobody) Summary: failed to load Bayes database Initial Comment: Uninstalled version 2, installed version 3. When I fired up Outlook2000, this log file was generated. ERROR: 'There was an error initializing the Spam plugin.\r\n\r\nSpam filtering has been disabled. Please re-configure\r\nand re-enable this plugin\r\n\r\nError details:\r\nFailed to load bayes database' Traceback (most recent call last): File "out1.pyz/manager", line 419, in LoadBayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') Loaded message database from 'C:\Documents and Settings\jbeauli\Application Data\SpamBayes\default_message_database.db' Either bayes database or message database is missing - creating new Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 12:44 Message: Logged In: YES user_id=552329 Try deleting whatever files are in your data directory (SpamBayes will recreate them). Note that you'll lose your configuration and training, but this might be the case already (you could try simply moving them and then moving them back instead). The FAQ explains where to find these files. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 From noreply at sourceforge.net Tue Jul 8 19:13:16 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 22:01:45 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 01:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Tue Jul 8 21:33:23 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 23:33:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies whan training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-08 20:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies whan training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 21:34:14 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 23:34:16 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-08 20:33 Message generated for change (Settings changed) made by leobru You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) Status: Open Resolution: None >Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) >Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 21:44:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 8 23:44:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-09 15:33 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) Status: Open Resolution: None Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 15:44 Message: Logged In: YES user_id=552329 /cur/tmp/ is where a temporary copy of the message is stored until it is renamed to the /cur/ name. If you create the /cur/tmp/ directory, this should work. I suppose mboxtrain should check that this directory exists, and create it if it doesn't (like pop3proxy does for it's directories). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:08:52 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:09:01 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 01:13 Message generated for change (Comment added) made by hwilkins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 04:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:10:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:10:15 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 01:13 Message generated for change (Comment added) made by hwilkins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 04:10 Message: Logged In: YES user_id=145585 (... and one should check one's typography when submitting late at night...) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 04:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:21:28 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:22:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-08 20:33 Message generated for change (Comment added) made by leobru You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) Status: Open Resolution: None Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- >Comment By: Leonid (leobru) Date: 2003-07-08 21:21 Message: Logged In: YES user_id=790676 The temporary directory is Maildir/tmp, not Maildir/cur/tmp. The observed behavior is a regression wrt v1.0a2; creating a new directory is a hacky workaround. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-08 20:44 Message: Logged In: YES user_id=552329 /cur/tmp/ is where a temporary copy of the message is stored until it is renamed to the /cur/ name. If you create the /cur/tmp/ directory, this should work. I suppose mboxtrain should check that this directory exists, and create it if it doesn't (like pop3proxy does for it's directories). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:30:48 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:32:11 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-09 15:33 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) >Status: Closed >Resolution: Fixed Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 16:30 Message: Logged In: YES user_id=552329 Ah, I see. This was introduced in v1.6. Fixed in v1.10. You should be able to get this version of mboxtrain and drop it into the a4 release. (note that sf pserver cvs is crappy at the moment, so it might take a while for v1.10 to be visible). ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-07-09 16:21 Message: Logged In: YES user_id=790676 The temporary directory is Maildir/tmp, not Maildir/cur/tmp. The observed behavior is a regression wrt v1.0a2; creating a new directory is a hacky workaround. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 15:44 Message: Logged In: YES user_id=552329 /cur/tmp/ is where a temporary copy of the message is stored until it is renamed to the /cur/ name. If you create the /cur/tmp/ directory, this should work. I suppose mboxtrain should check that this directory exists, and create it if it doesn't (like pop3proxy does for it's directories). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:30:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:32:22 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-08 20:33 Message generated for change (Comment added) made by leobru You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) >Status: Open Resolution: Fixed Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- >Comment By: Leonid (leobru) Date: 2003-07-08 21:30 Message: Logged In: YES user_id=790676 And, worse yet, this "workaround" does not work for obvious reasons: Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 118, in maildir_train os.rename(tfn, cfn) OSError: [Errno} 21] Is a directory ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-08 21:30 Message: Logged In: YES user_id=552329 Ah, I see. This was introduced in v1.6. Fixed in v1.10. You should be able to get this version of mboxtrain and drop it into the a4 release. (note that sf pserver cvs is crappy at the moment, so it might take a while for v1.10 to be visible). ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-07-08 21:21 Message: Logged In: YES user_id=790676 The temporary directory is Maildir/tmp, not Maildir/cur/tmp. The observed behavior is a regression wrt v1.0a2; creating a new directory is a hacky workaround. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-08 20:44 Message: Logged In: YES user_id=552329 /cur/tmp/ is where a temporary copy of the message is stored until it is renamed to the /cur/ name. If you create the /cur/tmp/ directory, this should work. I suppose mboxtrain should check that this directory exists, and create it if it doesn't (like pop3proxy does for it's directories). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:40:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:42:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768221 ] v1.0a4 dies when training on Maildir Message-ID: Bugs item #768221, was opened at 2003-07-09 15:33 Message generated for change (Settings changed) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 Category: hammie Group: v1.0 (example) >Status: Closed Resolution: Fixed Priority: 8 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: v1.0a4 dies when training on Maildir Initial Comment: If Maildir/cur contains an untrained message, mboxtrain.py dies with Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 113, in maildir_train f = file(tfn, "wb") IOError: [Errno 2] No such file or directory: '.../Maildir/cur/tmp/1057721381.20217_25.domain.com What's with /cur/tmp/ ? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 16:40 Message: Logged In: YES user_id=552329 Sorry, I missed that maildir_train would then try to pick it up as a file. In any case, the v1.10 fix should still work. ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-07-09 16:30 Message: Logged In: YES user_id=790676 And, worse yet, this "workaround" does not work for obvious reasons: Traceback (most recent call last): File "./mboxtrain.py", line 294, in ? main() File "./mboxtrain.py", line 281, in main train(h, g, False, force, trainnew) File "./mboxtrain.py", line 216, in train maildir_train(h, os.path.join(path, "cur"), is_spam, force) File "./mboxtrain.py", line 118, in maildir_train os.rename(tfn, cfn) OSError: [Errno} 21] Is a directory ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 16:30 Message: Logged In: YES user_id=552329 Ah, I see. This was introduced in v1.6. Fixed in v1.10. You should be able to get this version of mboxtrain and drop it into the a4 release. (note that sf pserver cvs is crappy at the moment, so it might take a while for v1.10 to be visible). ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-07-09 16:21 Message: Logged In: YES user_id=790676 The temporary directory is Maildir/tmp, not Maildir/cur/tmp. The observed behavior is a regression wrt v1.0a2; creating a new directory is a hacky workaround. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 15:44 Message: Logged In: YES user_id=552329 /cur/tmp/ is where a temporary copy of the message is stored until it is renamed to the /cur/ name. If you create the /cur/tmp/ directory, this should work. I suppose mboxtrain should check that this directory exists, and create it if it doesn't (like pop3proxy does for it's directories). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768221&group_id=61702 From noreply at sourceforge.net Tue Jul 8 22:54:17 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 00:56:54 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 22:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) >Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-09 14:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-09 07:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Tue Jul 8 23:01:39 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 01:03:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-20 11:12 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-09 15:01 Message: Logged In: YES user_id=14198 What version are you running? It looks like binary 002 - if so, please try version 003. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-09 08:16 Message: Logged In: YES user_id=120676 mhammond: you said >> * Go to a command prompt, and change to the >> \Python\lib\site-packages\com\win32com\client >> directory >> * Execute "python makepy.py -i" >> * Select any "Outlook XP" related entries (if >> necessary, repeat for each one). >> * You should get a coupld of lines of Python >> code generated. >> >> Mail me these lines, and I will send you a new >> version to test. Here's what I get: Microsoft Outlook View Control {0006F062-0000-0000-C000-000000000046}, lcid=0, major=1, minor=0 >>> # Use these commands in Python code to auto generate .py support >>> from win32com.client import gencache >>> gencache.EnsureModule('{0006F062-0000-0000-C000- 000000000046}', 0, 1, 0) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:44 Message: Logged In: YES user_id=14198 Seeing as you have Python installed, can you please try the following: * Go to a command prompt, and change to the \Python\lib\site-packages\com\win32com\client directory * Execute "python makepy.py -i" * Select any "Outlook XP" related entries (if necessary, repeat for each one). * You should get a coupld of lines of Python code generated. Mail me these lines, and I will send you a new version to test. I wish I had that combination to test here, but as I don't, this is my best hope :) ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 13:48 Message: Logged In: YES user_id=782486 Addendum: following my earlier post today I discovered release 3 of the code had been made. I retested install with the binary and it failed again with an error in the regsvr: DllRegisterServer ... failed Return Code was 0x80040201 with this in the log file: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 71, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I also tried the Python/open source install and it also fails with an error that "Outlook 2000 is not installed on this machine"... well, no isn't. Outlook 2002 (XP) is! I'd love to try out this program but if I can't get it to install I guess I'll never find out. -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 11:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-05 11:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-24 02:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-23 12:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-23 09:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Tue Jul 8 23:10:22 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 01:11:49 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 01:13 Message generated for change (Comment added) made by hwilkins You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 05:10 Message: Logged In: YES user_id=145585 Continuing to work with Tony, we believe we've isolated this to an "omission" bug -- the PATH was not allowing '$' to be included, which is a necessity for any hidden-share UNC paths... I think we can close this, and I believe Tony said he'd get the change rolled into the distribution (if I'm speaking for you, Tony, please step in). Now, off to try out the manual install... ;^) Thanks, Bobby ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 04:10 Message: Logged In: YES user_id=145585 (... and one should check one's typography when submitting late at night...) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 04:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Tue Jul 8 23:18:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 01:18:12 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 13:13 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 17:18 Message: Logged In: YES user_id=552329 I've checked in that change (to OptionsClass.py). I believe this should work now as long as os.path.isdir() works for the UNC directory on the user's system. This works for Bobby, but does not work on my system. I presume this is a Python thing and not a SpamBayes thing and so there's not much that can be done here. (Unless there is a different function that can be used to check if a directory exists that reliably works with UNC). Mark, you can close this if you think that it's not worth doing anything else. Otherwise, do want you want :) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 17:10 Message: Logged In: YES user_id=145585 Continuing to work with Tony, we believe we've isolated this to an "omission" bug -- the PATH was not allowing '$' to be included, which is a necessity for any hidden-share UNC paths... I think we can close this, and I believe Tony said he'd get the change rolled into the distribution (if I'm speaking for you, Tony, please step in). Now, off to try out the manual install... ;^) Thanks, Bobby ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 16:10 Message: Logged In: YES user_id=145585 (... and one should check one's typography when submitting late at night...) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 16:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Wed Jul 9 01:01:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 03:02:00 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 11:13 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None >Status: Closed Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-09 17:01 Message: Logged In: YES user_id=14198 I am sure this is fixed. There is a "bug" where the root of a UNC path is not considered a directory. ie, for me, "e" is the root of my e: >>> os.path.isdir(r"\eden\e\temp") True >>> os.path.isdir(r"\eden\e") False So this means that no one will be able to store in the *root* of a UNC path - which I think is fine. There is an existing Python bug on that, so when that is fixed, this will too. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 15:18 Message: Logged In: YES user_id=552329 I've checked in that change (to OptionsClass.py). I believe this should work now as long as os.path.isdir() works for the UNC directory on the user's system. This works for Bobby, but does not work on my system. I presume this is a Python thing and not a SpamBayes thing and so there's not much that can be done here. (Unless there is a different function that can be used to check if a directory exists that reliably works with UNC). Mark, you can close this if you think that it's not worth doing anything else. Otherwise, do want you want :) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 15:10 Message: Logged In: YES user_id=145585 Continuing to work with Tony, we believe we've isolated this to an "omission" bug -- the PATH was not allowing '$' to be included, which is a necessity for any hidden-share UNC paths... I think we can close this, and I believe Tony said he'd get the change rolled into the distribution (if I'm speaking for you, Tony, please step in). Now, off to try out the manual install... ;^) Thanks, Bobby ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 14:10 Message: Logged In: YES user_id=145585 (... and one should check one's typography when submitting late at night...) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 14:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Wed Jul 9 01:53:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 03:53:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765042 ] IMAP mail fails to filter Message-ID: Bugs item #765042, was opened at 2003-07-03 12:21 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765042&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Josh Goodman (jogoodma) Assigned to: Mark Hammond (mhammond) Summary: IMAP mail fails to filter Initial Comment: Incoming mail from IMAP server fails to get filtered and scored. I can manually filter mail but only after the messages have been marked read no matter what filter option I specify in the "Filter now" dialog box. The filter fails if junk mail is supposed to be moved to a local Outlook folder or another IMAP folder. This is happening with Outlook 2000 SP-1 on Win XP. The IMAP server is also using SSL for server connections. I have attached the logfile. Josh ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-09 17:53 Message: Logged In: YES user_id=14198 Fixed in CVS. Checking in filter.py; new revision: 1.26; previous revision: 1.25 Checking in msgstore.py; new revision: 1.48; previous revision: 1.47 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765042&group_id=61702 From noreply at sourceforge.net Wed Jul 9 06:32:40 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 08:32:54 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-740198 ] Installation fails with regsvr error Message-ID: Bugs item #740198, was opened at 2003-05-19 21:12 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 Category: Outlook Group: None Status: Pending Resolution: None Priority: 5 Submitted By: Rob de Santos (rdesantos) Assigned to: Mark Hammond (mhammond) Summary: Installation fails with regsvr error Initial Comment: I'm trying to install SpamBayes into Outlook XP on Win98SE. The install fails with a regsvr error. Attempts at manually registering the file also fail. Here's the log: Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\genca che.py", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) SystemError: PyErr_NormalizeException() called without exception Traceback (most recent call last): File "", line 11, in ? AttributeError: 'module' object has no attribute 'OutlookAddin' Any help? Cheers, Rob ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-09 08:32 Message: Logged In: YES user_id=120676 I've had both 002 and 003 installed, but either both have been uninstalled or 003 is still left on the machine. I also have Python installed and that's why I tried what you suggested to another user. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 01:01 Message: Logged In: YES user_id=14198 What version are you running? It looks like binary 002 - if so, please try version 003. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-08 18:16 Message: Logged In: YES user_id=120676 mhammond: you said >> * Go to a command prompt, and change to the >> \Python\lib\site-packages\com\win32com\client >> directory >> * Execute "python makepy.py -i" >> * Select any "Outlook XP" related entries (if >> necessary, repeat for each one). >> * You should get a coupld of lines of Python >> code generated. >> >> Mail me these lines, and I will send you a new >> version to test. Here's what I get: Microsoft Outlook View Control {0006F062-0000-0000-C000-000000000046}, lcid=0, major=1, minor=0 >>> # Use these commands in Python code to auto generate .py support >>> from win32com.client import gencache >>> gencache.EnsureModule('{0006F062-0000-0000-C000- 000000000046}', 0, 1, 0) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 07:44 Message: Logged In: YES user_id=14198 Seeing as you have Python installed, can you please try the following: * Go to a command prompt, and change to the \Python\lib\site-packages\com\win32com\client directory * Execute "python makepy.py -i" * Select any "Outlook XP" related entries (if necessary, repeat for each one). * You should get a coupld of lines of Python code generated. Mail me these lines, and I will send you a new version to test. I wish I had that combination to test here, but as I don't, this is my best hope :) ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 23:48 Message: Logged In: YES user_id=782486 Addendum: following my earlier post today I discovered release 3 of the code had been made. I retested install with the binary and it failed again with an error in the regsvr: DllRegisterServer ... failed Return Code was 0x80040201 with this in the log file: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 71, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I also tried the Python/open source install and it also fails with an error that "Outlook 2000 is not installed on this machine"... well, no isn't. Outlook 2002 (XP) is! I'd love to try out this program but if I can't get it to install I guess I'll never find out. -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:57 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Rob de Santos (rdesantos) Date: 2003-07-04 21:56 Message: Logged In: YES user_id=782486 OK, I'm new to this... any idea when we can expect a fix to this issue? Is it being worked on? Cheers, -Rob ---------------------------------------------------------------------- Comment By: Ken Walker (kwalker411) Date: 2003-05-23 12:26 Message: Logged In: YES user_id=785557 Hi Fellas. As per Tony Meyer's request, I'm appending my version information here. The plugin wouldn't install on my platform due to a regsvr error. System: Microsoft Windows 2000 5.00.2195 Service Pack 3 Mail Client: Microsoft Outlook 2002 10.4219.5025 Service Pack 2 Thanks, K ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-22 22:09 Message: Logged In: YES user_id=552329 >From the list: "I have a win2000 running outlook 2000 sr1 and I get the following message <> and the logs are as follows the first two time the log was empty but the next two time I got the following logs. <> <> David" The jpeg was just a screenshot of the regsvr error. Log3 is: "Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range" and log4 is: "warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) Unregistered: SpamBayes.OutlookAddin Traceback (most recent call last): File "", line 22, in DllUnregisterServer File "E:\src\spambayes\Outlook2000\addin.py", line 791, in UnregisterAddin File "E:\src\Installer\iu.py", line 296, in importHook ImportError: No module named _winreg" ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-22 19:45 Message: Logged In: YES user_id=14198 Noting a dupe in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=741914&group_id=61702 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=740198&group_id=61702 From noreply at sourceforge.net Wed Jul 9 13:28:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 15:28:38 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768682 ] Appointment filtered but can't be recovered Message-ID: Bugs item #768682, was opened at 2003-07-09 13:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768682&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul Grunwald (pgrunwald) Assigned to: Mark Hammond (mhammond) Summary: Appointment filtered but can't be recovered Initial Comment: Outlook Plugin Beta 3 Outlook 2002 SP1 I received an calender request that was filtered into unsure. When I try to recover it, I get the dialog "no message selected" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768682&group_id=61702 From noreply at sourceforge.net Wed Jul 9 15:10:14 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 17:10:18 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768732 ] "Failed to save the Spam score for message" error Message-ID: Bugs item #768732, was opened at 2003-07-09 16:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Roger B. Dannenberg (rbd) Assigned to: Nobody/Anonymous (nobody) Summary: "Failed to save the Spam score for message" error Initial Comment: Spam-bayes seems to have installed and set up everything properly, but nothing actually receives a spam score and no filtering takes place. The log file contains error messages including "Failed to save the Spam score for message ..." and "Failed filtering message! ..." and some stack trace info. I will append the log file. I'm running SpamBayes Outlook Addin Beta 1, Binary version 3 (July 2003) with Outlook on WinXP. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 From noreply at sourceforge.net Wed Jul 9 16:48:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 18:48:47 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-768162 ] UNC path for data_directory? Message-ID: Feature Requests item #768162, was opened at 2003-07-09 13:13 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 Category: Outlook Group: None Status: Closed Priority: 5 Submitted By: Bobby Wilkins (hwilkins) Assigned to: Mark Hammond (mhammond) Summary: UNC path for data_directory? Initial Comment: I'd like to keep one SpamBayes database, but I use several PCs threough out the day. I can mount a shared resource, and specify in my default_configuration.ini: data_directory:M:\data\Mail\SpamBayes However, I'd like to be able to specify a UNC path, like: data_directory:\myhost\c$\data\Mail\SpamBayes so that I do not have to keep a drive-letter mounted or rely on it being there... I realize that, for laptops, this might cause issues when offline; however, if that folder were marked for synchronization, it should work, right? Thanks, Bobby Wilkins ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-10 10:48 Message: Logged In: YES user_id=552329 :) Didn't think to check a folder past the root. This does indeed work for me, too, and explains why it worked for Bobby and not me. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 19:01 Message: Logged In: YES user_id=14198 I am sure this is fixed. There is a "bug" where the root of a UNC path is not considered a directory. ie, for me, "e" is the root of my e: >>> os.path.isdir(r"\eden\e\temp") True >>> os.path.isdir(r"\eden\e") False So this means that no one will be able to store in the *root* of a UNC path - which I think is fine. There is an existing Python bug on that, so when that is fixed, this will too. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 17:18 Message: Logged In: YES user_id=552329 I've checked in that change (to OptionsClass.py). I believe this should work now as long as os.path.isdir() works for the UNC directory on the user's system. This works for Bobby, but does not work on my system. I presume this is a Python thing and not a SpamBayes thing and so there's not much that can be done here. (Unless there is a different function that can be used to check if a directory exists that reliably works with UNC). Mark, you can close this if you think that it's not worth doing anything else. Otherwise, do want you want :) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 17:10 Message: Logged In: YES user_id=145585 Continuing to work with Tony, we believe we've isolated this to an "omission" bug -- the PATH was not allowing '$' to be included, which is a necessity for any hidden-share UNC paths... I think we can close this, and I believe Tony said he'd get the change rolled into the distribution (if I'm speaking for you, Tony, please step in). Now, off to try out the manual install... ;^) Thanks, Bobby ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 16:10 Message: Logged In: YES user_id=145585 (... and one should check one's typography when submitting late at night...) ---------------------------------------------------------------------- Comment By: Bobby Wilkins (hwilkins) Date: 2003-07-09 16:08 Message: Logged In: YES user_id=145585 Note: on discussion with Tony Meyer, it was identified to me that SpamBayes is doing an os.path.isdir() on the value of data_directory. My personal testing of this function indicates that it successfully identifies UNC paths; directiries return ture, and other items do not. Therefore, I suggest that this might be a "bug", not a "feature request". Should I re-submit in the "bugs" area? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=768162&group_id=61702 From noreply at sourceforge.net Wed Jul 9 16:51:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 18:51:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-690418 ] Non mail items filtered by Outlook Message-ID: Bugs item #690418, was opened at 2003-02-21 14:11 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 7 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Non mail items filtered by Outlook Initial Comment: DeliveryReports are filtered by SpamBayes. We should check that we are only filtering mail items. I added a check for this in the "Recover from Spam" buttons, so we can copy that. Indeed, we *must* copy that, as the filter may move such a message, but then our "Delete as/Recover from" buttons won't let us get it back ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-10 10:51 Message: Logged In: YES user_id=552329 Noting duplicate in https://sourceforge.net/tracker/? func=detail&atid=498103&aid=768682&group_id=61702 ([ 768682 ] Appointment filtered but can't be recovered) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 11:30 Message: Logged In: YES user_id=14198 Also happens for meeting requests (which apparently also often end up as unsure) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 From noreply at sourceforge.net Wed Jul 9 16:51:14 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 9 18:51:30 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768682 ] Appointment filtered but can't be recovered Message-ID: Bugs item #768682, was opened at 2003-07-10 07:28 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768682&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Paul Grunwald (pgrunwald) Assigned to: Mark Hammond (mhammond) Summary: Appointment filtered but can't be recovered Initial Comment: Outlook Plugin Beta 3 Outlook 2002 SP1 I received an calender request that was filtered into unsure. When I try to recover it, I get the dialog "no message selected" ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-10 10:51 Message: Logged In: YES user_id=552329 Dupe of 690418. https://sourceforge.net/tracker/index.php? func=detail&aid=690418&group_id=61702&atid=498103 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768682&group_id=61702 From noreply at sourceforge.net Thu Jul 10 07:52:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 09:52:33 2003 Subject: [spambayes-bugs] [ spambayes-Support Requests-769132 ] Cannot set the Certain Spam folder Message-ID: Support Requests item #769132, was opened at 2003-07-10 08:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 Category: None Group: None Status: Open Priority: 5 Submitted By: scot alexander (fluzwup) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot set the Certain Spam folder Initial Comment: I installed SpamBayes-Outlook-Setup-003.exe on Win2k running Outlook2k, and everything worked fine for about a week. Then my spam folder went away--I don't know whether I accidentally deleted the folder rather than its contents, or if the spam filter killed it--and now I cannot set the folder. If I go to the "Filter Rules" dialog, it will let me browse for a folder, and it will place it in the edit box, but when I click OK and go back to the "SpamBayes" dialog, I get "Watching 'Inbox'. Spam managed in '', unsure managed in" (at which point the content is clipped). I originally had the spam go to "Spam, spam, eggs and spam" and the usure go to "Bloody Vikings"; I've tried creating different folders for spam, with the same name as the original and with different names (including the reccommended "Spam"), but with no luck. I've uninstalled and reinstalled SpamBayes several times, shut down and restarted Outlook several times, searched the registry and the SpamBayes folder for "Bloody Vikings" to see if I could manually edit the configuration, but found nothing, and I've run out of ideas. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 From noreply at sourceforge.net Thu Jul 10 08:08:51 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 10:08:54 2003 Subject: [spambayes-bugs] [ spambayes-Support Requests-769132 ] Cannot set the Certain Spam folder Message-ID: Support Requests item #769132, was opened at 2003-07-10 13:52 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 Category: None Group: None Status: Open Priority: 5 Submitted By: scot alexander (fluzwup) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot set the Certain Spam folder Initial Comment: I installed SpamBayes-Outlook-Setup-003.exe on Win2k running Outlook2k, and everything worked fine for about a week. Then my spam folder went away--I don't know whether I accidentally deleted the folder rather than its contents, or if the spam filter killed it--and now I cannot set the folder. If I go to the "Filter Rules" dialog, it will let me browse for a folder, and it will place it in the edit box, but when I click OK and go back to the "SpamBayes" dialog, I get "Watching 'Inbox'. Spam managed in '', unsure managed in" (at which point the content is clipped). I originally had the spam go to "Spam, spam, eggs and spam" and the usure go to "Bloody Vikings"; I've tried creating different folders for spam, with the same name as the original and with different names (including the reccommended "Spam"), but with no luck. I've uninstalled and reinstalled SpamBayes several times, shut down and restarted Outlook several times, searched the registry and the SpamBayes folder for "Bloody Vikings" to see if I could manually edit the configuration, but found nothing, and I've run out of ideas. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-10 14:08 Message: Logged In: YES user_id=583713 As a workaround: With outlook and spambayes closed (check the processes in the task manager to be sure). Edit the C:\Documents and Settings\\Application Data\SpamBayes\Outlook.ini file removed the lines that start with "spam_folder_id" or just delete the file. Restart outlook and reconfig Spambayes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 From noreply at sourceforge.net Thu Jul 10 10:35:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 12:35:21 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-10 16:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Thu Jul 10 12:36:23 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 14:36:43 2003 Subject: [spambayes-bugs] [ spambayes-Support Requests-769132 ] Cannot set the Certain Spam folder Message-ID: Support Requests item #769132, was opened at 2003-07-10 08:52 Message generated for change (Comment added) made by fluzwup You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 Category: None Group: None >Status: Closed >Priority: 1 Submitted By: scot alexander (fluzwup) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot set the Certain Spam folder Initial Comment: I installed SpamBayes-Outlook-Setup-003.exe on Win2k running Outlook2k, and everything worked fine for about a week. Then my spam folder went away--I don't know whether I accidentally deleted the folder rather than its contents, or if the spam filter killed it--and now I cannot set the folder. If I go to the "Filter Rules" dialog, it will let me browse for a folder, and it will place it in the edit box, but when I click OK and go back to the "SpamBayes" dialog, I get "Watching 'Inbox'. Spam managed in '', unsure managed in" (at which point the content is clipped). I originally had the spam go to "Spam, spam, eggs and spam" and the usure go to "Bloody Vikings"; I've tried creating different folders for spam, with the same name as the original and with different names (including the reccommended "Spam"), but with no luck. I've uninstalled and reinstalled SpamBayes several times, shut down and restarted Outlook several times, searched the registry and the SpamBayes folder for "Bloody Vikings" to see if I could manually edit the configuration, but found nothing, and I've run out of ideas. ---------------------------------------------------------------------- >Comment By: scot alexander (fluzwup) Date: 2003-07-10 13:36 Message: Logged In: YES user_id=819950 There was no "Outlook.ini", but there was a "Scot Alexander.ini" that had "spam_folder_id" fields. Just to be on the safe side, I deleted the whole SpamBayes folder and re-trained. That appears to have solved the problem. Thanks. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-10 09:08 Message: Logged In: YES user_id=583713 As a workaround: With outlook and spambayes closed (check the processes in the task manager to be sure). Edit the C:\Documents and Settings\\Application Data\SpamBayes\Outlook.ini file removed the lines that start with "spam_folder_id" or just delete the file. Restart outlook and reconfig Spambayes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=769132&group_id=61702 From noreply at sourceforge.net Thu Jul 10 13:44:27 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 15:44:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761318 ] Moved mail is unfiltered Message-ID: Bugs item #761318, was opened at 2003-06-26 13:22 Message generated for change (Comment added) made by dginsburg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761318&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Welsh (markw_x) Assigned to: Mark Hammond (mhammond) Summary: Moved mail is unfiltered Initial Comment: When I use Outlook's rules wizard to move my emails to a different folder, they aren't filtered by the add-in. Both the inbox, where the message arrives for a second before the rule is used, and the destination folder, where the message is moved by the rule, are listed as folders that should be filtered by the add-in. The spam that arrives is given a spam score but not filtered accordingly. This is an excerpt from the log for a piece of spam that was given a rating of 100%: Message 'Get Your NEW Car ASAP' had a Spam classification of 'Yes' Training on message 'Get Your NEW Car ASAP' - trained as good Training on message 'Get Your NEW Car ASAP' - trained as spam It was trained as spam because I clicked the "Delete as Spam" button, not because of the filtering. I have Outlook 2002 SP-2. I'm using the latest binary of the add-in (SpamBayes-Outlook-Setup-002.exe). The spam filtering works fine for all other mail that's left in the inbox and not moved by a rule. ---------------------------------------------------------------------- Comment By: Dylan Ginsburg (dginsburg) Date: 2003-07-10 15:44 Message: Logged In: YES user_id=820134 I have the same problem. I was able to get the filtering to work by only watching the sub-folder to which I move certain emails. When I watch both the master and sub-folder the filtering doesn't work (though the spam % is correct). ---------------------------------------------------------------------- Comment By: Mark Welsh (markw_x) Date: 2003-07-01 21:12 Message: Logged In: YES user_id=809756 I just got the latest binary (SpamBayes-Outlook-Setup- 003.exe) and the bug still exists. I set SpamBayes to mark all spam as read. Although the spam doesn't get moved to the spam directory, it does get marked as read automatically. Unfortunately, it's still trained as good until I delete it manually. I thought maybe that observation would help. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761318&group_id=61702 From noreply at sourceforge.net Thu Jul 10 16:05:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 18:05:49 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769346 ] Problems after deleting certain spam folder Message-ID: Bugs item #769346, was opened at 2003-07-10 22:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Emile van Sebille (evansebille) Assigned to: Mark Hammond (mhammond) Summary: Problems after deleting certain spam folder Initial Comment: I have a customer running ol2000sr1 on winxp and I'd installed spambayes from cvs about three weeks ago. On Monday, my customer deleted the target folder of the certain spam rule, fouling things up, and could not simply restore the folder to get things working again. nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. Today, nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. After a few simple attempts, I tried to force a clean install by scrubbing everything which included: --exit and logoff from outlook --uninstalling (unregistering) spambayes --uninstalling outlook --deleting outlook related info from disk & registry --deleting spambayes related files from disk & registry --deleting mail profiles --reinstalling outlook --download and install v.3 from exe installer Even this did not work. I did get my customer going again by changing the certain spam filter to do nothing at 100% likelyhood of being spam, and redefining possible spam filter to move the spam to _junk at 85%. Kludge, but it works. So, one question... How do you make outlook forget about spambayes entirely to do a clean install? ...and one bug? Why couldn't I change the certain spam target folder? Thanks, Emile ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 From noreply at sourceforge.net Thu Jul 10 18:10:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 20:10:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-11 04:35 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 12:10 Message: Logged In: YES user_id=552329 What version of Windows/Outlook are you now using? Could you also go through the steps in the troubleshooting.html file and attach your log file? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Thu Jul 10 18:13:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 10 20:13:52 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769346 ] Problems after deleting certain spam folder Message-ID: Bugs item #769346, was opened at 2003-07-11 10:05 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Emile van Sebille (evansebille) Assigned to: Mark Hammond (mhammond) Summary: Problems after deleting certain spam folder Initial Comment: I have a customer running ol2000sr1 on winxp and I'd installed spambayes from cvs about three weeks ago. On Monday, my customer deleted the target folder of the certain spam rule, fouling things up, and could not simply restore the folder to get things working again. nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. Today, nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. After a few simple attempts, I tried to force a clean install by scrubbing everything which included: --exit and logoff from outlook --uninstalling (unregistering) spambayes --uninstalling outlook --deleting outlook related info from disk & registry --deleting spambayes related files from disk & registry --deleting mail profiles --reinstalling outlook --download and install v.3 from exe installer Even this did not work. I did get my customer going again by changing the certain spam filter to do nothing at 100% likelyhood of being spam, and redefining possible spam filter to move the spam to _junk at 85%. Kludge, but it works. So, one question... How do you make outlook forget about spambayes entirely to do a clean install? ...and one bug? Why couldn't I change the certain spam target folder? Thanks, Emile ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 12:13 Message: Logged In: YES user_id=552329 It does look like this may be a bug (certainly many people have had this trouble). I'll leave that for Mark ;) Regarding the question - all you need to do is delete all the *.ini files in your spambayes data directory. When you next start Outlook you will then be able to reconfigure the plugin. See faq 3.6 for details about where this folder is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 From noreply at sourceforge.net Thu Jul 10 22:16:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 00:16:52 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-765924 ] Spam / ham statistics Message-ID: Feature Requests item #765924, was opened at 2003-07-04 08:51 Message generated for change (Comment added) made by dze27 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=765924&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Magnus Aycox (mbip) Assigned to: Mark Hammond (mhammond) Summary: Spam / ham statistics Initial Comment: Possibility to get statistics on how many mails were received per hour / day and how many of these were spam messages. It would be great if it could be presented both as numbers and graphically (impresses CEO's...). The means to print it as a hard copy would be just swell... ;o) ---------------------------------------------------------------------- Comment By: Mark Jeays (dze27) Date: 2003-07-11 00:16 Message: Logged In: YES user_id=302748 I'm just another user but I think this would be a great addition. I'd also be interested in: number of false positives (along with percentage of total), number of false negatives (along with percentage of total) and percentage of mail received that is spam. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=765924&group_id=61702 From noreply at sourceforge.net Thu Jul 10 22:25:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 00:26:05 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-765924 ] Spam / ham statistics Message-ID: Feature Requests item #765924, was opened at 2003-07-05 00:51 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=765924&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Magnus Aycox (mbip) Assigned to: Mark Hammond (mhammond) Summary: Spam / ham statistics Initial Comment: Possibility to get statistics on how many mails were received per hour / day and how many of these were spam messages. It would be great if it could be presented both as numbers and graphically (impresses CEO's...). The means to print it as a hard copy would be just swell... ;o) ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 16:25 Message: Logged In: YES user_id=552329 It's not exactly what you have asked for, but as a start, are you aware that in the logs, each time you shut Outlook down it prints a message like: "SpamBayes processed 555 messages, finding 34 spam and 11 unsure" (So you could shut Outlook down each hour/day, to generate this message). It's unlikely that a graphical version would ever be made, but it would be easy enough to throw numbers like this into Excel and get pretty graphs. The number of false positives/negatives is more difficult because SpamBayes doesn't really have any way to know that mail is a fp/fn. It could print the number of times the "delete as spam" and "recover from spam" buttons are used, I guess, but this would include all unsure mail, which aren't exactly fp/fn's. ---------------------------------------------------------------------- Comment By: Mark Jeays (dze27) Date: 2003-07-11 16:16 Message: Logged In: YES user_id=302748 I'm just another user but I think this would be a great addition. I'd also be interested in: number of false positives (along with percentage of total), number of false negatives (along with percentage of total) and percentage of mail received that is spam. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=765924&group_id=61702 From noreply at sourceforge.net Fri Jul 11 05:21:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 07:22:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769588 ] data_directory doesn't work Message-ID: Bugs item #769588, was opened at 2003-07-11 13:21 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: data_directory doesn't work Initial Comment: I am using the outlook plugin (version 0.3) and I have two users on Windows XP/Outlook XP. I've tried to use the data_directory option to only have one database. The plugin doesn't load the data_directory. I've used all possible ways to name the directory (no quotes, single and double quotes, single backslash, double backslash, forward slash). Here are the messages in the logfile. Attempted to set [General] data_directory with invalid value 'C:\Documents and Settings\Edwin\Application Data\SpamBayes' () Loaded bayes database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 From noreply at sourceforge.net Fri Jul 11 06:56:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 08:56:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769619 ] message time shifts when moved from possible to ham folder Message-ID: Bugs item #769619, was opened at 2003-07-11 08:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joe Copley (jcopley) Assigned to: Mark Hammond (mhammond) Summary: message time shifts when moved from possible to ham folder Initial Comment: When a message is placed in my possible SPAM folder, and I use the recover button to move it back to my inbox, the message time is moved earlier by 8 hours. I have Outlook XP and am in the Eastern time zone. My Inbox is an IMAP account. The SPAM and Possible SPAM folders are local Outlook Accounts. I use Rockliffe Mailsite as my mail server. I have detected quirky behavior in Outlook before installing SpamBayes. For example, sometimes the rules simply stop working for no discernable reason. These problems migrated from Outlook 2000 on Win 98 to Outlook 2002 on XP. On XP only, whenever I start Outlook after boot, the rules simply don't get invoked and I have to run them manually. I am using Beta 1, Binary Version 3. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 From noreply at sourceforge.net Fri Jul 11 09:40:41 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 11:40:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-10 16:35 Message generated for change (Comment added) made by jtlove You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- >Comment By: Jason Love (jtlove) Date: 2003-07-11 15:40 Message: Logged In: YES user_id=667319 I am using Outlook 2002 with XP Profesional. Working through the troubleshooting.html, I found that the plugin failed to load but was checked under the com-addins and not shown as a disabled item under the Help - About Outlook. I have attached the log file. Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 00:10 Message: Logged In: YES user_id=552329 What version of Windows/Outlook are you now using? Could you also go through the steps in the troubleshooting.html file and attach your log file? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Fri Jul 11 14:28:49 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 16:37:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761250 ] .dll doesn't stay checked in COM Add-Ins window Message-ID: Bugs item #761250, was opened at 2003-06-26 15:40 Message generated for change (Comment added) made by byjiminy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761250&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: James Noser (byjiminy) Assigned to: Mark Hammond (mhammond) Summary: .dll doesn't stay checked in COM Add-Ins window Initial Comment: I downloaded some Windows security patches yesterday and SpamBayes no longer appeared in the toolbar. I uninstalled and reinstalled both SpamBayes and Outlook. I tried to instal Spambayes using the binary and the addin.py source. The COM add-in appeared in the Outlook menu, I checked it, and chose OK. Then when I opened the COM add-in window again, the Spam Bayes add-in wasn't checked. The attached log file documents three tries. I removed the .dll from the COM add-in window, and then added it in again. Sometimes this caused Outlook to Crash. Strangely enough, the log file shows the application trying to access files on the E: drive. Both Outlook and Spambayes are installed on my C: drive. As a note, I've passed this program to several associates who love the software. They worry though, that my problems may come their way. Let me know if I can offer any other information. Thanks PS - Windows 2000 Professional, Office 2000 Proffessional ---------------------------------------------------------------------- >Comment By: James Noser (byjiminy) Date: 2003-07-11 20:28 Message: Logged In: YES user_id=810155 Here are the updates I installed the day SpamBayes gave up. Successful Wednesday, June 25, 2003 814078: Security Update (Microsoft Jscript version 5.6, Windows 2000, Windows XP) Automatic update Successful Wednesday, June 25, 2003 330994: April 2003, Security Update for Outlook Express 6 SP1 Automatic update Successful Wednesday, June 25, 2003 818529: June 2003, Cumulative Patch for Internet Explorer 6 Service Pack 1 Automatic update ---------------------------------------------------------------------- Comment By: James Noser (byjiminy) Date: 2003-06-30 15:23 Message: Logged In: YES user_id=810155 I've added the log file from an installation attempt. I ran addin.py. Here is the log. Thanks again ---------------------------------------------------------------------- Comment By: Jason Hihn (jhihn1) Date: 2003-06-28 01:03 Message: Logged In: YES user_id=142836 PLEASE PEOPLE, BE ADVISED: That it is not actually looking for a E: drive. When the python code was compiled, it stored the path information of the source files. It is telling the developers what function in what file had the problem, along with how it got there. It is not actually looking for a file. ---------------------------------------------------------------------- Comment By: Jason Behring (jbehring20) Date: 2003-06-27 17:17 Message: Logged In: YES user_id=811023 I am also running into the same problems on Windows 98 with Outllok 2000. removed the .dll and tried to add it again manually and this is the error I got: OUTLOOK caused an invalid page fault in module PYTHON23.DLL at 0187:1e03ff78. Registers: EAX=505c3a43 CS=0187 EIP=1e03ff78 EFLGS=00010246 EBX=005a3b70 SS=018f ESP=0056b834 EBP=1e0b8ec0 ECX=005fdc70 DS=018f ESI=005fdc70 FS=4daf EDX=00705130 ES=018f EDI=1e03ff70 GS=0000 Bytes at CS:EIP: 8b 48 54 f6 c5 40 74 1f 8b 80 a4 00 00 00 85 c0 Stack dump: 00000000 1e0352fd 005fdc70 00000000 1e0b8ea8 005a3b60 00000002 005f4da0 00000020 1e03ff5d 005fdc70 1e03ff70 00000000 1e0b8ea8 00000001 1e03fd38 This is my first post and I don't see where to upload the log file, so I'll just add it here. SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding ---------------------------------------------------------------------- Comment By: Johan Nilsson (gnistan) Date: 2003-06-27 07:11 Message: Logged In: YES user_id=810664 I ran it on Outlook 2002 Swedish, this result did I get: SpamAddin - Connecting to Outlook Created new configuration file 'C:\Documents and Settings\bheljoni\Application Data\SpamBayes\default_configuration.pck' pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 156, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 71, in import_core_spambayes_stuff File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\spambayes\tokenizer.py", line 659, in ? exceptions.AttributeError: 'OptionsClass' object has no attribute 'skip_max_word_size' Removed it from COM addins and added it again: Registered: SpamBayes.OutlookAddin SpamAddin - Connecting to Outlook Created new configuration file 'C:\Documents and Settings\bheljoni\Application Data\SpamBayes\default_configuration.pck' pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 156, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 71, in import_core_spambayes_stuff exceptions.ImportError: cannot import name tokenize ---------------------------------------------------------------------- Comment By: Jason Hihn (jhihn1) Date: 2003-06-26 19:36 Message: Logged In: YES user_id=142836 I have the same problem. here's my log: SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761250&group_id=61702 From noreply at sourceforge.net Fri Jul 11 20:48:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 22:48:49 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 02:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Fri Jul 11 20:54:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 11 22:54:20 2003 Subject: [spambayes-bugs] [ spambayes-Patches-762577 ] Outlook 2003 Workarounds Message-ID: Patches item #762577, was opened at 2003-06-29 04:56 Message generated for change (Settings changed) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=762577&group_id=61702 Category: Outlook Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook 2003 Workarounds Initial Comment: This patch makes the toolbar display in OL 2003 and adds a option to run a timer to look for new mail because outlook 2003 doesn't fire the events properly. A diff -u is attached. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 17:41 Message: Logged In: YES user_id=583713 No longer needed after install the techinal refresh for outlook 2003. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=762577&group_id=61702 From noreply at sourceforge.net Sat Jul 12 06:17:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 12 08:17:32 2003 Subject: [spambayes-bugs] [ spambayes-Support Requests-770111 ] "Could not extract ID" (Win98/OE) Message-ID: Support Requests item #770111, was opened at 2003-07-12 12:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=770111&group_id=61702 Category: None Group: None Status: Open Priority: 5 Submitted By: Chris Caston (caston) Assigned to: Nobody/Anonymous (nobody) Summary: "Could not extract ID" (Win98/OE) Initial Comment: Hello, I'm testing this on Win98/ Outlook Express and must have have an option set incorrectly. I'm using spambayes 1.0a4 and Python 2.2.3. In my command prompt window for the smtp proxy every time I try forwarding an e-mail I get the message: "Could not extract ID" Any idea how to fix this? Please find my config file attached: ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=770111&group_id=61702 From noreply at sourceforge.net Sat Jul 12 09:36:06 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 12 11:36:09 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770175 ] resources/ui_html.py as plain ASCII Message-ID: Bugs item #770175, was opened at 2003-07-12 10:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Richie Hindle (richiehindle) Summary: resources/ui_html.py as plain ASCII Initial Comment: Python 2.3 emits a warning about non-ASCII data in resources/ui_html.py: /Users/skip/src/spambayes/spambayes/ UserInterface.py:193: DeprecationWarning: Non-ASCII character '\xda' in file /Users/skip/src/spambayes/ spambayes/resources/ui_html.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I could add a coding comment but have no idea what to add since that's not any Unicode encoding. Instead, the attached patch further encodes the compressed data as base64 so the file only contains ASCII data. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 From noreply at sourceforge.net Sat Jul 12 22:27:40 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 00:27:50 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770397 ] Outlook Not Responding Message-ID: Bugs item #770397, was opened at 2003-07-13 14:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770397&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Leonard Abbey (lba) Assigned to: Mark Hammond (mhammond) Summary: Outlook Not Responding Initial Comment: Approx 1 on 8 to 10 times that I start Outlook with SpamBytes filtering enabled Outlook Hangs part way through the download of messages. Say at 31 of 50 messages. Cancelling and restarting Outlook results in the same problem at the same message count (31 of 50.) If I turn off the filtering of SpamBytes the messages download successfully. Filtering the downloaded messages works fine on these downloaded messages (although I don;t think it Moves them to the designated folders - need to recheck to be 100% sure of this.) Outlook has not previously experienced this problem prior to installing SpamBytes. I am running Windows XP Home edition - with most fixes applied. Outlook is Outlook 2000 SP-3 (9.0.0.6627) Just looking at the Log file, is it possible that my Outlook Filtering is moving messages before SpamBytes gets a chance to analyse them? SpamBytes does seem to lag a little behind the download by my casual observation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770397&group_id=61702 From noreply at sourceforge.net Sun Jul 13 04:04:41 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 06:04:46 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770175 ] resources/ui_html.py as plain ASCII Message-ID: Bugs item #770175, was opened at 2003-07-12 15:36 Message generated for change (Comment added) made by richiehindle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Richie Hindle (richiehindle) Summary: resources/ui_html.py as plain ASCII Initial Comment: Python 2.3 emits a warning about non-ASCII data in resources/ui_html.py: /Users/skip/src/spambayes/spambayes/ UserInterface.py:193: DeprecationWarning: Non-ASCII character '\xda' in file /Users/skip/src/spambayes/ spambayes/resources/ui_html.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I could add a coding comment but have no idea what to add since that's not any Unicode encoding. Instead, the attached patch further encodes the compressed data as base64 so the file only contains ASCII data. ---------------------------------------------------------------------- >Comment By: Richie Hindle (richiehindle) Date: 2003-07-13 10:04 Message: Logged In: YES user_id=85414 The .py files in the reources directory are created automatically from the html/gif/etc files by Mike Fletcher's Resource Package, so patching them won't help in the long run. Tony has already raised the issue with Mike, but not to anyone's real satisfaction judging by the comments in the RFE: http://sourceforge.net/tracker/index.php? func=detail&aid=732511&group_id=71287&atid=530785 I know nothing about Unicode or character encodings, so I don't really know what to add. Your scheme of base64 encoding sounds like it should work, but Mike may have some reason for not doing that. I've asked about it in his RFE. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 From noreply at sourceforge.net Sun Jul 13 10:14:46 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 12:14:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770175 ] resources/ui_html.py as plain ASCII Message-ID: Bugs item #770175, was opened at 2003-07-12 15:36 Message generated for change (Comment added) made by richiehindle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 Category: pop3proxy Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Richie Hindle (richiehindle) Summary: resources/ui_html.py as plain ASCII Initial Comment: Python 2.3 emits a warning about non-ASCII data in resources/ui_html.py: /Users/skip/src/spambayes/spambayes/ UserInterface.py:193: DeprecationWarning: Non-ASCII character '\xda' in file /Users/skip/src/spambayes/ spambayes/resources/ui_html.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I could add a coding comment but have no idea what to add since that's not any Unicode encoding. Instead, the attached patch further encodes the compressed data as base64 so the file only contains ASCII data. ---------------------------------------------------------------------- >Comment By: Richie Hindle (richiehindle) Date: 2003-07-13 16:14 Message: Logged In: YES user_id=85414 Mike has released a new version (1.0.0b1) of Resource Package which resolves this. I've regenerated our resource modules with it. However, I didn't seem to get the warnings even before I did that. Skip, could you check that this fix works for you? Ta. ---------------------------------------------------------------------- Comment By: Richie Hindle (richiehindle) Date: 2003-07-13 10:04 Message: Logged In: YES user_id=85414 The .py files in the reources directory are created automatically from the html/gif/etc files by Mike Fletcher's Resource Package, so patching them won't help in the long run. Tony has already raised the issue with Mike, but not to anyone's real satisfaction judging by the comments in the RFE: http://sourceforge.net/tracker/index.php? func=detail&aid=732511&group_id=71287&atid=530785 I know nothing about Unicode or character encodings, so I don't really know what to add. Your scheme of base64 encoding sounds like it should work, but Mike may have some reason for not doing that. I've asked about it in his RFE. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 From noreply at sourceforge.net Sun Jul 13 11:05:48 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 13:05:58 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 02:48 Message generated for change (Settings changed) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) >Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sun Jul 13 12:41:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 14:41:55 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770175 ] resources/ui_html.py as plain ASCII Message-ID: Bugs item #770175, was opened at 2003-07-12 10:36 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 Category: pop3proxy Group: None Status: Closed Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Richie Hindle (richiehindle) Summary: resources/ui_html.py as plain ASCII Initial Comment: Python 2.3 emits a warning about non-ASCII data in resources/ui_html.py: /Users/skip/src/spambayes/spambayes/ UserInterface.py:193: DeprecationWarning: Non-ASCII character '\xda' in file /Users/skip/src/spambayes/ spambayes/resources/ui_html.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I could add a coding comment but have no idea what to add since that's not any Unicode encoding. Instead, the attached patch further encodes the compressed data as base64 so the file only contains ASCII data. ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-13 13:41 Message: Logged In: YES user_id=44345 Seems to, yes. ---------------------------------------------------------------------- Comment By: Richie Hindle (richiehindle) Date: 2003-07-13 11:14 Message: Logged In: YES user_id=85414 Mike has released a new version (1.0.0b1) of Resource Package which resolves this. I've regenerated our resource modules with it. However, I didn't seem to get the warnings even before I did that. Skip, could you check that this fix works for you? Ta. ---------------------------------------------------------------------- Comment By: Richie Hindle (richiehindle) Date: 2003-07-13 05:04 Message: Logged In: YES user_id=85414 The .py files in the reources directory are created automatically from the html/gif/etc files by Mike Fletcher's Resource Package, so patching them won't help in the long run. Tony has already raised the issue with Mike, but not to anyone's real satisfaction judging by the comments in the RFE: http://sourceforge.net/tracker/index.php? func=detail&aid=732511&group_id=71287&atid=530785 I know nothing about Unicode or character encodings, so I don't really know what to add. Your scheme of base64 encoding sounds like it should work, but Mike may have some reason for not doing that. I've asked about it in his RFE. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770175&group_id=61702 From noreply at sourceforge.net Sun Jul 13 16:54:57 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 18:55:07 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769588 ] data_directory doesn't work Message-ID: Bugs item #769588, was opened at 2003-07-11 23:21 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: data_directory doesn't work Initial Comment: I am using the outlook plugin (version 0.3) and I have two users on Windows XP/Outlook XP. I've tried to use the data_directory option to only have one database. The plugin doesn't load the data_directory. I've used all possible ways to name the directory (no quotes, single and double quotes, single backslash, double backslash, forward slash). Here are the messages in the logfile. Attempted to set [General] data_directory with invalid value 'C:\Documents and Settings\Edwin\Application Data\SpamBayes' () Loaded bayes database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-14 10:54 Message: Logged In: YES user_id=552329 What is the path that you are trying to give it? The error message is basically saying that it's an invalid path, but this could easily be because the regex testing it is wrong. (If it includes a '$', for example, this is fixed in CVS, but not in a release, yet). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 From noreply at sourceforge.net Sun Jul 13 17:01:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 13 19:02:01 2003 Subject: [spambayes-bugs] [ spambayes-Support Requests-770111 ] "Could not extract ID" (Win98/OE) Message-ID: Support Requests item #770111, was opened at 2003-07-13 00:17 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=770111&group_id=61702 Category: None Group: None >Status: Closed Priority: 5 Submitted By: Chris Caston (caston) Assigned to: Nobody/Anonymous (nobody) Summary: "Could not extract ID" (Win98/OE) Initial Comment: Hello, I'm testing this on Win98/ Outlook Express and must have have an option set incorrectly. I'm using spambayes 1.0a4 and Python 2.2.3. In my command prompt window for the smtp proxy every time I try forwarding an e-mail I get the message: "Could not extract ID" Any idea how to fix this? Please find my config file attached: ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-14 11:01 Message: Logged In: YES user_id=552329 Sorry, this is our fault for not updating the documentation. The option to put the id in the body of the message doesn't work in a3/a4 (a long and complicated story). There is still discussion about whether it will be added, or the option will be removed. Since OE is one of the mailers that doesn't work with the id in the headers, you'll have to use the web interface to train messages, sorry. There are other improvements arriving soon that will help this, though, including: * a new SMTP proxy that can be set to train on forwarded messages, rather than finding the right message in the cache. * a new application similar to pop3proxy that lets you train by moving mail from one folder to another. The option to put the id in the body *may* also make it back. Again, apologies for this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498104&aid=770111&group_id=61702 From noreply at sourceforge.net Sun Jul 13 23:12:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 01:12:10 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770793 ] Win98, database corrupts? Message-ID: Bugs item #770793, was opened at 2003-07-14 08:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Lauri Harpf (theranger54) Assigned to: Nobody/Anonymous (nobody) Summary: Win98, database corrupts? Initial Comment: Gives: --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 777, in ? run() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 752, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- on startup. Worked fine, then I rebooted the machine (shut down Spambayes through the Web interface) and then it simply refused to boot up with the above message. Error seems permanent, unless user does something drastic (ie. destroys the database). I'm running Win98 Se, using pop3proxy with Outlook 6 SP1, starting the program with c:\ohjelmatiedostot\python22\python.exe c:\ohjelmatiedostot\spambayes\pop3proxy. py -b Hard drive is a 80GB model, partitioned into one single partition using FAT32, 45,7GB still free. Spambayes version is 1.0 A4. The same problem also occurred with Alpha 3, it refuses to start up with the message --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 730, in ? run() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 705, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 547, in createWorke rs self.bayes = storage.DBDictClassifier(filename) File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- After a fresh install, the program usually works fine for a while. Every reboot does not appear to mix things up, it only seems to go bad after it has been running for a while and the user has classified enough messages. I run my comp mostly 24/7, so reboots are rare and Spambayes is usually running unless I need to boot. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 From noreply at sourceforge.net Mon Jul 14 00:44:52 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 02:45:09 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769588 ] data_directory doesn't work Message-ID: Bugs item #769588, was opened at 2003-07-11 13:21 Message generated for change (Comment added) made by eddepet_33 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: data_directory doesn't work Initial Comment: I am using the outlook plugin (version 0.3) and I have two users on Windows XP/Outlook XP. I've tried to use the data_directory option to only have one database. The plugin doesn't load the data_directory. I've used all possible ways to name the directory (no quotes, single and double quotes, single backslash, double backslash, forward slash). Here are the messages in the logfile. Attempted to set [General] data_directory with invalid value 'C:\Documents and Settings\Edwin\Application Data\SpamBayes' () Loaded bayes database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... ---------------------------------------------------------------------- >Comment By: Edwin (eddepet_33) Date: 2003-07-14 08:44 Message: Logged In: YES user_id=820567 The path is exactly as in the log-segment. There are spaces but no other strange characters. It doesn't load the path which contains 'Edwin' but it does use the path which contains 'Agnes'. The paths are basically the same. Could the spaces be a problem? I will give it a go tonight. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-14 00:54 Message: Logged In: YES user_id=552329 What is the path that you are trying to give it? The error message is basically saying that it's an invalid path, but this could easily be because the regex testing it is wrong. (If it includes a '$', for example, this is fixed in CVS, but not in a release, yet). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 From noreply at sourceforge.net Mon Jul 14 03:13:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 05:13:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770847 ] Training not possible on Outlook XP / WinXP Message-ID: Bugs item #770847, was opened at 2003-07-14 11:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Markus L. Noga (mlnoga) Assigned to: Mark Hammond (mhammond) Summary: Training not possible on Outlook XP / WinXP Initial Comment: The train spam button does not work. This breaks the entire plugin. Specifically, the logfile shows a warning "raising a string exception is deprecated" when I set the training folders, and it shows an assertion error that "Proportions must add to 1.0" when I press the training button. See attached logfile. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 From noreply at sourceforge.net Mon Jul 14 04:45:32 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 06:45:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770847 ] Training not possible on Outlook XP / WinXP Message-ID: Bugs item #770847, was opened at 2003-07-14 11:13 Message generated for change (Comment added) made by eddepet_33 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Markus L. Noga (mlnoga) Assigned to: Mark Hammond (mhammond) Summary: Training not possible on Outlook XP / WinXP Initial Comment: The train spam button does not work. This breaks the entire plugin. Specifically, the logfile shows a warning "raising a string exception is deprecated" when I set the training folders, and it shows an assertion error that "Proportions must add to 1.0" when I press the training button. See attached logfile. ---------------------------------------------------------------------- Comment By: Edwin (eddepet_33) Date: 2003-07-14 12:45 Message: Logged In: YES user_id=820567 This problem has been mentioned before on this list. One comment there suggested to keep trying. I had the same problem on Outlook XP and WinXP but after a couple of restarts of Outlook it suddenly worked. I don't have any problems now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 From noreply at sourceforge.net Mon Jul 14 13:45:37 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 15:45:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771192 ] Spam "Moved" but Original Left in Inbox as Read Message-ID: Bugs item #771192, was opened at 2003-07-14 14:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771192&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Heath Stewart (clubstew) Assigned to: Nobody/Anonymous (nobody) Summary: Spam "Moved" but Original Left in Inbox as Read Initial Comment: Lately (and for no apparently reason I can think of, i.e. no new plugins, etc.) my SPAM filter isn't working as it should. I have SPAM setup to be *moved* to a subdir of the Inbox but the message is really only being copied. The original is left in the inbox although it is marked as read. Also, for these messages (it's not all, but most and I can't see the pattern) the Spam score column doesn't display at all. Also, the "Delete as Spam" button has stopped working (I'm guessing it's just a general problem, but the usual stuff (restarting, etc.) doesn't fix it). I have to move to the next message item, then back, and click the button. I can delete two messages before I have to repeat this process. This process, too, does not display a SPAM score in the Spam field. My setup is on XP using Exchange Server in Outlook. Sorry if this is a dup, but I couldn't really find another one like this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771192&group_id=61702 From noreply at sourceforge.net Mon Jul 14 16:10:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 14 18:10:21 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771256 ] Not scoring Spam Message-ID: Bugs item #771256, was opened at 2003-07-14 22:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771256&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Hagie (shagie) Assigned to: Mark Hammond (mhammond) Summary: Not scoring Spam Initial Comment: For the most part the Outlook version works pretty well, but in two cases so far Spambayes will refuse to give it a score on the main page or sort it. One of the e-mails was spam, the other was not. The e-mails do not appear at all in the log. I can view the spam clues and it will give me accurate information of what score it should have given it though. For instance, the Spam got: '*H*' 3.14121e-008 - - '*S*' 0.999976 - - and the good e-mail got: '*H*' 0.999994 - - '*S*' 7.60678e-010 - - The good e-mail was unusual in that it had no subject line, the bad is pretty typical html spam. I won't bother adding the log since it does not show anything. I really like this program, I can not wait until you get all the bugs out. Scott ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771256&group_id=61702 From noreply at sourceforge.net Tue Jul 15 05:52:14 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 15 07:52:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771541 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771541, was opened at 2003-07-15 07:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 From noreply at sourceforge.net Tue Jul 15 05:52:36 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 15 07:52:41 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771542 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771542, was opened at 2003-07-15 07:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771542&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771542&group_id=61702 From noreply at sourceforge.net Wed Jul 16 02:25:00 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 04:25:07 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771542 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771542, was opened at 2003-07-15 21:52 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771542&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771542&group_id=61702 From noreply at sourceforge.net Wed Jul 16 02:27:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 04:27:18 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770847 ] Training not possible on Outlook XP / WinXP Message-ID: Bugs item #770847, was opened at 2003-07-14 19:13 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Markus L. Noga (mlnoga) Assigned to: Mark Hammond (mhammond) Summary: Training not possible on Outlook XP / WinXP Initial Comment: The train spam button does not work. This breaks the entire plugin. Specifically, the logfile shows a warning "raising a string exception is deprecated" when I set the training folders, and it shows an assertion error that "Proportions must add to 1.0" when I press the training button. See attached logfile. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-16 18:27 Message: Logged In: YES user_id=14198 Thanks - dupe of 765912 ---------------------------------------------------------------------- Comment By: Edwin (eddepet_33) Date: 2003-07-14 20:45 Message: Logged In: YES user_id=820567 This problem has been mentioned before on this list. One comment there suggested to keep trying. I had the same problem on Outlook XP and WinXP but after a couple of restarts of Outlook it suddenly worked. I don't have any problems now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770847&group_id=61702 From noreply at sourceforge.net Wed Jul 16 02:47:40 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 04:47:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-772155 ] Meeting requests Message-ID: Bugs item #772155, was opened at 2003-07-16 08:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kevin Smith (ksmith42) Assigned to: Mark Hammond (mhammond) Summary: Meeting requests Initial Comment: If a meeting request is identified as spam or possible spam then the recover from spam button does not work correctly, the message "No Items Selected" is displayed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 From noreply at sourceforge.net Wed Jul 16 08:04:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 10:04:55 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770793 ] Win98, database corrupts? Message-ID: Bugs item #770793, was opened at 2003-07-14 01:12 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Lauri Harpf (theranger54) Assigned to: Nobody/Anonymous (nobody) Summary: Win98, database corrupts? Initial Comment: Gives: --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 777, in ? run() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 752, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- on startup. Worked fine, then I rebooted the machine (shut down Spambayes through the Web interface) and then it simply refused to boot up with the above message. Error seems permanent, unless user does something drastic (ie. destroys the database). I'm running Win98 Se, using pop3proxy with Outlook 6 SP1, starting the program with c:\ohjelmatiedostot\python22\python.exe c:\ohjelmatiedostot\spambayes\pop3proxy. py -b Hard drive is a 80GB model, partitioned into one single partition using FAT32, 45,7GB still free. Spambayes version is 1.0 A4. The same problem also occurred with Alpha 3, it refuses to start up with the message --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 730, in ? run() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 705, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 547, in createWorke rs self.bayes = storage.DBDictClassifier(filename) File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- After a fresh install, the program usually works fine for a while. Every reboot does not appear to mix things up, it only seems to go bad after it has been running for a while and the user has classified enough messages. I run my comp mostly 24/7, so reboots are rare and Spambayes is usually running unless I need to boot. ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-16 10:04 Message: Logged In: YES user_id=31435 The "dumbdbm._Database instance" in the traceback is a sure sign of a recently-diagnosed critical problem. Since you're using Outlook, using the Outlook addin instead of pop3proxy will cure it. If for some reason you want to use pop3proxy with Outlook (I woudn't -- the Outlook addin is a joy), you'll need to install "a real" database. Python 2.3 will ship with a current version of Sleepycat's Berkeley bsddb database. For Python 2.2.3, that can be obtained separately from the SourceForge PyBSDDB project: http://pybsddb.sf.net/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 From noreply at sourceforge.net Wed Jul 16 08:50:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 10:50:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761797 ] "Failed to call the universal dispatcher" Message-ID: Bugs item #761797, was opened at 2003-06-27 06:45 Message generated for change (Comment added) made by kwladyka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Simon Caddy (simoncaddy) Assigned to: Mark Hammond (mhammond) Summary: "Failed to call the universal dispatcher" Initial Comment: My Spambayes log shows this error: SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding Any ideas...? ---------------------------------------------------------------------- Comment By: Kevin Wladyka (kwladyka) Date: 2003-07-16 08:50 Message: Logged In: YES user_id=823907 I assume the latest download (1.0a4) is the 0.3 binary or later? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-01 17:12 Message: Logged In: YES user_id=14198 Fixed in the 0.3 binary. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 03:29 Message: Logged In: YES user_id=810828 Outlook 2002 also then, sorry, misread your earlier post ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 03:13 Message: Logged In: YES user_id=813286 Yes and no. I don't know about how close code relationship there is between Outlook 2000 and 2002 (2k2) which I am running. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 03:09 Message: Logged In: YES user_id=810828 Vaguely reassurring to know it's not just a 98/Me problem then... common factor so far is Outlook 2K. ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 02:59 Message: Logged In: YES user_id=813286 I have this exact problem under Windows XP w/ Outlook 2k2 sp2, english. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-06-30 02:35 Message: Logged In: YES user_id=810828 Yeah, thanks... I have now seem at the top of the docs page "current binary installer will not work with Windows 98"... but no solution!? ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-06-28 23:30 Message: Logged In: YES user_id=738765 It seems you have the same problem as the one reported in 761316. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 From noreply at sourceforge.net Wed Jul 16 16:15:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 16 18:15:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761797 ] "Failed to call the universal dispatcher" Message-ID: Bugs item #761797, was opened at 2003-06-28 00:45 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Simon Caddy (simoncaddy) Assigned to: Mark Hammond (mhammond) Summary: "Failed to call the universal dispatcher" Initial Comment: My Spambayes log shows this error: SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding Any ideas...? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-17 10:15 Message: Logged In: YES user_id=552329 Kinda. The spambayes_1.0a4 download is *source only*. This does include the source for the latest binary Outlook plug-in, but if you want the binary installer, then you must get this from Mark's webpage. The downloads page has details/links. ---------------------------------------------------------------------- Comment By: Kevin Wladyka (kwladyka) Date: 2003-07-17 02:50 Message: Logged In: YES user_id=823907 I assume the latest download (1.0a4) is the 0.3 binary or later? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 11:12 Message: Logged In: YES user_id=14198 Fixed in the 0.3 binary. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 21:29 Message: Logged In: YES user_id=810828 Outlook 2002 also then, sorry, misread your earlier post ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 21:13 Message: Logged In: YES user_id=813286 Yes and no. I don't know about how close code relationship there is between Outlook 2000 and 2002 (2k2) which I am running. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 21:09 Message: Logged In: YES user_id=810828 Vaguely reassurring to know it's not just a 98/Me problem then... common factor so far is Outlook 2K. ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 20:59 Message: Logged In: YES user_id=813286 I have this exact problem under Windows XP w/ Outlook 2k2 sp2, english. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-06-30 20:35 Message: Logged In: YES user_id=810828 Yeah, thanks... I have now seem at the top of the docs page "current binary installer will not work with Windows 98"... but no solution!? ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-06-29 17:30 Message: Logged In: YES user_id=738765 It seems you have the same problem as the one reported in 761316. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 From noreply at sourceforge.net Thu Jul 17 18:49:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 17 20:49:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Thu Jul 17 19:27:26 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 17 21:27:29 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-773382 ] Add training on outgoing messages Message-ID: Feature Requests item #773382, was opened at 2003-07-17 18:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=773382&group_id=61702 Category: None Group: None Status: Open Priority: 5 Submitted By: Leonid (leobru) Assigned to: Nobody/Anonymous (nobody) Summary: Add training on outgoing messages Initial Comment: So far SpamBayes only worked in a "reactive" mode, when a message is first classified, then used for training. I am proposing to use a "proactive" mode as well: training on outgoing messages that are ham by definition. Such training will provide for increased "hamminess" of letters from your new correspondents even before you have received a single letter from them! Obviously, training on outgoing mail must differ from training on good incoming mail: the From/Cc/To/Reply-To/Bcc headers must be handled appropriately, the absence of Received and other headers that are only likely to be present in incoming messages must be ignored, and the Message-Id can be kept as well to be matched with In-Reply-To. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=773382&group_id=61702 From noreply at sourceforge.net Fri Jul 18 00:05:21 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 18 02:05:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773452 ] Unable to use fractional number as spam_threshold Message-ID: Bugs item #773452, was opened at 2003-07-18 10:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773452&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andrew Zaikin (ghuron) Assigned to: Mark Hammond (mhammond) Summary: Unable to use fractional number as spam_threshold Initial Comment: Assumes that I want to use 99.5% as a threshold for considering message as spam. I can open "Filter rules window" and try to put here "99,5" (because decimal separator in my regional settings is comma) - it said "please enter a number". Ok, I put there "99.5". Open it again - you will see "99". Press "OK" button - you will get "spam_threshold:99.0" in outlook.ini After some action I have even seen "995.0" value in .ini file, but unfortunatly I was not able to figure out steps to reproduce. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773452&group_id=61702 From noreply at sourceforge.net Fri Jul 18 00:26:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 18 02:26:55 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773452 ] Unable to use fractional number as spam_threshold Message-ID: Bugs item #773452, was opened at 2003-07-18 18:05 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773452&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Andrew Zaikin (ghuron) Assigned to: Mark Hammond (mhammond) Summary: Unable to use fractional number as spam_threshold Initial Comment: Assumes that I want to use 99.5% as a threshold for considering message as spam. I can open "Filter rules window" and try to put here "99,5" (because decimal separator in my regional settings is comma) - it said "please enter a number". Ok, I put there "99.5". Open it again - you will see "99". Press "OK" button - you will get "spam_threshold:99.0" in outlook.ini After some action I have even seen "995.0" value in .ini file, but unfortunatly I was not able to figure out steps to reproduce. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-18 18:26 Message: Logged In: YES user_id=552329 Using a comma is problematic - once the locale fix bug (in other tracker) is fixed, this might be too. However, I'm able to set 99.5 and have it appear in my ini file. However, it does print it as an integer, and if you go back and look at it and then click ok again, it will save the int. I've checked in a change that fixes this (v1.19 of FilterDialog.py). We'll see if Mark likes it :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773452&group_id=61702 From noreply at sourceforge.net Fri Jul 18 09:02:45 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 18 11:02:49 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761507 ] Outlook Express reports pop3proxy not responding. Message-ID: Bugs item #761507, was opened at 2003-06-26 22:26 Message generated for change (Comment added) made by the_onceler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761507&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jason Foster (the_onceler) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook Express reports pop3proxy not responding. Initial Comment: I am running v 1.0a3 and it, along with v1.0a2 for some reason now likes to break connection with Outlook Express. Outlook Express states the POP3 server is not responding and no matter how many times you tell it to wait, it never finishes getting the messages. If you tell Outlook Express to get messages again, it will start downloading the messages from the beginning again with no problem. pop3proxy is not generating any error messages and it doesn't crash. I thought this could be a problem with a message, but if I delete all the messages out of my mailbox on the pop3 server to the message it stoped downloading on, it has no problem getting the rest of them all. I don't think it's a corrupt database because I have just recreated the problem on a new machine that I started with a fresh install. ---------------------------------------------------------------------- >Comment By: Jason Foster (the_onceler) Date: 2003-07-18 15:02 Message: Logged In: YES user_id=55450 I installed 1.0a4 as soon as it came out on both machines and I am not experiencing the problem any longer, so I am assuming that the problem has been corrected in the source code somewhere. ---------------------------------------------------------------------- Comment By: Richie Hindle (richiehindle) Date: 2003-07-02 20:34 Message: Logged In: YES user_id=85414 Could you add the following to your bayescustomize.ini: [globals] verbose=True and try again? This should create a file called _pop3proxy.log in the working directory, which will contain a dump of the entire POP3 conversation. At the point the thing hangs, break into it using Ctrl+C or Ctrl+Break. Then please attach _pop3proxy.log to this bug report (censor anything you don't want public - it contains your POP3 password, plus all the emails you download... if you'd rather not publish it on sourceforge, send it to me by private email instead, to richie@entrian.com). Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761507&group_id=61702 From noreply at sourceforge.net Fri Jul 18 11:58:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 18 13:58:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761507 ] Outlook Express reports pop3proxy not responding. Message-ID: Bugs item #761507, was opened at 2003-06-26 22:26 Message generated for change (Comment added) made by richiehindle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761507&group_id=61702 Category: pop3proxy Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jason Foster (the_onceler) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook Express reports pop3proxy not responding. Initial Comment: I am running v 1.0a3 and it, along with v1.0a2 for some reason now likes to break connection with Outlook Express. Outlook Express states the POP3 server is not responding and no matter how many times you tell it to wait, it never finishes getting the messages. If you tell Outlook Express to get messages again, it will start downloading the messages from the beginning again with no problem. pop3proxy is not generating any error messages and it doesn't crash. I thought this could be a problem with a message, but if I delete all the messages out of my mailbox on the pop3 server to the message it stoped downloading on, it has no problem getting the rest of them all. I don't think it's a corrupt database because I have just recreated the problem on a new machine that I started with a fresh install. ---------------------------------------------------------------------- >Comment By: Richie Hindle (richiehindle) Date: 2003-07-18 17:58 Message: Logged In: YES user_id=85414 Glad to hear it's working for you. ---------------------------------------------------------------------- Comment By: Jason Foster (the_onceler) Date: 2003-07-18 15:02 Message: Logged In: YES user_id=55450 I installed 1.0a4 as soon as it came out on both machines and I am not experiencing the problem any longer, so I am assuming that the problem has been corrected in the source code somewhere. ---------------------------------------------------------------------- Comment By: Richie Hindle (richiehindle) Date: 2003-07-02 20:34 Message: Logged In: YES user_id=85414 Could you add the following to your bayescustomize.ini: [globals] verbose=True and try again? This should create a file called _pop3proxy.log in the working directory, which will contain a dump of the entire POP3 conversation. At the point the thing hangs, break into it using Ctrl+C or Ctrl+Break. Then please attach _pop3proxy.log to this bug report (censor anything you don't want public - it contains your POP3 password, plus all the emails you download... if you'd rather not publish it on sourceforge, send it to me by private email instead, to richie@entrian.com). Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761507&group_id=61702 From noreply at sourceforge.net Sat Jul 19 21:30:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 19 23:30:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769346 ] Problems after deleting certain spam folder Message-ID: Bugs item #769346, was opened at 2003-07-10 22:05 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Emile van Sebille (evansebille) Assigned to: Mark Hammond (mhammond) Summary: Problems after deleting certain spam folder Initial Comment: I have a customer running ol2000sr1 on winxp and I'd installed spambayes from cvs about three weeks ago. On Monday, my customer deleted the target folder of the certain spam rule, fouling things up, and could not simply restore the folder to get things working again. nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. Today, nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. After a few simple attempts, I tried to force a clean install by scrubbing everything which included: --exit and logoff from outlook --uninstalling (unregistering) spambayes --uninstalling outlook --deleting outlook related info from disk & registry --deleting spambayes related files from disk & registry --deleting mail profiles --reinstalling outlook --download and install v.3 from exe installer Even this did not work. I did get my customer going again by changing the certain spam filter to do nothing at 100% likelyhood of being spam, and redefining possible spam filter to move the spam to _junk at 85%. Kludge, but it works. So, one question... How do you make outlook forget about spambayes entirely to do a clean install? ...and one bug? Why couldn't I change the certain spam target folder? Thanks, Emile ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 03:30 Message: Logged In: YES user_id=583713 Patch #769981 http://sourceforge.net/tracker/index.php? func=detail&aid=769981&group_id=61702&atid=498105 should fix this. When you say "deleting spambayes related file from disk & registry" did you also delete the ini files from the C:\Documents and Settings\\Application Data\SpamBayes directory and reconfigure as this would return all settings to defaults? ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 00:13 Message: Logged In: YES user_id=552329 It does look like this may be a bug (certainly many people have had this trouble). I'll leave that for Mark ;) Regarding the question - all you need to do is delete all the *.ini files in your spambayes data directory. When you next start Outlook you will then be able to reconfigure the plugin. See faq 3.6 for details about where this folder is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 From noreply at sourceforge.net Sat Jul 19 21:32:58 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 19 23:33:07 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 02:48 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-20 03:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sat Jul 19 21:53:22 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 19 23:53:29 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768732 ] "Failed to save the Spam score for message" error Message-ID: Bugs item #768732, was opened at 2003-07-09 21:10 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Roger B. Dannenberg (rbd) Assigned to: Nobody/Anonymous (nobody) Summary: "Failed to save the Spam score for message" error Initial Comment: Spam-bayes seems to have installed and set up everything properly, but nothing actually receives a spam score and no filtering takes place. The log file contains error messages including "Failed to save the Spam score for message ..." and "Failed filtering message! ..." and some stack trace info. I will append the log file. I'm running SpamBayes Outlook Addin Beta 1, Binary version 3 (July 2003) with Outlook on WinXP. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 03:53 Message: Logged In: YES user_id=583713 Related emails in the mailing list archive: http://mail.python.org/pipermail-21/spambayes/2003- June/005574.html http://mail.python.org/pipermail-21/spambayes/2003- June/005580.html The basic error is a bad response from you imap server. Could you confirm that you are using an imap server? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 From noreply at sourceforge.net Sat Jul 19 22:06:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 00:06:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-772155 ] Meeting requests Message-ID: Bugs item #772155, was opened at 2003-07-16 08:47 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kevin Smith (ksmith42) Assigned to: Mark Hammond (mhammond) Summary: Meeting requests Initial Comment: If a meeting request is identified as spam or possible spam then the recover from spam button does not work correctly, the message "No Items Selected" is displayed. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 04:06 Message: Logged In: YES user_id=583713 Please track/monitor under bug #690418 http://sourceforge.net/tracker/index.php? func=detail&aid=690418&group_id=61702&atid=498103 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 From noreply at sourceforge.net Sat Jul 19 22:06:51 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 00:06:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-690418 ] Non mail items filtered by Outlook Message-ID: Bugs item #690418, was opened at 2003-02-21 01:11 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 7 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Non mail items filtered by Outlook Initial Comment: DeliveryReports are filtered by SpamBayes. We should check that we are only filtering mail items. I added a check for this in the "Recover from Spam" buttons, so we can copy that. Indeed, we *must* copy that, as the filter may move such a message, but then our "Delete as/Recover from" buttons won't let us get it back ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 04:06 Message: Logged In: YES user_id=583713 [ 772155 ] Meeting requests http://sourceforge.net/tracker/index.php? func=detail&aid=772155&group_id=61702&atid=498103 is a dupe of this. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 22:51 Message: Logged In: YES user_id=552329 Noting duplicate in https://sourceforge.net/tracker/? func=detail&atid=498103&aid=768682&group_id=61702 ([ 768682 ] Appointment filtered but can't be recovered) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-01 23:30 Message: Logged In: YES user_id=14198 Also happens for meeting requests (which apparently also often end up as unsure) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 From noreply at sourceforge.net Sat Jul 19 22:11:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 00:11:45 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-772155 ] Meeting requests Message-ID: Bugs item #772155, was opened at 2003-07-16 20:47 Message generated for change (Settings changed) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Kevin Smith (ksmith42) Assigned to: Mark Hammond (mhammond) Summary: Meeting requests Initial Comment: If a meeting request is identified as spam or possible spam then the recover from spam button does not work correctly, the message "No Items Selected" is displayed. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 16:06 Message: Logged In: YES user_id=583713 Please track/monitor under bug #690418 http://sourceforge.net/tracker/index.php? func=detail&aid=690418&group_id=61702&atid=498103 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=772155&group_id=61702 From noreply at sourceforge.net Sat Jul 19 22:24:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 00:24:42 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 12:48 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 14:24 Message: Logged In: YES user_id=14198 I don't think the patch is correct. The most obvious problem is that if self.value is None, any value is accepted. The problem is that the base class is messing us up here. Consider the following execution order: * Default options initialized with None * Program attempts to set first value - tuple of (string,string) * Base class is_valid called (OptionsClass.py). This checks if self.value is a list or tuple to determine if a multi-valued option or not. self.value currently None, so not-multi. Base class calls our is_valid_single. This passes, so option correctly set. Now we attempt to set another folder - the process repeats. * Base is_valid called. self.value is now a tuple. is_valid incorrectly thinks this is now a multi-valued option. It therefore unpacks the existing value (ie, each of the 2 strings in the ID) and passes this to is_valid_single. Hence, we get called with a string. Note that in the "normal" multi-valued case, we expect a list of these tuples. Thus, as the list is unpacked, each tuple is still correctly passed to is_valid_single, and goodness prevails. This is all my fault, and my bending of the options system to my pre-existing "config" system. The best fix I can some up with is to a new "is_valid" method to the FolderIDOption class, which is basically a clone of the parent method - except that instead of checking: if type(self.value) in MultiContainerTypes: you check: if type(self.default_value)==type([]): I hope this makes sense. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 13:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sat Jul 19 23:22:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 01:22:19 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 02:48 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-20 05:22 Message: Logged In: YES user_id=583713 I agree with your summary of the OptionClass execute and that the first patch was flawed (I didn't have that case come up in testing). But I disagree with your suggested fix. I'm not a fan of dupicate code b/c it leads to maintaince problems. I'm attaching a new patch that leaves the is_valid_single method untoched but adds the "is_valid_multiple" method to the FolderIDOption class. This "is_valid_multiple" will not unpack tuples with a length of 2, but instead, pass the value to "is_valid_single". Any tuples whose length is not 2 or any value whose type is not a tuple will be processed by the Option.is_valid_multiple method. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 04:24 Message: Logged In: YES user_id=14198 I don't think the patch is correct. The most obvious problem is that if self.value is None, any value is accepted. The problem is that the base class is messing us up here. Consider the following execution order: * Default options initialized with None * Program attempts to set first value - tuple of (string,string) * Base class is_valid called (OptionsClass.py). This checks if self.value is a list or tuple to determine if a multi-valued option or not. self.value currently None, so not-multi. Base class calls our is_valid_single. This passes, so option correctly set. Now we attempt to set another folder - the process repeats. * Base is_valid called. self.value is now a tuple. is_valid incorrectly thinks this is now a multi-valued option. It therefore unpacks the existing value (ie, each of the 2 strings in the ID) and passes this to is_valid_single. Hence, we get called with a string. Note that in the "normal" multi-valued case, we expect a list of these tuples. Thus, as the list is unpacked, each tuple is still correctly passed to is_valid_single, and goodness prevails. This is all my fault, and my bending of the options system to my pre-existing "config" system. The best fix I can some up with is to a new "is_valid" method to the FolderIDOption class, which is basically a clone of the parent method - except that instead of checking: if type(self.value) in MultiContainerTypes: you check: if type(self.default_value)==type([]): I hope this makes sense. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 03:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sun Jul 20 00:11:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 02:11:22 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 12:48 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 16:11 Message: Logged In: YES user_id=14198 I'm sorry, but I disagree. The code is still taking the incorrect path - the parent class still believes a single-valued value is actually a multi-valued value. Your patch would indeed make it work, but is simply covering the symptom of the bug rather than fixing it. OK - how about this for an even better idea: * Modify OptionsClass is_valid's if test to 'if self.multiple_values_allowed():' * Overide this single method in our class That smells like the right fix to me! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 15:22 Message: Logged In: YES user_id=583713 I agree with your summary of the OptionClass execute and that the first patch was flawed (I didn't have that case come up in testing). But I disagree with your suggested fix. I'm not a fan of dupicate code b/c it leads to maintaince problems. I'm attaching a new patch that leaves the is_valid_single method untoched but adds the "is_valid_multiple" method to the FolderIDOption class. This "is_valid_multiple" will not unpack tuples with a length of 2, but instead, pass the value to "is_valid_single". Any tuples whose length is not 2 or any value whose type is not a tuple will be processed by the Option.is_valid_multiple method. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 14:24 Message: Logged In: YES user_id=14198 I don't think the patch is correct. The most obvious problem is that if self.value is None, any value is accepted. The problem is that the base class is messing us up here. Consider the following execution order: * Default options initialized with None * Program attempts to set first value - tuple of (string,string) * Base class is_valid called (OptionsClass.py). This checks if self.value is a list or tuple to determine if a multi-valued option or not. self.value currently None, so not-multi. Base class calls our is_valid_single. This passes, so option correctly set. Now we attempt to set another folder - the process repeats. * Base is_valid called. self.value is now a tuple. is_valid incorrectly thinks this is now a multi-valued option. It therefore unpacks the existing value (ie, each of the 2 strings in the ID) and passes this to is_valid_single. Hence, we get called with a string. Note that in the "normal" multi-valued case, we expect a list of these tuples. Thus, as the list is unpacked, each tuple is still correctly passed to is_valid_single, and goodness prevails. This is all my fault, and my bending of the options system to my pre-existing "config" system. The best fix I can some up with is to a new "is_valid" method to the FolderIDOption class, which is basically a clone of the parent method - except that instead of checking: if type(self.value) in MultiContainerTypes: you check: if type(self.default_value)==type([]): I hope this makes sense. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 13:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sun Jul 20 00:51:54 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 02:51:58 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 02:48 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-20 06:51 Message: Logged In: YES user_id=583713 Sorry, didn't realize the "multiple_values_allowed" method existed. Attached is a patch our mothers should be proud of ;) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 06:11 Message: Logged In: YES user_id=14198 I'm sorry, but I disagree. The code is still taking the incorrect path - the parent class still believes a single-valued value is actually a multi-valued value. Your patch would indeed make it work, but is simply covering the symptom of the bug rather than fixing it. OK - how about this for an even better idea: * Modify OptionsClass is_valid's if test to 'if self.multiple_values_allowed():' * Overide this single method in our class That smells like the right fix to me! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 05:22 Message: Logged In: YES user_id=583713 I agree with your summary of the OptionClass execute and that the first patch was flawed (I didn't have that case come up in testing). But I disagree with your suggested fix. I'm not a fan of dupicate code b/c it leads to maintaince problems. I'm attaching a new patch that leaves the is_valid_single method untoched but adds the "is_valid_multiple" method to the FolderIDOption class. This "is_valid_multiple" will not unpack tuples with a length of 2, but instead, pass the value to "is_valid_single". Any tuples whose length is not 2 or any value whose type is not a tuple will be processed by the Option.is_valid_multiple method. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 04:24 Message: Logged In: YES user_id=14198 I don't think the patch is correct. The most obvious problem is that if self.value is None, any value is accepted. The problem is that the base class is messing us up here. Consider the following execution order: * Default options initialized with None * Program attempts to set first value - tuple of (string,string) * Base class is_valid called (OptionsClass.py). This checks if self.value is a list or tuple to determine if a multi-valued option or not. self.value currently None, so not-multi. Base class calls our is_valid_single. This passes, so option correctly set. Now we attempt to set another folder - the process repeats. * Base is_valid called. self.value is now a tuple. is_valid incorrectly thinks this is now a multi-valued option. It therefore unpacks the existing value (ie, each of the 2 strings in the ID) and passes this to is_valid_single. Hence, we get called with a string. Note that in the "normal" multi-valued case, we expect a list of these tuples. Thus, as the list is unpacked, each tuple is still correctly passed to is_valid_single, and goodness prevails. This is all my fault, and my bending of the options system to my pre-existing "config" system. The best fix I can some up with is to a new "is_valid" method to the FolderIDOption class, which is basically a clone of the parent method - except that instead of checking: if type(self.value) in MultiContainerTypes: you check: if type(self.default_value)==type([]): I hope this makes sense. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 03:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:15:51 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:15:56 2003 Subject: [spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure Message-ID: Patches item #769981, was opened at 2003-07-12 12:48 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Adam Walker (xenogeist) Assigned to: Mark Hammond (mhammond) Summary: Outlook plugin: allow user to change spam and unsure Initial Comment: The config.py module does not allow a user to change the spam and/or unsure folders after changing them from the default of "None". The bug usually shows up after someone has deleted the spam folder by accident and requires the user to delete the ini file from the spambayes data folder as a workaround. However, the bug affects changing the values from existing folders as well. The patch changes the is_valid_single method to test the "self.value" field which is a tuple in the case of spam and unsure folders instead of the "value" parameter which is a string in those cases. It will also return true in the case of a list so that the list of "good email" folders can be set. The command used to create the attached diff was: cvs diff -c config.py > config.diff If I should do something differently, let me know. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:15 Message: Logged In: YES user_id=14198 Thanks! Checking in Outlook2000/config.py; new revision: 1.14; previous revision: 1.13 Checking in spambayes/OptionsClass.py; new revision: 1.4; previous revision: 1.3 ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 16:51 Message: Logged In: YES user_id=583713 Sorry, didn't realize the "multiple_values_allowed" method existed. Attached is a patch our mothers should be proud of ;) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 16:11 Message: Logged In: YES user_id=14198 I'm sorry, but I disagree. The code is still taking the incorrect path - the parent class still believes a single-valued value is actually a multi-valued value. Your patch would indeed make it work, but is simply covering the symptom of the bug rather than fixing it. OK - how about this for an even better idea: * Modify OptionsClass is_valid's if test to 'if self.multiple_values_allowed():' * Overide this single method in our class That smells like the right fix to me! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 15:22 Message: Logged In: YES user_id=583713 I agree with your summary of the OptionClass execute and that the first patch was flawed (I didn't have that case come up in testing). But I disagree with your suggested fix. I'm not a fan of dupicate code b/c it leads to maintaince problems. I'm attaching a new patch that leaves the is_valid_single method untoched but adds the "is_valid_multiple" method to the FolderIDOption class. This "is_valid_multiple" will not unpack tuples with a length of 2, but instead, pass the value to "is_valid_single". Any tuples whose length is not 2 or any value whose type is not a tuple will be processed by the Option.is_valid_multiple method. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 14:24 Message: Logged In: YES user_id=14198 I don't think the patch is correct. The most obvious problem is that if self.value is None, any value is accepted. The problem is that the base class is messing us up here. Consider the following execution order: * Default options initialized with None * Program attempts to set first value - tuple of (string,string) * Base class is_valid called (OptionsClass.py). This checks if self.value is a list or tuple to determine if a multi-valued option or not. self.value currently None, so not-multi. Base class calls our is_valid_single. This passes, so option correctly set. Now we attempt to set another folder - the process repeats. * Base is_valid called. self.value is now a tuple. is_valid incorrectly thinks this is now a multi-valued option. It therefore unpacks the existing value (ie, each of the 2 strings in the ID) and passes this to is_valid_single. Hence, we get called with a string. Note that in the "normal" multi-valued case, we expect a list of these tuples. Thus, as the list is unpacked, each tuple is still correctly passed to is_valid_single, and goodness prevails. This is all my fault, and my bending of the options system to my pre-existing "config" system. The best fix I can some up with is to a new "is_valid" method to the FolderIDOption class, which is basically a clone of the parent method - except that instead of checking: if type(self.value) in MultiContainerTypes: you check: if type(self.default_value)==type([]): I hope this makes sense. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 13:32 Message: Logged In: YES user_id=583713 see the bug 761507 as an example of one that this patch may fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:16:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:16:34 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769346 ] Problems after deleting certain spam folder Message-ID: Bugs item #769346, was opened at 2003-07-11 08:05 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Emile van Sebille (evansebille) Assigned to: Mark Hammond (mhammond) Summary: Problems after deleting certain spam folder Initial Comment: I have a customer running ol2000sr1 on winxp and I'd installed spambayes from cvs about three weeks ago. On Monday, my customer deleted the target folder of the certain spam rule, fouling things up, and could not simply restore the folder to get things working again. nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. Today, nothing I tried would cause the filter rules target folder to remained changed. Other changes would take, just not this one. After a few simple attempts, I tried to force a clean install by scrubbing everything which included: --exit and logoff from outlook --uninstalling (unregistering) spambayes --uninstalling outlook --deleting outlook related info from disk & registry --deleting spambayes related files from disk & registry --deleting mail profiles --reinstalling outlook --download and install v.3 from exe installer Even this did not work. I did get my customer going again by changing the certain spam filter to do nothing at 100% likelyhood of being spam, and redefining possible spam filter to move the spam to _junk at 85%. Kludge, but it works. So, one question... How do you make outlook forget about spambayes entirely to do a clean install? ...and one bug? Why couldn't I change the certain spam target folder? Thanks, Emile ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:16 Message: Logged In: YES user_id=14198 Fixed in the source tree. I will try and do a new binary fairly soon. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 13:30 Message: Logged In: YES user_id=583713 Patch #769981 http://sourceforge.net/tracker/index.php? func=detail&aid=769981&group_id=61702&atid=498105 should fix this. When you say "deleting spambayes related file from disk & registry" did you also delete the ini files from the C:\Documents and Settings\\Application Data\SpamBayes directory and reconfigure as this would return all settings to defaults? ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 10:13 Message: Logged In: YES user_id=552329 It does look like this may be a bug (certainly many people have had this trouble). I'll leave that for Mark ;) Regarding the question - all you need to do is delete all the *.ini files in your spambayes data directory. When you next start Outlook you will then be able to reconfigure the plugin. See faq 3.6 for details about where this folder is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769346&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:23:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:23:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-768732 ] "Failed to save the Spam score for message" error Message-ID: Bugs item #768732, was opened at 2003-07-10 07:10 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Roger B. Dannenberg (rbd) Assigned to: Nobody/Anonymous (nobody) Summary: "Failed to save the Spam score for message" error Initial Comment: Spam-bayes seems to have installed and set up everything properly, but nothing actually receives a spam score and no filtering takes place. The log file contains error messages including "Failed to save the Spam score for message ..." and "Failed filtering message! ..." and some stack trace info. I will append the log file. I'm running SpamBayes Outlook Addin Beta 1, Binary version 3 (July 2003) with Outlook on WinXP. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:23 Message: Logged In: YES user_id=14198 Thanks for your report. This bug has previously been reported, and has already been fixed in the source-code - so you can expect to see the fix in the next binary release. You may wish to subscribe to the spambayes-announce list to see when each version is released - details at http://mail.python.org/mailman-21/listinfo/spambayes-announce If you are technically minded, you may like to run from the CVS version of the source-code, and you should find the fix immediately - see the main SpamBayes pages for details. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 13:53 Message: Logged In: YES user_id=583713 Related emails in the mailing list archive: http://mail.python.org/pipermail-21/spambayes/2003- June/005574.html http://mail.python.org/pipermail-21/spambayes/2003- June/005580.html The basic error is a bad response from you imap server. Could you confirm that you are using an imap server? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=768732&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:24:27 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:24:38 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771192 ] Spam "Moved" but Original Left in Inbox as Read Message-ID: Bugs item #771192, was opened at 2003-07-15 05:45 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771192&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Heath Stewart (clubstew) Assigned to: Nobody/Anonymous (nobody) Summary: Spam "Moved" but Original Left in Inbox as Read Initial Comment: Lately (and for no apparently reason I can think of, i.e. no new plugins, etc.) my SPAM filter isn't working as it should. I have SPAM setup to be *moved* to a subdir of the Inbox but the message is really only being copied. The original is left in the inbox although it is marked as read. Also, for these messages (it's not all, but most and I can't see the pattern) the Spam score column doesn't display at all. Also, the "Delete as Spam" button has stopped working (I'm guessing it's just a general problem, but the usual stuff (restarting, etc.) doesn't fix it). I have to move to the next message item, then back, and click the button. I can delete two messages before I have to repeat this process. This process, too, does not display a SPAM score in the Spam field. My setup is on XP using Exchange Server in Outlook. Sorry if this is a dup, but I couldn't really find another one like this. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:24 Message: Logged In: YES user_id=14198 dupe of 747107 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771192&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:26:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:26:52 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770793 ] Win98, database corrupts? Message-ID: Bugs item #770793, was opened at 2003-07-14 15:12 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Lauri Harpf (theranger54) Assigned to: Nobody/Anonymous (nobody) Summary: Win98, database corrupts? Initial Comment: Gives: --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 777, in ? run() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 752, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- on startup. Worked fine, then I rebooted the machine (shut down Spambayes through the Web interface) and then it simply refused to boot up with the above message. Error seems permanent, unless user does something drastic (ie. destroys the database). I'm running Win98 Se, using pop3proxy with Outlook 6 SP1, starting the program with c:\ohjelmatiedostot\python22\python.exe c:\ohjelmatiedostot\spambayes\pop3proxy. py -b Hard drive is a 80GB model, partitioned into one single partition using FAT32, 45,7GB still free. Spambayes version is 1.0 A4. The same problem also occurred with Alpha 3, it refuses to start up with the message --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 730, in ? run() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 705, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 547, in createWorke rs self.bayes = storage.DBDictClassifier(filename) File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- After a fresh install, the program usually works fine for a while. Every reboot does not appear to mix things up, it only seems to go bad after it has been running for a while and the user has classified enough messages. I run my comp mostly 24/7, so reboots are rare and Spambayes is usually running unless I need to boot. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:26 Message: Logged In: YES user_id=14198 Well, fixed in Python anyway. If you still care, add a feature request that Outlook fail to register unless we have a bsddb database ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-17 00:04 Message: Logged In: YES user_id=31435 The "dumbdbm._Database instance" in the traceback is a sure sign of a recently-diagnosed critical problem. Since you're using Outlook, using the Outlook addin instead of pop3proxy will cure it. If for some reason you want to use pop3proxy with Outlook (I woudn't -- the Outlook addin is a joy), you'll need to install "a real" database. Python 2.3 will ship with a current version of Sleepycat's Berkeley bsddb database. For Python 2.2.3, that can be obtained separately from the SourceForge PyBSDDB project: http://pybsddb.sf.net/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:28:21 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:28:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-767871 ] "file exists" error upgrading binary Message-ID: Bugs item #767871, was opened at 2003-07-09 02:02 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 >Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joseph Beaulieu (jbc123) Assigned to: Nobody/Anonymous (nobody) >Summary: "file exists" error upgrading binary Initial Comment: Uninstalled version 2, installed version 3. When I fired up Outlook2000, this log file was generated. ERROR: 'There was an error initializing the Spam plugin.\r\n\r\nSpam filtering has been disabled. Please re-configure\r\nand re-enable this plugin\r\n\r\nError details:\r\nFailed to load bayes database' Traceback (most recent call last): File "out1.pyz/manager", line 419, in LoadBayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') Loaded message database from 'C:\Documents and Settings\jbeauli\Application Data\SpamBayes\default_message_database.db' Either bayes database or message database is missing - creating new Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 238, in __init__ File "out1.pyz/manager", line 434, in LoadBayes File "out1.pyz/manager", line 557, in InitNewBayes File "out1.pyz/manager", line 133, in new_bayes File "out1.pyz/manager", line 159, in open_bayes File "out1.pyz/spambayes.storage", line 147, in __init__ File "out1.pyz/spambayes.storage", line 155, in load File "out1.pyz/spambayes.dbmstorage", line 59, in open File "out1.pyz/spambayes.dbmstorage", line 41, in open_best File "out1.pyz/spambayes.dbmstorage", line 18, in open_dbhash File "out1.pyz/bsddb", line 162, in hashopen DBFileExistsError: (17, 'File exists') ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 10:44 Message: Logged In: YES user_id=552329 Try deleting whatever files are in your data directory (SpamBayes will recreate them). Note that you'll lose your configuration and training, but this might be the case already (you could try simply moving them and then moving them back instead). The FAQ explains where to find these files. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=767871&group_id=61702 From noreply at sourceforge.net Sun Jul 20 01:54:32 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 03:54:36 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761499 ] pop3proxy_service doesn't stop when shutdown from browser Message-ID: Bugs item #761499, was opened at 2003-06-27 08:17 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761499&group_id=61702 Category: pop3proxy Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jason Foster (the_onceler) Assigned to: Nobody/Anonymous (nobody) Summary: pop3proxy_service doesn't stop when shutdown from browser Initial Comment: If you click "save and shutdown" in your broswer, pop3proxy shuts down, but in services the pop3proxy_service still lists as started. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 17:54 Message: Logged In: YES user_id=14198 I actually noticed this the other day :) I've checked in a version that works, and also logs errors should the server quit unexpectedly. Checking in pop3proxy_service.py; new revision: 1.6; previous revision: 1.5 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761499&group_id=61702 From noreply at sourceforge.net Sun Jul 20 02:01:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 04:02:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-757131 ] "Bad file descriptor" starting pop3proxy_service Message-ID: Bugs item #757131, was opened at 2003-06-19 20:27 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=757131&group_id=61702 Category: pop3proxy Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Steve Tregidgo (smst) Assigned to: Nobody/Anonymous (nobody) Summary: "Bad file descriptor" starting pop3proxy_service Initial Comment: (Running SpamBayes alpha2 release under Python 2.2.3 (Win2k) with the additional module pop3proxy_service.py.) I tried to diagnose a 'hdrtxt' AttributeError (which has now disappeared, so I have no traceback -- I remember only that it was raised explicitly by Message.__getattr__ for a FileMessage instance) while reviewing messages through the pop3proxy interface. I stopped the pop3proxy service (using Win2k's "Services" panel), enabled the verbose option in bayescustomize.ini and started the service again. The service silently failed to start; in the Event Viewer was the following traceback: The instance's SvcRun() method failed File "C:\PYTHON22\lib\site-packages\win32\lib\win32serviceutil.py", line 635, in SvcRun self.SvcDoRun() File "C:\Program Files\spambayes-1.0a2\windows\pop3proxy_service.py", line 68, in SvcDoRun pop3proxy.state.createWorkers() File "C:\Program Files\spambayes-1.0a2\pop3proxy.py", line 1198, in createWorkers self.hamCorpus.removeExpiredMessages() File "C:\Program Files\spambayes-1.0a2\spambayes\Corpus.py", line 264, in removeExpiredMessages for msg in self: File "C:\Program Files\spambayes-1.0a2\spambayes\Corpus.py", line 230, in __iter__ yield self[key] File "C:\Program Files\spambayes-1.0a2\spambayes\Corpus.py", line 216, in __getitem__ self.cacheMessage(amsg) File "C:\Program Files\spambayes-1.0a2\spambayes\Corpus.py", line 173, in cacheMessage self.unCacheMessage(keyToFlush) File "C:\Program Files\spambayes-1.0a2\spambayes\Corpus.py", line 180, in unCacheMessage print 'Flushing %s from corpus cache' % (key) exceptions.IOError: [Errno 9] Bad file descriptor Starting pop3proxy from a command prompt worked fine, with the print statement being executed properly. I suspected that the running of pop3proxy as a service was causing sys.stdout to be broken somehow, but restarting through "Services" again, catching the IOError and raising information about stdout gives the following, which seems reasonable: ', mode 'w' at 0x008D7708> I can continue to run the service with 'verbose' set to False of course, but it would be handy to be able to switch that flag back on in case my 'hdrtxt' error returns. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 18:01 Message: Logged In: YES user_id=14198 This has been fixed in CVS - now print statements go to win32traceutil.py ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=757131&group_id=61702 From noreply at sourceforge.net Sun Jul 20 07:45:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 09:46:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 10:49 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Sun Jul 20 07:47:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 09:47:16 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747107 ] SpamBayes leaves duplicate messages Message-ID: Bugs item #747107, was opened at 2003-06-02 04:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes leaves duplicate messages Initial Comment: I am subscribed to a number of different mailing lists, and I have a number of Outlook rules (set up via Rules Wizard) to route the different mailing lists into different folders. When the rules are of the form: Apply this rule after the message arrives with in the subject move it to the folder and a matching message comes in, SpamBayes seems to leave multiple copies of that message in the inbox. This is very frustrating. If the rule is of the form: Apply this rule after the message arrives sent to move it to the folder and a matching message comes in, duplicate messages do not occur. So it seems to be some sort of odd interaction with Outlook Rules. I'm running Outlook 2002 SP 2 on Windows XP SP 1a (with current hotfixes). ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-07 08:59 Message: Logged In: YES user_id=552329 No, installing 003 over the top of 002 should work fine. I don't have any more answers, sorry, but no doubt Mark will look into this when he gets a chance. Stay tuned! ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-05 07:51 Message: Logged In: YES user_id=783913 Anadelon: Outlook junk mail rules are turned off; spam is Moved to Junk Mail. I just ran the release 003 of the plugin, and I'm still seeing the problem. (I didn't bother uninstalling release 002 - is that a problem?) Eric ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-05 01:08 Message: Logged In: YES user_id=18879 It appears the problem lies between the keyboard and chair. :) I seem to have overlooked the option to move messages instead of copying. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:50 Message: Logged In: YES user_id=552329 In addition, the log file seems to indicate that you are using release 002 of the plugin. If you haven't already, could you try release 003 and let us know if the problem still occurs? Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:46 Message: Logged In: YES user_id=552329 Eric, do you have the Outlook junk mail rules turned on? If you do, would both of you be able to try turning them off (they aren't all that much use if you are using spambayes anyway), and seeing if this resolves the problem? In addition, forgive me if you've checked this, but in the spambayes filter setup, do you have "move" selected rather than "copy"? (It's an odd problem that IIRC we have heard before, but I'm using the same version of Windows and Outlook, and have rules of that form, and don't notice this problem). ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-04 01:32 Message: Logged In: YES user_id=18879 I am also having this problem. I have not tested it with various rule types, but I believe it is occurring in conjunction with the Outlook "Junk E-mail" feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 From noreply at sourceforge.net Sun Jul 20 07:47:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 09:48:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Sun Jul 20 07:57:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 09:57:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-712480 ] Install error: bizarre import errors Message-ID: Bugs item #712480, was opened at 2003-03-31 15:47 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=712480&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Paul Marrero (pmarrero) Assigned to: Mark Hammond (mhammond) Summary: Install error: bizarre import errors Initial Comment: I use office XP with the Outlook client. It appears that the registration was successfull but I cannnot find any menu buttons. XP clipboard does appear to have the Icons. The command line train works. Not sure where to go from here. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:57 Message: Logged In: YES user_id=14198 Pretty sure I fixed this in the 003 release. re-open if not. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-06-05 13:40 Message: Logged In: YES user_id=552329 Ah - here's the tracer I was looking for! I posted this in another trace, but it belonged here. In the aims of testing the SP2 theory, I made no other changes, upgraded to SP2 (same version as below) and tried to install the binary. I have progressed ;) to the 'no disk' error. I can't really be bothered (at the moment) trying to get further since CVS still works :) In case this is of use... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-25 21:41 Message: Logged In: YES user_id=14198 Failes with Outlook XP ver.10.4712.4219 sp-2 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-23 09:40 Message: Logged In: YES user_id=14198 *sob* - so it certainly fails with Outlook SP2 here? ecvogel - is your traceback identical to this one? ---------------------------------------------------------------------- Comment By: Eric C. Vogel (ecvogel) Date: 2003-05-23 05:20 Message: Logged In: YES user_id=784818 Same here. Outlook XP all SP and patches, WIn XP Pro SP1 all patches. The file is registered and in the COM and has the check. Exchange Server 2000 all SP and patches on SBS 2kSP-1 all patches. 002 install ---------------------------------------------------------------------- Comment By: Steve McCullough (sm5669) Date: 2003-05-20 08:24 Message: Logged In: YES user_id=782446 Same here. Outlook 2002 on Win2000 with all the latest SPs and patches applied. Log file... warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) warning: use func(*args, **kwargs) instead of apply(func, args, kwargs) SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "C:\PROGRA~1\PYTHON32\lib\site- packages\win32com\universal.py", line 170, in dispatch retVal = ob._InvokeEx_(meth.dispid, 0, meth.invkind, args, None, None) File "C:\PROGRA~1\PYTHON32\lib\site- packages\win32com\server\policy.py", line 322, in _InvokeEx_ return self._invokeex_(dispid, lcid, wFlags, args, kwargs, serviceProvider) File "C:\PROGRA~1\PYTHON32\lib\site- packages\win32com\server\policy.py", line 601, in _invokeex_ return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags, args, kwArgs, serviceProvider) File "C:\PROGRA~1\PYTHON32\lib\site- packages\win32com\server\policy.py", line 541, in _invokeex_ return apply(func, args) File "E:\src\spambayes\Outlook2000\addin.py", line 654, in OnConnection File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\manager.py", line 15, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\msgstore.py", line 86, in ? File "E:\src\Installer\iu.py", line 296, in importHook exceptions.ImportError: No module named win32com.mapi ---------------------------------------------------------------------- Comment By: Tormod Hystad (thystad) Date: 2003-05-16 17:27 Message: Logged In: YES user_id=780089 Exactly same as Nick here. Win2003 RC2, Outlook XP (Norwegian, version 10.2627.4219 SP2, configured with one Exchange (Standard) email acount) and the 002 install package. Thanks, Tormod ---------------------------------------------------------------------- Comment By: Nick Trautmann (nicktrautmann) Date: 2003-05-12 18:15 Message: Logged In: YES user_id=776857 Similar here: pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 156, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 71, in import_core_spambayes_stuff File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\spambayes\tokenizer.py", line 659, in ? exceptions.AttributeError: 'OptionsClass' object has no attribute 'skip_max_word_size' SpamAddin - Connecting to Outlook Created new configuration file 'C:\Documents and Settings\Nick\Application Data\SpamBayes\default_configuration.pck' pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 156, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 71, in import_core_spambayes_stuff exceptions.ImportError: cannot import name tokenize Thanks Nick ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-04-01 12:48 Message: Logged In: YES user_id=552329 Actually, I get this too. I've just switched to Outlook XP, so I'm not sure if this is the reason, or just that I'm doing a fresh install. The log includes the following traces: SpamAddin - Connecting to Outlook Failed to load bayes database Traceback (most recent call last): File "E:\src\spambayes\Outlook2000\manager.py", line 310, in LoadBayes File "E:\src\spambayes\Outlook2000\manager.py", line 118, in open_bayes AttributeError: 'module' object has no attribute 'DBDictClassifier' Loaded message database from 'C:\Documents and Settings\tameyer\Application Data\SpamBayes\default_message_database.db' Either bayes database or message database is missing - creating new pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 165, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 329, in LoadBayes File "E:\src\spambayes\Outlook2000\manager.py", line 378, in InitNewBayes File "E:\src\spambayes\Outlook2000\manager.py", line 94, in new_bayes File "E:\src\spambayes\Outlook2000\manager.py", line 118, in open_bayes exceptions.AttributeError: 'module' object has no attribute 'DBDictClassifier' SpamAddin - Connecting to Outlook Failed to load bayes database Traceback (most recent call last): File "E:\src\spambayes\Outlook2000\manager.py", line 310, in LoadBayes File "E:\src\spambayes\Outlook2000\manager.py", line 118, in open_bayes AttributeError: 'module' object has no attribute 'DBDictClassifier' Loaded message database from 'C:\Documents and Settings\tameyer\Application Data\SpamBayes\default_message_database.db' Either bayes database or message database is missing - creating new pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 165, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 329, in LoadBayes File "E:\src\spambayes\Outlook2000\manager.py", line 378, in InitNewBayes File "E:\src\spambayes\Outlook2000\manager.py", line 94, in new_bayes File "E:\src\spambayes\Outlook2000\manager.py", line 118, in open_bayes exceptions.AttributeError: 'module' object has no attribute 'DBDictClassifier' ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-03-31 16:05 Message: Logged In: YES user_id=552329 Which version of the Outlook plugin are you using? (a) the latest CVS, (b) the 001 stand-alone installer, or (c) the 002 stand-alone installer? I know that the 001 installer has been known to have this problem (although it appeared to be fixed in 002). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=712480&group_id=61702 From noreply at sourceforge.net Sun Jul 20 08:29:16 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 10:29:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769588 ] data_directory doesn't work Message-ID: Bugs item #769588, was opened at 2003-07-11 21:21 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: data_directory doesn't work Initial Comment: I am using the outlook plugin (version 0.3) and I have two users on Windows XP/Outlook XP. I've tried to use the data_directory option to only have one database. The plugin doesn't load the data_directory. I've used all possible ways to name the directory (no quotes, single and double quotes, single backslash, double backslash, forward slash). Here are the messages in the logfile. Attempted to set [General] data_directory with invalid value 'C:\Documents and Settings\Edwin\Application Data\SpamBayes' () Loaded bayes database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Agnes\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 00:29 Message: Logged In: YES user_id=14198 The problem was spaces in the filename. I have fixed this in CVS, or in the meantime, you can use the "short name" of the directory - use "dir /x" to see these names. ---------------------------------------------------------------------- Comment By: Edwin (eddepet_33) Date: 2003-07-14 16:44 Message: Logged In: YES user_id=820567 The path is exactly as in the log-segment. There are spaces but no other strange characters. It doesn't load the path which contains 'Edwin' but it does use the path which contains 'Agnes'. The paths are basically the same. Could the spaces be a problem? I will give it a go tonight. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-14 08:54 Message: Logged In: YES user_id=552329 What is the path that you are trying to give it? The error message is basically saying that it's an invalid path, but this could easily be because the regex testing it is wrong. (If it includes a '$', for example, this is fixed in CVS, but not in a release, yet). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769588&group_id=61702 From noreply at sourceforge.net Sun Jul 20 08:31:46 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 10:31:53 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-766750 ] Source install fails on Office XP Message-ID: Bugs item #766750, was opened at 2003-07-07 02:39 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 >Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Hall Stevenson (hallstevenson) >Assigned to: Mark Hammond (mhammond) Summary: Source install fails on Office XP Initial Comment: I've been trying and trying to get the binary install to work since upgrading from Outlook 2000 to Outlook XP with no success. So, I tried the source version.... Downloaded and installed Python, the Win32 extensions, and the zip file for Spambayes. Running "addin.py" opens a DOS console that quickly (too quickly) flashes an error message. It took me about six runs to read part of the message. I then located it in the 'addin.py' source file. It's this one: "This Addin requires that Outlook 2000 be installed on this machine." "This appears to not be installed due to the following error:" Apparently it's failing 'cause of not finding something related to this: universal.RegisterInterfaces('{AC0714F2-3D04-11D1- AE7D-00A0C90F26F4}) Part of that is a registry key, I assume. I *do* have that registry key and it has quite a few sub-keys... here's one of the values in a sub-key: MSAddnDr.AddInDesigner.1 My next attempt will be uninstalling Office XP and then using some Office clean-up tools I've read about from Microsoft's website. Will report back... ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 00:31 Message: Logged In: YES user_id=14198 Can you please post the complete traceback (the one with the universal.RegisterInterfaces error?) ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:10 Message: Logged In: YES user_id=120676 Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 From noreply at sourceforge.net Sun Jul 20 08:33:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 10:33:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 10:44 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 >Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) >Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 01:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 14:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-03 03:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Sun Jul 20 08:58:35 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 10:58:48 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-766750 ] Source install fails on Office XP Message-ID: Bugs item #766750, was opened at 2003-07-06 12:39 Message generated for change (Comment added) made by hallstevenson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Hall Stevenson (hallstevenson) Assigned to: Mark Hammond (mhammond) Summary: Source install fails on Office XP Initial Comment: I've been trying and trying to get the binary install to work since upgrading from Outlook 2000 to Outlook XP with no success. So, I tried the source version.... Downloaded and installed Python, the Win32 extensions, and the zip file for Spambayes. Running "addin.py" opens a DOS console that quickly (too quickly) flashes an error message. It took me about six runs to read part of the message. I then located it in the 'addin.py' source file. It's this one: "This Addin requires that Outlook 2000 be installed on this machine." "This appears to not be installed due to the following error:" Apparently it's failing 'cause of not finding something related to this: universal.RegisterInterfaces('{AC0714F2-3D04-11D1- AE7D-00A0C90F26F4}) Part of that is a registry key, I assume. I *do* have that registry key and it has quite a few sub-keys... here's one of the values in a sub-key: MSAddnDr.AddInDesigner.1 My next attempt will be uninstalling Office XP and then using some Office clean-up tools I've read about from Microsoft's website. Will report back... ---------------------------------------------------------------------- >Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-20 10:58 Message: Logged In: YES user_id=120676 > Can you please post the complete > traceback (the one with the > universal.RegisterInterfaces error?) Can you please clarify what you mean by that ?? Thanks :) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 10:31 Message: Logged In: YES user_id=14198 Can you please post the complete traceback (the one with the universal.RegisterInterfaces error?) ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 14:10 Message: Logged In: YES user_id=120676 Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 From noreply at sourceforge.net Sun Jul 20 12:44:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 14:44:16 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774650 ] Additional post-filtering options Message-ID: Feature Requests item #774650, was opened at 2003-07-20 18:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 Category: Outlook Group: Next Release (example) Status: Open Priority: 5 Submitted By: John D. Zanette (vbpf0jsb0a30kc) Assigned to: Mark Hammond (mhammond) Summary: Additional post-filtering options Initial Comment: 1. Option to "Permanently Delete" certain spam rather than just moving it. 2. Better than that, the option to do anything with a post-filtered message that I can do with an Outlook rule filtered message (forward, flag, etc.) 3. User configurable number of filtering levels - i.e., more than two. 4. A way to view/modify/tweak the database directly (maybe this already exists and I don't know it?) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 From noreply at sourceforge.net Sun Jul 20 13:37:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 15:37:30 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764164 ] Error: No mail items are selected. Message-ID: Bugs item #764164, was opened at 2003-07-01 13:40 Message generated for change (Comment added) made by kwladyka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764164&group_id=61702 Category: None Group: None Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Superfly (sakaplan) Assigned to: Nobody/Anonymous (nobody) Summary: Error: No mail items are selected. Initial Comment: Howdy! Noticed a bug when using it in MS Outlook. Perhaps you'd like to correct? Basically, if you get an Outlook meeting request that gets deemed as spam (and for whatever reason, most of my Outlook meeting requests are deemed as such), the bug in the software is that you cannot "recover from spam". While the message is in your spam folder, when you click the "recover from spam" button to train SpamBayes that this message is not spam and subsequently move the message back to your inbox or wherever, SpamBayes replies to your click, saying, "No Selection: No mail items are selected." Bug #2 is that you have the exact same problem as above with send/read mail receipts returned back to you from messages where you requested the receipts in the first place. What this means is that if I request read receipts, I have to trudge through my spam folder to locate them and when I do, there's no way for me to train the software that these receipts aren't spam because when I click the "recover from spam" button, the software tells me I didn't select any e-mail to recover from. Anyhoo, hopefully the fix is a simple one which is to treat these messages in Outlook like any other mail. I suspect the software nearly does, because it filters them in the first place. Now, if only I could get SpamBayes to allow me to recover them out of spam folder, it be perfect... Screen shots attached. Thanks. -- Superfly ---------------------------------------------------------------------- Comment By: Kevin Wladyka (kwladyka) Date: 2003-07-20 13:37 Message: Logged In: YES user_id=823907 I have the same problem. Outlook 2002/Windows 2000. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-01 17:30 Message: Logged In: YES user_id=14198 Thanks - we are tracking this in [ 690418 ] Non mail items filtered by Outlook ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764164&group_id=61702 From noreply at sourceforge.net Sun Jul 20 14:02:48 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 16:03:29 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774650 ] Additional post-filtering options Message-ID: Feature Requests item #774650, was opened at 2003-07-20 18:44 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 Category: Outlook Group: Next Release (example) Status: Open Priority: 5 Submitted By: John D. Zanette (vbpf0jsb0a30kc) Assigned to: Mark Hammond (mhammond) Summary: Additional post-filtering options Initial Comment: 1. Option to "Permanently Delete" certain spam rather than just moving it. 2. Better than that, the option to do anything with a post-filtered message that I can do with an Outlook rule filtered message (forward, flag, etc.) 3. User configurable number of filtering levels - i.e., more than two. 4. A way to view/modify/tweak the database directly (maybe this already exists and I don't know it?) ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 20:02 Message: Logged In: YES user_id=583713 For #1, you can right click the spam folder and set the auto archive options to delete messages in that folder after a certain time (1 day is smallest amount) or move them to another pst file for retraining. For #2, convince a developer that it is useful. I would think either header or subject line modication would be easier and then build your rules using outlook. For #3, Do you mean more than filtering on different ranges of the the spam score or trying to do spam/ham and work/personal (etc.) type of thing? For #4, Looking at the spam clues for a message is filtered snapshot of the db. I think viewing would kinda neat, but modify/tweak could have some bad results. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 From noreply at sourceforge.net Sun Jul 20 15:31:32 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 17:31:52 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-761797 ] "Failed to call the universal dispatcher" Message-ID: Bugs item #761797, was opened at 2003-06-27 06:45 Message generated for change (Comment added) made by kwladyka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Simon Caddy (simoncaddy) Assigned to: Mark Hammond (mhammond) Summary: "Failed to call the universal dispatcher" Initial Comment: My Spambayes log shows this error: SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 141, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 182, in LocateDataDirectory File "E:\src\python-cvs\lib\ntpath.py", line 269, in isdir exceptions.LookupError: no codec search functions registered: can't find encoding Any ideas...? ---------------------------------------------------------------------- Comment By: Kevin Wladyka (kwladyka) Date: 2003-07-20 15:31 Message: Logged In: YES user_id=823907 Thanks anadelonbrin Yes the installer is a much easier way to go. I assume the fix is in SpamBayes-Outlook-Setup-003.exe which appears to be the lastest. I'll give it a try. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-16 16:15 Message: Logged In: YES user_id=552329 Kinda. The spambayes_1.0a4 download is *source only*. This does include the source for the latest binary Outlook plug-in, but if you want the binary installer, then you must get this from Mark's webpage. The downloads page has details/links. ---------------------------------------------------------------------- Comment By: Kevin Wladyka (kwladyka) Date: 2003-07-16 08:50 Message: Logged In: YES user_id=823907 I assume the latest download (1.0a4) is the 0.3 binary or later? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-01 17:12 Message: Logged In: YES user_id=14198 Fixed in the 0.3 binary. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 03:29 Message: Logged In: YES user_id=810828 Outlook 2002 also then, sorry, misread your earlier post ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 03:13 Message: Logged In: YES user_id=813286 Yes and no. I don't know about how close code relationship there is between Outlook 2000 and 2002 (2k2) which I am running. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-07-01 03:09 Message: Logged In: YES user_id=810828 Vaguely reassurring to know it's not just a 98/Me problem then... common factor so far is Outlook 2K. ---------------------------------------------------------------------- Comment By: Bengt Bergholm (borgsquirrel) Date: 2003-07-01 02:59 Message: Logged In: YES user_id=813286 I have this exact problem under Windows XP w/ Outlook 2k2 sp2, english. ---------------------------------------------------------------------- Comment By: Simon Caddy (simoncaddy) Date: 2003-06-30 02:35 Message: Logged In: YES user_id=810828 Yeah, thanks... I have now seem at the top of the docs page "current binary installer will not work with Windows 98"... but no solution!? ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-06-28 23:30 Message: Logged In: YES user_id=738765 It seems you have the same problem as the one reported in 761316. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=761797&group_id=61702 From noreply at sourceforge.net Sun Jul 20 15:47:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 17:47:16 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774708 ] Folder Definition Message-ID: Bugs item #774708, was opened at 2003-07-20 16:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774708&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Henrichs (markhenrichs) Assigned to: Mark Hammond (mhammond) Summary: Folder Definition Initial Comment: Great program! However, if I try to redefine the folders for filtering, they simply revert to unknown folder. An attempt to redefine them appears at first to work. When I close the filter dialogue and reopen it, the folder names have been reset to unknown. I have only been able to cure the problem by removing Spoambayes, then Outlook and reloading both. As a result, I don't have a reliable log file documenting the problem. Most people will not notice the bug because they will never try to redeinf the folders. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774708&group_id=61702 From noreply at sourceforge.net Sun Jul 20 16:07:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 18:07:11 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770793 ] Win98, database corrupts? Message-ID: Bugs item #770793, was opened at 2003-07-14 01:12 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Lauri Harpf (theranger54) Assigned to: Nobody/Anonymous (nobody) Summary: Win98, database corrupts? Initial Comment: Gives: --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 777, in ? run() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 752, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "c:\ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- on startup. Worked fine, then I rebooted the machine (shut down Spambayes through the Web interface) and then it simply refused to boot up with the above message. Error seems permanent, unless user does something drastic (ie. destroys the database). I'm running Win98 Se, using pop3proxy with Outlook 6 SP1, starting the program with c:\ohjelmatiedostot\python22\python.exe c:\ohjelmatiedostot\spambayes\pop3proxy. py -b Hard drive is a 80GB model, partitioned into one single partition using FAT32, 45,7GB still free. Spambayes version is 1.0 A4. The same problem also occurred with Alpha 3, it refuses to start up with the message --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 730, in ? run() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 705, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", line 547, in createWorke rs self.bayes = storage.DBDictClassifier(filename) File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 147, in __init __ self.load() File "C:\Ohjelmatiedostot\spambayes\spambayes\storage. py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- After a fresh install, the program usually works fine for a while. Every reboot does not appear to mix things up, it only seems to go bad after it has been running for a while and the user has classified enough messages. I run my comp mostly 24/7, so reboots are rare and Spambayes is usually running unless I need to boot. ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-20 18:07 Message: Logged In: YES user_id=31435 Mark, the Outlook addin never uses dumbdbm, does it? Looks like manager.py looks for bsddb3, and, if it fails to find one, uses a PickleStorageManager. I don't want to give up the option of using a PickleStorageManager, since no bugs are ever reported against that (low tech == low risk <0.2 wink>). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 03:26 Message: Logged In: YES user_id=14198 Well, fixed in Python anyway. If you still care, add a feature request that Outlook fail to register unless we have a bsddb database ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-16 10:04 Message: Logged In: YES user_id=31435 The "dumbdbm._Database instance" in the traceback is a sure sign of a recently-diagnosed critical problem. Since you're using Outlook, using the Outlook addin instead of pop3proxy will cure it. If for some reason you want to use pop3proxy with Outlook (I woudn't -- the Outlook addin is a joy), you'll need to install "a real" database. Python 2.3 will ship with a current version of Sleepycat's Berkeley bsddb database. For Python 2.2.3, that can be obtained separately from the SourceForge PyBSDDB project: http://pybsddb.sf.net/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702 From noreply at sourceforge.net Sun Jul 20 16:08:08 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 18:08:16 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774650 ] Additional post-filtering options Message-ID: Feature Requests item #774650, was opened at 2003-07-20 18:44 Message generated for change (Comment added) made by vbpf0jsb0a30kc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 Category: Outlook Group: Next Release (example) Status: Open Priority: 5 Submitted By: John D. Zanette (vbpf0jsb0a30kc) Assigned to: Mark Hammond (mhammond) Summary: Additional post-filtering options Initial Comment: 1. Option to "Permanently Delete" certain spam rather than just moving it. 2. Better than that, the option to do anything with a post-filtered message that I can do with an Outlook rule filtered message (forward, flag, etc.) 3. User configurable number of filtering levels - i.e., more than two. 4. A way to view/modify/tweak the database directly (maybe this already exists and I don't know it?) ---------------------------------------------------------------------- >Comment By: John D. Zanette (vbpf0jsb0a30kc) Date: 2003-07-20 22:08 Message: Logged In: YES user_id=826656 #1 - That had already been suggested by Mr. Meyer when I posted to the SpamBayes list (he also suggested that I [re] post it here) #2 - Header or subject line modification would work for this (I have used that technique successfully with the K9 filter (http://kier.net) and Outlook's rules. Unfortunately K9 does not support Outlook/Exchange directly (only through POP3), which is why I now use SpamBayes since I needed support for multiple simultaneous Exchange and POP3 mailboxes. #3 - What I mean is more spam score filters. Since it is CRITICAL for me to NEVER lose a "ham" message, I would like to have at least three levels of filtering. For example: 70% - 100% Immediate Delete (via SpamBayes as in #2 or using the AutoArchive method in #1) 30% - 69% Move to Spam folder with autodelete after 3 days 10%-29% Move to Suspect folder for manual review I have had such great success in less than a month of using SpamBayes (over 99.9%) that I am actually considering how I can "trust" it to autodelete. I have tried many alternatives including commercial products and none (with the exception of K9, noted above) has come close to SpamBayes. #4 - Agreed. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 20:02 Message: Logged In: YES user_id=583713 For #1, you can right click the spam folder and set the auto archive options to delete messages in that folder after a certain time (1 day is smallest amount) or move them to another pst file for retraining. For #2, convince a developer that it is useful. I would think either header or subject line modication would be easier and then build your rules using outlook. For #3, Do you mean more than filtering on different ranges of the the spam score or trying to do spam/ham and work/personal (etc.) type of thing? For #4, Looking at the spam clues for a message is filtered snapshot of the db. I think viewing would kinda neat, but modify/tweak could have some bad results. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774650&group_id=61702 From noreply at sourceforge.net Sun Jul 20 16:53:23 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 18:53:28 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774708 ] Folder Definition Message-ID: Bugs item #774708, was opened at 2003-07-21 07:47 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774708&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mark Henrichs (markhenrichs) Assigned to: Mark Hammond (mhammond) Summary: Folder Definition Initial Comment: Great program! However, if I try to redefine the folders for filtering, they simply revert to unknown folder. An attempt to redefine them appears at first to work. When I close the filter dialogue and reopen it, the folder names have been reset to unknown. I have only been able to cure the problem by removing Spoambayes, then Outlook and reloading both. As a result, I don't have a reliable log file documenting the problem. Most people will not notice the bug because they will never try to redeinf the folders. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 08:53 Message: Logged In: YES user_id=14198 Thanks for your report. This bug has previously been reported, and has already been fixed in the source-code - so you can expect to see the fix in the next binary release. You may wish to subscribe to the spambayes-announce list to see when each version is released - details at http://mail.python.org/mailman-21/listinfo/spambayes-announce If you are technically minded, you may like to run from the CVS version of the source-code, and you should find the fix immediately - see the main SpamBayes pages for details. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774708&group_id=61702 From noreply at sourceforge.net Sun Jul 20 17:09:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 19:09:22 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-737619 ] Message spam score is displayed (and filtered) wrongly Message-ID: Bugs item #737619, was opened at 2003-05-14 20:55 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=737619&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul Moore (pmoore) Assigned to: Mark Hammond (mhammond) Summary: Message spam score is displayed (and filtered) wrongly Initial Comment: Exchange, Outlook 2000, plugin from CVS around 9th April. Occasionally (it seems to be mostly when the plugin is doing a "catchup" when I start up in the morning, but I don't think it's *always* then) a spam is left in my inbox with a score of 0% displayed. Clicking the "show spam clues" button shows a correct score of 99.xxx%. I *think* that the message isn't showing in the log of messages being filtered (so why does it get a score at all?) but it's hard to be sure I didn't miss the note about a message with subject "??????????????????????" in a list of 200+ such messages :-) This has been discussed on the list in the past, but I could find no bug specifically about it. If I missed one, I apologise - feel free to close this in that case. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:09 Message: Logged In: YES user_id=14198 This is very similar to https://sourceforge.net/tracker/index.php?func=detail&aid=771256&group_id=61702&atid=498103 - except in that bug, there is no score displayed (ie, in that one, the message appears "completely missed". It is alot easier to see how the "no score" behaviour could happen, but this stumps me! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=737619&group_id=61702 From noreply at sourceforge.net Sun Jul 20 17:10:31 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 19:10:45 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771256 ] Filter misses messages Message-ID: Bugs item #771256, was opened at 2003-07-15 08:10 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771256&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Hagie (shagie) Assigned to: Mark Hammond (mhammond) >Summary: Filter misses messages Initial Comment: For the most part the Outlook version works pretty well, but in two cases so far Spambayes will refuse to give it a score on the main page or sort it. One of the e-mails was spam, the other was not. The e-mails do not appear at all in the log. I can view the spam clues and it will give me accurate information of what score it should have given it though. For instance, the Spam got: '*H*' 3.14121e-008 - - '*S*' 0.999976 - - and the good e-mail got: '*H*' 0.999994 - - '*S*' 7.60678e-010 - - The good e-mail was unusual in that it had no subject line, the bad is pretty typical html spam. I won't bother adding the log since it does not show anything. I really like this program, I can not wait until you get all the bugs out. Scott ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:10 Message: Logged In: YES user_id=14198 Similar to https://sourceforge.net/tracker/index.php?func=detail&aid=737619&group_id=61702&atid=498103, except that report indicates that an invalid spam score *did* end up on the message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771256&group_id=61702 From noreply at sourceforge.net Sun Jul 20 17:14:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 19:14:08 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-770397 ] Outlook hangs during message download Message-ID: Bugs item #770397, was opened at 2003-07-13 14:27 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770397&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Leonard Abbey (lba) Assigned to: Mark Hammond (mhammond) >Summary: Outlook hangs during message download Initial Comment: Approx 1 on 8 to 10 times that I start Outlook with SpamBytes filtering enabled Outlook Hangs part way through the download of messages. Say at 31 of 50 messages. Cancelling and restarting Outlook results in the same problem at the same message count (31 of 50.) If I turn off the filtering of SpamBytes the messages download successfully. Filtering the downloaded messages works fine on these downloaded messages (although I don;t think it Moves them to the designated folders - need to recheck to be 100% sure of this.) Outlook has not previously experienced this problem prior to installing SpamBytes. I am running Windows XP Home edition - with most fixes applied. Outlook is Outlook 2000 SP-3 (9.0.0.6627) Just looking at the Log file, is it possible that my Outlook Filtering is moving messages before SpamBytes gets a chance to analyse them? SpamBytes does seem to lag a little behind the download by my casual observation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770397&group_id=61702 From noreply at sourceforge.net Sun Jul 20 17:53:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 19:53:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 22:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 14:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-09 07:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Sun Jul 20 17:54:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 19:54:24 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771541 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771541, was opened at 2003-07-15 21:52 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:54 Message: Logged In: YES user_id=14198 Can you please try doing a reset of your toolbars, as per the troubleshooting guide. Go the brutal "delete outcmd.dat" route. Let me know if that fixes it ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 From noreply at sourceforge.net Sun Jul 20 18:46:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 20:47:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765242 ] UnicodeEncodeError: 'ascii' codec can't encode character '\u Message-ID: Bugs item #765242, was opened at 2003-07-03 07:09 Message generated for change (Comment added) made by mbjornsson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bj?rn Toft Madsen (sunbeam60) Assigned to: Nobody/Anonymous (nobody) Summary: UnicodeEncodeError: 'ascii' codec can't encode character '\u Initial Comment: After installation, Outlook XP reports the following error when started up: There was an error initializing the SpamBayes addin. Please re-start Outlook and try again. Machine is running Danish locale, but English installation of Office. Log file attached. ---------------------------------------------------------------------- Comment By: Magnus Bjornsson (mbjornsson) Date: 2003-07-20 20:46 Message: Logged In: YES user_id=826804 For me it was enough to change the default encoding to iso-8859-1, rebuild and voil?! For instructions how, see: http://diveintopython.org/kgp_unicode.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 From noreply at sourceforge.net Sun Jul 20 19:19:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 21:19:21 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765242 ] UnicodeEncodeError: 'ascii' codec can't encode character '\u Message-ID: Bugs item #765242, was opened at 2003-07-03 21:09 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 >Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bj?rn Toft Madsen (sunbeam60) >Assigned to: Mark Hammond (mhammond) Summary: UnicodeEncodeError: 'ascii' codec can't encode character '\u Initial Comment: After installation, Outlook XP reports the following error when started up: There was an error initializing the SpamBayes addin. Please re-start Outlook and try again. Machine is running Danish locale, but English installation of Office. Log file attached. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 11:19 Message: Logged In: YES user_id=14198 Interesting - that exception is: os.environ["BAYESCUSTOMIZE"] = ini_filename ini_filename will be a Unicode string, and in the case of tha bug, contain non-ASCII characters. If anyone is running from source code, I would be very interested to know if changing to: os.environ["BAYESCUSTOMIZE"] = ini_filename.encode("mbcs") Also fixes it. I think I will make that change here anyway - it wont hurt pure ascii filenames, and os.environ is known to not be unicode aware at this stage. ---------------------------------------------------------------------- Comment By: Magnus Bjornsson (mbjornsson) Date: 2003-07-21 10:46 Message: Logged In: YES user_id=826804 For me it was enough to change the default encoding to iso-8859-1, rebuild and voil?! For instructions how, see: http://diveintopython.org/kgp_unicode.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 From noreply at sourceforge.net Sun Jul 20 20:07:22 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 22:07:27 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774781 ] No progress while training Message-ID: Bugs item #774781, was opened at 2003-07-20 22:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774781&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Magnus Bjornsson (mbjornsson) Assigned to: Mark Hammond (mhammond) Summary: No progress while training Initial Comment: After setting the spam and good folders, and pressing the Train Now button in the training dialog nothing happens! I started to look around some and it seemed that it was complaining about the line assert(abs(start_pos-1.0)) < 0.001, "Proportions must add to 1.0" (line 45 in AsyncDialog.py) For some reason this assertion was failing. Simply removing this assertion (ugh!) managed to get me to finish training the db but without the nice progress bar though. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774781&group_id=61702 From noreply at sourceforge.net Sun Jul 20 20:14:50 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 22:15:49 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 12:32 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 04:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Sun Jul 20 20:24:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 22:24:14 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774781 ] No progress while training Message-ID: Bugs item #774781, was opened at 2003-07-21 02:07 Message generated for change (Settings changed) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774781&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Magnus Bjornsson (mbjornsson) Assigned to: Mark Hammond (mhammond) Summary: No progress while training Initial Comment: After setting the spam and good folders, and pressing the Train Now button in the training dialog nothing happens! I started to look around some and it seemed that it was complaining about the line assert(abs(start_pos-1.0)) < 0.001, "Proportions must add to 1.0" (line 45 in AsyncDialog.py) For some reason this assertion was failing. Simply removing this assertion (ugh!) managed to get me to finish training the db but without the nice progress bar though. ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:23 Message: Logged In: YES user_id=583713 Thanks for the report. Please track under [ 765912 ] AssertionError: Proportions must add to 1.0 ... https://sourceforge.net/tracker/index.php? func=detail&aid=765912&group_id=61702&atid=498103 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774781&group_id=61702 From noreply at sourceforge.net Sun Jul 20 20:32:48 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 22:32:54 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-690418 ] Non mail items filtered by Outlook Message-ID: Bugs item #690418, was opened at 2003-02-21 01:11 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 7 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Non mail items filtered by Outlook Initial Comment: DeliveryReports are filtered by SpamBayes. We should check that we are only filtering mail items. I added a check for this in the "Recover from Spam" buttons, so we can copy that. Indeed, we *must* copy that, as the filter may move such a message, but then our "Delete as/Recover from" buttons won't let us get it back ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:32 Message: Logged In: YES user_id=583713 Mark, Please review the patch I've attached. It checks for a message class beginning with "IPM.Note" in the ProcessMessage method, which seems to the common entry point with the exception of the buttons (which you already fixed). ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 04:06 Message: Logged In: YES user_id=583713 [ 772155 ] Meeting requests http://sourceforge.net/tracker/index.php? func=detail&aid=772155&group_id=61702&atid=498103 is a dupe of this. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-09 22:51 Message: Logged In: YES user_id=552329 Noting duplicate in https://sourceforge.net/tracker/? func=detail&atid=498103&aid=768682&group_id=61702 ([ 768682 ] Appointment filtered but can't be recovered) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-01 23:30 Message: Logged In: YES user_id=14198 Also happens for meeting requests (which apparently also often end up as unsure) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 From noreply at sourceforge.net Sun Jul 20 20:43:49 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 22:43:55 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-690418 ] Non mail items filtered by Outlook Message-ID: Bugs item #690418, was opened at 2003-02-21 12:11 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 7 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Non mail items filtered by Outlook Initial Comment: DeliveryReports are filtered by SpamBayes. We should check that we are only filtering mail items. I added a check for this in the "Recover from Spam" buttons, so we can copy that. Indeed, we *must* copy that, as the filter may move such a message, but then our "Delete as/Recover from" buttons won't let us get it back ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 12:43 Message: Logged In: YES user_id=14198 Thanks! That is certainly a step in the right direction. The fact it isn't that simple is the reason why this bug has sat here for so long. Other things: * The GetMessageGenerator etc should have the same logic, so that "bult training" of folders doesn't pick up these items. This code does *not* use the Outlook object model, and opening an Outlook object per mail is way too slow. * This should be rolled into one function, so *everything* knows to skip (or not) a message. Later, this will include checks like "has this ever been sent" (see the other bug) But - the great news is that I am actually working on that as we speak, and very nearly have it done. Will probably be my next checkins. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 12:32 Message: Logged In: YES user_id=583713 Mark, Please review the patch I've attached. It checks for a message class beginning with "IPM.Note" in the ProcessMessage method, which seems to the common entry point with the exception of the buttons (which you already fixed). ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 14:06 Message: Logged In: YES user_id=583713 [ 772155 ] Meeting requests http://sourceforge.net/tracker/index.php? func=detail&aid=772155&group_id=61702&atid=498103 is a dupe of this. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-10 08:51 Message: Logged In: YES user_id=552329 Noting duplicate in https://sourceforge.net/tracker/? func=detail&atid=498103&aid=768682&group_id=61702 ([ 768682 ] Appointment filtered but can't be recovered) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 09:30 Message: Logged In: YES user_id=14198 Also happens for meeting requests (which apparently also often end up as unsure) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 From noreply at sourceforge.net Sun Jul 20 21:13:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 23:13:10 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-719586 ] Cannot View Spam Cues for Undeliverable Reports Message-ID: Bugs item #719586, was opened at 2003-04-11 10:20 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=719586&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Martin Worger (worger) Assigned to: Mark Hammond (mhammond) Summary: Cannot View Spam Cues for Undeliverable Reports Initial Comment: The SpamBayes Outlook add-in marked an undeliverable notice as spam. I moved it back into my Inbox, but it still shows a 90% rating. When I try to view the spam cues for it says that no message is selected. The email is using a different message class i.e. it is a 'report' not a 'message' (when you look at the message properties). BTW: Sorry if I have trampled on any protocols by posting this - I'm not a developer, merely testing (and it is doing a pretty good job of filtering, this is my first FP since filtering was enabled - I'm impressed!) Martin Worger ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-21 03:13 Message: Logged In: YES user_id=583713 Closing b/c submitter noted the previous bug. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-11 10:27 Message: Logged In: YES user_id=751487 Sorry - I didn't see bug 690418! ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-11 10:25 Message: Logged In: YES user_id=751487 Sorry - I didn't see bug 690418! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=719586&group_id=61702 From noreply at sourceforge.net Sun Jul 20 21:35:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 20 23:35:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-750069 ] Spambayes Enabled, No Decimal Values Reported Message-ID: Bugs item #750069, was opened at 2003-06-06 13:10 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=750069&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: George Bertoli (gbertoli) Assigned to: Mark Hammond (mhammond) Summary: Spambayes Enabled, No Decimal Values Reported Initial Comment: Running Windows 2000 professional, Outlook 2000 SP3 Log files attached. Think this might be result of Ad-Aware or Spybot removing or disabling Python? ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-21 03:35 Message: Logged In: YES user_id=583713 This appears to be the same bug as [ 706520 ] assert fails in classifier https://sourceforge.net/tracker/index.php? func=detail&aid=706520&group_id=61702&atid=498103 You can try deleting the databases and retraining. See the FAQ for infomation on locating the databases. ---------------------------------------------------------------------- Comment By: George Bertoli (gbertoli) Date: 2003-06-08 02:55 Message: Logged In: YES user_id=795444 Further notes, Spambayes was installed and working fine for two weeks before it stopped working (stopped reporting decimal values and resultant no filtering). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=750069&group_id=61702 From noreply at sourceforge.net Sun Jul 20 22:34:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 00:34:49 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-690418 ] Non mail items filtered by Outlook Message-ID: Bugs item #690418, was opened at 2003-02-21 12:11 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Non mail items filtered by Outlook Initial Comment: DeliveryReports are filtered by SpamBayes. We should check that we are only filtering mail items. I added a check for this in the "Recover from Spam" buttons, so we can copy that. Indeed, we *must* copy that, as the filter may move such a message, but then our "Delete as/Recover from" buttons won't let us get it back ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 14:34 Message: Logged In: YES user_id=14198 Fix checked in. Only mail items are filtered. Only items that can be filtered can show spamclues. Note that user-composed messages are still filtered, as per that other bug! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 12:43 Message: Logged In: YES user_id=14198 Thanks! That is certainly a step in the right direction. The fact it isn't that simple is the reason why this bug has sat here for so long. Other things: * The GetMessageGenerator etc should have the same logic, so that "bult training" of folders doesn't pick up these items. This code does *not* use the Outlook object model, and opening an Outlook object per mail is way too slow. * This should be rolled into one function, so *everything* knows to skip (or not) a message. Later, this will include checks like "has this ever been sent" (see the other bug) But - the great news is that I am actually working on that as we speak, and very nearly have it done. Will probably be my next checkins. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 12:32 Message: Logged In: YES user_id=583713 Mark, Please review the patch I've attached. It checks for a message class beginning with "IPM.Note" in the ProcessMessage method, which seems to the common entry point with the exception of the buttons (which you already fixed). ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-20 14:06 Message: Logged In: YES user_id=583713 [ 772155 ] Meeting requests http://sourceforge.net/tracker/index.php? func=detail&aid=772155&group_id=61702&atid=498103 is a dupe of this. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-10 08:51 Message: Logged In: YES user_id=552329 Noting duplicate in https://sourceforge.net/tracker/? func=detail&atid=498103&aid=768682&group_id=61702 ([ 768682 ] Appointment filtered but can't be recovered) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-02 09:30 Message: Logged In: YES user_id=14198 Also happens for meeting requests (which apparently also often end up as unsure) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=690418&group_id=61702 From noreply at sourceforge.net Sun Jul 20 22:36:37 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 00:36:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765242 ] UnicodeEncodeError: 'ascii' codec can't encode character '\u Message-ID: Bugs item #765242, was opened at 2003-07-03 21:09 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Bj?rn Toft Madsen (sunbeam60) Assigned to: Mark Hammond (mhammond) Summary: UnicodeEncodeError: 'ascii' codec can't encode character '\u Initial Comment: After installation, Outlook XP reports the following error when started up: There was an error initializing the SpamBayes addin. Please re-start Outlook and try again. Machine is running Danish locale, but English installation of Office. Log file attached. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 14:36 Message: Logged In: YES user_id=14198 OK, I managed to test this by setting my data directory to a local directory with an extended character. This caused a number of failures beyond this. I checked in fixes - all should now work in CVS. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 11:19 Message: Logged In: YES user_id=14198 Interesting - that exception is: os.environ["BAYESCUSTOMIZE"] = ini_filename ini_filename will be a Unicode string, and in the case of tha bug, contain non-ASCII characters. If anyone is running from source code, I would be very interested to know if changing to: os.environ["BAYESCUSTOMIZE"] = ini_filename.encode("mbcs") Also fixes it. I think I will make that change here anyway - it wont hurt pure ascii filenames, and os.environ is known to not be unicode aware at this stage. ---------------------------------------------------------------------- Comment By: Magnus Bjornsson (mbjornsson) Date: 2003-07-21 10:46 Message: Logged In: YES user_id=826804 For me it was enough to change the default encoding to iso-8859-1, rebuild and voil?! For instructions how, see: http://diveintopython.org/kgp_unicode.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765242&group_id=61702 From noreply at sourceforge.net Sun Jul 20 22:37:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 00:37:39 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-680010 ] train on messages replied to Message-ID: Feature Requests item #680010, was opened at 2003-02-04 15:00 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=680010&group_id=61702 >Category: None Group: None Status: Open Priority: 5 Submitted By: Mark Hammond (mhammond) >Assigned to: Nobody/Anonymous (nobody) Summary: train on messages replied to Initial Comment: Tim's idea, in the thread "RE: [Spambayes] Outlook plugin notes". Automatically train as ham any messages which are replied to. Probably needs a checkbox for this behaviour. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=680010&group_id=61702 From noreply at sourceforge.net Sun Jul 20 22:41:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 00:41:08 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769619 ] message time shifts when moved from possible to ham folder Message-ID: Bugs item #769619, was opened at 2003-07-11 22:56 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joe Copley (jcopley) Assigned to: Mark Hammond (mhammond) Summary: message time shifts when moved from possible to ham folder Initial Comment: When a message is placed in my possible SPAM folder, and I use the recover button to move it back to my inbox, the message time is moved earlier by 8 hours. I have Outlook XP and am in the Eastern time zone. My Inbox is an IMAP account. The SPAM and Possible SPAM folders are local Outlook Accounts. I use Rockliffe Mailsite as my mail server. I have detected quirky behavior in Outlook before installing SpamBayes. For example, sometimes the rules simply stop working for no discernable reason. These problems migrated from Outlook 2000 on Win 98 to Outlook 2002 on XP. On XP only, whenever I start Outlook after boot, the rules simply don't get invoked and I have to run them manually. I am using Beta 1, Binary Version 3. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 14:41 Message: Logged In: YES user_id=14198 Can you account for the 8 hours? Is that the time difference between you and your server? Can you also confirm that the original moving of the message to the "unsure" folder did not change the time - only the recovery process? Can you also please test what happens if you drag-and-drop the message back to the inbox - is the time also shifted? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:14:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:14:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774908 ] New mail icon stays visible Message-ID: Bugs item #774908, was opened at 2003-07-21 12:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 Category: Outlook Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: New mail icon stays visible Initial Comment: When new e-mail arrives and is moved to the spam- folder, the new mail icon remains visible in de system- tray. I have the option delete_as_spam_message_state:Read in my ini file. The e-mail itself is correctly set as read. Spambayes version: outlook beta 1, binary version 3. Outlook: office 2000 on W2K ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:30:26 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:30:29 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774908 ] New mail icon stays visible Message-ID: Bugs item #774908, was opened at 2003-07-21 20:14 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 Category: Outlook Group: v1.0 (example) >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: New mail icon stays visible Initial Comment: When new e-mail arrives and is moved to the spam- folder, the new mail icon remains visible in de system- tray. I have the option delete_as_spam_message_state:Read in my ini file. The e-mail itself is correctly set as read. Spambayes version: outlook beta 1, binary version 3. Outlook: office 2000 on W2K ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:30 Message: Logged In: YES user_id=14198 Sorry, but there is nothing we can do here. We make no claim to clear the icon, just to change the message flag. Outlook doesn't expose a way to change this flag. I will update the docs to indicate that this doesn't change the read state. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:36:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:36:08 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 10:49 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:36:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:37:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 22:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 12:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 14:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-09 07:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:37:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:37:59 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747107 ] SpamBayes leaves duplicate messages Message-ID: Bugs item #747107, was opened at 2003-06-02 04:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes leaves duplicate messages Initial Comment: I am subscribed to a number of different mailing lists, and I have a number of Outlook rules (set up via Rules Wizard) to route the different mailing lists into different folders. When the rules are of the form: Apply this rule after the message arrives with in the subject move it to the folder and a matching message comes in, SpamBayes seems to leave multiple copies of that message in the inbox. This is very frustrating. If the rule is of the form: Apply this rule after the message arrives sent to move it to the folder and a matching message comes in, duplicate messages do not occur. So it seems to be some sort of odd interaction with Outlook Rules. I'm running Outlook 2002 SP 2 on Windows XP SP 1a (with current hotfixes). ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:37 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-07 08:59 Message: Logged In: YES user_id=552329 No, installing 003 over the top of 002 should work fine. I don't have any more answers, sorry, but no doubt Mark will look into this when he gets a chance. Stay tuned! ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-05 07:51 Message: Logged In: YES user_id=783913 Anadelon: Outlook junk mail rules are turned off; spam is Moved to Junk Mail. I just ran the release 003 of the plugin, and I'm still seeing the problem. (I didn't bother uninstalling release 002 - is that a problem?) Eric ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-05 01:08 Message: Logged In: YES user_id=18879 It appears the problem lies between the keyboard and chair. :) I seem to have overlooked the option to move messages instead of copying. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:50 Message: Logged In: YES user_id=552329 In addition, the log file seems to indicate that you are using release 002 of the plugin. If you haven't already, could you try release 003 and let us know if the problem still occurs? Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:46 Message: Logged In: YES user_id=552329 Eric, do you have the Outlook junk mail rules turned on? If you do, would both of you be able to try turning them off (they aren't all that much use if you are using spambayes anyway), and seeing if this resolves the problem? In addition, forgive me if you've checked this, but in the spambayes filter setup, do you have "move" selected rather than "copy"? (It's an odd problem that IIRC we have heard before, but I'm using the same version of Windows and Outlook, and have rules of that form, and don't notice this problem). ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-04 01:32 Message: Logged In: YES user_id=18879 I am also having this problem. I have not tested it with various rule types, but I believe it is occurring in conjunction with the Outlook "Junk E-mail" feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 From noreply at sourceforge.net Mon Jul 21 04:38:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 06:38:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Mon Jul 21 06:08:28 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 08:08:36 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774960 ] application won't install Message-ID: Bugs item #774960, was opened at 2003-07-21 07:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 Category: Outlook Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Steve Stuart (s_stuart) Assigned to: Mark Hammond (mhammond) Summary: application won't install Initial Comment: I am running Outlook 2000 under Windows XP, and the application, upon installation, tells me that I am not running Outlook. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 From noreply at sourceforge.net Mon Jul 21 06:42:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 08:42:04 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774978 ] Hide envelope icon when only spam received Message-ID: Feature Requests item #774978, was opened at 2003-07-21 16:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Andrew Zaikin (ghuron) Assigned to: Mark Hammond (mhammond) Summary: Hide envelope icon when only spam received Initial Comment: When during automatic receiving session only spam messages was received it is desired to remove envelope icon from tray. Probably this option should be switched off by default with the possibility to switch it on from the configuration file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 From noreply at sourceforge.net Mon Jul 21 06:46:39 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 08:46:43 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774980 ] Items in context menu desired Message-ID: Feature Requests item #774980, was opened at 2003-07-21 16:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774980&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Andrew Zaikin (ghuron) Assigned to: Mark Hammond (mhammond) Summary: Items in context menu desired Initial Comment: It is desired to have "Delete as spam" and "Recoved from spam" in context menu (right click) for one or group of mail messages ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774980&group_id=61702 From noreply at sourceforge.net Mon Jul 21 07:06:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 09:06:19 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774978 ] Hide envelope icon when only spam received Message-ID: Feature Requests item #774978, was opened at 2003-07-21 16:42 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Andrew Zaikin (ghuron) >Assigned to: Nobody/Anonymous (nobody) Summary: Hide envelope icon when only spam received Initial Comment: When during automatic receiving session only spam messages was received it is desired to remove envelope icon from tray. Probably this option should be switched off by default with the possibility to switch it on from the configuration file. ---------------------------------------------------------------------- >Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 17:06 Message: Logged In: YES user_id=824558 Sorry, duplicated to #774908. Too bad that nothing can be done here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 From noreply at sourceforge.net Mon Jul 21 09:13:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 11:13:30 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774908 ] New mail icon stays visible Message-ID: Bugs item #774908, was opened at 2003-07-21 14:14 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 Category: Outlook Group: v1.0 (example) Status: Closed Resolution: Invalid Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: New mail icon stays visible Initial Comment: When new e-mail arrives and is moved to the spam- folder, the new mail icon remains visible in de system- tray. I have the option delete_as_spam_message_state:Read in my ini file. The e-mail itself is correctly set as read. Spambayes version: outlook beta 1, binary version 3. Outlook: office 2000 on W2K ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 19:13 Message: Logged In: YES user_id=824558 Although you could not do anything from outlook API you still can switch off icon using Windows API. The exact description together with the example is described in http://beta.experts- exchange.com/Applications/MS_Office/Q_20149311.html Basically the idea is that you should find an Outlook window called "rctrl_renwnd32" and send a NIM_DELETE message to the icon using Shell_Notify ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 14:30 Message: Logged In: YES user_id=14198 Sorry, but there is nothing we can do here. We make no claim to clear the icon, just to change the message flag. Outlook doesn't expose a way to change this flag. I will update the docs to indicate that this doesn't change the read state. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774908&group_id=61702 From noreply at sourceforge.net Mon Jul 21 09:17:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 11:17:19 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774978 ] Hide envelope icon when only spam received Message-ID: Feature Requests item #774978, was opened at 2003-07-21 16:42 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Andrew Zaikin (ghuron) >Assigned to: Mark Hammond (mhammond) Summary: Hide envelope icon when only spam received Initial Comment: When during automatic receiving session only spam messages was received it is desired to remove envelope icon from tray. Probably this option should be switched off by default with the possibility to switch it on from the configuration file. ---------------------------------------------------------------------- >Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 19:17 Message: Logged In: YES user_id=824558 Since I could not attach files to #774908 I'm doing it here :) This is an example of how to hide envelope icon in tray. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 17:06 Message: Logged In: YES user_id=824558 Sorry, duplicated to #774908. Too bad that nothing can be done here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 From noreply at sourceforge.net Mon Jul 21 09:17:37 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 11:17:45 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-774978 ] Hide envelope icon when only spam received Message-ID: Feature Requests item #774978, was opened at 2003-07-21 16:42 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Andrew Zaikin (ghuron) Assigned to: Mark Hammond (mhammond) Summary: Hide envelope icon when only spam received Initial Comment: When during automatic receiving session only spam messages was received it is desired to remove envelope icon from tray. Probably this option should be switched off by default with the possibility to switch it on from the configuration file. ---------------------------------------------------------------------- >Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 19:17 Message: Logged In: YES user_id=824558 Since I could not attach files to #774908 I'm doing it here :) This is an example of how to hide envelope icon in tray. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 19:17 Message: Logged In: YES user_id=824558 Since I could not attach files to #774908 I'm doing it here :) This is an example of how to hide envelope icon in tray. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-21 17:06 Message: Logged In: YES user_id=824558 Sorry, duplicated to #774908. Too bad that nothing can be done here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=774978&group_id=61702 From noreply at sourceforge.net Mon Jul 21 10:53:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 12:54:05 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769619 ] message time shifts when moved from possible to ham folder Message-ID: Bugs item #769619, was opened at 2003-07-11 08:56 Message generated for change (Comment added) made by jcopley You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joe Copley (jcopley) Assigned to: Mark Hammond (mhammond) Summary: message time shifts when moved from possible to ham folder Initial Comment: When a message is placed in my possible SPAM folder, and I use the recover button to move it back to my inbox, the message time is moved earlier by 8 hours. I have Outlook XP and am in the Eastern time zone. My Inbox is an IMAP account. The SPAM and Possible SPAM folders are local Outlook Accounts. I use Rockliffe Mailsite as my mail server. I have detected quirky behavior in Outlook before installing SpamBayes. For example, sometimes the rules simply stop working for no discernable reason. These problems migrated from Outlook 2000 on Win 98 to Outlook 2002 on XP. On XP only, whenever I start Outlook after boot, the rules simply don't get invoked and I have to run them manually. I am using Beta 1, Binary Version 3. ---------------------------------------------------------------------- >Comment By: Joe Copley (jcopley) Date: 2003-07-21 12:53 Message: Logged In: YES user_id=820625 As messages appear in possible spam, they have what appears to be the correct time. The time is shifted whether I use the recover button or drag- and-drop. However, if I open the message, the original time is shown. The incorrect date appears only in the Outlook message list window. If I move a time-shifted message back to possible spam, the listed message time does not shift back. If I again move the message back to Inbox, it is shifted another eight hours. I cannot acount for the eight hours. GMT is +4 from Eastern Daylight. My server and I are in the same time zone. The time is not shifted if I move from possible spam to spam. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 00:41 Message: Logged In: YES user_id=14198 Can you account for the 8 hours? Is that the time difference between you and your server? Can you also confirm that the original moving of the message to the "unsure" folder did not change the time - only the recovery process? Can you also please test what happens if you drag-and-drop the message back to the inbox - is the time also shifted? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769619&group_id=61702 From noreply at sourceforge.net Mon Jul 21 12:31:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 14:31:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775181 ] Pythoncom error - Saving configuration Message-ID: Bugs item #775181, was opened at 2003-07-21 14:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775181&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jon Schaeffer (jmschaeffer) Assigned to: Mark Hammond (mhammond) Summary: Pythoncom error - Saving configuration Initial Comment: Just installed v.04 this morning and have never had this problem in recent versions. Every time I start Outlook I have to enable filtering. When I close Outlook and Start it again, I have to enable it again. Checking the attached log, I found an error saving the configuration which probably has something to do with the problem, but I've not idea how to fix it. This is on a clean install of Outlook and Windows XP installed 2 days ago. I originally loaded it with v.03 and had not enabled filtering because of the lack of good messages. After upgrading to v.04 this morning, I finally did have enough messages to enable filtering. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775181&group_id=61702 From noreply at sourceforge.net Mon Jul 21 13:29:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 21 15:29:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 17:44 Message generated for change (Comment added) made by portola You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Dennis Austin (portola) Date: 2003-07-21 12:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 11:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 08:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-03 21:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 10:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Tue Jul 22 00:35:43 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 02:35:46 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774960 ] application won't install Message-ID: Bugs item #774960, was opened at 2003-07-21 22:08 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 Category: Outlook Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Steve Stuart (s_stuart) Assigned to: Mark Hammond (mhammond) Summary: application won't install Initial Comment: I am running Outlook 2000 under Windows XP, and the application, upon installation, tells me that I am not running Outlook. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-22 16:35 Message: Logged In: YES user_id=14198 Version 005 will give the same message, but allow you to continue. Please let me know if this does actually work for you! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 From noreply at sourceforge.net Tue Jul 22 00:36:22 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 02:36:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775181 ] Pythoncom error - Saving configuration Message-ID: Bugs item #775181, was opened at 2003-07-22 04:31 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775181&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jon Schaeffer (jmschaeffer) Assigned to: Mark Hammond (mhammond) Summary: Pythoncom error - Saving configuration Initial Comment: Just installed v.04 this morning and have never had this problem in recent versions. Every time I start Outlook I have to enable filtering. When I close Outlook and Start it again, I have to enable it again. Checking the attached log, I found an error saving the configuration which probably has something to do with the problem, but I've not idea how to fix it. This is on a clean install of Outlook and Windows XP installed 2 days ago. I originally loaded it with v.03 and had not enabled filtering because of the lack of good messages. After upgrading to v.04 this morning, I finally did have enough messages to enable filtering. Thanks. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-22 16:36 Message: Logged In: YES user_id=14198 Please try the hot-off-the-presses 005 build. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775181&group_id=61702 From noreply at sourceforge.net Tue Jul 22 00:36:40 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 02:36:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-774960 ] application won't install Message-ID: Bugs item #774960, was opened at 2003-07-21 22:08 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 Category: Outlook Group: v1.0 (example) >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Steve Stuart (s_stuart) Assigned to: Mark Hammond (mhammond) Summary: application won't install Initial Comment: I am running Outlook 2000 under Windows XP, and the application, upon installation, tells me that I am not running Outlook. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 16:35 Message: Logged In: YES user_id=14198 Version 005 will give the same message, but allow you to continue. Please let me know if this does actually work for you! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=774960&group_id=61702 From noreply at sourceforge.net Tue Jul 22 03:03:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 05:03:27 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775533 ] Filtering only happens at startup in Outlook 2003 Message-ID: Bugs item #775533, was opened at 2003-07-22 09:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775533&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Keith Garland (cagier) Assigned to: Mark Hammond (mhammond) Summary: Filtering only happens at startup in Outlook 2003 Initial Comment: When I was setting this up I got filtering to work great but as I customised things more my Outlook 2003 Beta starting crashing every time I changed something. Now, the spam is filtered correctly whenever I start up Outlook but even though I have "Enable Filtering" switched on, it does not score messages or filter them at all. Manual "Delete as spam" and spam-scoring still work fine though... It is very frustrating because SpamBayes is so effective when it works properly! One other relevant point, I did have a problem with my folders as I deleted the Spam folder accidentally but I read the solution to a similar problem and deleted my .ini file to reconfigure things and this seemed to worked OK - but my problems did seem to start around this time. Since I installed the plug-in I cannot exit Outlook 2003 Beta without it crashing - hopefully the Outlook Beta update will fix this maybe. Many thanks. Keith (Current log file enclosed.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775533&group_id=61702 From noreply at sourceforge.net Tue Jul 22 04:40:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 06:40:42 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 12:28 Message generated for change (Comment added) made by pmoore You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 11:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 11:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 14:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 12:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 22:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 06:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 13:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 16:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 16:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 10:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 09:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 03:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 12:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 22 04:47:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 06:47:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775571 ] "Spambayes" menu in Outlook dead Message-ID: Bugs item #775571, was opened at 2003-07-22 12:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775571&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Magnus Aycox (mbip) Assigned to: Mark Hammond (mhammond) Summary: "Spambayes" menu in Outlook dead Initial Comment: I use WinXP Pro sp1, Outlook 2002 sp1. I used Spambayes outlook plugin v.003 when all of a sudden (no program crash) the "Spambayes" menu button (next to "Delete as spam") froze (it highlites when mouse hovers but I can't click it) and "Recover" button never appeared (funny enough then "Delete as spam" button still worked). I uninstalled and installed v.005. Now the "Recover" button appears and works. However the "Spambayes" button(menu) still doesn't work. The log file includes messages (in Swedish) about "incorrect variable type" for the menu buttons. I have performed the View->Toolbars->Customize - Reset and Options->COM Add-ins - Remove operations. "Spambayes" button still dead in the water... Anybody know what to do???????? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775571&group_id=61702 From noreply at sourceforge.net Tue Jul 22 05:22:25 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 07:22:41 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 20:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 22 05:30:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 07:30:42 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775571 ] "Spambayes" menu in Outlook dead Message-ID: Bugs item #775571, was opened at 2003-07-22 20:47 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775571&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Magnus Aycox (mbip) Assigned to: Mark Hammond (mhammond) Summary: "Spambayes" menu in Outlook dead Initial Comment: I use WinXP Pro sp1, Outlook 2002 sp1. I used Spambayes outlook plugin v.003 when all of a sudden (no program crash) the "Spambayes" menu button (next to "Delete as spam") froze (it highlites when mouse hovers but I can't click it) and "Recover" button never appeared (funny enough then "Delete as spam" button still worked). I uninstalled and installed v.005. Now the "Recover" button appears and works. However the "Spambayes" button(menu) still doesn't work. The log file includes messages (in Swedish) about "incorrect variable type" for the menu buttons. I have performed the View->Toolbars->Customize - Reset and Options->COM Add-ins - Remove operations. "Spambayes" button still dead in the water... Anybody know what to do???????? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:30 Message: Logged In: YES user_id=14198 Please see the troubleshooting guide (via "about.html" in the SpamBayes program directory) and see the tips for restoring the toolbar. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775571&group_id=61702 From noreply at sourceforge.net Tue Jul 22 05:37:54 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 07:38:17 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 12:28 Message generated for change (Comment added) made by pmoore You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 12:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 12:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 11:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 11:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 14:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 12:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 22:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 06:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 13:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 16:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 16:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 10:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 09:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 03:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 12:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 22 05:43:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 07:44:14 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 21:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 20:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 22 06:23:21 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 08:23:27 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775601 ] latest message not checked on outlook startup Message-ID: Bugs item #775601, was opened at 2003-07-22 07:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: matt tagliaferri (mtagliaf) Assigned to: Mark Hammond (mhammond) Summary: latest message not checked on outlook startup Initial Comment: When I first turn on Outlook and the filter begins slogging through all the messages I've received overnight, it always skips the latest message (the one at the top if the listview is sorted by date received). It would also be useful to add something in the loop that would allow other Windows task to get some time - the loop pretty much takes over the PC while it's running. Don't know how this is done in Python, in VB6 it's Application.DoEvents. matt tag ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 From srengasamy at firstam.com Mon Jul 21 19:05:16 2003 From: srengasamy at firstam.com (srengasamy@firstam.com) Date: Tue Jul 22 08:33:07 2003 Subject: [spambayes-bugs] SpamBayes Outlook Addin under CodeWeaver's Crossover Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 1299 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-bugs/attachments/20030721/a76ba538/spambayes1.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 92 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-bugs/attachments/20030721/a76ba538/spambayes2.obj From noreply at sourceforge.net Tue Jul 22 07:07:25 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 09:09:48 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 12:32 Message generated for change (Comment added) made by somogyia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 04:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Tue Jul 22 07:29:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 09:44:29 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 12:32 Message generated for change (Comment added) made by somogyia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:29 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 04:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Tue Jul 22 08:02:16 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 10:02:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-693387 ] user-composed messages are filtered Message-ID: Bugs item #693387, was opened at 2003-02-26 14:27 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=693387&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: user-composed messages are filtered Initial Comment: Messages composed by the user (eg, dragged back from "Drafts") or otherwise ending up there via external programs (I actually saw this with a Quicken generated mail) get filtered. They usually end up as "maybe", but should be ignored. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-23 00:02 Message: Logged In: YES user_id=14198 Checking in msgstore.py; new revision: 1.53; previous revision: 1.52 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=693387&group_id=61702 From noreply at sourceforge.net Tue Jul 22 08:32:31 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 10:32:46 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747107 ] SpamBayes leaves duplicate messages Message-ID: Bugs item #747107, was opened at 2003-06-01 11:28 Message generated for change (Comment added) made by ericbr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes leaves duplicate messages Initial Comment: I am subscribed to a number of different mailing lists, and I have a number of Outlook rules (set up via Rules Wizard) to route the different mailing lists into different folders. When the rules are of the form: Apply this rule after the message arrives with in the subject move it to the folder and a matching message comes in, SpamBayes seems to leave multiple copies of that message in the inbox. This is very frustrating. If the rule is of the form: Apply this rule after the message arrives sent to move it to the folder and a matching message comes in, duplicate messages do not occur. So it seems to be some sort of odd interaction with Outlook Rules. I'm running Outlook 2002 SP 2 on Windows XP SP 1a (with current hotfixes). ---------------------------------------------------------------------- >Comment By: Eric Brown (ericbr) Date: 2003-07-22 07:32 Message: Logged In: YES user_id=783913 I installed both versions 4 and 5 of the binary, and set the save_spam_info to False. So far, it seems to have fixed the problem, although I'd like to give it a full day of email to verify (because it doesn't always happen). However: for some reason, the SpamBayes configuration dialog doesn't pop up when I click the spambayes button. This happens on Outlook XP on Windows XP. I'll put a new bug in on this; just thought you should know. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 03:37 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 06:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-06 15:59 Message: Logged In: YES user_id=552329 No, installing 003 over the top of 002 should work fine. I don't have any more answers, sorry, but no doubt Mark will look into this when he gets a chance. Stay tuned! ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-04 14:51 Message: Logged In: YES user_id=783913 Anadelon: Outlook junk mail rules are turned off; spam is Moved to Junk Mail. I just ran the release 003 of the plugin, and I'm still seeing the problem. (I didn't bother uninstalling release 002 - is that a problem?) Eric ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-04 08:08 Message: Logged In: YES user_id=18879 It appears the problem lies between the keyboard and chair. :) I seem to have overlooked the option to move messages instead of copying. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-03 20:50 Message: Logged In: YES user_id=552329 In addition, the log file seems to indicate that you are using release 002 of the plugin. If you haven't already, could you try release 003 and let us know if the problem still occurs? Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-03 20:46 Message: Logged In: YES user_id=552329 Eric, do you have the Outlook junk mail rules turned on? If you do, would both of you be able to try turning them off (they aren't all that much use if you are using spambayes anyway), and seeing if this resolves the problem? In addition, forgive me if you've checked this, but in the spambayes filter setup, do you have "move" selected rather than "copy"? (It's an odd problem that IIRC we have heard before, but I'm using the same version of Windows and Outlook, and have rules of that form, and don't notice this problem). ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-03 08:32 Message: Logged In: YES user_id=18879 I am also having this problem. I have not tested it with various rule types, but I believe it is occurring in conjunction with the Outlook "Junk E-mail" feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 From noreply at sourceforge.net Tue Jul 22 11:39:23 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 13:39:40 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 17:44 Message generated for change (Comment added) made by portola You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Dennis Austin (portola) Date: 2003-07-22 10:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 12:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 11:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 08:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-03 21:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 10:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Tue Jul 22 17:49:31 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 19:49:37 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775977 ] pop3proxy reports an exception in shelve.py Message-ID: Bugs item #775977, was opened at 2003-07-22 23:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775977&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gary Herron (herron) Assigned to: Nobody/Anonymous (nobody) Summary: pop3proxy reports an exception in shelve.py Initial Comment: Using pop3proxy from spambayes-1.0a4 with Python 2.3b1 on Linux, the attached email comes throught pop3proxy with the following exception reported in the headers: X-Spambayes-Exception: exceptions.EOFError() in __getitem__() at /usr/local/lib/python2.3/shelve.py line 119: value = Unpickler(f).load() ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775977&group_id=61702 From noreply at sourceforge.net Tue Jul 22 17:55:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 19:55:14 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 10:44 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-23 09:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-23 03:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 05:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 01:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 14:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-03 03:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Tue Jul 22 20:51:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 22 22:51:27 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776022 ] Spambayes configuration menu doesn't drop. Message-ID: Bugs item #776022, was opened at 2003-07-22 19:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776022&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: Spambayes configuration menu doesn't drop. Initial Comment: The toolbar set up in Build 004 (and 005) of the spambayes outlook installer has an inoperable 'spambayes' button. This makes it difficult to get to the configuration UI. Luckily, I've already configured spambayes.... Outlook XP SP-2, Windows XP SP 1 with all current hotfixes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776022&group_id=61702 From noreply at sourceforge.net Wed Jul 23 08:58:25 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 10:58:35 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 23 09:30:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 11:31:02 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 14:58 Message generated for change (Comment added) made by xenogeist You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Adam Walker (xenogeist) Date: 2003-07-23 15:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 23 09:37:44 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 11:37:56 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 10:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-23 10:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 23 16:39:25 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 18:39:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-10 16:35 Message generated for change (Comment added) made by jtlove You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- >Comment By: Jason Love (jtlove) Date: 2003-07-23 22:39 Message: Logged In: YES user_id=667319 Release 005 has fixed the problem ---------------------------------------------------------------------- Comment By: Jason Love (jtlove) Date: 2003-07-11 15:40 Message: Logged In: YES user_id=667319 I am using Outlook 2002 with XP Profesional. Working through the troubleshooting.html, I found that the plugin failed to load but was checked under the com-addins and not shown as a disabled item under the Help - About Outlook. I have attached the log file. Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 00:10 Message: Logged In: YES user_id=552329 What version of Windows/Outlook are you now using? Could you also go through the steps in the troubleshooting.html file and attach your log file? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Wed Jul 23 16:39:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 18:40:05 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-10 16:35 Message generated for change (Settings changed) made by jtlove You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None Status: Open >Resolution: Fixed Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- Comment By: Jason Love (jtlove) Date: 2003-07-23 22:39 Message: Logged In: YES user_id=667319 Release 005 has fixed the problem ---------------------------------------------------------------------- Comment By: Jason Love (jtlove) Date: 2003-07-11 15:40 Message: Logged In: YES user_id=667319 I am using Outlook 2002 with XP Profesional. Working through the troubleshooting.html, I found that the plugin failed to load but was checked under the com-addins and not shown as a disabled item under the Help - About Outlook. I have attached the log file. Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 00:10 Message: Logged In: YES user_id=552329 What version of Windows/Outlook are you now using? Could you also go through the steps in the troubleshooting.html file and attach your log file? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Wed Jul 23 16:56:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 18:56:42 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-769215 ] Failed to Load Upon Microsoft Updates Message-ID: Bugs item #769215, was opened at 2003-07-11 02:35 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 Category: Outlook Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Jason Love (jtlove) Assigned to: Mark Hammond (mhammond) Summary: Failed to Load Upon Microsoft Updates Initial Comment: Upon installing the most recent Microsofts Updates for Windows XP that are automatically retrieved, the Spambayes plugin no longer loads. I reinstalled v2 and looked at the options--> com-addins and found the plugin to be unchecked, I then checked it and found Outlook to uncheck it upon coming back into the form reporting that errors were encountered during the load. I then tried installing v3, only to encounter the same problem. I have no idea what the Microsoft patch did but it has effectively disabled the plugin. Any ideas? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-24 08:56 Message: Logged In: YES user_id=14198 woo hoo! Thanks for following up ---------------------------------------------------------------------- Comment By: Jason Love (jtlove) Date: 2003-07-24 08:39 Message: Logged In: YES user_id=667319 Release 005 has fixed the problem ---------------------------------------------------------------------- Comment By: Jason Love (jtlove) Date: 2003-07-12 01:40 Message: Logged In: YES user_id=667319 I am using Outlook 2002 with XP Profesional. Working through the troubleshooting.html, I found that the plugin failed to load but was checked under the com-addins and not shown as a disabled item under the Help - About Outlook. I have attached the log file. Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-11 10:10 Message: Logged In: YES user_id=552329 What version of Windows/Outlook are you now using? Could you also go through the steps in the troubleshooting.html file and attach your log file? Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=769215&group_id=61702 From noreply at sourceforge.net Wed Jul 23 17:22:14 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 19:22:19 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-24 00:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-24 09:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-24 01:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-24 01:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 23 19:06:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 23 21:07:10 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 20:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 18:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 10:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-23 10:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 23 22:48:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 00:52:06 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 11:28 Message generated for change (Comment added) made by db3l You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-24 04:48 Message: Logged In: YES user_id=53196 For what it's worth, I've continued to run from source with my multiple save modification (as detailed earlier in the ticket) quite successfully (e.g., the problem doesn't happen for me). I'm positive it's still just a sledgehammer approach to the problem, and have found one slow laptop in the office (out of a number running a modified binary I produced with that change) that still can hit the problem even with the change, so it has a feeling of a race condition. But sledgehammer or no, I'm embarrassed to say that it worked so well for me that I settled for it as a solution :-) But I'd be happy to experiment with any other changes you might want to try out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 11:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 10:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 13:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 11:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 21:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 05:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 12:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 09:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 08:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 02:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 11:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Thu Jul 24 02:10:24 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 04:10:40 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776808 ] Expanding toolbar crashes outlook Message-ID: Bugs item #776808, was opened at 2003-07-24 10:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: Expanding toolbar crashes outlook Initial Comment: If the spambayes toolbar is not completely visible in Outlook you can open/expand it using the '>>' button at the end of the toolbar. Clicking on this button crashes outlook completely with the following message: "Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program." Outlook's own toolbars don't have this problem. Versions: Outlook 2000 on W2K Spambayes Outlook Addin (beta), Binary version 0.5 (july 2003) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 From noreply at sourceforge.net Thu Jul 24 04:30:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 06:30:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776866 ] Doesn't filter IMAP folders Message-ID: Bugs item #776866, was opened at 2003-07-24 11:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776866&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: James Aylett (tartarus) Assigned to: Mark Hammond (mhammond) Summary: Doesn't filter IMAP folders Initial Comment: IMAP folders added to a filter seem to fail scanning completely. Asking for spam clues, however, always works. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776866&group_id=61702 From noreply at sourceforge.net Thu Jul 24 04:44:52 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 06:44:55 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776874 ] Exception when saving options from pop3proxy Message-ID: Bugs item #776874, was opened at 2003-07-24 03:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Exception when saving options from pop3proxy Initial Comment: Since I upgraded from spambayes 1.0a2 to 1.0a4 recently, I have been unable to change options from the pop3proxy web interface. When I hit the same button on the Configure page I get the following exception: ----------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "/usr/local/lib/python2.2/site-packages/spambayes/UserInterface.py", line 525, in onChangeopts self.reReadOptions() File "/usr/local/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 484, in reReadOptions state = self.state_recreator() File "/usr/local/bin/pop3proxy.py", line 693, in _recreateState state.createWorkers() File "/usr/local/bin/pop3proxy.py", line 595, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 147, in __init__ self.load() File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 155, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 59 , in open return f(*args) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 23 , in open_gdbm return gdbm.open(*args) error: (11, 'Resource temporarily unavailable') ------------------------- The line numbers pop3proxy.py may be high by two or three because I added some print statements trying to debug this. The print statements show that the file that it is attempting to open is hammie.db, the classfier database. I am running pop3proxy on RedHat 8.0. as my user. The file permissions show that hammie.db is writable by me, etc. I explicity configured spambayes to use the gdbm database instead of the default - is that part of the problem? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 From noreply at sourceforge.net Thu Jul 24 05:00:49 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 07:00:54 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776874 ] Exception when saving options from pop3proxy Message-ID: Bugs item #776874, was opened at 2003-07-24 03:44 Message generated for change (Comment added) made by davidhandy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Exception when saving options from pop3proxy Initial Comment: Since I upgraded from spambayes 1.0a2 to 1.0a4 recently, I have been unable to change options from the pop3proxy web interface. When I hit the same button on the Configure page I get the following exception: ----------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "/usr/local/lib/python2.2/site-packages/spambayes/UserInterface.py", line 525, in onChangeopts self.reReadOptions() File "/usr/local/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 484, in reReadOptions state = self.state_recreator() File "/usr/local/bin/pop3proxy.py", line 693, in _recreateState state.createWorkers() File "/usr/local/bin/pop3proxy.py", line 595, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 147, in __init__ self.load() File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 155, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 59 , in open return f(*args) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 23 , in open_gdbm return gdbm.open(*args) error: (11, 'Resource temporarily unavailable') ------------------------- The line numbers pop3proxy.py may be high by two or three because I added some print statements trying to debug this. The print statements show that the file that it is attempting to open is hammie.db, the classfier database. I am running pop3proxy on RedHat 8.0. as my user. The file permissions show that hammie.db is writable by me, etc. I explicity configured spambayes to use the gdbm database instead of the default - is that part of the problem? ---------------------------------------------------------------------- >Comment By: David R. Handy (davidhandy) Date: 2003-07-24 04:00 Message: Logged In: YES user_id=171902 I checked and it turns out that when I set dbm_type:best that it naturally chooses gdbm anyway - I apparently don't have bsddb3 or bsddb available to me as storage types. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 From noreply at sourceforge.net Thu Jul 24 07:18:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 09:21:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:18 Message: Logged In: YES user_id=14198 If you could try the current CVS sources it would be great - this version saves in a slightly different way, and there has been one report of a similar bug being fixed. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-24 14:48 Message: Logged In: YES user_id=53196 For what it's worth, I've continued to run from source with my multiple save modification (as detailed earlier in the ticket) quite successfully (e.g., the problem doesn't happen for me). I'm positive it's still just a sledgehammer approach to the problem, and have found one slow laptop in the office (out of a number running a modified binary I produced with that change) that still can hit the problem even with the change, so it has a feeling of a race condition. But sledgehammer or no, I'm embarrassed to say that it worked so well for me that I settled for it as a solution :-) But I'd be happy to experiment with any other changes you might want to try out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 21:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 20:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Thu Jul 24 07:34:44 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 09:34:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776866 ] Doesn't filter IMAP folders Message-ID: Bugs item #776866, was opened at 2003-07-24 20:30 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776866&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: James Aylett (tartarus) Assigned to: Mark Hammond (mhammond) Summary: Doesn't filter IMAP folders Initial Comment: IMAP folders added to a filter seem to fail scanning completely. Asking for spam clues, however, always works. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:34 Message: Logged In: YES user_id=14198 You have an old version of the plugin. Please try binary verion 005. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776866&group_id=61702 From noreply at sourceforge.net Thu Jul 24 07:31:33 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 09:36:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 22:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:31 Message: Logged In: YES user_id=14198 This has us stumped. I have an instrumented version of the plugin at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe - if you are seeing this assertion error, please try this version and attach a log. ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 23:29 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 23:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 12:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 14:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-09 07:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Thu Jul 24 08:22:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 10:23:08 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 04:44 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 18:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 03:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 21:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 23:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 22:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 19:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 08:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 21:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Thu Jul 24 10:17:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 12:17:15 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777026 ] Possible cause for db corruption in storage.py/DBDictClassif Message-ID: Bugs item #777026, was opened at 2003-07-24 16:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fionn Behrens (fionn) Assigned to: Nobody/Anonymous (nobody) Summary: Possible cause for db corruption in storage.py/DBDictClassif Initial Comment: DBDistClassifier uses a neat trick to save some memory: def _wordinfoset: if record and (record.spamcount+record.hamcount <= 1): self.db[word] = record.__getstate__() # Remove this word from the changed list (not that it should be # there, but strange things can happen :) try: del self.changed_words[word] except KeyError: pass Unfortunately the programmer seems to have overlooked that there might already be a self.wordinfo[word] entry if (record.spamcount+record.hamcount) have been > 1 previously and some message has been untrained. So, if some record is e.g. untrained from a count of 2 to a count of 1, then wordinfo[word] will still be 2 while the db[word] entry will be 1. This can lead to minor miscounts in the spam/ham. To circumvent the problem, the following should be added to storage.py at line 239 (referring to version 1.0a3, right below the code part you see above): try: del self.wordinfo[word] except KeyError: pass ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 From noreply at sourceforge.net Thu Jul 24 13:45:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 15:45:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777165 ] Typo in Options.py causes bogus warning on reading config Message-ID: Bugs item #777165, was opened at 2003-07-24 12:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777165&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Typo in Options.py causes bogus warning on reading config Initial Comment: In the Alpha 4 release, in Options.py, line 912, there is a string literal "bd3hash" which should instead be "db3hash", in the tuple of valid values for the dbm_type setting. The effect is that when you start up i.e. pop3proxy.py you could get a bogus message: Attempted to set [globals] dbm_type with invalid value db3hash () Changing the string in Options.py from "bd3hash" to "db3hash" causes this bogus message to go away. This should be fixed in the main distribution. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777165&group_id=61702 From noreply at sourceforge.net Thu Jul 24 14:00:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 16:00:07 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776874 ] Exception when saving options from pop3proxy Message-ID: Bugs item #776874, was opened at 2003-07-24 03:44 Message generated for change (Comment added) made by davidhandy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Exception when saving options from pop3proxy Initial Comment: Since I upgraded from spambayes 1.0a2 to 1.0a4 recently, I have been unable to change options from the pop3proxy web interface. When I hit the same button on the Configure page I get the following exception: ----------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "/usr/local/lib/python2.2/site-packages/spambayes/UserInterface.py", line 525, in onChangeopts self.reReadOptions() File "/usr/local/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 484, in reReadOptions state = self.state_recreator() File "/usr/local/bin/pop3proxy.py", line 693, in _recreateState state.createWorkers() File "/usr/local/bin/pop3proxy.py", line 595, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 147, in __init__ self.load() File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 155, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 59 , in open return f(*args) File "/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 23 , in open_gdbm return gdbm.open(*args) error: (11, 'Resource temporarily unavailable') ------------------------- The line numbers pop3proxy.py may be high by two or three because I added some print statements trying to debug this. The print statements show that the file that it is attempting to open is hammie.db, the classfier database. I am running pop3proxy on RedHat 8.0. as my user. The file permissions show that hammie.db is writable by me, etc. I explicity configured spambayes to use the gdbm database instead of the default - is that part of the problem? ---------------------------------------------------------------------- >Comment By: David R. Handy (davidhandy) Date: 2003-07-24 13:00 Message: Logged In: YES user_id=171902 Workaround: I downloaded, compiled, and installed the bsddb3 module so that I could use the db3hash storage type. After switching my storage type to db3hash this problem went away. This might indicate a problem with gdbm. I won't use it any more if I can avoid it. ---------------------------------------------------------------------- Comment By: David R. Handy (davidhandy) Date: 2003-07-24 04:00 Message: Logged In: YES user_id=171902 I checked and it turns out that when I set dbm_type:best that it naturally chooses gdbm anyway - I apparently don't have bsddb3 or bsddb available to me as storage types. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702 From noreply at sourceforge.net Thu Jul 24 15:22:33 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 17:22:48 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776808 ] Expanding toolbar crashes outlook Message-ID: Bugs item #776808, was opened at 2003-07-24 20:10 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: Expanding toolbar crashes outlook Initial Comment: If the spambayes toolbar is not completely visible in Outlook you can open/expand it using the '>>' button at the end of the toolbar. Clicking on this button crashes outlook completely with the following message: "Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program." Outlook's own toolbars don't have this problem. Versions: Outlook 2000 on W2K Spambayes Outlook Addin (beta), Binary version 0.5 (july 2003) ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-25 09:22 Message: Logged In: YES user_id=552329 Just for reference, I do not experience this with current CVS and Outlook 2k2 sp2 with WinXP SP1. (I never have enough room in my possible spam folder, because both buttons are present, so I use this every now and then). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 From noreply at sourceforge.net Thu Jul 24 15:28:37 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 17:28:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777026 ] Possible cause for db corruption in storage.py/DBDictClassif Message-ID: Bugs item #777026, was opened at 2003-07-25 04:17 Message generated for change (Settings changed) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fionn Behrens (fionn) >Assigned to: Mark Hammond (mhammond) Summary: Possible cause for db corruption in storage.py/DBDictClassif Initial Comment: DBDistClassifier uses a neat trick to save some memory: def _wordinfoset: if record and (record.spamcount+record.hamcount <= 1): self.db[word] = record.__getstate__() # Remove this word from the changed list (not that it should be # there, but strange things can happen :) try: del self.changed_words[word] except KeyError: pass Unfortunately the programmer seems to have overlooked that there might already be a self.wordinfo[word] entry if (record.spamcount+record.hamcount) have been > 1 previously and some message has been untrained. So, if some record is e.g. untrained from a count of 2 to a count of 1, then wordinfo[word] will still be 2 while the db[word] entry will be 1. This can lead to minor miscounts in the spam/ham. To circumvent the problem, the following should be added to storage.py at line 239 (referring to version 1.0a3, right below the code part you see above): try: del self.wordinfo[word] except KeyError: pass ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 From noreply at sourceforge.net Thu Jul 24 15:32:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 17:32:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777165 ] Typo in Options.py causes bogus warning on reading config Message-ID: Bugs item #777165, was opened at 2003-07-25 07:45 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777165&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Typo in Options.py causes bogus warning on reading config Initial Comment: In the Alpha 4 release, in Options.py, line 912, there is a string literal "bd3hash" which should instead be "db3hash", in the tuple of valid values for the dbm_type setting. The effect is that when you start up i.e. pop3proxy.py you could get a bogus message: Attempted to set [globals] dbm_type with invalid value db3hash () Changing the string in Options.py from "bd3hash" to "db3hash" causes this bogus message to go away. This should be fixed in the main distribution. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-25 09:32 Message: Logged In: YES user_id=552329 Thanks. Fixed in Options.py v1.59 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777165&group_id=61702 From noreply at sourceforge.net Thu Jul 24 15:44:00 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 17:44:08 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776808 ] Expanding toolbar crashes outlook Message-ID: Bugs item #776808, was opened at 2003-07-24 04:10 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: Expanding toolbar crashes outlook Initial Comment: If the spambayes toolbar is not completely visible in Outlook you can open/expand it using the '>>' button at the end of the toolbar. Clicking on this button crashes outlook completely with the following message: "Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program." Outlook's own toolbars don't have this problem. Versions: Outlook 2000 on W2K Spambayes Outlook Addin (beta), Binary version 0.5 (july 2003) ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-24 17:44 Message: Logged In: YES user_id=31435 FYI, I've seen this too, on Win2K and Win98SE, using Outlook 2000, and CVS spambayes, Python 2.2.3. Just reproduced it after a CVS up. This happens when I'm in my Unsure folder, which tries to display both buttons, and often my Outlook window is too small. I first saw it shortly after we switched to building our own toolbar. It doesn't bother me, especially since I can't imagine we're at fault <0.5 wink>. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-24 17:22 Message: Logged In: YES user_id=552329 Just for reference, I do not experience this with current CVS and Outlook 2k2 sp2 with WinXP SP1. (I never have enough room in my possible spam folder, because both buttons are present, so I use this every now and then). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 From noreply at sourceforge.net Thu Jul 24 19:39:17 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 21:39:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777314 ] Outlook keeps downloading same spam Message-ID: Bugs item #777314, was opened at 2003-07-24 21:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook keeps downloading same spam Initial Comment: >From the spambayes mailing list: """ Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup- 005.exe (lastest try), and SpamBayes-Outlook-Setup- 003.exe (earlier attempt) """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 From noreply at sourceforge.net Thu Jul 24 21:25:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 24 23:25:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777026 ] Possible cause for db corruption in storage.py/DBDictClassif Message-ID: Bugs item #777026, was opened at 2003-07-25 02:17 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Fionn Behrens (fionn) Assigned to: Mark Hammond (mhammond) Summary: Possible cause for db corruption in storage.py/DBDictClassif Initial Comment: DBDistClassifier uses a neat trick to save some memory: def _wordinfoset: if record and (record.spamcount+record.hamcount <= 1): self.db[word] = record.__getstate__() # Remove this word from the changed list (not that it should be # there, but strange things can happen :) try: del self.changed_words[word] except KeyError: pass Unfortunately the programmer seems to have overlooked that there might already be a self.wordinfo[word] entry if (record.spamcount+record.hamcount) have been > 1 previously and some message has been untrained. So, if some record is e.g. untrained from a count of 2 to a count of 1, then wordinfo[word] will still be 2 while the db[word] entry will be 1. This can lead to minor miscounts in the spam/ham. To circumvent the problem, the following should be added to storage.py at line 239 (referring to version 1.0a3, right below the code part you see above): try: del self.wordinfo[word] except KeyError: pass ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-25 13:25 Message: Logged In: YES user_id=14198 The code currently works, as in the case you describe self.wordinfo[key] is still correctly set to 1. Thus, the _wordinfoget() gets the correct value. 1.3 is quite out of date - other bugs have been fixed since then. However, I added a test\test_storage.py file that tries to exercise these edge cases - if you believe there is still a bug, please provoke that into failing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 From noreply at sourceforge.net Thu Jul 24 22:39:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 00:39:38 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777026 ] Possible cause for db corruption in storage.py/DBDictClassif Message-ID: Bugs item #777026, was opened at 2003-07-24 12:17 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 Category: None Group: None >Status: Open >Resolution: Later Priority: 5 Submitted By: Fionn Behrens (fionn) >Assigned to: Tim Peters (tim_one) Summary: Possible cause for db corruption in storage.py/DBDictClassif Initial Comment: DBDistClassifier uses a neat trick to save some memory: def _wordinfoset: if record and (record.spamcount+record.hamcount <= 1): self.db[word] = record.__getstate__() # Remove this word from the changed list (not that it should be # there, but strange things can happen :) try: del self.changed_words[word] except KeyError: pass Unfortunately the programmer seems to have overlooked that there might already be a self.wordinfo[word] entry if (record.spamcount+record.hamcount) have been > 1 previously and some message has been untrained. So, if some record is e.g. untrained from a count of 2 to a count of 1, then wordinfo[word] will still be 2 while the db[word] entry will be 1. This can lead to minor miscounts in the spam/ham. To circumvent the problem, the following should be added to storage.py at line 239 (referring to version 1.0a3, right below the code part you see above): try: del self.wordinfo[word] except KeyError: pass ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-25 00:39 Message: Logged In: YES user_id=31435 Well, the reason this works is really quite subtle: the classifier's _remove_msg and _add_msg methods *mutate* the WordInfo record in the wordinfo dict, and pass the mutated version on to _wordinfoset. That's why they never get out of synch. In fact, you can add this line to the start of _wordinfoset's outermost else clause: assert self.wordinfo[word] is record and it won't fail. The assignment self.wordinfo[word] = record isn't actually needed in _wordinfoset! It always rebinds self.wordinfo[word] to the object it was already bound to. But this isn't apparent from the guts of _wordinfoset, it's a property that follows from what holds at the only two places _wordinfoset is called from the classifier, and that _wordinfoget fills in wordinfo[word] too. This is really too delicate to bear. Reopening and assigning to me. While calls of _wordinfoset from the classifier happen always to pass the same record on to _wordinfoset as they got from the wordinfo dict, I'm not sure all calls everywhere do this. Better to make it bulletproof than to rely on this. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:25 Message: Logged In: YES user_id=14198 The code currently works, as in the case you describe self.wordinfo[key] is still correctly set to 1. Thus, the _wordinfoget() gets the correct value. 1.3 is quite out of date - other bugs have been fixed since then. However, I added a test\test_storage.py file that tries to exercise these edge cases - if you believe there is still a bug, please provoke that into failing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 From noreply at sourceforge.net Thu Jul 24 23:24:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 01:24:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777026 ] Possible cause for db corruption in storage.py/DBDictClassif Message-ID: Bugs item #777026, was opened at 2003-07-24 12:17 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Fionn Behrens (fionn) Assigned to: Tim Peters (tim_one) Summary: Possible cause for db corruption in storage.py/DBDictClassif Initial Comment: DBDistClassifier uses a neat trick to save some memory: def _wordinfoset: if record and (record.spamcount+record.hamcount <= 1): self.db[word] = record.__getstate__() # Remove this word from the changed list (not that it should be # there, but strange things can happen :) try: del self.changed_words[word] except KeyError: pass Unfortunately the programmer seems to have overlooked that there might already be a self.wordinfo[word] entry if (record.spamcount+record.hamcount) have been > 1 previously and some message has been untrained. So, if some record is e.g. untrained from a count of 2 to a count of 1, then wordinfo[word] will still be 2 while the db[word] entry will be 1. This can lead to minor miscounts in the spam/ham. To circumvent the problem, the following should be added to storage.py at line 239 (referring to version 1.0a3, right below the code part you see above): try: del self.wordinfo[word] except KeyError: pass ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-25 01:24 Message: Logged In: YES user_id=31435 Fixed, in spambayes/storage.py; new revision: 1.16 spambayes/test/test_storage.py; new revision: 1.2 Writing a failing test case was necessarily ugly, since there was in fact no actual failure possible here when sticking to the ways the _wordinfo{set,get,del} methods get called from a classifier. Mark, many thanks for writing the test driver! That made this a whole lot easier. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-25 00:39 Message: Logged In: YES user_id=31435 Well, the reason this works is really quite subtle: the classifier's _remove_msg and _add_msg methods *mutate* the WordInfo record in the wordinfo dict, and pass the mutated version on to _wordinfoset. That's why they never get out of synch. In fact, you can add this line to the start of _wordinfoset's outermost else clause: assert self.wordinfo[word] is record and it won't fail. The assignment self.wordinfo[word] = record isn't actually needed in _wordinfoset! It always rebinds self.wordinfo[word] to the object it was already bound to. But this isn't apparent from the guts of _wordinfoset, it's a property that follows from what holds at the only two places _wordinfoset is called from the classifier, and that _wordinfoget fills in wordinfo[word] too. This is really too delicate to bear. Reopening and assigning to me. While calls of _wordinfoset from the classifier happen always to pass the same record on to _wordinfoset as they got from the wordinfo dict, I'm not sure all calls everywhere do this. Better to make it bulletproof than to rely on this. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:25 Message: Logged In: YES user_id=14198 The code currently works, as in the case you describe self.wordinfo[key] is still correctly set to 1. Thus, the _wordinfoget() gets the correct value. 1.3 is quite out of date - other bugs have been fixed since then. However, I added a test\test_storage.py file that tries to exercise these edge cases - if you believe there is still a bug, please provoke that into failing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777026&group_id=61702 From noreply at sourceforge.net Fri Jul 25 04:02:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 06:02:39 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 04:44 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 14:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 18:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 03:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 21:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 23:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 22:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 19:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 08:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 21:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Fri Jul 25 04:35:56 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 06:35:59 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-777453 ] Mark spam as read automatically Message-ID: Feature Requests item #777453, was opened at 2003-07-25 12:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=777453&group_id=61702 Category: Outlook Group: None Status: Open Priority: 5 Submitted By: Torsten Martinsen (bullestock) Assigned to: Mark Hammond (mhammond) Summary: Mark spam as read automatically Initial Comment: Just installed the SpamBayes Outlook yesterday, and it already works great. Thanks guys. However, any spam moved to the Spam folder is still marked as Unread, which means that Outlook displays its cute little envelope indicator in the tray, causing me to open it to check my new mail. I would prefer that Spam items (not the Unsure ones of course) were automatically marked as Read, so that I could just periodically review the contents of the Spam folder. (Of course, Mozilla already does this, which is why I have grown used to it). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=777453&group_id=61702 From noreply at sourceforge.net Fri Jul 25 05:19:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 07:19:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 22:32 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-25 21:19 Message: Logged In: YES user_id=14198 Success confirmed :) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:31 Message: Logged In: YES user_id=14198 This has us stumped. I have an instrumented version of the plugin at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe - if you are seeing this assertion error, please try this version and attach a log. ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 23:29 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 23:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 12:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 14:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-09 07:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-05 08:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Fri Jul 25 05:30:37 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 07:30:41 2003 Subject: [spambayes-bugs] [ spambayes-Feature Requests-777453 ] Mark spam as read automatically Message-ID: Feature Requests item #777453, was opened at 2003-07-25 20:35 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=777453&group_id=61702 Category: Outlook Group: None >Status: Closed Priority: 5 Submitted By: Torsten Martinsen (bullestock) Assigned to: Mark Hammond (mhammond) Summary: Mark spam as read automatically Initial Comment: Just installed the SpamBayes Outlook yesterday, and it already works great. Thanks guys. However, any spam moved to the Spam folder is still marked as Unread, which means that Outlook displays its cute little envelope indicator in the tray, causing me to open it to check my new mail. I would prefer that Spam items (not the Unsure ones of course) were automatically marked as Read, so that I could just periodically review the contents of the Spam folder. (Of course, Mozilla already does this, which is why I have grown used to it). ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-25 21:30 Message: Logged In: YES user_id=14198 Please see http://spambayes.sourceforge.net/faq.html#can-mail-marked-as-spam-automatically-be-marked-as-read ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498106&aid=777453&group_id=61702 From noreply at sourceforge.net Fri Jul 25 08:37:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 10:38:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 10:44 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-26 00:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 20:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 00:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 09:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-23 03:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 05:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 01:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 14:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-03 03:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Fri Jul 25 08:54:31 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 10:56:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777540 ] DLL Registration Error on Reinstall Message-ID: Bugs item #777540, was opened at 2003-07-25 23:30 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777540&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Andrew Kantor (akantor) Assigned to: Mark Hammond (mhammond) Summary: DLL Registration Error on Reinstall Initial Comment: [Copy of this sent to mailing list] During reinstall of plugin (v005), I got the following error: "Unable to register the DLL/OCX: DllRegisterServer failed; code 0x80040201." I retried, then decided to ignore. Naturally, the plugin didn't work. I tried everything in the Troubleshooting Guide (re-enabling, etc.) to no avail. Any help you can offer would be appreciated! Here's the system: Windows 98 with Outlook XP SpamBayes Outlook plugin 005 Log files 1 and 2 are identical: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777540&group_id=61702 From noreply at sourceforge.net Fri Jul 25 07:31:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 11:01:50 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777540 ] DLL Registration Error on Reinstall Message-ID: Bugs item #777540, was opened at 2003-07-25 09:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777540&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andrew Kantor (akantor) Assigned to: Mark Hammond (mhammond) Summary: DLL Registration Error on Reinstall Initial Comment: [Copy of this sent to mailing list] During reinstall of plugin (v005), I got the following error: "Unable to register the DLL/OCX: DllRegisterServer failed; code 0x80040201." I retried, then decided to ignore. Naturally, the plugin didn't work. I tried everything in the Troubleshooting Guide (re-enabling, etc.) to no avail. Any help you can offer would be appreciated! Here's the system: Windows 98 with Outlook XP SpamBayes Outlook plugin 005 Log files 1 and 2 are identical: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777540&group_id=61702 From noreply at sourceforge.net Fri Jul 25 08:56:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 11:01:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-750069 ] Spambayes Enabled, No Decimal Values Reported Message-ID: Bugs item #750069, was opened at 2003-06-06 23:10 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=750069&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: George Bertoli (gbertoli) Assigned to: Mark Hammond (mhammond) Summary: Spambayes Enabled, No Decimal Values Reported Initial Comment: Running Windows 2000 professional, Outlook 2000 SP3 Log files attached. Think this might be result of Ad-Aware or Spybot removing or disabling Python? ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 13:35 Message: Logged In: YES user_id=583713 This appears to be the same bug as [ 706520 ] assert fails in classifier https://sourceforge.net/tracker/index.php? func=detail&aid=706520&group_id=61702&atid=498103 You can try deleting the databases and retraining. See the FAQ for infomation on locating the databases. ---------------------------------------------------------------------- Comment By: George Bertoli (gbertoli) Date: 2003-06-08 12:55 Message: Logged In: YES user_id=795444 Further notes, Spambayes was installed and working fine for two weeks before it stopped working (stopped reporting decimal values and resultant no filtering). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=750069&group_id=61702 From noreply at sourceforge.net Fri Jul 25 09:41:26 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 11:41:40 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 04:44 Message generated for change (Comment added) made by ghuron You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 19:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 18:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 14:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 18:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 03:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 21:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 23:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 22:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 19:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 08:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 21:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Fri Jul 25 09:50:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 11:50:10 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 10:44 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-26 01:50 Message: Logged In: YES user_id=14198 Yay - I'm convinced this specific error, with "win32com.universal" showing up, is fixed :) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-26 01:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-26 00:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 20:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 00:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 09:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-23 03:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 05:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 01:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 14:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-03 03:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Fri Jul 25 17:06:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 19:06:31 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777856 ] SpamBayes now crashes Outlook Message-ID: Bugs item #777856, was opened at 2003-07-25 16:06 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Geoffrey Linnell (glinnell) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes now crashes Outlook Initial Comment: I installed V .2, and it worked fine. I uninstalled, and installed V .3, and since then when I go into Manager, select Train Now, and click on browse, Outlook 2000 freezes...I have to kill the process to end it. I've since tried V .5...the same. I've uninstalled Office, Re- installed, patched to SP3...nothing. Any SpamBayes dialog that has a Browse button still halts Outlook. Office is 9.0.6926 SP3, Outlook is SP3, 9.0.0.6627. All running on Windows 2000 Build 2195 SP3. -Geoff ilx@cypress.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 From noreply at sourceforge.net Fri Jul 25 19:05:44 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 21:05:57 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777891 ] CVS Outlook addin dead on Win98SE Message-ID: Bugs item #777891, was opened at 2003-07-25 21:00 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Mark Hammond (mhammond) Summary: CVS Outlook addin dead on Win98SE Initial Comment: Updated to current CVS a little while ago. Using Python 2.2.3 w/o bsddb3 (so have a pickled dict) ... win32all build 150 ... Outlook 2K IMO SR1 ... Win98SE (w/ all relevant service packs). Opened Outlook and the toolbar was there, but no msgs getting scored. Opened the PythonWin trace collector window, and it was blank. That's a new one. Closed Outlook, ran Outlook2000 addin.py, which appeared to work. Opened Outlook again, and got just this in the trace collector: """ Traceback (most recent call last): File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 144, in CreateInstance return retObj._CreateInstance_(clsid, reqIID) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 201, in _CreateInstance_ self._wrap_(myob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 447, in _wrap_ MappedWrapPolicy._wrap_(self, ob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 393, in _wrap_ BasicWrapPolicy._wrap_(self, object) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 239, in _wrap_ i = pythoncom.InterfaceNames[i] exceptions.KeyError: _IDTExtensibility2 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005) """ This sequence of actions and results is repeatable in all respects. ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-25 21:05 Message: Logged In: YES user_id=31435 Huge clue: I did a CVS update with "-D yesterday", ran addin.py again, and everything works great again. cvsup said these files were reverted to yesterday's state: P Outlook2000/addin.py P Outlook2000/manager.py P Outlook2000/msgstore.py P Outlook2000/installer/spambayes_addin.spec P spambayes/storage.py cvs server: spambayes/test/README.txt is no longer in the repository cvs server: spambayes/test/test_storage.py is no longer in the repository I checked in changes to storage.py and test_storage.py last night, and ran Outlook without problems after that, so they're not it (which stands to reason, since the changes were to DBDictClassifier, which my home spambayes installation isn't using). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 From noreply at sourceforge.net Fri Jul 25 19:36:27 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 21:36:52 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777891 ] CVS Outlook addin dead on Win98SE Message-ID: Bugs item #777891, was opened at 2003-07-26 11:00 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Mark Hammond (mhammond) Summary: CVS Outlook addin dead on Win98SE Initial Comment: Updated to current CVS a little while ago. Using Python 2.2.3 w/o bsddb3 (so have a pickled dict) ... win32all build 150 ... Outlook 2K IMO SR1 ... Win98SE (w/ all relevant service packs). Opened Outlook and the toolbar was there, but no msgs getting scored. Opened the PythonWin trace collector window, and it was blank. That's a new one. Closed Outlook, ran Outlook2000 addin.py, which appeared to work. Opened Outlook again, and got just this in the trace collector: """ Traceback (most recent call last): File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 144, in CreateInstance return retObj._CreateInstance_(clsid, reqIID) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 201, in _CreateInstance_ self._wrap_(myob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 447, in _wrap_ MappedWrapPolicy._wrap_(self, ob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 393, in _wrap_ BasicWrapPolicy._wrap_(self, object) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 239, in _wrap_ i = pythoncom.InterfaceNames[i] exceptions.KeyError: _IDTExtensibility2 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005) """ This sequence of actions and results is repeatable in all respects. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-26 11:36 Message: Logged In: YES user_id=14198 Sorry about that. I actually remembered I broke things befor I saw this bug :) 1.78 of addin.py should have it fixed (or reopen it if not) ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-26 11:05 Message: Logged In: YES user_id=31435 Huge clue: I did a CVS update with "-D yesterday", ran addin.py again, and everything works great again. cvsup said these files were reverted to yesterday's state: P Outlook2000/addin.py P Outlook2000/manager.py P Outlook2000/msgstore.py P Outlook2000/installer/spambayes_addin.spec P spambayes/storage.py cvs server: spambayes/test/README.txt is no longer in the repository cvs server: spambayes/test/test_storage.py is no longer in the repository I checked in changes to storage.py and test_storage.py last night, and ran Outlook without problems after that, so they're not it (which stands to reason, since the changes were to DBDictClassifier, which my home spambayes installation isn't using). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 From noreply at sourceforge.net Fri Jul 25 20:15:43 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 22:15:46 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777908 ] Spam allowed when 8th bit set on character in subject Message-ID: Bugs item #777908, was opened at 2003-07-25 19:15 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777908&group_id=61702 Category: pop3proxy Group: None Status: Open Resolution: None Priority: 5 Submitted By: David R. Handy (davidhandy) Assigned to: Nobody/Anonymous (nobody) Summary: Spam allowed when 8th bit set on character in subject Initial Comment: I have been getting about 1 message a day leaked through because pop3proxy can't handle messages with subject header lines that contain characters out of the US ASCII range. The symptom is that I get an email with a header line that looks like this: X-Spambayes-Exception: exceptions.UnicodeError(ASCII decoding error: ordinal not in range(128)) in append() at /usr/local/lib/python2.2/email/Header.py line 230: ustr = unicode(s, incodec) And there is no X-Spambayes-Classification header. And then I look and I find that there is some weird character in the subject line. Spammers often put random garbage at the end of subject lines. In some cases however this looked deliberate - using o with an umlaut, for example, in place of a regular o in an English word. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777908&group_id=61702 From noreply at sourceforge.net Fri Jul 25 20:25:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Fri Jul 25 22:25:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777891 ] CVS Outlook addin dead on Win98SE Message-ID: Bugs item #777891, was opened at 2003-07-25 21:00 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Mark Hammond (mhammond) Summary: CVS Outlook addin dead on Win98SE Initial Comment: Updated to current CVS a little while ago. Using Python 2.2.3 w/o bsddb3 (so have a pickled dict) ... win32all build 150 ... Outlook 2K IMO SR1 ... Win98SE (w/ all relevant service packs). Opened Outlook and the toolbar was there, but no msgs getting scored. Opened the PythonWin trace collector window, and it was blank. That's a new one. Closed Outlook, ran Outlook2000 addin.py, which appeared to work. Opened Outlook again, and got just this in the trace collector: """ Traceback (most recent call last): File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 144, in CreateInstance return retObj._CreateInstance_(clsid, reqIID) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 201, in _CreateInstance_ self._wrap_(myob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 447, in _wrap_ MappedWrapPolicy._wrap_(self, ob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 393, in _wrap_ BasicWrapPolicy._wrap_(self, object) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 239, in _wrap_ i = pythoncom.InterfaceNames[i] exceptions.KeyError: _IDTExtensibility2 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005) """ This sequence of actions and results is repeatable in all respects. ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-25 22:25 Message: Logged In: YES user_id=31435 Don't apologize, I owe you many indulgences by now . It is indeed fixed in current CVS. Thanks! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 21:36 Message: Logged In: YES user_id=14198 Sorry about that. I actually remembered I broke things befor I saw this bug :) 1.78 of addin.py should have it fixed (or reopen it if not) ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-25 21:05 Message: Logged In: YES user_id=31435 Huge clue: I did a CVS update with "-D yesterday", ran addin.py again, and everything works great again. cvsup said these files were reverted to yesterday's state: P Outlook2000/addin.py P Outlook2000/manager.py P Outlook2000/msgstore.py P Outlook2000/installer/spambayes_addin.spec P spambayes/storage.py cvs server: spambayes/test/README.txt is no longer in the repository cvs server: spambayes/test/test_storage.py is no longer in the repository I checked in changes to storage.py and test_storage.py last night, and ran Outlook without problems after that, so they're not it (which stands to reason, since the changes were to DBDictClassifier, which my home spambayes installation isn't using). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 From noreply at sourceforge.net Fri Jul 25 19:03:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 26 01:03:27 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-24 00:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) >Assigned to: Skip Montanaro (montanaro) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-26 11:03 Message: Logged In: YES user_id=14198 Yep, binary version would be what you should compare against ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-24 11:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 09:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-24 01:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-24 01:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Sat Jul 26 00:35:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 26 02:35:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777908 ] Spam allowed when 8th bit set on character in subject Message-ID: Bugs item #777908, was opened at 2003-07-26 02:15 Message generated for change (Comment added) made by richiehindle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777908&group_id=61702 Category: pop3proxy Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: David R. Handy (davidhandy) >Assigned to: Richie Hindle (richiehindle) Summary: Spam allowed when 8th bit set on character in subject Initial Comment: I have been getting about 1 message a day leaked through because pop3proxy can't handle messages with subject header lines that contain characters out of the US ASCII range. The symptom is that I get an email with a header line that looks like this: X-Spambayes-Exception: exceptions.UnicodeError(ASCII decoding error: ordinal not in range(128)) in append() at /usr/local/lib/python2.2/email/Header.py line 230: ustr = unicode(s, incodec) And there is no X-Spambayes-Classification header. And then I look and I find that there is some weird character in the subject line. Spammers often put random garbage at the end of subject lines. In some cases however this looked deliberate - using o with an umlaut, for example, in place of a regular o in an English word. ---------------------------------------------------------------------- >Comment By: Richie Hindle (richiehindle) Date: 2003-07-26 06:35 Message: Logged In: YES user_id=85414 Already fixed in CVS: http://mail.python.org/pipermail/spambayes-checkins/2003- July/001441.html http://mail.python.org/pipermail/spambayes-checkins/2003- July/001440.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777908&group_id=61702 From noreply at sourceforge.net Fri Jul 25 19:00:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 26 06:11:54 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777891 ] CVS Outlook addin dead on Win98SE Message-ID: Bugs item #777891, was opened at 2003-07-25 21:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Mark Hammond (mhammond) Summary: CVS Outlook addin dead on Win98SE Initial Comment: Updated to current CVS a little while ago. Using Python 2.2.3 w/o bsddb3 (so have a pickled dict) ... win32all build 150 ... Outlook 2K IMO SR1 ... Win98SE (w/ all relevant service packs). Opened Outlook and the toolbar was there, but no msgs getting scored. Opened the PythonWin trace collector window, and it was blank. That's a new one. Closed Outlook, ran Outlook2000 addin.py, which appeared to work. Opened Outlook again, and got just this in the trace collector: """ Traceback (most recent call last): File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 144, in CreateInstance return retObj._CreateInstance_(clsid, reqIID) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 201, in _CreateInstance_ self._wrap_(myob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 447, in _wrap_ MappedWrapPolicy._wrap_(self, ob) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 393, in _wrap_ BasicWrapPolicy._wrap_(self, object) File "C:\PYTHON22\lib\site- packages\win32com\server\policy.py", line 239, in _wrap_ i = pythoncom.InterfaceNames[i] exceptions.KeyError: _IDTExtensibility2 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005) """ This sequence of actions and results is repeatable in all respects. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777891&group_id=61702 From noreply at sourceforge.net Sat Jul 26 18:37:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Jul 26 20:37:10 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) >Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-26 19:37 Message: Logged In: YES user_id=44345 Here's an updated version of just checkversion.py which assumes the remote file is the latest version of Version.py. I haven't tried this on Windows (I'm at home). I'll leave it for Mark to pronounce on. Mark, if you want me to check it in, let me know what URL you want it to fetch. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 20:03 Message: Logged In: YES user_id=14198 Yep, binary version would be what you should compare against ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 20:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 18:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 10:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-23 10:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Sun Jul 27 01:26:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 03:28:16 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 12:32 Message generated for change (Comment added) made by somogyia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Andreas Somogyi (somogyia) Date: 2003-07-27 07:26 Message: Logged In: YES user_id=815848 Yes, with the bugcatcher installer, it works fine here. Wanna see the logfile? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 11:19 Message: Logged In: YES user_id=14198 Success confirmed :) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 13:31 Message: Logged In: YES user_id=14198 This has us stumped. I have an instrumented version of the plugin at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe - if you are seeing this assertion error, please try this version and attach a log. ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:29 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 04:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Sun Jul 27 01:26:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 03:33:56 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-765912 ] AssertionError: Proportions must add to 1.0 ... Message-ID: Bugs item #765912, was opened at 2003-07-04 12:32 Message generated for change (Comment added) made by somogyia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Andreas Somogyi (somogyia) Assigned to: Mark Hammond (mhammond) Summary: AssertionError: Proportions must add to 1.0 ... Initial Comment: I upgraded my (working) outlook 2000 + spambayes installation to Outlook XP and the newest version of Spambayes. Spambayes would not perform any action when I had defined "spam" and "ham" folders and chosen "Train". It wouldn't matter if I had "rebuild entire database" checked or unchecked. Actions: 1. Start Outlook. 2. Go to SpamBayes config menu. 3. Click on "Train now" 4. Select "spam" folder. 5. Click on "Train now" After that, "nothing happens". Clicking on "stop training" does not work, but I can close the window by clicking on the "[x] in the upper right corner and get back to the "main" menu. I have tried all possible combinations of checkboxes. I have also ran "scanpst.exe" on my mailbox file. OS is XP Pro (English) Here's the log file: Loaded bayes database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Andreas\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... warning: raising a string exception is deprecated warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- >Comment By: Andreas Somogyi (somogyia) Date: 2003-07-27 07:26 Message: Logged In: YES user_id=815848 Yes, with the bugcatcher installer, it works fine here. Wanna see the logfile? ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-27 07:26 Message: Logged In: YES user_id=815848 Yes, with the bugcatcher installer, it works fine here. Wanna see the logfile? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 11:19 Message: Logged In: YES user_id=14198 Success confirmed :) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 13:31 Message: Logged In: YES user_id=14198 This has us stumped. I have an instrumented version of the plugin at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe - if you are seeing this assertion error, please try this version and attach a log. ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:29 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Andreas Somogyi (somogyia) Date: 2003-07-22 13:07 Message: Logged In: YES user_id=815848 I installed the latest version of the plugin. Here's the logfile. Actions taken: 1. started outlook 2. Opened "spambayes manager" 3. clicked "train now" 4. selected "rebuild entire database" 5. selected a "spam" folder (the field was empty) 6. clicked on "train now" (nothing happened) 7. clicked on the "close window" button. 8. clicked on "train now" 9. deselected "rebuild entire database" 10. clicked "train now" again (nothing happened) 11. closed the window Here's the logfile: Loaded bayes database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'D:\Documents and Settings\Andreas.INSOMNIAC\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 145, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 175, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) win32ui: Error in Command Message handler for command ID 1100, Code 0 // Andreas ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:36 Message: Logged In: YES user_id=14198 Please try version 004 of the binary - I expect the same behavior, but more information in the log! ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-21 02:14 Message: Logged In: YES user_id=583713 noting dupicate in #774781 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:53 Message: Logged In: YES user_id=14198 I just checked in code to help diagnose this - the assertion prints the items and the sum ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-09 04:54 Message: Logged In: YES user_id=14198 Good to know English versions also show it. Anyone able to run the source code version? ---------------------------------------------------------------------- Comment By: Gael Marziou (gmarziou) Date: 2003-07-08 21:18 Message: Logged In: YES user_id=203211 I ahve exactly the same symptoms on US outlook 2000 on windows 2000 pro sp3. My log file: Loaded bayes database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\marziou\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin Beta1, version 0.3 (July 2003) starting (with engine SpamBayes Beta1, version 0.1 (May 2003))... Creating new SpamBayes toolbar to host our buttons ERROR: 'You must enable SpamBayes before you can delete as spam' None warning: raising a string exception is deprecated Traceback (most recent call last): File "out1.pyz/dialogs.AsyncDialog", line 144, in OnStart File "out1.pyz/dialogs.TrainingDialog", line 127, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 174, in StartProcess File "out1.pyz/dialogs.AsyncDialog", line 36, in __init__ File "out1.pyz/dialogs.AsyncDialog", line 45, in set_stages AssertionError: Proportions must add to 1.0 win32ui: Error in Command Message handler for command ID 1100, Code 0 ---------------------------------------------------------------------- Comment By: Philippe Cloutier (chealer) Date: 2003-07-04 22:40 Message: Logged In: YES user_id=738765 GOD! I had the exact same problem with French version. Repeating "Train now" after closing the window with X only made the above lines to repeat in the log file. log files closes by Saving configuration -> C:\Documents and Settings\Chealer\Application Data\SpamBayes\Outlook.ini SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 0 messages, finding 0 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist. And now, just as I was writing the bug report, I open Outlook and it's gone! SB is now trained, and I made no reboot, no update of anything... So what to say? Well, be patient. I think I tried the function about 10 times and closed Outlook around 5 times in the meantime... hope it's gonna be as simple as that to fix the bug too. By the way, this bug succeeded to the max size error with binary 002 which had been perfectly fixed by 003. OS is Windows XP Pro SP1 French, I have Outlook XP SP2 French and didn't change this since months. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=765912&group_id=61702 From noreply at sourceforge.net Sun Jul 27 07:17:58 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 09:18:05 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 08:17 Message: Logged In: YES user_id=44345 Okay, idiot that I am, I have it simply importing the file I downloaded. That obviously has some serious security risks, so I will change it so that it simply pulls the version information from the file as if it was pure data. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-26 19:37 Message: Logged In: YES user_id=44345 Here's an updated version of just checkversion.py which assumes the remote file is the latest version of Version.py. I haven't tried this on Windows (I'm at home). I'll leave it for Mark to pronounce on. Mark, if you want me to check it in, let me know what URL you want it to fetch. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 20:03 Message: Logged In: YES user_id=14198 Yep, binary version would be what you should compare against ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 20:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 18:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 10:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-23 10:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Sun Jul 27 07:30:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 09:30:38 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-23 09:58 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 08:30 Message: Logged In: YES user_id=44345 Here's another version. This uses re.search to extract the BinaryVersion value from the remote copy of Version.py and compares it with the local value. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 08:17 Message: Logged In: YES user_id=44345 Okay, idiot that I am, I have it simply importing the file I downloaded. That obviously has some serious security risks, so I will change it so that it simply pulls the version information from the file as if it was pure data. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-26 19:37 Message: Logged In: YES user_id=44345 Here's an updated version of just checkversion.py which assumes the remote file is the latest version of Version.py. I haven't tried this on Windows (I'm at home). I'll leave it for Mark to pronounce on. Mark, if you want me to check it in, let me know what URL you want it to fetch. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 20:03 Message: Logged In: YES user_id=14198 Yep, binary version would be what you should compare against ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 20:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 18:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-23 10:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-23 10:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Sun Jul 27 10:30:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 12:30:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777314 ] Outlook keeps downloading same spam Message-ID: Bugs item #777314, was opened at 2003-07-24 21:39 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook keeps downloading same spam Initial Comment: >From the spambayes mailing list: """ Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup- 005.exe (lastest try), and SpamBayes-Outlook-Setup- 003.exe (earlier attempt) """ ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-27 12:30 Message: Logged In: YES user_id=31435 Another report from the spambayes list: """ I got Spambayes working on my computer that uses Outlook 2000, but when I installed it on my laptop which has Outlook 2002, it gets a funny error. This error consists of downloading the same messages every time it "sends/receives". I now have multiple copies of the same emails, whether they are SPAM, HAM, or MaybeSpam. I have checked to make sure I am not leaving copies of message on my POP server. If anyone has any ideas or suggestions, I would like to hear them before I revert back to Outlook 2000. ... Both my machines are using Window 2000 Professional and the version of SpamBayes is SpamBayes-Outlook-Setup- 005.exe. I have also tried version 003. """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 From noreply at sourceforge.net Sun Jul 27 17:45:22 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 19:45:29 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778660 ] cannot install on outlook2000 Message-ID: Bugs item #778660, was opened at 2003-07-27 23:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778660&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Marsyas Sherman (she328) Assigned to: Mark Hammond (mhammond) Summary: cannot install on outlook2000 Initial Comment: During two installations of the spambayes plugin the following error message appeared; "Unable to register the DLL/OCX: DllRegisterServer failed; code 0x00000000. Click Retry...". Note 1: The these client's copy of Outlook 2000 has other plugins for Trim (Tower s/w) etc. Having no expertise in the python language I am unable to decypher the cryptic messages in the error logs to ascertain the casue for this plugin to flai to 'plugin'. Note 2: Spambayes has been installed on numerous W2K & W2K PCs without any hitches. error logs: 1st attempt install by client spambayes1.log Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range ========================================== ================================= spambayes2.log Traceback (most recent call last): File "", line 15, in DllRegisterServer File "E:\src\pythonex\com\win32com\server\register.py", line 388, in RegisterClasses IndexError: list index out of range ========================================== ================================= 2nd attempt install - with no apps running spambayes3.log Traceback (most recent call last): File "", line 10, in ? File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 353, in doimport File "E:\src\spambayes\Outlook2000\addin.py", line 59, in ? File "E:\src\pythonex\com\win32com\client\gencache.py" , line 341, in EnsureModule File "E:\src\pythonex\com\win32com\client\gencache.py" , line 213, in GetModuleForTypelib File "E:\src\pythonex\com\win32com\client\gencache.py" , line 473, in _GetModule File "E:\src\Installer\iu.py", line 274, in importHook File "E:\src\Installer\iu.py", line 335, in doimport File "E:\src\Installer\iu.py", line 181, in getmod File "E:\src\Installer\archive.py", line 375, in getmod TypeError: unbound method getmod() must be called with DirOwner instance as first argument (got ExtInPkgImporter instance instead) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778660&group_id=61702 From noreply at sourceforge.net Sun Jul 27 18:47:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 20:47:50 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778674 ] Training does not persist Message-ID: Bugs item #778674, was opened at 2003-07-28 10:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Peter Cusack (peterc_555) Assigned to: Mark Hammond (mhammond) Summary: Training does not persist Initial Comment: After installing and taining Spambayes, it works fine. When the computer is restarted next day, Spambayes comes up in its default configuration, reporting no database, and with filtering disabled. These may be set properly, but the settings don't stick. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 From noreply at sourceforge.net Sun Jul 27 18:58:58 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 20:59:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778674 ] Training does not persist Message-ID: Bugs item #778674, was opened at 2003-07-28 10:47 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Peter Cusack (peterc_555) Assigned to: Mark Hammond (mhammond) Summary: Training does not persist Initial Comment: After installing and taining Spambayes, it works fine. When the computer is restarted next day, Spambayes comes up in its default configuration, reporting no database, and with filtering disabled. These may be set properly, but the settings don't stick. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-28 10:58 Message: Logged In: YES user_id=14198 You need to perform a complete re-train of your database - unfortunately, we don't know why this happens. Also note you are using a fairly old version - after you re-train, please consider upgrading. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:05:31 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:05:42 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778674 ] Training does not persist Message-ID: Bugs item #778674, was opened at 2003-07-28 10:47 Message generated for change (Comment added) made by peterc_555 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Peter Cusack (peterc_555) Assigned to: Mark Hammond (mhammond) Summary: Training does not persist Initial Comment: After installing and taining Spambayes, it works fine. When the computer is restarted next day, Spambayes comes up in its default configuration, reporting no database, and with filtering disabled. These may be set properly, but the settings don't stick. ---------------------------------------------------------------------- >Comment By: Peter Cusack (peterc_555) Date: 2003-07-28 12:05 Message: Logged In: YES user_id=831815 I have retrained the database. several times. It doesn't stick. As for using a later version, I'd love to, but I thiught that I already had the latest. Unfortunately there is no version number in the about page so that I can confirm trhis. Lastly, the download page presents me with a python project, and all I want is a working plug in. Where can I get the latest version? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 10:58 Message: Logged In: YES user_id=14198 You need to perform a complete re-train of your database - unfortunately, we don't know why this happens. Also note you are using a fairly old version - after you re-train, please consider upgrading. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:07:28 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:07:35 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777314 ] Outlook keeps downloading same spam Message-ID: Bugs item #777314, was opened at 2003-07-25 13:39 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook keeps downloading same spam Initial Comment: >From the spambayes mailing list: """ Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup- 005.exe (lastest try), and SpamBayes-Outlook-Setup- 003.exe (earlier attempt) """ ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:07 Message: Logged In: YES user_id=552329 FWIW, I think this happens to me, too, but only one one of the accounts that I check, which happens to be the one that is set to leave the mail on the server (although I note that the second poster here doesn't have that set). Basically, every now and then Outlook fails to successfully download all the mail from that account. If I restart Outlook, all is ok, but it downloads everything that is on the account. I'm too lazy to figure if this is an Outlook problem or a spambayes one. Anyway, if you need someone running cvs code to test anything to fix this, then I'm happy to figure out if this is spambayes related or not, and if it is, be a guinea pig. Just let me know. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-28 04:30 Message: Logged In: YES user_id=31435 Another report from the spambayes list: """ I got Spambayes working on my computer that uses Outlook 2000, but when I installed it on my laptop which has Outlook 2002, it gets a funny error. This error consists of downloading the same messages every time it "sends/receives". I now have multiple copies of the same emails, whether they are SPAM, HAM, or MaybeSpam. I have checked to make sure I am not leaving copies of message on my POP server. If anyone has any ideas or suggestions, I would like to hear them before I revert back to Outlook 2000. ... Both my machines are using Window 2000 Professional and the version of SpamBayes is SpamBayes-Outlook-Setup- 005.exe. I have also tried version 003. """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:15:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:16:05 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777314 ] Outlook keeps downloading same spam Message-ID: Bugs item #777314, was opened at 2003-07-24 20:39 Message generated for change (Comment added) made by davidj411 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook keeps downloading same spam Initial Comment: >From the spambayes mailing list: """ Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup- 005.exe (lastest try), and SpamBayes-Outlook-Setup- 003.exe (earlier attempt) """ ---------------------------------------------------------------------- Comment By: David Jackson (davidj411) Date: 2003-07-27 21:15 Message: Logged In: YES user_id=831618 This is not something that sometiems happens. I begins happening right after SpamBayes is installed (even after rebooting). Also it stops happening when SpamBayes is uninstalled. This leads me to believe it is not an Outlook problem, but is a SpamBayes one. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-27 21:07 Message: Logged In: YES user_id=552329 FWIW, I think this happens to me, too, but only one one of the accounts that I check, which happens to be the one that is set to leave the mail on the server (although I note that the second poster here doesn't have that set). Basically, every now and then Outlook fails to successfully download all the mail from that account. If I restart Outlook, all is ok, but it downloads everything that is on the account. I'm too lazy to figure if this is an Outlook problem or a spambayes one. Anyway, if you need someone running cvs code to test anything to fix this, then I'm happy to figure out if this is spambayes related or not, and if it is, be a guinea pig. Just let me know. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-27 11:30 Message: Logged In: YES user_id=31435 Another report from the spambayes list: """ I got Spambayes working on my computer that uses Outlook 2000, but when I installed it on my laptop which has Outlook 2002, it gets a funny error. This error consists of downloading the same messages every time it "sends/receives". I now have multiple copies of the same emails, whether they are SPAM, HAM, or MaybeSpam. I have checked to make sure I am not leaving copies of message on my POP server. If anyone has any ideas or suggestions, I would like to hear them before I revert back to Outlook 2000. ... Both my machines are using Window 2000 Professional and the version of SpamBayes is SpamBayes-Outlook-Setup- 005.exe. I have also tried version 003. """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:15:55 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:16:14 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778674 ] Training does not persist Message-ID: Bugs item #778674, was opened at 2003-07-28 12:47 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Peter Cusack (peterc_555) Assigned to: Mark Hammond (mhammond) Summary: Training does not persist Initial Comment: After installing and taining Spambayes, it works fine. When the computer is restarted next day, Spambayes comes up in its default configuration, reporting no database, and with filtering disabled. These may be set properly, but the settings don't stick. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:15 Message: Logged In: YES user_id=552329 The dialog box that pops up when you select "SpamBayes Manager" from the toolbar has the version number at the top. The logs also have it, also at the top. The latest version is 005. The download page has a link to Mark's page, and directly to the installer. It's about two-thirds down under "binary releases". ---------------------------------------------------------------------- Comment By: Peter Cusack (peterc_555) Date: 2003-07-28 14:05 Message: Logged In: YES user_id=831815 I have retrained the database. several times. It doesn't stick. As for using a later version, I'd love to, but I thiught that I already had the latest. Unfortunately there is no version number in the about page so that I can confirm trhis. Lastly, the download page presents me with a python project, and all I want is a working plug in. Where can I get the latest version? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 12:58 Message: Logged In: YES user_id=14198 You need to perform a complete re-train of your database - unfortunately, we don't know why this happens. Also note you are using a fairly old version - after you re-train, please consider upgrading. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:24:54 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:25:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-725466 ] Include a proper locale fix in Options.py Message-ID: Bugs item #725466, was opened at 2003-04-22 18:07 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 6 Submitted By: Tony Meyer (anadelonbrin) Assigned to: Mark Hammond (mhammond) Summary: Include a proper locale fix in Options.py Initial Comment: When reading the options, the float() call fails when the locale is a language that uses a ',' for a separator instead of '.'. This is hack-fixed in Outlook, but needs to be fixed in general. I imagine that there must be some sort of locale call that will convert between the current locale and English, and that this should be called as the option is set. Anyway, I'll get to this when I can. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:24 Message: Logged In: YES user_id=552329 I think that we think that this is fixed now. It long ago moved past Options.py, anyway. Note that we do currently require config files to be in "C"- locale style, which means '.' as a decimal point. This may change, but would be better as a new tracker, and probably a feature request, not a bug. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 23:06 Message: Logged In: YES user_id=14198 Still alive :( http://sourceforge.net/tracker/index.php?func=detail&aid=765256&group_id=61702&atid=498103 ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-13 11:33 Message: Logged In: YES user_id=552329 I've checked in a partial fix, where I just set the locale back to (US) English after that call (to work it needs this one, and the one in addin.py, it seems). It all seems to work ok now, but this is hardly a nice solution. I had one problem. (I changed my locale by using the XP control panel). * If I used locale.getlocale I received "de_DE". If I tried to set the locale to this, I get a "locale setting not supported" error. This meant that I couldn't try a nice solution that set the locale back to the local one. My testing setup is pretty much gone now, but if I find time I'll play around with this again, unless you manage to. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-11 06:35 Message: Logged In: YES user_id=14198 Damn. IIRC, MAPI also changes the cwd. I guess the solution may be the same - check the locale before setting, and reset explicitly afterwards. It would be great if you can check this while you are still setup to test, but otherwise it can stay on my todo list :) ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 15:23 Message: Logged In: YES user_id=552329 Ok, I did more digging. The locale set in addin.py isn't enough. This line in msgstore.py screws up the locale: self.session = mapi.MAPILogonEx(0, None, None, logonFlags) (it's in the __init__ of MAPIMsgStore; my line numbers are all screwed up). (by 'screws up the locale', I mean that math.log(2) returns a number with a '.' decimal separator before it, and a ',' decimal separator afterwards). I'll leave it to Mark to figure out what should be done. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 15:15 Message: Logged In: YES user_id=552329 Ok, forget that, I've found a way I can reproduce a similar error. This is definately Outlook specific, and definately cannot be fixed in the spambayes code, except by changing the locale to 'en' or 'c', or something similar. Ignoring spambayes completely, and using the demo outlook plugin that comes with the win32com extensions, I printed out the results of math.log(2). This should be "0.69314718056 " and not "0,69314718056". I made this print statement pretty much every second line. When adding, it always gives the correct answer. As soon as Outlook is started up, it gives the wrong answer. It's beyond me whether this is something that the win32com stuff does (although importing the extensions doesn't cause it), or if it's something that Outlook does, somehow. No doubt you can answer that, Mark? ;) Anyway, unless a change to the win32com stuff occurs, this will have to remain in the spambayes Outlook code. (The options stuff is a separate problem, and my fix for that should work). It doesn't need to be outside the Outlook code though. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-09 14:22 Message: Logged In: YES user_id=552329 What I don't understand is why I can't reproduce this error. If I make the same addition to manager.py, but use 'german'[1] as the locale, everything still works. (It also still works if I make the change in addin.py where the other locale set is, and also if I change the locale to german in the windows control panel). In addition, why does the import from PythonWin work? Surely this means (as mentioned) that something else that is imported is screwing up the locale setting before random gets imported - but then, shouldn't it do this on my machine, too? Googling on this (NV_MAGICCONST) brings up lots of instances of the problem, but nothing in the way of a solution apart from setting the locale to 'en' or 'c' before the random import. This really doesn't seem like the correct solution. I really am tempted to try my luck with c.l.p for a solution, if there aren't any more ideas here. [1] I can't set to "de_DE", I get a locale not supported error. "german" does use ',' as the decimal separator, so it should be the same, though. ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-09 05:59 Message: Logged In: YES user_id=671479 Ok, I've got it working by setting the locale in the constructor of class BayesManager (manager.py): [...] self.config_filename = config_base + "_configuration.pck" print "locale: ", locale.getlocale() print "default locale: ", locale.getdefaultlocale() locale.setlocale(locale.LC_NUMERIC, "en") # First read the configuration file. [...] Locale/default locale are both de_DE for me. ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-09 05:45 Message: Logged In: YES user_id=671479 >>> import locale >>> locale.setlocale(locale.LC_NUMERIC, "en") 'English_United States.1252' >>> import random >>> ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-05-07 22:49 Message: Logged In: YES user_id=14198 What happens if you go into Pythonwin/IDLE, execute the locale call mentioned, then import that module? >>> import locale >>> locale.setlocale(locale.LC_NUMERIC, "en") ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-07 21:42 Message: Logged In: YES user_id=671479 The import works fine both in IDLE and PythonWin. I suspect the handling of floats is somehow broken by something loaded by Outlook or Python Windows Extensions. But then I don't really know enough about the architecture to make educated guesses ... Anyway I wonder why float handling at this low level seems to be locale dependent? Parsing text and converting to float is ok to be locale depedent, but doing calculations? ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-05-07 11:37 Message: Logged In: YES user_id=552329 This makes me wonder if the locale just needs to be set, but that seems too heavy-handed and ugly, really. What happens if you just execute >>> import random from the interpreter (e.g. in PythonWin or IDLE)? I suspect that you'll get the same trace, in which case this really should be fixed in random.py, not in Spambayes (although it would be easy enough to throw together a hack for it). ---------------------------------------------------------------------- Comment By: Stefan Gr?ndel (sgruendel) Date: 2003-05-07 02:18 Message: Logged In: YES user_id=671479 It seems like it's not enough to fix Options.py only. I did this and then got the following error: Traceback (most recent call last): File "D:\dev\Python22\lib\site- packages\win32com\universal.py", line 170, in dispatch retVal = ob._InvokeEx_(meth.dispid, 0, meth.invkind, args, None, None) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 322, in _InvokeEx_ return self._invokeex_(dispid, lcid, wFlags, args, kwargs, serviceProvider) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 601, in _invokeex_ return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags, args, kwArgs, serviceProvider) File "D:\dev\Python22\lib\site- packages\win32com\server\policy.py", line 541, in _invokeex_ return apply(func, args) File "D:\util\spambayes-1.0a2\Outlook2000\addin.py", line 611, in OnConnection self.manager = manager.GetManager(application) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 335, in GetManager _mgr = BayesManager(outlook=outlook, verbose=verbose) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 79, in __init__ import_core_spambayes_stuff(self.ini_filename) File "D:\util\spambayes-1.0a2\Outlook2000\manager.py", line 53, in import_core_spambayes_stuff from spambayes.tokenizer import tokenize File "D:\util\spambayes-1.0a2\spambayes\tokenizer.py", line 7, in ? import email.Message File "D:\dev\Python22\Lib\email\Message.py", line 14, in ? from email import Utils File "D:\dev\Python22\Lib\email\Utils.py", line 10, in ? import random File "D:\dev\Python22\Lib\random.py", line 93, in ? _verify('NV_MAGICCONST', NV_MAGICCONST, 1.71552776992141) File "D:\dev\Python22\Lib\random.py", line 88, in _verify raise ValueError( exceptions.ValueError: computed value for NV_MAGICCONST deviates too much (computed 2,82843, expected 1) Obviously random.py uses ',' too! I'm using german Windows/Outlook, if I can be of any help in testing, just drop me a mail. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-04-24 18:30 Message: Logged In: YES user_id=552329 Options.py now uses locale.atoi and locale.atof to convert options. I *think* this will solve this problem, but I'm not 100%. If someone could do some testing, that would be great. I'm leaving open until I'm sure it's done. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725466&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:27:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:27:32 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-706520 ] assert fails in classifier Message-ID: Bugs item #706520, was opened at 2003-03-20 08:46 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=706520&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Glass (adamglass) Assigned to: Nobody/Anonymous (nobody) Summary: assert fails in classifier Initial Comment: This morning, I noticed that my emails no longer had a X-Spambayes-Classification header, so I looked through my procmail logs, and sure enough, hammiefilter.py is giving a traceback when an assertion fails. This happens on all messages now; it is not specific to a single message, or intermittent. Therefore, I suspect my .hammiedb is corrupted... I can supply it to anyone who would like to investigate it for debugging purposes. I am using Spambayes 1.0a2, installed on a system with Python 2.2.1, with the new version of the email library (as per the install docs.) Please contact me if you require any further details. Example of how to generate the error follows, along with traceback: adam$ /usr/local/bin/hammiefilter.py -f -d $HOME/.hammiedb < example Traceback (most recent call last): File "/usr/local/bin/hammiefilter.py", line 179, in ? main() File "/usr/local/bin/hammiefilter.py", line 175, in main action(msg) File "/usr/local/bin/hammiefilter.py", line 113, in filter return h.filter(msg) File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 108, in filter prob, clues = self._scoremsg(msg, True) File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 38, in _scoremsg return self.bayes.spamprob(tokenize(msg), evidence) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 217, in chi2_spamprob clues = self._getclues(wordstream) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 441, in _getclues prob = self.probability(record) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 304, in probability assert spamcount <= nspam AssertionError ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:27 Message: Logged In: YES user_id=552329 If this is still happening to anyone, could you let us know? This may have been caused by training at a bad time in Outlook, and using dumbdbm in other apps. There may still be a third cause, of course... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:35 Message: Logged In: YES user_id=14198 Outlook again: [ 730151 ] Outlook fails to classify ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:16 Message: Logged In: YES user_id=14198 Another Outlook report in [ 745292 ] Logs Show COM error ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:07 Message: Logged In: YES user_id=14198 Noting we have an Outlook user with this now too: [ 747458 ] messages not processed (which I closed as a dupe) ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-05-31 12:36 Message: Logged In: YES user_id=790676 This happens, e.g., if a forced re-training was performed on a non-empty database, thus screwing up the message counts - this is for sure, I was bitten by it myself; or, potentially, if hammiefilter.py -t and mboxtrain.py were running at the same time ??? To avoid: do not do it (I do not use hammiefilter.py -t to be on the safe side). To fix, once it happens: start from scratch. Good to have in the next version: a database validator and corrector. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=706520&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:29:25 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:29:28 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-738501 ] AttributeError second time around with pop3proxy Message-ID: Bugs item #738501, was opened at 2003-05-16 09:27 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=738501&group_id=61702 Category: pop3proxy Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Peter Bengtsson (peterbe) Assigned to: Nobody/Anonymous (nobody) Summary: AttributeError second time around with pop3proxy Initial Comment: Yesterday (14/05) I downloaded the latest CVS version and starting it; worked fine. Then I turned that off when I went to bed and tried to start it again today. This time I get the following error:: C:\Python22\spambayes>C:\python22\python.exe pop3proxy.py Loading database... Traceback (most recent call last): File "pop3proxy.py", line 738, in ? run() File "pop3proxy.py", line 713, in run state.createWorkers() File "pop3proxy.py", line 559, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "spambayes\storage.py", line 139, in __init__ self.load() File "spambayes\storage.py", line 151, in load t = self.db[self.statekey] File "C:\Python22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored Any ideas what this might be? Is it a bug? Solutions? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:29 Message: Logged In: YES user_id=552329 There are known issues with using dumbdbm. Please try using a pickle or installing pybsddb (bsddb3) and using that instead. Note that you will need to do a full retrain. Please re-open if this does reoccur. ---------------------------------------------------------------------- Comment By: Remi Ricard (papadoc) Date: 2003-05-28 00:42 Message: Logged In: YES user_id=145206 Hi, I'm getting the same error message. This is what happened. I was training pop3proxy with the web interface. Classifying a unsure to be spam. I got this error message in the web interface raceback (most recent call last): File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\ProxyUI.py", line 359, in onReview message = spambayes.mboxutils.get_message(cachedMessage.getSubstance()) File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Corpus.py", line 349, in getSubstance return self.hdrtxt + self.payload File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Corpus.py", line 296, in __getattr__ raise AttributeError, attributeName AttributeError: hdrtxt Then I stop pop3proxy.py because I wanted to enable the logging with [globals] verbose = True Then I restarted the pop3proxy and I got the same error message as in bug 738501 Remi (papaDoc@videotron.ca) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=738501&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:30:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:30:15 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-738501 ] AttributeError second time around with pop3proxy Message-ID: Bugs item #738501, was opened at 2003-05-16 09:27 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=738501&group_id=61702 Category: pop3proxy Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Peter Bengtsson (peterbe) Assigned to: Nobody/Anonymous (nobody) Summary: AttributeError second time around with pop3proxy Initial Comment: Yesterday (14/05) I downloaded the latest CVS version and starting it; worked fine. Then I turned that off when I went to bed and tried to start it again today. This time I get the following error:: C:\Python22\spambayes>C:\python22\python.exe pop3proxy.py Loading database... Traceback (most recent call last): File "pop3proxy.py", line 738, in ? run() File "pop3proxy.py", line 713, in run state.createWorkers() File "pop3proxy.py", line 559, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "spambayes\storage.py", line 139, in __init__ self.load() File "spambayes\storage.py", line 151, in load t = self.db[self.statekey] File "C:\Python22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored Any ideas what this might be? Is it a bug? Solutions? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:30 Message: Logged In: YES user_id=552329 There are known issues with using dumbdbm. Please try using a pickle or installing pybsddb (bsddb3) and using that instead. Note that you will need to do a full retrain. Please re-open if this does reoccur. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:29 Message: Logged In: YES user_id=552329 There are known issues with using dumbdbm. Please try using a pickle or installing pybsddb (bsddb3) and using that instead. Note that you will need to do a full retrain. Please re-open if this does reoccur. ---------------------------------------------------------------------- Comment By: Remi Ricard (papadoc) Date: 2003-05-28 00:42 Message: Logged In: YES user_id=145206 Hi, I'm getting the same error message. This is what happened. I was training pop3proxy with the web interface. Classifying a unsure to be spam. I got this error message in the web interface raceback (most recent call last): File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\ProxyUI.py", line 359, in onReview message = spambayes.mboxutils.get_message(cachedMessage.getSubstance()) File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Corpus.py", line 349, in getSubstance return self.hdrtxt + self.payload File "C:\Devtools\SPAMBA~1\SPAMBA~1.21\spambayes\Corpus.py", line 296, in __getattr__ raise AttributeError, attributeName AttributeError: hdrtxt Then I stop pop3proxy.py because I wanted to enable the logging with [globals] verbose = True Then I restarted the pop3proxy and I got the same error message as in bug 738501 Remi (papaDoc@videotron.ca) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=738501&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:30:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:30:46 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777314 ] Outlook keeps downloading same spam Message-ID: Bugs item #777314, was opened at 2003-07-24 21:39 Message generated for change (Comment added) made by tim_one You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tim Peters (tim_one) Assigned to: Nobody/Anonymous (nobody) Summary: Outlook keeps downloading same spam Initial Comment: >From the spambayes mailing list: """ Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup- 005.exe (lastest try), and SpamBayes-Outlook-Setup- 003.exe (earlier attempt) """ ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2003-07-27 22:30 Message: Logged In: YES user_id=31435 davidj411, what kind of accounts are you accessing? POP3, IMAP, Exchange server? I run 3 Outlook+spambayes installations myself (on 3 different machines), each sucks down email from 4 distinct accounts, all are POP3 accounts, and "leave a copy of the msg on the server" is enabled for all my accounts in all my Outlooks, plus "remove msg from server when item is deleted from Delete Items", plus "remove from server when 8 days old". Much like Tony, *almost* the only time I ever see duplicates downloaded is when I lose my connection midway thru downloading. Given the way the POP3 protocol works, that makes sense. Sometimes I also get massive duplicates on one specific account, where I happen to know it's due to server crashes (and subsequent insanity) on *their* end. spambayes doesn't participate in fetching or sending email, so it's hard to imagine how it's possible for spambayes to cause a problem here. Outlook tells us when a message arrives, and we add a custom score property to it, and that's about it. If you're using Outlook 2002, be sure you have the very latest service pack for it (it seems they're calling some these "technical refreshes" these days). Since only Outlook plays any part in POP3/SMTP/IMAP communications, it's almost certainly the case that, at worst, spambayes is tickling an Outlook 2002 bug. ---------------------------------------------------------------------- Comment By: David Jackson (davidj411) Date: 2003-07-27 22:15 Message: Logged In: YES user_id=831618 This is not something that sometiems happens. I begins happening right after SpamBayes is installed (even after rebooting). Also it stops happening when SpamBayes is uninstalled. This leads me to believe it is not an Outlook problem, but is a SpamBayes one. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-27 22:07 Message: Logged In: YES user_id=552329 FWIW, I think this happens to me, too, but only one one of the accounts that I check, which happens to be the one that is set to leave the mail on the server (although I note that the second poster here doesn't have that set). Basically, every now and then Outlook fails to successfully download all the mail from that account. If I restart Outlook, all is ok, but it downloads everything that is on the account. I'm too lazy to figure if this is an Outlook problem or a spambayes one. Anyway, if you need someone running cvs code to test anything to fix this, then I'm happy to figure out if this is spambayes related or not, and if it is, be a guinea pig. Just let me know. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-27 12:30 Message: Logged In: YES user_id=31435 Another report from the spambayes list: """ I got Spambayes working on my computer that uses Outlook 2000, but when I installed it on my laptop which has Outlook 2002, it gets a funny error. This error consists of downloading the same messages every time it "sends/receives". I now have multiple copies of the same emails, whether they are SPAM, HAM, or MaybeSpam. I have checked to make sure I am not leaving copies of message on my POP server. If anyone has any ideas or suggestions, I would like to hear them before I revert back to Outlook 2000. ... Both my machines are using Window 2000 Professional and the version of SpamBayes is SpamBayes-Outlook-Setup- 005.exe. I have also tried version 003. """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777314&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:31:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:31:59 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747945 ] apparent corruption of Received lines Message-ID: Bugs item #747945, was opened at 2003-06-03 18:09 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747945&group_id=61702 Category: hammie Group: None Status: Open Resolution: None Priority: 5 Submitted By: Raphael Manfredi (rmanfredi) Assigned to: Nobody/Anonymous (nobody) Summary: apparent corruption of Received lines Initial Comment: It looks like the message header is corrupted by hammiefilter.py. Here's my evidence: I'm running the 1.0a2 release. I use "mailagent" to filter my mail, which is like procmail (with a much cleaner code base and readable rules) and I've set up the rules like that: ### Begin SPAM filtering section ### { FEED ~/bin/spambayes/hammiefilter.py; RESYNC; REJECT; }; X-Spambayes-Classification: /^spam/ { REJECT SPAM } /^ham/ { REJECT INITIAL } /^unsure/ { REJECT LOST }; # Dispatch to spam/lost, keep going if ham... { VACATION off; BIFF off; REJECT }; { SAVE lost }; { SAVE spam }; ### End of SPAM filtering section ### The "FEED" command pipes the message to the specified scripts and gets the output back as the new message. The RESYNC command reparses the headers, since they might have been changed by the command (and indeed, they are since X-Spambayes-Classification is added!). However, here are the logs I see: ------------------------------ 03/06/03 07:44:37 mailagent[277851]: FROM 03/06/03 07:44:37 mailagent[277851]: RELAYED hbs43-138.hbs.edu, orb.pobox.com, pop.free.fr, lyon.ram.loc 03/06/03 07:44:37 mailagent[277851]: ABOUT Approved 03/06/03 07:44:37 mailagent[277851]: MATCH on rule #68 in mode INITIAL 03/06/03 07:44:39 mailagent[277851]: FED [qm16938] through '~/bin/spambayes/hammiefilter.py' 03/06/03 07:44:40 mailagent[277851]: WARNING no by in first Received: line 'from localhost (mail@localhost [127.0.0.1])h535iTik016935 for ; Tue, 3 Jun 2003 07:44:30 +0200' 03/06/03 07:44:40 mailagent[277851]: weird Received: line 'from localhost (mail@localhost [127.0.0.1])h535iTik016935 for ; Tue, 3 Jun 2003 07:44:30 +0200' 03/06/03 07:44:40 mailagent[277851]: RESYNCED [qm16938] 03/06/03 07:44:40 mailagent[277851]: REJECTED [qm16938] in state INITIAL 03/06/03 07:44:40 mailagent[277851]: MATCH on rule #69 in mode INITIAL 03/06/03 07:44:40 mailagent[277851]: entering new state SPAM --------------------------------- Look at the WARNING about the absence of "by" in Received. The problem is that no such warning is originally emitted, but it appears during RESYNC when the headers are reparsed after the message went through hammiefilter.py. This indicates a corruption problem, since mailagent uses the same code to reparse the headers during RESYNC as it used originally, and no warning were emitted before FEED was run. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:31 Message: Logged In: YES user_id=552329 Could you try this with alpha4 and let us know if it still occurs? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747945&group_id=61702 From noreply at sourceforge.net Sun Jul 27 20:58:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Jul 27 22:58:15 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-778674 ] Training does not persist Message-ID: Bugs item #778674, was opened at 2003-07-28 10:47 Message generated for change (Comment added) made by peterc_555 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Duplicate Priority: 5 Submitted By: Peter Cusack (peterc_555) Assigned to: Mark Hammond (mhammond) Summary: Training does not persist Initial Comment: After installing and taining Spambayes, it works fine. When the computer is restarted next day, Spambayes comes up in its default configuration, reporting no database, and with filtering disabled. These may be set properly, but the settings don't stick. ---------------------------------------------------------------------- >Comment By: Peter Cusack (peterc_555) Date: 2003-07-28 12:58 Message: Logged In: YES user_id=831815 Thanks Mark. I found the latest version on your page, downloaded and installed it. It picked up the old database, and after initially not knowing which folder to filter, it seems to be running fine. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 12:15 Message: Logged In: YES user_id=552329 The dialog box that pops up when you select "SpamBayes Manager" from the toolbar has the version number at the top. The logs also have it, also at the top. The latest version is 005. The download page has a link to Mark's page, and directly to the installer. It's about two-thirds down under "binary releases". ---------------------------------------------------------------------- Comment By: Peter Cusack (peterc_555) Date: 2003-07-28 12:05 Message: Logged In: YES user_id=831815 I have retrained the database. several times. It doesn't stick. As for using a later version, I'd love to, but I thiught that I already had the latest. Unfortunately there is no version number in the about page so that I can confirm trhis. Lastly, the download page presents me with a python project, and all I want is a working plug in. Where can I get the latest version? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 10:58 Message: Logged In: YES user_id=14198 You need to perform a complete re-train of your database - unfortunately, we don't know why this happens. Also note you are using a fairly old version - after you re-train, please consider upgrading. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=778674&group_id=61702 From noreply at sourceforge.net Mon Jul 28 06:15:08 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 08:15:19 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775601 ] latest message not checked on outlook startup Message-ID: Bugs item #775601, was opened at 2003-07-22 12:23 Message generated for change (Comment added) made by hankster2000 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: matt tagliaferri (mtagliaf) Assigned to: Mark Hammond (mhammond) Summary: latest message not checked on outlook startup Initial Comment: When I first turn on Outlook and the filter begins slogging through all the messages I've received overnight, it always skips the latest message (the one at the top if the listview is sorted by date received). It would also be useful to add something in the loop that would allow other Windows task to get some time - the loop pretty much takes over the PC while it's running. Don't know how this is done in Python, in VB6 it's Application.DoEvents. matt tag ---------------------------------------------------------------------- Comment By: Henry Happ (hankster2000) Date: 2003-07-28 12:15 Message: Logged In: YES user_id=832150 I have version 0.5 installed and have seen the same thing. This is the only issue I have come across. The spam catch rate has been 99+%!!! Outstanding! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 From noreply at sourceforge.net Mon Jul 28 11:04:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 13:04:18 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 17:44 Message generated for change (Comment added) made by portola You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Dennis Austin (portola) Date: 2003-07-28 10:04 Message: Logged In: YES user_id=787905 Sorry to be late to the celebration--I was out of town and unable to test on my Win 2000 machine. This morning, however, I confirmed that it installs and works correctly there. Thanks! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 08:50 Message: Logged In: YES user_id=14198 Yay - I'm convinced this specific error, with "win32com.universal" showing up, is fixed :) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 08:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 07:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 03:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 07:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 16:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 10:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 12:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 11:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 08:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-03 21:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 10:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Mon Jul 28 11:29:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 13:29:37 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779049 ] No score, no response Message-ID: Bugs item #779049, was opened at 2003-07-28 12:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: No score, no response Initial Comment: I have some messages that SPAMBayes will neither score nor filter. Accessing the drop-down to view the current message scores results in nothing -- no error, no scores, just silence. My guess is that it's because of bad MIME? (I'll have to dust off an RFC or two and find out...) The following appears in each message: --= Multipart Boundary 1722809 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit --= Multipart Boundary 1722809 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit [... content here ...] --= Multipart Boundary 1722809-- The offending message (in Outlook format) is attached. Environment is Outlook 2003 (w/updates), WinXP, Exchange 2000. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 From noreply at sourceforge.net Mon Jul 28 11:32:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 13:32:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779049 ] No score, no response Message-ID: Bugs item #779049, was opened at 2003-07-28 12:29 Message generated for change (Comment added) made by paulrbrown You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: No score, no response Initial Comment: I have some messages that SPAMBayes will neither score nor filter. Accessing the drop-down to view the current message scores results in nothing -- no error, no scores, just silence. My guess is that it's because of bad MIME? (I'll have to dust off an RFC or two and find out...) The following appears in each message: --= Multipart Boundary 1722809 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit --= Multipart Boundary 1722809 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit [... content here ...] --= Multipart Boundary 1722809-- The offending message (in Outlook format) is attached. Environment is Outlook 2003 (w/updates), WinXP, Exchange 2000. ---------------------------------------------------------------------- >Comment By: Paul R. Brown (paulrbrown) Date: 2003-07-28 12:32 Message: Logged In: YES user_id=532486 Another take on the same message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 From noreply at sourceforge.net Mon Jul 28 12:11:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 14:11:38 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 02:44 Message generated for change (Comment added) made by elmar71 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Elmar Bransch (elmar71) Date: 2003-07-28 20:11 Message: Logged In: YES user_id=832399 After digging in the Mailing List and the bug base I found the interim version posted on 25-07 in this thread. I was very lucky having SpamBayes 002 installed on Win2000 Prof. with Outlook 2000 SR-1. Since upgrading to 003 it had the DLL-Register-0x80040201-problem, still remaining with the binary 005 installer. Finally the interim bug catcher release did the trick for me and installed fine - there has been even no errors in the spambayes1.log on startup so far :-) Thanks! Keep on ... ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-28 19:04 Message: Logged In: YES user_id=787905 Sorry to be late to the celebration--I was out of town and unable to test on my Win 2000 machine. This morning, however, I confirmed that it installs and works correctly there. Thanks! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 17:50 Message: Logged In: YES user_id=14198 Yay - I'm convinced this specific error, with "win32com.universal" showing up, is fixed :) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 17:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 16:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 12:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 16:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 01:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 19:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 21:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 20:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 17:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 06:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 19:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Mon Jul 28 19:54:02 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 21:54:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779319 ] 0.5 does not install on French version of Outlook 2002 Message-ID: Bugs item #779319, was opened at 2003-07-28 18:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Moret (emoret) Assigned to: Mark Hammond (mhammond) Summary: 0.5 does not install on French version of Outlook 2002 Initial Comment: Running Windows 2000 SP-4 Server in Terminal Server mode and Outlook 2002 (10.4712.4219) SP-2 both in french. When I install the latest 0.5 SpamBayes version, it does not show up in Outlook. When I check the toolbar menu, I do not see the SpamBayes toolbar. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 From noreply at sourceforge.net Mon Jul 28 20:44:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jul 28 22:44:24 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779319 ] 0.5 does not install on French version of Outlook 2002 Message-ID: Bugs item #779319, was opened at 2003-07-29 11:53 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Eric Moret (emoret) Assigned to: Mark Hammond (mhammond) Summary: 0.5 does not install on French version of Outlook 2002 Initial Comment: Running Windows 2000 SP-4 Server in Terminal Server mode and Outlook 2002 (10.4712.4219) SP-2 both in french. When I install the latest 0.5 SpamBayes version, it does not show up in Outlook. When I check the toolbar menu, I do not see the SpamBayes toolbar. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 12:44 Message: Logged In: YES user_id=14198 Can you please try version 006 (brand new!), and if that fails, attach a log (see the troubleshooting guide) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:02:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:02:11 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777856 ] SpamBayes now crashes Outlook Message-ID: Bugs item #777856, was opened at 2003-07-26 09:06 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Geoffrey Linnell (glinnell) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes now crashes Outlook Initial Comment: I installed V .2, and it worked fine. I uninstalled, and installed V .3, and since then when I go into Manager, select Train Now, and click on browse, Outlook 2000 freezes...I have to kill the process to end it. I've since tried V .5...the same. I've uninstalled Office, Re- installed, patched to SP3...nothing. Any SpamBayes dialog that has a Browse button still halts Outlook. Office is 9.0.6926 SP3, Outlook is SP3, 9.0.0.6627. All running on Windows 2000 Build 2195 SP3. -Geoff ilx@cypress.com ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:02 Message: Logged In: YES user_id=14198 Can you please check for a log file, and attach it here - see the "troubleshooting guide" for details. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:04:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:04:06 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776022 ] Spambayes configuration menu doesn't drop. Message-ID: Bugs item #776022, was opened at 2003-07-23 12:51 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776022&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: Spambayes configuration menu doesn't drop. Initial Comment: The toolbar set up in Build 004 (and 005) of the spambayes outlook installer has an inoperable 'spambayes' button. This makes it difficult to get to the configuration UI. Luckily, I've already configured spambayes.... Outlook XP SP-2, Windows XP SP 1 with all current hotfixes. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:04 Message: Logged In: YES user_id=14198 I'm afraid I have no idea why this happens, but the "troubleshooting" guide has info on how to reset the toolbars. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776022&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:05:15 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:05:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775533 ] Filtering only happens at startup in Outlook 2003 Message-ID: Bugs item #775533, was opened at 2003-07-22 19:03 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775533&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Keith Garland (cagier) Assigned to: Mark Hammond (mhammond) Summary: Filtering only happens at startup in Outlook 2003 Initial Comment: When I was setting this up I got filtering to work great but as I customised things more my Outlook 2003 Beta starting crashing every time I changed something. Now, the spam is filtered correctly whenever I start up Outlook but even though I have "Enable Filtering" switched on, it does not score messages or filter them at all. Manual "Delete as spam" and spam-scoring still work fine though... It is very frustrating because SpamBayes is so effective when it works properly! One other relevant point, I did have a problem with my folders as I deleted the Spam folder accidentally but I read the solution to a similar problem and deleted my .ini file to reconfigure things and this seemed to worked OK - but my problems did seem to start around this time. Since I installed the plug-in I cannot exit Outlook 2003 Beta without it crashing - hopefully the Outlook Beta update will fix this maybe. Many thanks. Keith (Current log file enclosed.) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:05 Message: Logged In: YES user_id=14198 I've heard the Outlook beta update does solve a whole load of problems. You may also like to try version 006. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775533&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:05:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:05:43 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779319 ] 0.5 does not install on French version of Outlook 2002 Message-ID: Bugs item #779319, was opened at 2003-07-28 18:53 Message generated for change (Comment added) made by emoret You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 Category: Outlook Group: None >Status: Open Resolution: None Priority: 5 Submitted By: Eric Moret (emoret) Assigned to: Mark Hammond (mhammond) Summary: 0.5 does not install on French version of Outlook 2002 Initial Comment: Running Windows 2000 SP-4 Server in Terminal Server mode and Outlook 2002 (10.4712.4219) SP-2 both in french. When I install the latest 0.5 SpamBayes version, it does not show up in Outlook. When I check the toolbar menu, I do not see the SpamBayes toolbar. ---------------------------------------------------------------------- >Comment By: Eric Moret (emoret) Date: 2003-07-28 22:05 Message: Logged In: YES user_id=832650 Just installed 006, still not fixed. Find attached the log file as requested ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 19:44 Message: Logged In: YES user_id=14198 Can you please try version 006 (brand new!), and if that fails, attach a log (see the troubleshooting guide) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:06:06 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:06:09 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-775601 ] latest message not checked on outlook startup Message-ID: Bugs item #775601, was opened at 2003-07-22 22:23 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: matt tagliaferri (mtagliaf) Assigned to: Mark Hammond (mhammond) Summary: latest message not checked on outlook startup Initial Comment: When I first turn on Outlook and the filter begins slogging through all the messages I've received overnight, it always skips the latest message (the one at the top if the listview is sorted by date received). It would also be useful to add something in the loop that would allow other Windows task to get some time - the loop pretty much takes over the PC while it's running. Don't know how this is done in Python, in VB6 it's Application.DoEvents. matt tag ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:06 Message: Logged In: YES user_id=14198 You may like to try version 006, and enable the new experimental "timer" ---------------------------------------------------------------------- Comment By: Henry Happ (hankster2000) Date: 2003-07-28 22:15 Message: Logged In: YES user_id=832150 I have version 0.5 installed and have seen the same thing. This is the only issue I have come across. The spam catch rate has been 99+%!!! Outstanding! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=775601&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:29:57 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:30:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779049 ] email.Errors.HeaderParseError: Continuation line seen ... Message-ID: Bugs item #779049, was opened at 2003-07-29 03:29 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) >Summary: email.Errors.HeaderParseError: Continuation line seen ... Initial Comment: I have some messages that SPAMBayes will neither score nor filter. Accessing the drop-down to view the current message scores results in nothing -- no error, no scores, just silence. My guess is that it's because of bad MIME? (I'll have to dust off an RFC or two and find out...) The following appears in each message: --= Multipart Boundary 1722809 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit --= Multipart Boundary 1722809 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit [... content here ...] --= Multipart Boundary 1722809-- The offending message (in Outlook format) is attached. Environment is Outlook 2003 (w/updates), WinXP, Exchange 2000. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:29 Message: Logged In: YES user_id=14198 FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from shfex02.hosting.innerhost.com ([192.168.29.8]) by shbex01.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from mail7.savingscourier.com ([64.253.204.179]) by shfex02.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.6713);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from savingscourier.com (192.168.1.8)\r\n by mail7.savingscourier.com with SMTP; 24 Jul 2003 15:01:05 -0400\r\nFrom: Mark and Bob<723-1722809-unsubscribe@savingscourier.com>\r\nTo: prb@fivesight.com \r\nSubject: Are These Guys Nuts?\r\nDate: Thu, 24 Jul 2003 13:20:05 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 1722809" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 723-1722809-unsubscribe@savingscourier.com\r\nMessage-ID: \r\nX-OriginalArrivalTime: 24 Jul 2003 19:01:08.0236 (UTC) FILETIME=[F0AFF4C0:01C35215]\r\n\n\r\n\r\n\r\n\r\n\r\n\tAre These Guys Nuts?\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 1722809-- \r\n\r\n\n \r\n \r\n \r\n\r\nTo stop receiving offers Go Here or send mail to:\r\nUnsubscribe Department\r\n1730 S. Federal Hwy, Suite 116\r\nDelray Beach, FL 33483\t\r\n--= Multipart Boundary 1722809-- \r\n' ... Traceback is: File "E:\src\spambayes\Outlook2000\manager.py", line 677, in score email = msg.GetEmailPackageObject() File "E:\src\spambayes\Outlook2000\msgstore.py", line 734, in GetEmailPackageObject msg = email.message_from_string(text) File "E:\src\python-cvs\lib\email\__init__.py", line 52, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "E:\src\python-cvs\lib\email\Parser.py", line 239, in _parsebody msgobj = self.parsestr(part) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 62, in parse firstbodyline = self._parseheaders(root, fp) File "E:\src\python-cvs\lib\email\Parser.py", line 111, in _parseheaders raise Errors.HeaderParseError( email.Errors.HeaderParseError: Continuation line seen before first header ---------------------------------------------------------------------- Comment By: Paul R. Brown (paulrbrown) Date: 2003-07-29 03:32 Message: Logged In: YES user_id=532486 Another take on the same message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:32:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:32:05 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779319 ] ntpath Unicode error Message-ID: Bugs item #779319, was opened at 2003-07-29 11:53 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None >Priority: 6 Submitted By: Eric Moret (emoret) Assigned to: Mark Hammond (mhammond) >Summary: ntpath Unicode error Initial Comment: Running Windows 2000 SP-4 Server in Terminal Server mode and Outlook 2002 (10.4712.4219) SP-2 both in french. When I install the latest 0.5 SpamBayes version, it does not show up in Outlook. When I check the toolbar menu, I do not see the SpamBayes toolbar. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:32 Message: Logged In: YES user_id=14198 You may like to check out the "configuration guide", and set a data directory to somewhere without any non-ascii characters, and try that. ---------------------------------------------------------------------- Comment By: Eric Moret (emoret) Date: 2003-07-29 15:05 Message: Logged In: YES user_id=832650 Just installed 006, still not fixed. Find attached the log file as requested ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 12:44 Message: Logged In: YES user_id=14198 Can you please try version 006 (brand new!), and if that fails, attach a log (see the troubleshooting guide) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:34:04 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:34:12 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777856 ] Outlook freezes on folder "browse" dialogs Message-ID: Bugs item #777856, was opened at 2003-07-26 09:06 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Geoffrey Linnell (glinnell) Assigned to: Mark Hammond (mhammond) >Summary: Outlook freezes on folder "browse" dialogs Initial Comment: I installed V .2, and it worked fine. I uninstalled, and installed V .3, and since then when I go into Manager, select Train Now, and click on browse, Outlook 2000 freezes...I have to kill the process to end it. I've since tried V .5...the same. I've uninstalled Office, Re- installed, patched to SP3...nothing. Any SpamBayes dialog that has a Browse button still halts Outlook. Office is 9.0.6926 SP3, Outlook is SP3, 9.0.0.6627. All running on Windows 2000 Build 2195 SP3. -Geoff ilx@cypress.com ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:02 Message: Logged In: YES user_id=14198 Can you please check for a log file, and attach it here - see the "troubleshooting guide" for details. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:34:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:35:04 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 10:49 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:35:33 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:35:38 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771541 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771541, was opened at 2003-07-15 21:52 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 09:54 Message: Logged In: YES user_id=14198 Can you please try doing a reset of your toolbars, as per the troubleshooting guide. Go the brutal "delete outcmd.dat" route. Let me know if that fixes it ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 From noreply at sourceforge.net Mon Jul 28 23:39:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 01:39:23 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-766750 ] Source install fails on Office XP Message-ID: Bugs item #766750, was opened at 2003-07-07 02:39 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 Category: Outlook Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Hall Stevenson (hallstevenson) Assigned to: Mark Hammond (mhammond) Summary: Source install fails on Office XP Initial Comment: I've been trying and trying to get the binary install to work since upgrading from Outlook 2000 to Outlook XP with no success. So, I tried the source version.... Downloaded and installed Python, the Win32 extensions, and the zip file for Spambayes. Running "addin.py" opens a DOS console that quickly (too quickly) flashes an error message. It took me about six runs to read part of the message. I then located it in the 'addin.py' source file. It's this one: "This Addin requires that Outlook 2000 be installed on this machine." "This appears to not be installed due to the following error:" Apparently it's failing 'cause of not finding something related to this: universal.RegisterInterfaces('{AC0714F2-3D04-11D1- AE7D-00A0C90F26F4}) Part of that is a registry key, I assume. I *do* have that registry key and it has quite a few sub-keys... here's one of the values in a sub-key: MSAddnDr.AddInDesigner.1 My next attempt will be uninstalling Office XP and then using some Office clean-up tools I've read about from Microsoft's website. Will report back... ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:39 Message: Logged In: YES user_id=14198 This error appears to happen due to registration errors of that component, MSAddnDr.AddInDesigner.1. This is the most common cause of registration errors in the binary too. I have heard from a few people that "repairing" the installation works OK. Note that the most recent binary version *will* work even without this library being correctly registered. Let me know if you are still having problems. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-21 00:58 Message: Logged In: YES user_id=120676 > Can you please post the complete > traceback (the one with the > universal.RegisterInterfaces error?) Can you please clarify what you mean by that ?? Thanks :) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 00:31 Message: Logged In: YES user_id=14198 Can you please post the complete traceback (the one with the universal.RegisterInterfaces error?) ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:10 Message: Logged In: YES user_id=120676 Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=766750&group_id=61702 From noreply at sourceforge.net Tue Jul 29 00:34:44 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 02:34:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779319 ] ntpath Unicode error Message-ID: Bugs item #779319, was opened at 2003-07-28 18:53 Message generated for change (Comment added) made by emoret You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 6 Submitted By: Eric Moret (emoret) Assigned to: Mark Hammond (mhammond) Summary: ntpath Unicode error Initial Comment: Running Windows 2000 SP-4 Server in Terminal Server mode and Outlook 2002 (10.4712.4219) SP-2 both in french. When I install the latest 0.5 SpamBayes version, it does not show up in Outlook. When I check the toolbar menu, I do not see the SpamBayes toolbar. ---------------------------------------------------------------------- >Comment By: Eric Moret (emoret) Date: 2003-07-28 23:34 Message: Logged In: YES user_id=832650 I added the following two lines to my configuration file but I still get the same error message: [general] data_directory: c:\temp Also my default data directory does not seem to have non ascii chars: D:\Documents and Settings\hmoret\Application Data\SpamBayes ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 22:32 Message: Logged In: YES user_id=14198 You may like to check out the "configuration guide", and set a data directory to somewhere without any non-ascii characters, and try that. ---------------------------------------------------------------------- Comment By: Eric Moret (emoret) Date: 2003-07-28 22:05 Message: Logged In: YES user_id=832650 Just installed 006, still not fixed. Find attached the log file as requested ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 19:44 Message: Logged In: YES user_id=14198 Can you please try version 006 (brand new!), and if that fails, attach a log (see the troubleshooting guide) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779319&group_id=61702 From noreply at sourceforge.net Tue Jul 29 02:03:36 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 04:03:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-706520 ] assert fails in classifier Message-ID: Bugs item #706520, was opened at 2003-03-20 08:46 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=706520&group_id=61702 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Adam Glass (adamglass) Assigned to: Nobody/Anonymous (nobody) Summary: assert fails in classifier Initial Comment: This morning, I noticed that my emails no longer had a X-Spambayes-Classification header, so I looked through my procmail logs, and sure enough, hammiefilter.py is giving a traceback when an assertion fails. This happens on all messages now; it is not specific to a single message, or intermittent. Therefore, I suspect my .hammiedb is corrupted... I can supply it to anyone who would like to investigate it for debugging purposes. I am using Spambayes 1.0a2, installed on a system with Python 2.2.1, with the new version of the email library (as per the install docs.) Please contact me if you require any further details. Example of how to generate the error follows, along with traceback: adam$ /usr/local/bin/hammiefilter.py -f -d $HOME/.hammiedb < example Traceback (most recent call last): File "/usr/local/bin/hammiefilter.py", line 179, in ? main() File "/usr/local/bin/hammiefilter.py", line 175, in main action(msg) File "/usr/local/bin/hammiefilter.py", line 113, in filter return h.filter(msg) File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 108, in filter prob, clues = self._scoremsg(msg, True) File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 38, in _scoremsg return self.bayes.spamprob(tokenize(msg), evidence) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 217, in chi2_spamprob clues = self._getclues(wordstream) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 441, in _getclues prob = self.probability(record) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 304, in probability assert spamcount <= nspam AssertionError ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-29 20:03 Message: Logged In: YES user_id=552329 If this happening to anyone, please reopen. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-28 14:27 Message: Logged In: YES user_id=552329 If this is still happening to anyone, could you let us know? This may have been caused by training at a bad time in Outlook, and using dumbdbm in other apps. There may still be a third cause, of course... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:35 Message: Logged In: YES user_id=14198 Outlook again: [ 730151 ] Outlook fails to classify ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:16 Message: Logged In: YES user_id=14198 Another Outlook report in [ 745292 ] Logs Show COM error ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-06-04 20:07 Message: Logged In: YES user_id=14198 Noting we have an Outlook user with this now too: [ 747458 ] messages not processed (which I closed as a dupe) ---------------------------------------------------------------------- Comment By: Leonid (leobru) Date: 2003-05-31 12:36 Message: Logged In: YES user_id=790676 This happens, e.g., if a forced re-training was performed on a non-empty database, thus screwing up the message counts - this is for sure, I was bitten by it myself; or, potentially, if hammiefilter.py -t and mboxtrain.py were running at the same time ??? To avoid: do not do it (I do not use hammiefilter.py -t to be on the safe side). To fix, once it happens: start from scratch. Good to have in the next version: a database validator and corrector. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=706520&group_id=61702 From noreply at sourceforge.net Tue Jul 29 04:23:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 06:23:25 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779049 ] email.Errors.HeaderParseError: Continuation line seen ... Message-ID: Bugs item #779049, was opened at 2003-07-28 17:29 Message generated for change (Comment added) made by jamesoff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: email.Errors.HeaderParseError: Continuation line seen ... Initial Comment: I have some messages that SPAMBayes will neither score nor filter. Accessing the drop-down to view the current message scores results in nothing -- no error, no scores, just silence. My guess is that it's because of bad MIME? (I'll have to dust off an RFC or two and find out...) The following appears in each message: --= Multipart Boundary 1722809 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit --= Multipart Boundary 1722809 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit [... content here ...] --= Multipart Boundary 1722809-- The offending message (in Outlook format) is attached. Environment is Outlook 2003 (w/updates), WinXP, Exchange 2000. ---------------------------------------------------------------------- Comment By: James Seward (jamesoff) Date: 2003-07-29 10:23 Message: Logged In: YES user_id=582117 Another example in case it helps. This is Outlook 2002 SP-1 on WinXP SP-1 talking to Exchange 2000 (although I had this problem with the previous version of Exchange too). This problems occurs with roughly 20% of my emails which I class as spam. --- begin logfile snippet --- Loaded bayes database from 'C:\Documents and Settings\jamess\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\jamess\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 59 spam and 1753 good messages SpamBayes Outlook Addin (beta), Binary version 0.6 (July 29, 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003)) on Windows 5.1.2600 (Service Pack 1) using Python 2.3c1 (#44, Jul 21 2003, 09:21:38) [MSC v.1200 32 bit (Intel)] ... FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from lfallback0.lnd.ops.eu.uu.net ([62.189.34.25]) by mailhost.greymatter.co.uk with Microsoft SMTPSVC (5.0.2195.5329);\r\n\t Tue, 29 Jul 2003 10:42:55 +0100 \r\nReceived: from mail3.sendmeoffers.com ([64.253.204.241])\r\n\tby lfallback0.lnd.ops.eu.uu.net with esmtp (Exim 3.22 #1)\r\n\tid 19gpGb-0006ll-00\r\n\tfor jamess@greymatter.com; Sun, 27 Jul 2003 17:25:06 +0000 \r\nReceived: from sendmeoffers.com (192.168.1.8)\r\n by mail3.sendmeoffers.com with SMTP; 27 Jul 2003 13:25:03 - 0400\r\nFrom: Gourmet Coffee Direct<749-2211081- unsubscribe@sendmeoffers.com>\r\nTo: jamess@greymatter.com \r\nSubject: Gevalia\'s summer sale! A limited-time offer for the uncommon coffee drinker\r\nDate: Sun, 27 Jul 2003 11:32:44 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 2211081" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nMessage-Id: \r\nReturn-Path: 749- 2211081-unsubscribe@sendmeoffers.com\r\nX- OriginalArrivalTime: 29 Jul 2003 09:42:56.0002 (UTC) FILETIME=[C9D35E20:01C355B5] \r\n\nGevalia Iced.\r\n\r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
This email and offer have not been sent to you by \r\n Gevalia Kaffe, but by a 3rd party where you may have opted in to receive \r\n updates. To opt-out or unsubscribe, please follow instructions as provided \r\n by the sender.
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

Experience a pleasure that\'s uniquely yours - and purely \r\n Gevalia Kaffe.
An uncommon offer for an \r\n uncommon coffee drinker. Just place your order today and receive, for \r\n only $12.95, including \r\n shipping & handling:

Gevalia Coffee- Two boxes of our extraordinary coffee
- A 12-cup \r\n Programmable Coffeemaker FREE
- Two Gevalia Ceramic Mugs \r\n FREE

\r\n


(Approximate retail value $75)

\r\n\t \r\n This offer expires August 15, 2003

\r\n \r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 2211081-- \r\n\r\n\nHere Is Our Offering:\r\n\r\nExperience a pleasure that\'s uniquely yours and purely Gevalia Kaffe. \r\nJust place your order today and receive, for only $12.95, including shipping & handling:\r\n\r\n-Two boxes of our extraordinary coffee\r\n-A 12-cup Programmable Automatic Drip Coffeemaker\r\n-Two matching Gevalia Ceramic Mugs Free\r\n(Approximate retail value $ 85)\r\n\r\nYou can cancel at any time with no further obligation.\r\n\r\nhttp://www.sendmeoffers.com/c/c749c.php? ea=amFtZXNzQGdyZXltYXR0ZXIuY29t\r\n\r\nOrder Right Now.\r\n\r\nThis order expires July 28, 2003.\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.sendmeoffers.com/unsubscribe/? ea=jamess@greymatter.com\r\n\r\n' pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "out1.pyz/win32com.server.policy", line 275, in _Invoke_ File "out1.pyz/win32com.server.policy", line 280, in _invoke_ File "out1.pyz/win32com.server.policy", line 541, in _invokeex_ File "out1.pyz/addin", line 228, in OnClick File "out1.pyz/addin", line 424, in ShowClues File "out1.pyz/manager", line 677, in score File "out1.pyz/msgstore", line 734, in GetEmailPackageObject File "out1.pyz/email", line 52, in message_from_string File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 64, in parse File "out1.pyz/email.Parser", line 239, in _parsebody File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 62, in parse File "out1.pyz/email.Parser", line 111, in _parseheaders email.Errors.HeaderParseError: Continuation line seen before first header --- EOF --- ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 05:29 Message: Logged In: YES user_id=14198 FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from shfex02.hosting.innerhost.com ([192.168.29.8]) by shbex01.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from mail7.savingscourier.com ([64.253.204.179]) by shfex02.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.6713);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from savingscourier.com (192.168.1.8)\r\n by mail7.savingscourier.com with SMTP; 24 Jul 2003 15:01:05 -0400\r\nFrom: Mark and Bob<723-1722809-unsubscribe@savingscourier.com>\r\nTo: prb@fivesight.com \r\nSubject: Are These Guys Nuts?\r\nDate: Thu, 24 Jul 2003 13:20:05 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 1722809" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 723-1722809-unsubscribe@savingscourier.com\r\nMessage-ID: \r\nX-OriginalArrivalTime: 24 Jul 2003 19:01:08.0236 (UTC) FILETIME=[F0AFF4C0:01C35215]\r\n\n\r\n\r\n\r\n\r\n\r\n\tAre These Guys Nuts?\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 1722809-- \r\n\r\n\n \r\n \r\n \r\n\r\nTo stop receiving offers Go Here or send mail to:\r\nUnsubscribe Department\r\n1730 S. Federal Hwy, Suite 116\r\nDelray Beach, FL 33483\t\r\n--= Multipart Boundary 1722809-- \r\n' ... Traceback is: File "E:\src\spambayes\Outlook2000\manager.py", line 677, in score email = msg.GetEmailPackageObject() File "E:\src\spambayes\Outlook2000\msgstore.py", line 734, in GetEmailPackageObject msg = email.message_from_string(text) File "E:\src\python-cvs\lib\email\__init__.py", line 52, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "E:\src\python-cvs\lib\email\Parser.py", line 239, in _parsebody msgobj = self.parsestr(part) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 62, in parse firstbodyline = self._parseheaders(root, fp) File "E:\src\python-cvs\lib\email\Parser.py", line 111, in _parseheaders raise Errors.HeaderParseError( email.Errors.HeaderParseError: Continuation line seen before first header ---------------------------------------------------------------------- Comment By: Paul R. Brown (paulrbrown) Date: 2003-07-28 17:32 Message: Logged In: YES user_id=532486 Another take on the same message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 From noreply at sourceforge.net Tue Jul 29 05:09:10 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 07:09:21 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-779049 ] email.Errors.HeaderParseError: Continuation line seen ... Message-ID: Bugs item #779049, was opened at 2003-07-29 03:29 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: email.Errors.HeaderParseError: Continuation line seen ... Initial Comment: I have some messages that SPAMBayes will neither score nor filter. Accessing the drop-down to view the current message scores results in nothing -- no error, no scores, just silence. My guess is that it's because of bad MIME? (I'll have to dust off an RFC or two and find out...) The following appears in each message: --= Multipart Boundary 1722809 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit --= Multipart Boundary 1722809 Content-Type: text/html; charset="Windows-1251" Content-Transfer-Encoding: 7bit [... content here ...] --= Multipart Boundary 1722809-- The offending message (in Outlook format) is attached. Environment is Outlook 2003 (w/updates), WinXP, Exchange 2000. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-29 21:09 Message: Logged In: YES user_id=14198 Checking in msgstore.py; new revision: 1.59; previous revision: 1.58 ---------------------------------------------------------------------- Comment By: James Seward (jamesoff) Date: 2003-07-29 20:23 Message: Logged In: YES user_id=582117 Another example in case it helps. This is Outlook 2002 SP-1 on WinXP SP-1 talking to Exchange 2000 (although I had this problem with the previous version of Exchange too). This problems occurs with roughly 20% of my emails which I class as spam. --- begin logfile snippet --- Loaded bayes database from 'C:\Documents and Settings\jamess\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\jamess\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 59 spam and 1753 good messages SpamBayes Outlook Addin (beta), Binary version 0.6 (July 29, 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003)) on Windows 5.1.2600 (Service Pack 1) using Python 2.3c1 (#44, Jul 21 2003, 09:21:38) [MSC v.1200 32 bit (Intel)] ... FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from lfallback0.lnd.ops.eu.uu.net ([62.189.34.25]) by mailhost.greymatter.co.uk with Microsoft SMTPSVC (5.0.2195.5329);\r\n\t Tue, 29 Jul 2003 10:42:55 +0100 \r\nReceived: from mail3.sendmeoffers.com ([64.253.204.241])\r\n\tby lfallback0.lnd.ops.eu.uu.net with esmtp (Exim 3.22 #1)\r\n\tid 19gpGb-0006ll-00\r\n\tfor jamess@greymatter.com; Sun, 27 Jul 2003 17:25:06 +0000 \r\nReceived: from sendmeoffers.com (192.168.1.8)\r\n by mail3.sendmeoffers.com with SMTP; 27 Jul 2003 13:25:03 - 0400\r\nFrom: Gourmet Coffee Direct<749-2211081- unsubscribe@sendmeoffers.com>\r\nTo: jamess@greymatter.com \r\nSubject: Gevalia\'s summer sale! A limited-time offer for the uncommon coffee drinker\r\nDate: Sun, 27 Jul 2003 11:32:44 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 2211081" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nMessage-Id: \r\nReturn-Path: 749- 2211081-unsubscribe@sendmeoffers.com\r\nX- OriginalArrivalTime: 29 Jul 2003 09:42:56.0002 (UTC) FILETIME=[C9D35E20:01C355B5] \r\n\nGevalia Iced.\r\n\r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
This email and offer have not been sent to you by \r\n Gevalia Kaffe, but by a 3rd party where you may have opted in to receive \r\n updates. To opt-out or unsubscribe, please follow instructions as provided \r\n by the sender.
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

Experience a pleasure that\'s uniquely yours - and purely \r\n Gevalia Kaffe.
An uncommon offer for an \r\n uncommon coffee drinker. Just place your order today and receive, for \r\n only $12.95, including \r\n shipping & handling:

Gevalia Coffee- Two boxes of our extraordinary coffee
- A 12-cup \r\n Programmable Coffeemaker FREE
- Two Gevalia Ceramic Mugs \r\n FREE

\r\n


(Approximate retail value $75)

\r\n\t \r\n This offer expires August 15, 2003

\r\n \r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 2211081-- \r\n\r\n\nHere Is Our Offering:\r\n\r\nExperience a pleasure that\'s uniquely yours and purely Gevalia Kaffe. \r\nJust place your order today and receive, for only $12.95, including shipping & handling:\r\n\r\n-Two boxes of our extraordinary coffee\r\n-A 12-cup Programmable Automatic Drip Coffeemaker\r\n-Two matching Gevalia Ceramic Mugs Free\r\n(Approximate retail value $ 85)\r\n\r\nYou can cancel at any time with no further obligation.\r\n\r\nhttp://www.sendmeoffers.com/c/c749c.php? ea=amFtZXNzQGdyZXltYXR0ZXIuY29t\r\n\r\nOrder Right Now.\r\n\r\nThis order expires July 28, 2003.\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.sendmeoffers.com/unsubscribe/? ea=jamess@greymatter.com\r\n\r\n' pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "out1.pyz/win32com.server.policy", line 275, in _Invoke_ File "out1.pyz/win32com.server.policy", line 280, in _invoke_ File "out1.pyz/win32com.server.policy", line 541, in _invokeex_ File "out1.pyz/addin", line 228, in OnClick File "out1.pyz/addin", line 424, in ShowClues File "out1.pyz/manager", line 677, in score File "out1.pyz/msgstore", line 734, in GetEmailPackageObject File "out1.pyz/email", line 52, in message_from_string File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 64, in parse File "out1.pyz/email.Parser", line 239, in _parsebody File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 62, in parse File "out1.pyz/email.Parser", line 111, in _parseheaders email.Errors.HeaderParseError: Continuation line seen before first header --- EOF --- ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 15:29 Message: Logged In: YES user_id=14198 FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from shfex02.hosting.innerhost.com ([192.168.29.8]) by shbex01.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from mail7.savingscourier.com ([64.253.204.179]) by shfex02.hosting.innerhost.com with Microsoft SMTPSVC(5.0.2195.6713);\r\n\t Thu, 24 Jul 2003 15:01:08 -0400\r\nReceived: from savingscourier.com (192.168.1.8)\r\n by mail7.savingscourier.com with SMTP; 24 Jul 2003 15:01:05 -0400\r\nFrom: Mark and Bob<723-1722809-unsubscribe@savingscourier.com>\r\nTo: prb@fivesight.com \r\nSubject: Are These Guys Nuts?\r\nDate: Thu, 24 Jul 2003 13:20:05 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 1722809" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 723-1722809-unsubscribe@savingscourier.com\r\nMessage-ID: \r\nX-OriginalArrivalTime: 24 Jul 2003 19:01:08.0236 (UTC) FILETIME=[F0AFF4C0:01C35215]\r\n\n\r\n\r\n\r\n\r\n\r\n\tAre These Guys Nuts?\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 1722809-- \r\n\r\n\n \r\n \r\n \r\n\r\nTo stop receiving offers Go Here or send mail to:\r\nUnsubscribe Department\r\n1730 S. Federal Hwy, Suite 116\r\nDelray Beach, FL 33483\t\r\n--= Multipart Boundary 1722809-- \r\n' ... Traceback is: File "E:\src\spambayes\Outlook2000\manager.py", line 677, in score email = msg.GetEmailPackageObject() File "E:\src\spambayes\Outlook2000\msgstore.py", line 734, in GetEmailPackageObject msg = email.message_from_string(text) File "E:\src\python-cvs\lib\email\__init__.py", line 52, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "E:\src\python-cvs\lib\email\Parser.py", line 239, in _parsebody msgobj = self.parsestr(part) File "E:\src\python-cvs\lib\email\Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "E:\src\python-cvs\lib\email\Parser.py", line 62, in parse firstbodyline = self._parseheaders(root, fp) File "E:\src\python-cvs\lib\email\Parser.py", line 111, in _parseheaders raise Errors.HeaderParseError( email.Errors.HeaderParseError: Continuation line seen before first header ---------------------------------------------------------------------- Comment By: Paul R. Brown (paulrbrown) Date: 2003-07-29 03:32 Message: Logged In: YES user_id=532486 Another take on the same message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=779049&group_id=61702 From noreply at sourceforge.net Tue Jul 29 06:13:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 08:13:42 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-771541 ] "Recover from" button not present in "Unsure" folder Message-ID: Bugs item #771541, was opened at 2003-07-15 07:52 Message generated for change (Comment added) made by jdrash You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 Category: Outlook Group: None >Status: Open Resolution: None Priority: 5 Submitted By: Jim Drash (jdrash) Assigned to: Mark Hammond (mhammond) Summary: "Recover from" button not present in "Unsure" folder Initial Comment: In the 003 release of the Outlook Add-in, the "Recover from" button does not display in the Unsure folder. Onlt the "Delete As Spam" displays. ---------------------------------------------------------------------- >Comment By: Jim Drash (jdrash) Date: 2003-07-29 08:13 Message: Logged In: YES user_id=53269 Your suggestion fixes the problem. Thank you. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 19:54 Message: Logged In: YES user_id=14198 Can you please try doing a reset of your toolbars, as per the troubleshooting guide. Go the brutal "delete outcmd.dat" route. Let me know if that fixes it ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=771541&group_id=61702 From noreply at sourceforge.net Tue Jul 29 10:25:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 12:26:11 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-777856 ] Outlook freezes on folder "browse" dialogs Message-ID: Bugs item #777856, was opened at 2003-07-25 16:06 Message generated for change (Comment added) made by glinnell You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Geoffrey Linnell (glinnell) Assigned to: Mark Hammond (mhammond) Summary: Outlook freezes on folder "browse" dialogs Initial Comment: I installed V .2, and it worked fine. I uninstalled, and installed V .3, and since then when I go into Manager, select Train Now, and click on browse, Outlook 2000 freezes...I have to kill the process to end it. I've since tried V .5...the same. I've uninstalled Office, Re- installed, patched to SP3...nothing. Any SpamBayes dialog that has a Browse button still halts Outlook. Office is 9.0.6926 SP3, Outlook is SP3, 9.0.0.6627. All running on Windows 2000 Build 2195 SP3. -Geoff ilx@cypress.com ---------------------------------------------------------------------- >Comment By: Geoffrey Linnell (glinnell) Date: 2003-07-29 09:25 Message: Logged In: YES user_id=830627 Hmmm...now it works. I installed W2K-SP4 and MS03-026 RPC patch yesterday. I hadn't tried SpamBayes in about a week, and in an effort to record a recent log to send you, tried SpamBayes again...this time it worked properly. All of the old logfiles have been overwriten, but I'm attaching the current one if it's of any use. Thanks for the quick response! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-28 22:02 Message: Logged In: YES user_id=14198 Can you please check for a log file, and attach it here - see the "troubleshooting guide" for details. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=777856&group_id=61702 From noreply at sourceforge.net Tue Jul 29 12:36:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 14:36:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 11:28 Message generated for change (Comment added) made by db3l You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-29 18:36 Message: Logged In: YES user_id=53196 Ok, I've been running with the latest CVS from 7/25 (or whatever was there in the SF CVS backup server on 7/25) for a few days now and it seems to be working properly. They key behavior change is that new messages get their Spam field set right away and the change is immediately visible. The only uncertainty I have is that since reproducing it previously involved getting the message open before the Spam field updated visibly, I can't be absolutely sure that a slower machine might not still have the problem. I want to check it out on the slower machine having problems even with my prior workaround, but have to plan that out (it's the CEO :-)). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 13:18 Message: Logged In: YES user_id=14198 If you could try the current CVS sources it would be great - this version saves in a slightly different way, and there has been one report of a similar bug being fixed. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-24 04:48 Message: Logged In: YES user_id=53196 For what it's worth, I've continued to run from source with my multiple save modification (as detailed earlier in the ticket) quite successfully (e.g., the problem doesn't happen for me). I'm positive it's still just a sledgehammer approach to the problem, and have found one slow laptop in the office (out of a number running a modified binary I produced with that change) that still can hit the problem even with the change, so it has a feeling of a race condition. But sledgehammer or no, I'm embarrassed to say that it worked so well for me that I settled for it as a solution :-) But I'd be happy to experiment with any other changes you might want to try out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 11:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 10:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 13:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 11:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 21:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 05:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 12:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 09:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 08:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 02:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 11:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Tue Jul 29 15:28:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 17:28:45 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Comment added) made by plasmadog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 09:28 Message: Logged In: YES user_id=231995 OK, I've tried it, but it has not solved the problem. I've added the save_spam_info:False to the ini file, but I'm not sure that it's doing what it's meant to. The spam score column is still working as it did before; I would have thought that this would stop working with that option set. Anyway, it still isn't deleting from the server. On the other hand, I'm not certain I have the right version running. I tried uninstalling the plugin, and rebuilding it from the pre-release 4 files, but the SpamBayes Manager dialog still says version 0.3. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 17:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 22:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 01:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Tue Jul 29 15:33:07 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 17:33:16 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Settings changed) made by plasmadog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None >Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 09:28 Message: Logged In: YES user_id=231995 OK, I've tried it, but it has not solved the problem. I've added the save_spam_info:False to the ini file, but I'm not sure that it's doing what it's meant to. The spam score column is still working as it did before; I would have thought that this would stop working with that option set. Anyway, it still isn't deleting from the server. On the other hand, I'm not certain I have the right version running. I tried uninstalling the plugin, and rebuilding it from the pre-release 4 files, but the SpamBayes Manager dialog still says version 0.3. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 17:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 22:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 01:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Tue Jul 29 16:43:45 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 18:43:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-30 10:43 Message: Logged In: YES user_id=552329 Are you running the plugin from source? (and in particular, the 1.0a4 release?) If you are: this doesn't include the most recent changes to the Outlook plugin. The only way to get them is to get hold of the cvs source or the binary installer from Mark's website. (Although there have been a great number of improvements to the Outlook plugin since 1.0a4, there hasn't been much changed elsewhere, so it's not really worth releasing a 1.0a5 since most Outlook people use the binary or CVS). ---------------------------------------------------------------------- Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 09:28 Message: Logged In: YES user_id=231995 OK, I've tried it, but it has not solved the problem. I've added the save_spam_info:False to the ini file, but I'm not sure that it's doing what it's meant to. The spam score column is still working as it did before; I would have thought that this would stop working with that option set. Anyway, it still isn't deleting from the server. On the other hand, I'm not certain I have the right version running. I tried uninstalling the plugin, and rebuilding it from the pre-release 4 files, but the SpamBayes Manager dialog still says version 0.3. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 17:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 22:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 01:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Tue Jul 29 16:55:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jul 29 18:55:13 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Comment added) made by plasmadog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 10:55 Message: Logged In: YES user_id=231995 Ah, OK. I didn't know about that website. I've now got v0.6 installed. I'll report back when I've seen some spam (shouldn't be too long). ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-30 10:43 Message: Logged In: YES user_id=552329 Are you running the plugin from source? (and in particular, the 1.0a4 release?) If you are: this doesn't include the most recent changes to the Outlook plugin. The only way to get them is to get hold of the cvs source or the binary installer from Mark's website. (Although there have been a great number of improvements to the Outlook plugin since 1.0a4, there hasn't been much changed elsewhere, so it's not really worth releasing a 1.0a5 since most Outlook people use the binary or CVS). ---------------------------------------------------------------------- Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 09:28 Message: Logged In: YES user_id=231995 OK, I've tried it, but it has not solved the problem. I've added the save_spam_info:False to the ini file, but I'm not sure that it's doing what it's meant to. The spam score column is still working as it did before; I would have thought that this would stop working with that option set. Anyway, it still isn't deleting from the server. On the other hand, I'm not certain I have the right version running. I tried uninstalling the plugin, and rebuilding it from the pre-release 4 files, but the SpamBayes Manager dialog still says version 0.3. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 17:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 22:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 01:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Wed Jul 30 17:40:46 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 19:40:59 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-773364 ] "Delete From Server" doesn't work on filtered mail Message-ID: Bugs item #773364, was opened at 2003-07-18 12:49 Message generated for change (Comment added) made by plasmadog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tony Peguero (plasmadog) Assigned to: Mark Hammond (mhammond) Summary: "Delete From Server" doesn't work on filtered mail Initial Comment: In Outlook's account properties, you can choose to leave a copy of retrieved mail on the server, and to remove that copy when the mail is deleted from the "Deleted Items" folder. However, this does not seem to be working with mail that has been checked by SpamBayes. When I delete a mail from the "Certain Spam" folder, it is moved to "Deleted Items" as expected, but when the "Deleted Items" folder is emptied, the copy remains on the server. I've tried the same thing with mail that has not been checked by SpamBayes, and it gets deleted from the server as expected. It seems that Outlook cannot tell that the filtered mail is the same as the one on the server. Perhaps this is because of the addition of the spam score to the local copy? ---------------------------------------------------------------------- >Comment By: Tony Peguero (plasmadog) Date: 2003-07-31 11:40 Message: Logged In: YES user_id=231995 OK, the save_spam_info option now appears to be doing what it is meant to do, but it hasn't solved the "delete from server" problem. ---------------------------------------------------------------------- Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 10:55 Message: Logged In: YES user_id=231995 Ah, OK. I didn't know about that website. I've now got v0.6 installed. I'll report back when I've seen some spam (shouldn't be too long). ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-30 10:43 Message: Logged In: YES user_id=552329 Are you running the plugin from source? (and in particular, the 1.0a4 release?) If you are: this doesn't include the most recent changes to the Outlook plugin. The only way to get them is to get hold of the cvs source or the binary installer from Mark's website. (Although there have been a great number of improvements to the Outlook plugin since 1.0a4, there hasn't been much changed elsewhere, so it's not really worth releasing a 1.0a5 since most Outlook people use the binary or CVS). ---------------------------------------------------------------------- Comment By: Tony Peguero (plasmadog) Date: 2003-07-30 09:28 Message: Logged In: YES user_id=231995 OK, I've tried it, but it has not solved the problem. I've added the save_spam_info:False to the ini file, but I'm not sure that it's doing what it's meant to. The spam score column is still working as it did before; I would have thought that this would stop working with that option set. Anyway, it still isn't deleting from the server. On the other hand, I'm not certain I have the right version running. I tried uninstalling the plugin, and rebuilding it from the pre-release 4 files, but the SpamBayes Manager dialog still says version 0.3. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-29 17:34 Message: Logged In: YES user_id=14198 The latest binary version has the ability to disable saving the spam score with each message. Can you try this version and see if the behaviour changes? ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 22:36 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 01:45 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=773364&group_id=61702 From noreply at sourceforge.net Wed Jul 30 17:43:27 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 19:43:36 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-01 13:44 Message generated for change (Comment added) made by xaviorm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- Comment By: Xavior Mosswart (xaviorm) Date: 2003-07-30 12:43 Message: Logged In: YES user_id=564609 I am having this problem on an NT 4 sp6a box with the 06 version. Using Outlook 2000. any clues what is causing this? so far it just seems to be fixing it's self for people. ---------------------------------------------------------------------- Comment By: Elmar Bransch (elmar71) Date: 2003-07-28 07:11 Message: Logged In: YES user_id=832399 After digging in the Mailing List and the bug base I found the interim version posted on 25-07 in this thread. I was very lucky having SpamBayes 002 installed on Win2000 Prof. with Outlook 2000 SR-1. Since upgrading to 003 it had the DLL-Register-0x80040201-problem, still remaining with the binary 005 installer. Finally the interim bug catcher release did the trick for me and installed fine - there has been even no errors in the spambayes1.log on startup so far :-) Thanks! Keep on ... ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-28 06:04 Message: Logged In: YES user_id=787905 Sorry to be late to the celebration--I was out of town and unable to test on my Win 2000 machine. This morning, however, I confirmed that it installs and works correctly there. Thanks! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 04:50 Message: Logged In: YES user_id=14198 Yay - I'm convinced this specific error, with "win32com.universal" showing up, is fixed :) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 04:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-25 03:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 23:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-24 03:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 12:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 06:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-21 08:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 07:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-06 04:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-03 17:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-02 06:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Wed Jul 30 18:40:48 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 20:40:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780612 ] Outlook incorrectly trains on moves messages Message-ID: Bugs item #780612, was opened at 2003-07-31 10:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Outlook incorrectly trains on moves messages Initial Comment: Consider: * SpamBayes set to filter "inbox" and "my folder". * Item arrives in "inbox". SpamBayes scores as 'ham' * Outlook rule kicks in - message moved to "My Folder" * SpamBayes sees this message, notices we have scored it, and assumes it is a "recover" operation - trains as Ham. Not sure how to tackle this! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 From noreply at sourceforge.net Wed Jul 30 18:43:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 20:44:24 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000 Message-ID: Bugs item #764325, was opened at 2003-07-02 10:44 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Dennis Austin (portola) Assigned to: Mark Hammond (mhammond) Summary: Can't install on Windows 2000 Initial Comment: When I run the binary installer on Windows 2000, it runs until the registering dll's section and then stops with an alert. An image of the alert is attached, but the gist is "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201. " I got this error on version 0.3 where Retry would just repeat the error and Abort would unwind the installation. I never tried Ignore. I have now tried version 0.3 and it gives the same error, but Abort and Retry hung the first time I tried them. Abort worked the second time. I finally tried Ignore, which completes okay. When I ran Outlook, though, the add-in wasn't there. This is Windows 2000 SP3 on an elderly Dell Inspiron notebook. It has Outlook 2002 SP2. Both are up to date with recent patches. I believe this combination is not known to work, but thought this information might help. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 10:43 Message: Logged In: YES user_id=14198 For most people, the problem is the MS "Designer" object spontaneously unregistering. The 006 binary attempts to fix this by not requiring the object to be installed at all! This particular error code generally means a Python failure that will be written to a log. Please see the troubleshooting guide and attach the log. ---------------------------------------------------------------------- Comment By: Xavior Mosswart (xaviorm) Date: 2003-07-31 09:43 Message: Logged In: YES user_id=564609 I am having this problem on an NT 4 sp6a box with the 06 version. Using Outlook 2000. any clues what is causing this? so far it just seems to be fixing it's self for people. ---------------------------------------------------------------------- Comment By: Elmar Bransch (elmar71) Date: 2003-07-29 04:11 Message: Logged In: YES user_id=832399 After digging in the Mailing List and the bug base I found the interim version posted on 25-07 in this thread. I was very lucky having SpamBayes 002 installed on Win2000 Prof. with Outlook 2000 SR-1. Since upgrading to 003 it had the DLL-Register-0x80040201-problem, still remaining with the binary 005 installer. Finally the interim bug catcher release did the trick for me and installed fine - there has been even no errors in the spambayes1.log on startup so far :-) Thanks! Keep on ... ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-29 03:04 Message: Logged In: YES user_id=787905 Sorry to be late to the celebration--I was out of town and unable to test on my Win 2000 machine. This morning, however, I confirmed that it installs and works correctly there. Thanks! ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-26 01:50 Message: Logged In: YES user_id=14198 Yay - I'm convinced this specific error, with "win32com.universal" showing up, is fixed :) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-26 01:41 Message: Logged In: YES user_id=824558 Works fine here: Win2003EE+OutlookXPSP2. In the same enviroment ver 005 doesn't won't to install with 0x80040201 ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-26 00:37 Message: Logged In: YES user_id=14198 I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. (Note that speficically, it should work even when that dll is not registered/installed) ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 20:02 Message: Logged In: YES user_id=824558 Using regmon and filemon I finally found what was the source of that problem: somebody unregister file %Program Files% \Common Files\Designer\MSADDNDR.DLL When I register it manually, I was able to register spambayes_addin.dll I have no idea what is this module for and why spambayes_addin.dll is trying to access it in DLLRegisterServer () ---------------------------------------------------------------------- Comment By: Andrew Zaikin (ghuron) Date: 2003-07-25 00:22 Message: Logged In: YES user_id=824558 Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-23 09:55 Message: Logged In: YES user_id=14198 That error code generally means the Python code doing the registration failed. Can you please look for a log file to attach - see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html for info on finding the log ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-23 03:39 Message: Logged In: YES user_id=787905 Just to keep up to date--the 005 version of the binary installer still has this problem on Win 2000. ---------------------------------------------------------------------- Comment By: Dennis Austin (portola) Date: 2003-07-22 05:29 Message: Logged In: YES user_id=787905 Although this is not yet claimed to be fixed, I tested it in the new version 004 installer. As expected, it fails in the same way it did in the 002 and 003 installers. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 04:11 Message: Logged In: YES user_id=120676 Copy-n-pasted from another bug report: Uninstalled Office XP, cleaned up any remnants per another MS KB article, and reinstalled. NO Service Packs installed yet. Tried binary instalers 002 and 003. Both fail with same "Unable to register DLL/OCX" error. Tried source install again and still get error from "addin.py" regarding Outlook 2000 not being installed or found. ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-07 01:29 Message: Logged In: YES user_id=120676 More information. May be worthwhile or may be useless... :) --Tried reinstalling the 002 installer and get the same error. --Cleaned the Windows Registry of *all* entries related to Spambayes Outlook plug-in --Ran 'regsvr32.exe' in app's directory, using both "spambayes_addin.dll" and "spamba~1.dll", per MS KB article. No difference. --Found two MS KB articles that *may* be helpful, just in case: http://support.microsoft.com/default.aspx?scid=kb;en- us;207132 http://support.microsoft.com/default.aspx?scid=kb;en- us;249873 The 2nd one mentions this: DllRegisterServer (or DllUnregisterServer)in Dllname failed. Return code was: string *Search Winerror.h for string. You guys are smarter than me though.... :0 I'm just trying to get this working again. Important note: I had Office/Outlook 2000 and Spambayes working fine ** on my wife's PC **. I decided to upgrade her to Office XP thinking she wouldn't notice, but she did. Mainly, her missing "spam thingy". I'm not sure how up-to-date I had her Office 2000 install. I upgraded to Office XP and the SpamBayes plug-in was gone. Just so happened that 003 became available and troubleshooting info also said to install all SPs for Office XP, so I did. Didn't help me.... :( ---------------------------------------------------------------------- Comment By: Hall Stevenson (hallstevenson) Date: 2003-07-04 14:14 Message: Logged In: YES user_id=120676 Same problem here... acting exactly like installer version 002 did, actually. My OS is XP Pro w/ all updates and Office XP w/ SP2 installed. The install fails on the spambayes_addin.dll registration. Telling the install to "Retry" causes the installer to hang up and has to be killed ("End Now"). Running the "regsvr32.exe..." command from the Spambayes dir does NOT work. Gives a similar (probably the same) error. ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-03 03:30 Message: Logged In: YES user_id=583713 I got the same thing with Outlook 2003 (with tech refresh) on Windows XP. I tried uninstalling Python and win32all. (could not install from source after installing the tech refresh either) And still could not install the Binary version 003. I installed "Spamunition" which registered it's dll fine. Then tried to install spambayes again. This time it worked. so I uninstalled spamunition. Spambayes is working fine again now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702 From noreply at sourceforge.net Wed Jul 30 19:12:38 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 21:12:58 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 21:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 11:12 Message: Logged In: YES user_id=14198 Fixed in 006 :) Let me know if not fixed for you. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-30 04:36 Message: Logged In: YES user_id=53196 Ok, I've been running with the latest CVS from 7/25 (or whatever was there in the SF CVS backup server on 7/25) for a few days now and it seems to be working properly. They key behavior change is that new messages get their Spam field set right away and the change is immediately visible. The only uncertainty I have is that since reproducing it previously involved getting the message open before the Spam field updated visibly, I can't be absolutely sure that a slower machine might not still have the problem. I want to check it out on the slower machine having problems even with my prior workaround, but have to plan that out (it's the CEO :-)). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 23:18 Message: Logged In: YES user_id=14198 If you could try the current CVS sources it would be great - this version saves in a slightly different way, and there has been one report of a similar bug being fixed. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-24 14:48 Message: Logged In: YES user_id=53196 For what it's worth, I've continued to run from source with my multiple save modification (as detailed earlier in the ticket) quite successfully (e.g., the problem doesn't happen for me). I'm positive it's still just a sledgehammer approach to the problem, and have found one slow laptop in the office (out of a number running a modified binary I produced with that change) that still can hit the problem even with the change, so it has a feeling of a race condition. But sledgehammer or no, I'm embarrassed to say that it worked so well for me that I settled for it as a solution :-) But I'd be happy to experiment with any other changes you might want to try out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 21:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 21:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 20:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 21:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-08 07:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 15:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 22:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-09 01:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 19:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 18:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 12:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 21:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Wed Jul 30 19:14:19 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 21:14:22 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-747107 ] SpamBayes leaves duplicate messages Message-ID: Bugs item #747107, was opened at 2003-06-02 04:28 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Brown (ericbr) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes leaves duplicate messages Initial Comment: I am subscribed to a number of different mailing lists, and I have a number of Outlook rules (set up via Rules Wizard) to route the different mailing lists into different folders. When the rules are of the form: Apply this rule after the message arrives with in the subject move it to the folder and a matching message comes in, SpamBayes seems to leave multiple copies of that message in the inbox. This is very frustrating. If the rule is of the form: Apply this rule after the message arrives sent to move it to the folder and a matching message comes in, duplicate messages do not occur. So it seems to be some sort of odd interaction with Outlook Rules. I'm running Outlook 2002 SP 2 on Windows XP SP 1a (with current hotfixes). ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 11:14 Message: Logged In: YES user_id=14198 I would be very interested to know if version 006 works with save_spam_info = True - it very well might. It would be great if you could let me know. ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-23 00:32 Message: Logged In: YES user_id=783913 I installed both versions 4 and 5 of the binary, and set the save_spam_info to False. So far, it seems to have fixed the problem, although I'd like to give it a full day of email to verify (because it doesn't always happen). However: for some reason, the SpamBayes configuration dialog doesn't pop up when I click the spambayes button. This happens on Outlook XP on Windows XP. I'll put a new bug in on this; just thought you should know. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 20:37 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 23:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-07 08:59 Message: Logged In: YES user_id=552329 No, installing 003 over the top of 002 should work fine. I don't have any more answers, sorry, but no doubt Mark will look into this when he gets a chance. Stay tuned! ---------------------------------------------------------------------- Comment By: Eric Brown (ericbr) Date: 2003-07-05 07:51 Message: Logged In: YES user_id=783913 Anadelon: Outlook junk mail rules are turned off; spam is Moved to Junk Mail. I just ran the release 003 of the plugin, and I'm still seeing the problem. (I didn't bother uninstalling release 002 - is that a problem?) Eric ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-05 01:08 Message: Logged In: YES user_id=18879 It appears the problem lies between the keyboard and chair. :) I seem to have overlooked the option to move messages instead of copying. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:50 Message: Logged In: YES user_id=552329 In addition, the log file seems to indicate that you are using release 002 of the plugin. If you haven't already, could you try release 003 and let us know if the problem still occurs? Thanks. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 13:46 Message: Logged In: YES user_id=552329 Eric, do you have the Outlook junk mail rules turned on? If you do, would both of you be able to try turning them off (they aren't all that much use if you are using spambayes anyway), and seeing if this resolves the problem? In addition, forgive me if you've checked this, but in the spambayes filter setup, do you have "move" selected rather than "copy"? (It's an odd problem that IIRC we have heard before, but I'm using the same version of Windows and Outlook, and have rules of that form, and don't notice this problem). ---------------------------------------------------------------------- Comment By: Brent Rockwood (dnaguy) Date: 2003-07-04 01:32 Message: Logged In: YES user_id=18879 I am also having this problem. I have not tested it with various rule types, but I believe it is occurring in conjunction with the Outlook "Junk E-mail" feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=747107&group_id=61702 From noreply at sourceforge.net Wed Jul 30 19:15:05 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 21:15:08 2003 Subject: [spambayes-bugs] [ spambayes-Patches-776297 ] Add version check to plugin Message-ID: Patches item #776297, was opened at 2003-07-24 00:58 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Skip Montanaro (montanaro) Assigned to: Mark Hammond (mhammond) Summary: Add version check to plugin Initial Comment: Many questions on the spambayes mailing list are answered with "first, make sure you are using the latest version of the Outlook plugin". This patch allows people to check to see if they are up-to-date. Before incorporating this, please change the URL of the page which contains the version number! :-) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 11:15 Message: Logged In: YES user_id=14198 Done - thanks Skip! ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 23:30 Message: Logged In: YES user_id=44345 Here's another version. This uses re.search to extract the BinaryVersion value from the remote copy of Version.py and compares it with the local value. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 23:17 Message: Logged In: YES user_id=44345 Okay, idiot that I am, I have it simply importing the file I downloaded. That obviously has some serious security risks, so I will change it so that it simply pulls the version information from the file as if it was pure data. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-27 10:37 Message: Logged In: YES user_id=44345 Here's an updated version of just checkversion.py which assumes the remote file is the latest version of Version.py. I haven't tried this on Windows (I'm at home). I'll leave it for Mark to pronounce on. Mark, if you want me to check it in, let me know what URL you want it to fetch. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-26 11:03 Message: Logged In: YES user_id=14198 Yep, binary version would be what you should compare against ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-24 11:06 Message: Logged In: YES user_id=44345 That sounds fine to me. Is the BinaryVersion element (currently 0.5) the item to compare with? I was looking through the Outlook2000 directory for "005". ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 09:22 Message: Logged In: YES user_id=14198 How about we put on the web server the latest version of "spambayes\Version.py" - we could then parse it locally and extra more metadata (such as the new release date etc). The code could also be generally useful for all spambayes apps. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2003-07-24 01:37 Message: Logged In: YES user_id=44345 > ...Or maybe that would just hammer the website too much ;) Plus 'twould have been beyond my nascent Windows programming skills... ---------------------------------------------------------------------- Comment By: Adam Walker (xenogeist) Date: 2003-07-24 01:30 Message: Logged In: YES user_id=583713 Maybe checking the version at startup in a seperate thread (along with an option to disable the check) and only show the message if a new version is availible could be added. ...Or maybe that would just hammer the website too much ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=776297&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:01:53 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:02:00 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780612 ] Outlook incorrectly trains on moves messages Message-ID: Bugs item #780612, was opened at 2003-07-31 12:40 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Outlook incorrectly trains on moves messages Initial Comment: Consider: * SpamBayes set to filter "inbox" and "my folder". * Item arrives in "inbox". SpamBayes scores as 'ham' * Outlook rule kicks in - message moved to "My Folder" * SpamBayes sees this message, notices we have scored it, and assumes it is a "recover" operation - trains as Ham. Not sure how to tackle this! ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:01 Message: Logged In: YES user_id=552329 Couldn't you remember the classification for each message? This is what pop3proxy et al do - the message class provides the necessary information. (This could be your chance to switch to using that and finish the rather uncomplete "master db" thing in there!) What exactly is stored in the default_message_database anyway? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:18:13 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:18:17 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780648 ] Plugin version 0.6 reports version 0.5 from dropdown Message-ID: Bugs item #780648, was opened at 2003-07-30 22:18 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: Plugin version 0.6 reports version 0.5 from dropdown Initial Comment: The option from the toolbar dropdown to check for the latest version displays a dialog that reports that the current version is 0.5 and that the plugin is up to date. However, the installer was version 006 and the version listed on the website is 0.6. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:25:23 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:25:30 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780648 ] Plugin version 0.6 reports version 0.5 from dropdown Message-ID: Bugs item #780648, was opened at 2003-07-31 15:18 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 Category: Outlook Group: None >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: Plugin version 0.6 reports version 0.5 from dropdown Initial Comment: The option from the toolbar dropdown to check for the latest version displays a dialog that reports that the current version is 0.5 and that the plugin is up to date. However, the installer was version 006 and the version listed on the website is 0.6. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:25 Message: Logged In: YES user_id=552329 I was going to say that this was me because I only checked that the website directory was up-to-date before I pushed to the website. However my version.py has 003 for the Outlook plugin.... ;) I'll push a new version as soon as sf cvs starts working again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:33:33 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:33:41 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780612 ] Outlook incorrectly trains on moves messages Message-ID: Bugs item #780612, was opened at 2003-07-31 10:40 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Outlook incorrectly trains on moves messages Initial Comment: Consider: * SpamBayes set to filter "inbox" and "my folder". * Item arrives in "inbox". SpamBayes scores as 'ham' * Outlook rule kicks in - message moved to "My Folder" * SpamBayes sees this message, notices we have scored it, and assumes it is a "recover" operation - trains as Ham. Not sure how to tackle this! ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 13:33 Message: Logged In: YES user_id=14198 We do remember the classification - that is how the training is triggered. It is *because* we remember that we do the train. What we could do is also remember the folder we origianlly filtered it in. Then, when it is moved we would be able to determine if it is being "moved back" (ie, should be trained) or simply moved by the user (and should be ignored - other than probably updating the name of the folder we "trained" it in) I should get the test case failing first. The message database is simply a dictionary of msgid: trained_as_spam. No entry means "never trained", otherwise we know how it was trained. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 13:01 Message: Logged In: YES user_id=552329 Couldn't you remember the classification for each message? This is what pop3proxy et al do - the message class provides the necessary information. (This could be your chance to switch to using that and finish the rather uncomplete "master db" thing in there!) What exactly is stored in the default_message_database anyway? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:36:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:36:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780648 ] Plugin version 0.6 reports version 0.5 from dropdown Message-ID: Bugs item #780648, was opened at 2003-07-31 15:18 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 Category: Outlook Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: Plugin version 0.6 reports version 0.5 from dropdown Initial Comment: The option from the toolbar dropdown to check for the latest version displays a dialog that reports that the current version is 0.5 and that the plugin is up to date. However, the installer was version 006 and the version listed on the website is 0.6. ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:36 Message: Logged In: YES user_id=552329 Then again, maybe it wasn't - I was looking at the wrong file, and I did appear to have 0.6. Anyway, the right file should be there now. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:25 Message: Logged In: YES user_id=552329 I was going to say that this was me because I only checked that the website directory was up-to-date before I pushed to the website. However my version.py has 003 for the Outlook plugin.... ;) I'll push a new version as soon as sf cvs starts working again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 From noreply at sourceforge.net Wed Jul 30 21:41:36 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Jul 30 23:41:44 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780612 ] Outlook incorrectly trains on moves messages Message-ID: Bugs item #780612, was opened at 2003-07-31 12:40 Message generated for change (Comment added) made by anadelonbrin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Outlook incorrectly trains on moves messages Initial Comment: Consider: * SpamBayes set to filter "inbox" and "my folder". * Item arrives in "inbox". SpamBayes scores as 'ham' * Outlook rule kicks in - message moved to "My Folder" * SpamBayes sees this message, notices we have scored it, and assumes it is a "recover" operation - trains as Ham. Not sure how to tackle this! ---------------------------------------------------------------------- >Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:41 Message: Logged In: YES user_id=552329 If you remember the classification, can't the rule simply be: If I am being moved into a ham folder, and I was trained as spam, then I am being reclassified. If I am being moved into a spam folder, and I was not trained as spam, then I am being reclassified. Otherwise, I am just being moved. (Where 'reclassified' checks to see if it already is the correct classification). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-31 15:33 Message: Logged In: YES user_id=14198 We do remember the classification - that is how the training is triggered. It is *because* we remember that we do the train. What we could do is also remember the folder we origianlly filtered it in. Then, when it is moved we would be able to determine if it is being "moved back" (ie, should be trained) or simply moved by the user (and should be ignored - other than probably updating the name of the folder we "trained" it in) I should get the test case failing first. The message database is simply a dictionary of msgid: trained_as_spam. No entry means "never trained", otherwise we know how it was trained. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 15:01 Message: Logged In: YES user_id=552329 Couldn't you remember the classification for each message? This is what pop3proxy et al do - the message class provides the necessary information. (This could be your chance to switch to using that and finish the rather uncomplete "master db" thing in there!) What exactly is stored in the default_message_database anyway? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 From paul at amazon.com Wed Jul 30 20:32:35 2003 From: paul at amazon.com (Nordstrom, Paul) Date: Thu Jul 31 01:24:59 2003 Subject: [spambayes-bugs] RE: [Spambayes] problems with 1.0 alpha 4 outlook addin Message-ID: <8F19180141484340B53B2593AD61B4430437588C@ex-mail-02.ant.amazon.com> See thread below for an audit trail for this problem My setup: Outlook 2002 SP2 Windows 2000 Pro. SpamBayes 1.0 alpha 4 (binary installer) 2 Outlook profiles, one MS Exchange Server-based, the other POP3-based. When I had only one profile, everything worked fine. After I added the second profile, every time I stop and start Outlook (whether I switch profiles or reopen the same one) all the settings in the "Define filters" dialogue are lost. please query me for any other details I can provide. paul >> -----Original Message----- >> From: Mark Hammond [mailto:mhammond@skippinet.com.au] >> Sent: Wednesday, July 30, 2003 6:28 PM >> To: Nordstrom, Paul; spambayes@python.org >> Subject: RE: [Spambayes] problems with 1.0 alpha 4 outlook addin >> >> >> Sorry, this message got lost. Are you will having this >> problem? Given the subject line, it appears you are running >> the source-code version - if so, please update your win32all >> - that will fix the problem. >> >> Otherwise, the best thing is to open a bug report, as the >> bug wont get lost - however, I am reluctant to do this >> myself, as then there will be no-one in the bug to verify >> the fix (as I can't reproduce the problem). >> >> Thanks, >> >> Mark. >> >> > -----Original Message----- >> > From: Nordstrom, Paul [mailto:paul@amazon.com] >> > Sent: Thursday, 24 July 2003 1:37 AM >> > To: Mark Hammond; spambayes@python.org >> > Subject: RE: [Spambayes] problems with 1.0 alpha 4 outlook addin >> > >> > >> > >> > >> > >> -----Original Message----- >> > >> From: Mark Hammond [mailto:mhammond@skippinet.com.au] >> > >> Sent: Tuesday, July 22, 2003 5:55 PM >> > >> To: Nordstrom, Paul; spambayes@python.org >> > >> Subject: RE: [Spambayes] problems with 1.0 alpha 4 outlook addin >> > >> >> > >> >> > >> > when I switch from one profile to the other, the folder >> > >> > settings get lost ... both filterable folders and target >> > >> > folders. This happens even if all the message stores >> > >> > involved are visible in both profiles. It is as if they had >> > >> > never been set. The keyword association data seems to >> > >> > survive the transitions. >> > >> >> > >> This is by design. You must configure each profile >> > >> seperately, but the training information is shared. It >> > >> seems that even if I wanted to share folder settings between >> > >> profiles I would have a hard time - the IDs used for these >> > >> folders appear to change across profiles. >> > >> >> > >> > perhaps I wasn't clear ... any time I come back to a profile >> > (after having switched to the other one) ALL its >> > configuration is gone (except for the training info) and must >> > be reentered. I wasn't expecting them to share >> > configuration, I just tried that as a workaround. >> > >> > >> But assuming there are no technical problems, I'm not >> > >> convinced we should share any configuration. For users that >> > >> share only a few information stores (or indeed none at all) >> > >> between profiles, this may appear strange, and could have >> > >> confusing semantics - eg, if 2 out of 3 profiles share an >> > >> information store, should changing the spam folders in one >> > >> of these 2 profiles change the other one? >> > >> >> > >> > I certainly agree with this. >> > >> > >> If there are any issues other than the fact that each >> > >> profile needs to be configured seperately, then please open >> > >> a bug, being as specific as you can. If what you want is a >> > >> feature request, please open one of them instead (as I find >> > >> it easier to ignore them ) >> > >> >> > >> > Donation complete ... (now if you only accepted Amazon Honor >> > >> > system donations :-) >> > >> > http://www.amazon.com/exec/obidos/tg/browse/-/542032/qid%3D105 >> > >> 8919474/sr%3D1-1 >> > >> >> > >> Excellent - thanks! It would be nice if somehow the PSA >> > >> could track how much was given by SpamBayes users. I think >> > >> that once the mail SpamBayes dev crew agrees, we should add >> > >> a few PayPal donate buttons on a few of the pages. >> > >> >> > >> Mark. >> > >> >> From noreply at sourceforge.net Thu Jul 31 00:19:03 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 02:19:34 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-716684 ] Filtering marks message as unread Message-ID: Bugs item #716684, was opened at 2003-04-07 11:28 Message generated for change (Comment added) made by db3l You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Filtering marks message as unread Initial Comment: Reported too many times :) Exchange server users only. As spambayes startsit starts processing missed messages. In the meantime, the user reads some messages, thereby marking them as read. As smapbayes writes the spam field, these messages spring back to a read status. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-31 06:19 Message: Logged In: YES user_id=53196 Yeah, I had just built my own binary installer for the CVS version to test when I saw you publish 006 :-) 006 also seems to work fine for me. I'll let you know when I get feedback from the problem laptop case. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-31 01:12 Message: Logged In: YES user_id=14198 Fixed in 006 :) Let me know if not fixed for you. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-29 18:36 Message: Logged In: YES user_id=53196 Ok, I've been running with the latest CVS from 7/25 (or whatever was there in the SF CVS backup server on 7/25) for a few days now and it seems to be working properly. They key behavior change is that new messages get their Spam field set right away and the change is immediately visible. The only uncertainty I have is that since reproducing it previously involved getting the message open before the Spam field updated visibly, I can't be absolutely sure that a slower machine might not still have the problem. I want to check it out on the slower machine having problems even with my prior workaround, but have to plan that out (it's the CEO :-)). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-24 13:18 Message: Logged In: YES user_id=14198 If you could try the current CVS sources it would be great - this version saves in a slightly different way, and there has been one report of a similar bug being fixed. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-07-24 04:48 Message: Logged In: YES user_id=53196 For what it's worth, I've continued to run from source with my multiple save modification (as detailed earlier in the ticket) quite successfully (e.g., the problem doesn't happen for me). I'm positive it's still just a sledgehammer approach to the problem, and have found one slow laptop in the office (out of a number running a modified binary I produced with that change) that still can hit the problem even with the change, so it has a feeling of a race condition. But sledgehammer or no, I'm embarrassed to say that it worked so well for me that I settled for it as a solution :-) But I'd be happy to experiment with any other changes you might want to try out. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:43 Message: Logged In: YES user_id=14198 Give me a yell in mail once you have this setup. Once you do, I will send you a patch or 2 with a couple of experiments to the way we save the score ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 11:37 Message: Logged In: YES user_id=113328 I'm happy to switch to the source version from CVS, if you can tell me what you want me to try. My time is limited (and I'm unavailable for the next 3 days) but I'm happy to do what I can. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-22 11:22 Message: Logged In: YES user_id=14198 Well, it does tell me that the "Save" is indeed the issue, which is a good start. Someone running from the source code would still be best :) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-22 10:40 Message: Logged In: YES user_id=113328 Initial impressions are that this fixes the problem of messages going back to unread, but the "Spam" score is not being set on the messages any more (they are still being filtered OK, it's just that the score isn't shown). Not sure whether this counts as an improvement or not... I'll leave the setting as "False" for a while in case the problem reappears. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-21 10:38 Message: Logged In: YES user_id=14198 I have released version 4 of the binary. There is a new option save_spam_info. as documented in the 'configuration' guide. If you set this option to False, SpamBayes will no longer attempt to save anything back into the message. Please try this new version with this option set to False, and see if the behavior of this bug changes. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-20 13:47 Message: Logged In: YES user_id=14198 I just checked in a new option that can be set - filter.save_spam_info - see the configuration documentation for more details. If this option is set to False, then spambayes will not attempt to save the spam score or other information as it filters. You may like to try this option when you can, to see if it has any effect on this bug. You can try it immediately if you use CVS, or as soon as the next release is made. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-08 11:14 Message: Logged In: YES user_id=14198 Closing http://sourceforge.net/tracker/index.php?func=detail&aid=764241&group_id=61702&atid=498103 as a dupe ---------------------------------------------------------------------- Comment By: Steve Andersen (gokubi) Date: 2003-07-07 21:52 Message: Logged In: YES user_id=558027 I find that if I get a new message and hit reply before I read it (I'm in Autopreview) after sending the message it is still unread. More troubling is that Outlook does not show that I have replied to the message by changing the envelope icon. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-04 05:23 Message: Logged In: YES user_id=552329 >From the list: a user had the same problem, but also noted this: > If an attachment is included, the first time I open the > message, I cannot open the attachement, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Odd! I don't get this problem very often at all anymore; I don't know why. If I did, I'd test the attachment theory, but as it is, I can't, so I leave it for others ;) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-10 12:01 Message: Logged In: YES user_id=113328 I just had this happen to me again. I'm using the CVS version from a day or two ago. So the version in current CVS isn't (completely) fixed. Anythong else I could try? I see part of a thread about USE_DEFERRED_ERRORS here, but I can't find the original. My code has USE_DEFERRED_ERRORS in it. If you can tell me what (if anything) else needs changing, I can try taking it out. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:07 Message: Logged In: YES user_id=53196 Just as an FYI, I agree with tobermory's comments in that spambayes is in fact classifying the message immediately, but it's the update to the server and/or client that appears to be delayed until the next Outlook event. See the first of my two spambayes list mail messages referenced in my note Mark included in this bug. ---------------------------------------------------------------------- Comment By: David Bolen (db3l) Date: 2003-04-08 15:03 Message: Logged In: YES user_id=53196 > Would it be possible to try another change for me instead? Revert > filter.py, and in msgstore.py's Save method, find the line: > > self.mapi_object.SaveChanges (mapi.KEEP_OPEN_READWRITE | > USE_DEFERRED_ERRORS) I'm pretty sure I had tried that first, while experimenting, before I ended up with the extra Save as a final "flush all" attempt. There was no change, nor did the function return an error. I think I also tried setting it to 0 (after reading the internal comment) to no apparent effect, although I may be misremembering since the same comment may have caused me to hesitate to make that change :-) But I'll double check this when I get a chance today. If I recall when testing, my review of the code seemed to indicate that everything should work fine, and that the spambayes code was managing the read flag reasonably well, and in fact, was issuing a Save() back in filter.py. I ended up inserting test Save()s at the lowermost level (which worked) and then bubbling them up to see how high I could leave the extra call so it was called as infrequently as possible. In the end, the issue seemed related to the processing that goes on when all_actions is enabled. If the Save() occurred after the field status was updated, but before RememberMessageCurrentFolder() was called, all was fine. But if the RememberMessageCurrentFolder() got called first, then the following Save() - as already in filter.py - didn't seem to "take." > I'm a little unsure why one of the Save calls is indented too. Ah, that was just to minimize change from the existing code path. I wanted to move the Save() to happen before RememberMessageCurrentFolder(), but then the second Save () became completely superfluous in the main branch case - but I didn't want to lose the Save() following RememberMessageCurrentFolder() if it was called just in case that was critical to existing behavior, so I moved it to only occur in that same block. -- David ---------------------------------------------------------------------- Comment By: David Leftley (tobermory) Date: 2003-04-08 09:08 Message: Logged In: YES user_id=626601 Just to try and clarify one point: earlier msgs in this thread suggest that spambayes doesn't attempt to classify a message until certain events (reading a msg, etc.) occur. In fact from watching the trace output, the message is classified as soon as it arrives (the trace shows "Message 'xxx' had a Spam classification of 'yyy'") but Outlook doesn't reflect this change until the next event occurs. ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-04-08 08:21 Message: Logged In: YES user_id=113328 My version of filter.py looks different. I haven't updated from CVS in a while, maybe that's why. But my version looks like it has msg.Save() called unconditionally. try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. msg.RememberMessageCurrentFolder() msg.Save() I've tried moving msg.Save() to before msg.Remember...(), but I'll have to wait to see results. Will report back. (Better might be to cvs update and apply your change, but I may not get a chance to do that for a couple of days...) ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-04-08 02:21 Message: Logged In: YES user_id=14198 >From David Bolen: "Moore, Paul" writes: > As far as I know, no-one has been able to track down the > problem to fix it yet. I have, however, implemented a local workaround that's working really well for me. This was based on my prior messages in: http://mail.python.org/pipermail/spambayes/2003-March/004086.html http://mail.python.org/pipermail/spambayes/2003-March/004088.html Since I can't quantify what if any penalty it imposes in the general case by syncing changes back to the server an additional time, and since the problem may be limited to Exchange servers, I haven't proposed it be made to the main source yet - although I certainly haven't noticed much of a penalty in my local testing. But if anyone else wants to try a local change, it's fairly trivial, adding an additional call to msg.Save() in filter.py: *** filter.py 18 Mar 2003 03:09:03 -0000 1.20 --- filter.py 7 Apr 2003 22:18:58 -0000 *************** *** 27,39 **** try: # Save the score msg.SetField(mgr.config.field_score_name, prob) # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") --- 26,39 ---- try: # Save the score msg.SetField(mgr.config.field_score_name, prob) + msg.Save() # and the ID of the folder we were in when scored. # (but only if we want to perform all actions) # Note we must do this, and the Save, before the # filter, else the save will fail. if all_actions: msg.RememberMessageCurrentFolder() ! msg.Save() if all_actions and attr_prefix is not None: folder_id = getattr(config, attr_prefix + "_folder_id") After making this change, what went from virtually _every_ message staying unread, became the extreme rare case, such that I'm no longer certain any remaining case may even be spambayes related. ---------------------------------------------------------------------- Comment By: Martin Worger (worger) Date: 2003-04-07 11:58 Message: Logged In: YES user_id=751487 A bit of investigation (I am using Outlook 2002 & Exchange 2000). A new message arriving in my Inbox does not get analysed by SpamBayes until: - You switch to another folder and back again. - You read the message (then analysed, but remains 'unread') - Another email arrives, when the first message is then rated (second one not rated though) - Another email in Inbox is saved after editing In other words, it seems some other action eventually triggers the analysis - not the arrival event itself. An email that is read before it has been analysed by SpamBayes will always be 'unread' afterwards. This is independent of type (plain, rich text or HTML) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=716684&group_id=61702 From noreply at sourceforge.net Thu Jul 31 02:09:02 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 04:09:11 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780648 ] Plugin version 0.6 reports version 0.5 from dropdown Message-ID: Bugs item #780648, was opened at 2003-07-31 13:18 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 Category: Outlook Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Paul R. Brown (paulrbrown) Assigned to: Mark Hammond (mhammond) Summary: Plugin version 0.6 reports version 0.5 from dropdown Initial Comment: The option from the toolbar dropdown to check for the latest version displays a dialog that reports that the current version is 0.5 and that the plugin is up to date. However, the installer was version 006 and the version listed on the website is 0.6. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 18:09 Message: Logged In: YES user_id=14198 I'm so confused :) This *did work for a while, then stopped. I assume it stopped as someone re-ran the makefile without doing a "cvs up" on the main source tree. We should add this to the makefile. I pushed this out hours ago, and have confirmed that the sf htdocs folder has the correct version. I think Tony did the same since - but still the web page has the old version. I think we are just waiting for the cron job? ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 13:36 Message: Logged In: YES user_id=552329 Then again, maybe it wasn't - I was looking at the wrong file, and I did appear to have 0.6. Anyway, the right file should be there now. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 13:25 Message: Logged In: YES user_id=552329 I was going to say that this was me because I only checked that the website directory was up-to-date before I pushed to the website. However my version.py has 003 for the Outlook plugin.... ;) I'll push a new version as soon as sf cvs starts working again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780648&group_id=61702 From noreply at sourceforge.net Thu Jul 31 02:38:42 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 04:38:47 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780612 ] Outlook incorrectly trains on moves messages Message-ID: Bugs item #780612, was opened at 2003-07-31 10:40 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Outlook incorrectly trains on moves messages Initial Comment: Consider: * SpamBayes set to filter "inbox" and "my folder". * Item arrives in "inbox". SpamBayes scores as 'ham' * Outlook rule kicks in - message moved to "My Folder" * SpamBayes sees this message, notices we have scored it, and assumes it is a "recover" operation - trains as Ham. Not sure how to tackle this! ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 18:38 Message: Logged In: YES user_id=14198 Except that "classification" does not imply "trained". Eg, a spam comes in, so we filter it. User drags it back. We notice spam classification, so we train as good. If we look for "was previously trained", it will fail. But yeah, I you are basically correct - we should only train as good on a drag if the existing score did not put it in the "good" range already. In fact, we do already do that for Spam - "Delete as Spam" only trains if it would not already fall in the spam range. In fact, we "If I am being moved into a ham folder, and I was trained as spam, then I am being reclassified." ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 13:41 Message: Logged In: YES user_id=552329 If you remember the classification, can't the rule simply be: If I am being moved into a ham folder, and I was trained as spam, then I am being reclassified. If I am being moved into a spam folder, and I was not trained as spam, then I am being reclassified. Otherwise, I am just being moved. (Where 'reclassified' checks to see if it already is the correct classification). ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2003-07-31 13:33 Message: Logged In: YES user_id=14198 We do remember the classification - that is how the training is triggered. It is *because* we remember that we do the train. What we could do is also remember the folder we origianlly filtered it in. Then, when it is moved we would be able to determine if it is being "moved back" (ie, should be trained) or simply moved by the user (and should be ignored - other than probably updating the name of the folder we "trained" it in) I should get the test case failing first. The message database is simply a dictionary of msgid: trained_as_spam. No entry means "never trained", otherwise we know how it was trained. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-31 13:01 Message: Logged In: YES user_id=552329 Couldn't you remember the classification for each message? This is what pop3proxy et al do - the message class provides the necessary information. (This could be your chance to switch to using that and finish the rather uncomplete "master db" thing in there!) What exactly is stored in the default_message_database anyway? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780612&group_id=61702 From noreply at sourceforge.net Thu Jul 31 03:28:43 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 05:28:51 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776808 ] Expanding toolbar crashes outlook Message-ID: Bugs item #776808, was opened at 2003-07-24 09:10 Message generated for change (Comment added) made by pmoore You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: Expanding toolbar crashes outlook Initial Comment: If the spambayes toolbar is not completely visible in Outlook you can open/expand it using the '>>' button at the end of the toolbar. Clicking on this button crashes outlook completely with the following message: "Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program." Outlook's own toolbars don't have this problem. Versions: Outlook 2000 on W2K Spambayes Outlook Addin (beta), Binary version 0.5 (july 2003) ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-31 10:28 Message: Logged In: YES user_id=113328 I get this on Outlook 2000 SP1, with the Spambayes addin binary installer 006. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-24 22:44 Message: Logged In: YES user_id=31435 FYI, I've seen this too, on Win2K and Win98SE, using Outlook 2000, and CVS spambayes, Python 2.2.3. Just reproduced it after a CVS up. This happens when I'm in my Unsure folder, which tries to display both buttons, and often my Outlook window is too small. I first saw it shortly after we switched to building our own toolbar. It doesn't bother me, especially since I can't imagine we're at fault <0.5 wink>. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-24 22:22 Message: Logged In: YES user_id=552329 Just for reference, I do not experience this with current CVS and Outlook 2k2 sp2 with WinXP SP1. (I never have enough room in my possible spam folder, because both buttons are present, so I use this every now and then). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 From noreply at sourceforge.net Thu Jul 31 03:41:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 05:41:15 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-776808 ] Expanding toolbar crashes outlook Message-ID: Bugs item #776808, was opened at 2003-07-24 18:10 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edwin (eddepet_33) Assigned to: Mark Hammond (mhammond) Summary: Expanding toolbar crashes outlook Initial Comment: If the spambayes toolbar is not completely visible in Outlook you can open/expand it using the '>>' button at the end of the toolbar. Clicking on this button crashes outlook completely with the following message: "Program Error: Outlook.exe has generated errors and will be closed by Windows. You will need to restart the program." Outlook's own toolbars don't have this problem. Versions: Outlook 2000 on W2K Spambayes Outlook Addin (beta), Binary version 0.5 (july 2003) ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 19:41 Message: Logged In: YES user_id=14198 I get this too. I'm at a loss though ---------------------------------------------------------------------- Comment By: Paul Moore (pmoore) Date: 2003-07-31 19:28 Message: Logged In: YES user_id=113328 I get this on Outlook 2000 SP1, with the Spambayes addin binary installer 006. ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2003-07-25 07:44 Message: Logged In: YES user_id=31435 FYI, I've seen this too, on Win2K and Win98SE, using Outlook 2000, and CVS spambayes, Python 2.2.3. Just reproduced it after a CVS up. This happens when I'm in my Unsure folder, which tries to display both buttons, and often my Outlook window is too small. I first saw it shortly after we switched to building our own toolbar. It doesn't bother me, especially since I can't imagine we're at fault <0.5 wink>. ---------------------------------------------------------------------- Comment By: Tony Meyer (anadelonbrin) Date: 2003-07-25 07:22 Message: Logged In: YES user_id=552329 Just for reference, I do not experience this with current CVS and Outlook 2k2 sp2 with WinXP SP1. (I never have enough room in my possible spam folder, because both buttons are present, so I use this every now and then). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776808&group_id=61702 From noreply at sourceforge.net Thu Jul 31 06:04:20 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 08:04:26 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780801 ] IMAP Still Failing Message-ID: Bugs item #780801, was opened at 2003-07-31 12:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780801&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Shaun Broadbent (shaunbroadbent) Assigned to: Mark Hammond (mhammond) Summary: IMAP Still Failing Initial Comment: back to #765042 / 767595 Not sure what happened cause it looked like it was working there at one stage. Currently failing to filter anything Spam/Ham/Good. Doesnt score anything either. Manual Filtering works. Log Attached. Back on the CVS version with Verbose=1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780801&group_id=61702 From noreply at sourceforge.net Thu Jul 31 06:30:45 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 08:30:49 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780801 ] IMAP Still Failing Message-ID: Bugs item #780801, was opened at 2003-07-31 22:04 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780801&group_id=61702 Category: Outlook Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Shaun Broadbent (shaunbroadbent) Assigned to: Mark Hammond (mhammond) Summary: IMAP Still Failing Initial Comment: back to #765042 / 767595 Not sure what happened cause it looked like it was working there at one stage. Currently failing to filter anything Spam/Ham/Good. Doesnt score anything either. Manual Filtering works. Log Attached. Back on the CVS version with Verbose=1 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2003-07-31 22:30 Message: Logged In: YES user_id=14198 Shit - sorry about that! Checking in msgstore.py; new revision: 1.61; previous revision: 1.60 Checking in filter.py; new revision: 1.28; previous revision: 1.27 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780801&group_id=61702 From noreply at sourceforge.net Thu Jul 31 06:46:01 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 08:46:07 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-780819 ] Images pasted to clipboard each startup Message-ID: Bugs item #780819, was opened at 2003-07-31 22:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780819&group_id=61702 Category: Outlook Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Mark Hammond (mhammond) Summary: Images pasted to clipboard each startup Initial Comment: There is no need to load the bitmaps and set toolbar button images each time we start, but only when we we actually need to create the button as we can't find it ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=780819&group_id=61702 From noreply at sourceforge.net Thu Jul 31 13:32:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jul 31 15:32:20 2003 Subject: [spambayes-bugs] [ spambayes-Bugs-781061 ] SpamBayes Addin quit working Message-ID: Bugs item #781061, was opened at 2003-07-31 19:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=781061&group_id=61702 Category: Outlook Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Sherry (slbergh) Assigned to: Mark Hammond (mhammond) Summary: SpamBayes Addin quit working Initial Comment: The SpamBayes configuration button suddenly quit working in Outlook. Clicking Delete as Spam brings up a message to configure the spam folder, which is impossible to do since the button appears dead. Any ideas? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=781061&group_id=61702