<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br>&nbsp;&nbsp;&nbsp; I'm having the same problem!&nbsp; I'm also using Outlook 2007 on Windows 7 64 bit.&nbsp; <br><br>&nbsp;&nbsp;&nbsp; What version of Python are you using?&nbsp; That 3.x version, or the 2.x stuff?&nbsp; I'm using 2.6.4 (32 bit).&nbsp; When I ran the trace logs, I saw the same entries - that "Python error invoking COM method" and the "ValueError:&nbsp; (22, 'Invalid argument')".<br><br>&nbsp;&nbsp;&nbsp; It's driving me nuts, because spambayes worked great on XP, and I miss having it.&nbsp; I thought I was doing something wrong, but now I see I'm not the only one with this problem.<br><br><br>&nbsp;&nbsp;&nbsp; Can someone help us out here?<br><br><br><br><br>&gt; -----Original Message-----<br>&gt; Sent: Monday, December 28, 2009 11:44 AM<br>&gt; To:
 spambayes@python.org<br>&gt; Subject: [Spambayes] FW: Windows 7 x64 - Problems<br>&gt; <br>&gt; <br>&gt; &nbsp;&nbsp;&nbsp; I've been continuing to look into this, but I don't know how to fix<br>&gt; what's broken.&nbsp; I'm guessing that the root of the issue is either the<br>&gt; "Python error invoking COM method" or the " ValueError:&nbsp; (22, 'Invalid<br>&gt; argument')", but I don't have the grounding in python I need to understand<br>&gt; what the problem is.<br>&gt; <br>&gt; &nbsp;&nbsp;&nbsp; Can anyone shed some light on this?<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: Ocean [mailto:Ocean@acloakinthewood.com]<br>&gt; &gt; Sent: Thursday, December 24, 2009 1:25 PM<br>&gt; &gt; To: 'spambayes@python.org'<br>&gt; &gt; Subject: FW: [Spambayes] Windows 7 x64 - Problems<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp;&nbsp;&nbsp; Well, I uninstalled all the 64 bit stuff, and
 installed the 32-bit<br>&gt; stuff.&nbsp; The good news is<br>&gt; &gt; &gt; that the plug in now loads.&nbsp; The bad news is that it's giving me an<br>&gt; error:&nbsp; "Could not watch<br>&gt; &gt; &gt; the specified folders".&nbsp; I've tried deleting the INI file, and<br>&gt; reconfiguring it, but as soon I<br>&gt; &gt; &gt; enable SpamBayes, that error comes up.&nbsp; I'm using 1.1a4 (from source),<br>&gt; and I've been<br>&gt; &gt; &gt; running it on XP for a long time without any problems.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp;&nbsp;&nbsp; Is there something about Win 7 x64 that would keep it from being to<br>&gt; watch the<br>&gt; &gt; &gt; Inbox (with subfolders)?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &nbsp;&nbsp;&nbsp; Okay, some more data.&nbsp; I ran the Trace Collector and ran the test<br>&gt; suite.&nbsp; I have no<br>&gt; &gt; idea how to copy/save information from the Trace Collector, so I have to<br>&gt; manually type
 in<br>&gt; &gt; stuff, and I'll have to hope I'm giving you the relevant information here.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; It starts out like this:<br>&gt; &gt;<br>&gt; &gt; -------------------<br>&gt; &gt; Running 'Filtering tests' with Filter.save_spam_info=True,<br>&gt; Filter.timer_enabled=False<br>&gt; &gt; Performing Spam test on watch folder 'My Folders/Inbox'...<br>&gt; &gt;<br>&gt; &gt; pythoncom error:&nbsp; Python error invoking COM method.<br>&gt; &gt; -------------------<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I then have a number of Traceback entries, with the last couple of lines<br>&gt; being:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------<br>&gt; &gt; File "D:\Progs\Python\Lib\email\utils.py", line 143, in formatdate<br>&gt; &gt; &nbsp;&nbsp;&nbsp; now = time.localtime(timeval)<br>&gt; &gt;<br>&gt; &gt; ValueError:&nbsp; (22, 'Invalid argument')<br>&gt; &gt; Restoring standard configuration...<br>&gt; &gt;
 -------------------<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ...followed by it reseting itself to watch everything again.<br>&gt; &gt;<br>&gt; &gt; Further down, it says:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------<br>&gt; &gt; Processing missed spam in folder 'Inbox' by starting a timer<br>&gt; &gt; ------------------<br>&gt; &gt;<br>&gt; &gt; ...followed by all the folders it didn't miss any in.<br>&gt; &gt;<br>&gt; &gt; Then we have a Traceback section again that ends in:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; -------------------<br>&gt; &gt; File "D:\Progs\SpamBayes 1.1a4\Outlook2000\tester.py", line 170, in<br>&gt; &gt; CheckMessageFilteredFrom<br>&gt; &gt; &nbsp;&nbsp;&nbsp; TestFailed("The test message remained in folder '%s'" %<br>&gt; ms_folder.GetFQName())<br>&gt; &gt; File "D:\Progs\SpamBayes 1.1a4\Outlook2000\tester.py", line 38, in<br>&gt; TestFailed<br>&gt; &gt; &nbsp;&nbsp;&nbsp; raise TestFailure(msg)<br>&gt; &gt;
 TestFailure:&nbsp; The test message remained in folder 'My Folders/Inbox'<br>&gt; &gt; -------------------<br>&gt; &gt;<br>&gt; &gt; ...etc...<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; If you need more of the trace information, let me know (along with how to<br>&gt; copy the<br>&gt; &gt; information so I don't have to type it in manually by hand!).<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; SpamBayes@python.org<br><span>&gt; <a target="_blank" href="http://mail.python.org/mailman/listinfo/spambayes">http://mail.python.org/mailman/listinfo/spambayes</a></span><br><span>&gt; Info/Unsubscribe: <a target="_blank" href="http://mail.python.org/mailman/listinfo/spambayes">http://mail.python.org/mailman/listinfo/spambayes</a></span><br><span>&gt; Check the FAQ before asking: <a target="_blank" href="http://spambayes.sf.net/faq.html">http://spambayes.sf.net/faq.html</a></span><br><br></div>
<!-- cg31.c4.mail.gq1.yahoo.com compressed/chunked Mon Jan  4 07:44:23 PST 2010 -->
</div><br>

      </body></html>