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