From dave at boost-consulting.com Wed Aug 1 14:04:44 2007 From: dave at boost-consulting.com (David Abrahams) Date: Wed, 01 Aug 2007 08:04:44 -0400 Subject: [spambayes-dev] PING? References: <873azbtcep.fsf@grogan.peloton> <10d001c7cfe7$82710b30$090a0a0a@enfoldsystems.local> <87odhu7jkd.fsf@grogan.peloton> Message-ID: <87lkcvpijn.fsf_-_@grogan.peloton> on Sun Jul 29 2007, David Abrahams wrote: > My analysis is as follows: HammieFilter.close (in sb_filter.py) jumps through > all sorts of hoops to remember the mode in which the DB was opened, and > avoid calling store() if it was only opened for read. > > def close(self): > if self.h is not None: > if self.mode != 'r': > self.h.store() > self.h.close() > self.h = None > > So it sorta looks like Tony's patch was applied. > > However, Hammie.close (in hammie.py) just barrels ahead and calls > store() unconditionally... > > I'm not sure what the right fix here would be. Keep HammieFilter from > calling Hammie.close() when the DB was not opened for write? Sink the > close/store/mode-checking logic from HammieFilter into Hammie itself? > Something else? I'm happy to submit a patch, but I want to make sure it makes sense. Can I get some guidance about the intended approach, please? Thanks, -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com From postmaster at golex.nsk.ru Thu Aug 2 07:49:22 2007 From: postmaster at golex.nsk.ru (=?koi8-r?B?58/SwtXOz9cg4czFy9PBzsTS?=) Date: Thu, 2 Aug 2007 12:49:22 +0700 Subject: [spambayes-dev] FAQ update (q 5.8) or problem report Message-ID: <000001c7d4c8$e13a23a0$0701040a@kraftway.lan> Dear colleagues! FAQ paragraph 5.8 have helped me to solve problem described, BUT(!) I use Intel Celeron CPU with DEP. Please edit the answer. Yours, Alexander Thank all of you for perfect tool! I use it some years. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5.8 After installing SpamBayes, Outlook crashes and then asks for the plug-in to be disabled. Are you using an Athlon 64 with DEP? There are issues with DEP and Outlook with a SpamBayes-based plug-in. Listing Outlook as a safe application on an Athlon 64 should "solve" the problem. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From mark at enfoldsystems.com Fri Aug 3 22:28:05 2007 From: mark at enfoldsystems.com (Mark Hammond) Date: Fri, 3 Aug 2007 15:28:05 -0500 Subject: [spambayes-dev] FW: [Spambayes] (no subject) Message-ID: <8EAFFDDE9BE27F4C8B1A3022FEAA63823CCE74@hal.enfoldsystems.local> Oops - I meant to CC spambayes-dev, but got the address wrong... Mark ________________________________ From: spambayes-bounces+mhammond=keypoint.com.au at python.org [mailto:spambayes-bounces+mhammond=keypoint.com.au at python.org] On Behalf Of Mark Hammond Sent: Wednesday, 4 July 2007 11:26 PM To: 'David and Heather Bridson'; spambayes at python.org Cc: spambayes-dev at spambayes.org Subject: Re: [Spambayes] (no subject) It appears that a particular mail is malformed, and SpamBayes isn't robust enough. Looking inside the traceback, the code arond like 1371 of tokenize.py is: try: subjcharsetlist = email.Header.decode_header(x) except (binascii.Error, email.Errors.HeaderParseError): subjcharsetlist = [(x, 'invalid')] It looks like that except clause should be changed to include ValueError at least - eg: except (binascii.Error, email.Errors.HeaderParseError, ValueError): Could you please try that change and see if it goes away? I've also CCd spambayes-dev in the hope that someone there will offer some opinion if this is indeed a fix that should be checked in... Cheers, Mark -----Original Message----- From: spambayes-bounces+mhammond=keypoint.com.au at python.org [mailto:spambayes-bounces+mhammond=keypoint.com.au at python.org]On Behalf Of David and Heather Bridson Sent: Wednesday, 4 July 2007 6:18 AM To: spambayes at python.org Subject: [Spambayes] (no subject) Dear Spambayes I am using Windows XP Pro SP-2 My version of SpamBayes is: SpamBayes 1.0.4 The key error seems to be: Hope you can untangle this. Bye for now David Bridson Owls Barn Staithe Farm Langley Street Loddon Norfolk NR14 6AD Phone 01508 522 106 Mobile 07824 548 310 From skip at pobox.com Sat Aug 4 00:47:09 2007 From: skip at pobox.com (skip at pobox.com) Date: Fri, 3 Aug 2007 17:47:09 -0500 Subject: [spambayes-dev] FW: [Spambayes] (no subject) In-Reply-To: <8EAFFDDE9BE27F4C8B1A3022FEAA63823CCE74@hal.enfoldsystems.local> References: <8EAFFDDE9BE27F4C8B1A3022FEAA63823CCE74@hal.enfoldsystems.local> Message-ID: <18099.45165.73518.591764@montanaro.dyndns.org> Mark> It appears that a particular mail is malformed, and SpamBayes Mark> isn't robust enough. Mark> Looking inside the traceback, the code arond like 1371 of Mark> tokenize.py is: Mark> try: Mark> subjcharsetlist = email.Header.decode_header(x) Mark> except (binascii.Error, email.Errors.HeaderParseError): Mark> subjcharsetlist = [(x, 'invalid')] Mark> It looks like that except clause should be changed to include Mark> ValueError at least - eg: Mark> except (binascii.Error, email.Errors.HeaderParseError, Mark> ValueError): Mark> Could you please try that change and see if it goes away? I've Mark> also CCd spambayes-dev in the hope that someone there will offer Mark> some opinion if this is indeed a fix that should be checked in... I went ahead and checked it in. ;-) Skip From maspiers at gmail.com Wed Aug 15 14:48:07 2007 From: maspiers at gmail.com (Martin Spiers) Date: Wed, 15 Aug 2007 13:48:07 +0100 Subject: [spambayes-dev] FAQ 5.8 After installing SpamBayes, Outlook crashes and then asks for the plug-in to be disabled. Message-ID: <000001c7df3a$88df47e0$6601a8c0@SPIERSLTV> I recently experienced this problem after reformatting my laptop. The suggestion in the FAQ appears to have solved this problem despite the lack of an Athlon 64. I suggest the FAQ entry should be more generalised. From mhammond at skippinet.com.au Wed Aug 15 17:14:05 2007 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed, 15 Aug 2007 10:14:05 -0500 Subject: [spambayes-dev] FAQ 5.8 After installing SpamBayes, Outlook crashes and then asks for the plug-in to be disabled. In-Reply-To: <000001c7df3a$88df47e0$6601a8c0@SPIERSLTV> References: <000001c7df3a$88df47e0$6601a8c0@SPIERSLTV> Message-ID: <075f01c7df4e$eb5e2fd0$6c01a8c0@bobcat> Thanks Martin, I'd be interested to know if the installer at http://starship.python.net/crew/mhammond/spambayes-1.1a4.exe has the same DEP issue - I kinda suspect it may have gone away recently due to a change in pywin32 - but sadly I'm far from sure about that... Cheers, Mark > -----Original Message----- > From: spambayes-dev-bounces at python.org > [mailto:spambayes-dev-bounces at python.org] On Behalf Of Martin Spiers > Sent: Wednesday, 15 August 2007 7:48 AM > To: spambayes-dev at python.org > Subject: [spambayes-dev] FAQ 5.8 After installing > SpamBayes,Outlook crashes and then asks for the plug-in to be > disabled. > > I recently experienced this problem after reformatting my > laptop. The suggestion in the FAQ appears to have solved this > problem despite the lack of an Athlon 64. I suggest the FAQ > entry should be more generalised. > > > _______________________________________________ > spambayes-dev mailing list > spambayes-dev at python.org > http://mail.python.org/mailman/listinfo/spambayes-dev > From amedee at amedee.be Tue Aug 21 19:28:01 2007 From: amedee at amedee.be (Amedee Van Gasse) Date: Tue, 21 Aug 2007 19:28:01 +0200 Subject: [spambayes-dev] [Spambayes] removal In-Reply-To: <114793.92018.qm@web83705.mail.sp1.yahoo.com> References: <114793.92018.qm@web83705.mail.sp1.yahoo.com> Message-ID: <1187717281.9821.49.camel@saruman> Op dinsdag 21-08-2007 om 08:38 uur [tijdzone -0700], schreef cindy lucas: > please remove me from your list > _______________________________________________ > SpamBayes at python.org > http://mail.python.org/mailman/listinfo/spambayes > Check the FAQ before asking: http://spambayes.sf.net/faq.html A request for the SpamBayes developers: could you please add a FAQ entry that explains how to subscribe, but more important: how to UNsubscribe from the mailing list? I am subscribed to a lot of mailman mailing lists, and the last few days or weeks there was a lot of noise on those lists about people who wanted to unsubscribe. Because of some unexplainable reason, people don't scroll to the bottom of the listinfo page. On one list, they changed the mailinglist footer. I would suggest: SpamBayes at python.org Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.htm People really need to be informed that they can unsubscribe themselves, but only if they follow the correct procedures. -- Amedee Van Gasse -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dit berichtdeel is digitaal ondertekend Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20070821/9b7c141c/attachment.pgp From mhammond at skippinet.com.au Wed Aug 22 01:02:59 2007 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed, 22 Aug 2007 09:02:59 +1000 Subject: [spambayes-dev] [Spambayes] removal In-Reply-To: <1187717281.9821.49.camel@saruman> References: <114793.92018.qm@web83705.mail.sp1.yahoo.com> <1187717281.9821.49.camel@saruman> Message-ID: <012401c7e447$70d22660$52767320$@com.au> > Op dinsdag 21-08-2007 om 08:38 uur [tijdzone -0700], schreef cindy > lucas: > > please remove me from your list > > _______________________________________________ > > SpamBayes at python.org > > http://mail.python.org/mailman/listinfo/spambayes > > Check the FAQ before asking: http://spambayes.sf.net/faq.html > > A request for the SpamBayes developers: could you please add a FAQ > entry that explains how to subscribe, but more important: how to > UNsubscribe from the mailing list? Would it be possible for you to change the text and send us a patch? http://spambayes.svn.sourceforge.net/viewvc/*checkout*/spambayes/trunk/websi te/faq.txt > I am subscribed to a lot of mailman mailing lists, and the last few > days or weeks there was a lot of noise on those lists about people who > wanted to unsubscribe. Because of some unexplainable reason, people > don't scroll to the bottom of the listinfo page. > > > On one list, they changed the mailinglist footer. I would suggest: > > SpamBayes at python.org > Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes > Check the FAQ before asking: http://spambayes.sf.net/faq.htm OK, I've made that change, and I've also changed the message which is sent to new subscribers to have the last paragraph read: """ The spambayes at python.org mailing list formed in September 2002 to support development of the SpamBayes spam filtering system as an outgrowth of earlier threads on the Python developers' mailing list. You can subscribe and unsubscribe to the SpamBayes mailing list using the form at """ I added the words "and unsubscribe" there. Let me know if I screwed something up... Cheers, Mark From julius at szabo.cz Sat Aug 25 17:48:52 2007 From: julius at szabo.cz (szabo) Date: Sat, 25 Aug 2007 17:48:52 +0200 Subject: [spambayes-dev] Help Message-ID: <000001c7e72f$71469a00$ab1ba20a@Inerlogicpc> Dear friends, On Spam Bayes ( on Microsoft Outlook) I lost icon Junk mails Can you help me? Julius -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20070825/c70cc295/attachment.htm From skip at pobox.com Sat Aug 25 18:21:49 2007 From: skip at pobox.com (skip at pobox.com) Date: Sat, 25 Aug 2007 11:21:49 -0500 Subject: [spambayes-dev] Help In-Reply-To: <000001c7e72f$71469a00$ab1ba20a@Inerlogicpc> References: <000001c7e72f$71469a00$ab1ba20a@Inerlogicpc> Message-ID: <18128.22301.365348.900242@montanaro.dyndns.org> Julius> On Spam Bayes ( on Microsoft Outlook) I lost icon Junk mails Can Julius> you help me? Julius, Try sending your request to spambayes at python.org. There are a lot of people there who can help with common problems. (I'd help but I know next to nothing about the Outlook plugin.) -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From chinmayeevasisht at gmail.com Mon Aug 27 11:58:17 2007 From: chinmayeevasisht at gmail.com (Chinmayee Nagaraju) Date: Mon, 27 Aug 2007 15:28:17 +0530 Subject: [spambayes-dev] problem in "python setup.py build" Message-ID: Downloading http://cheeseshop.python.org/packages/2.3/s/setuptools/setuptools-0.6c5-py2.3.egg Traceback (most recent call last): File "setup.py", line 5, in ? import ez_setup; ez_setup.use_setuptools() File "/home/gayathris/Desktop/MySQL-python-1.2.2/ez_setup.py", line 83, in use_setuptools egg = download_setuptools(version, download_base, to_dir, download_delay) File "/home/gayathris/Desktop/MySQL-python-1.2.2/ez_setup.py", line 137, in download_setuptools src = urllib2.urlopen(url) File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen return _opener.open(url, data) File "/usr/lib/python2.3/urllib2.py", line 326, in open '_open', req) File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain result = func(*args) File "/usr/lib/python2.3/urllib2.py", line 901, in http_open return self.do_open(httplib.HTTP, req) File "/usr/lib/python2.3/urllib2.py", line 886, in do_open raise URLError(err) urllib2.URLError: this is the error 'm getting while trying to buil up python-MySQL. help me out From schmir at gmail.com Tue Aug 28 17:02:15 2007 From: schmir at gmail.com (Ralf Schmitt) Date: Tue, 28 Aug 2007 17:02:15 +0200 Subject: [spambayes-dev] standalone cdb module Message-ID: <932f8baf0708280802o3dbcad05p3ab661bc73c4b49e@mail.gmail.com> Hi all, I would like to release spambayes/cdb.py as a standalone python module. Do you have any objections or comments? Regards, - Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20070828/7b9f39ce/attachment.htm From skip at pobox.com Tue Aug 28 17:46:19 2007 From: skip at pobox.com (skip at pobox.com) Date: Tue, 28 Aug 2007 10:46:19 -0500 Subject: [spambayes-dev] standalone cdb module In-Reply-To: <932f8baf0708280802o3dbcad05p3ab661bc73c4b49e@mail.gmail.com> References: <932f8baf0708280802o3dbcad05p3ab661bc73c4b49e@mail.gmail.com> Message-ID: <18132.17227.936292.440182@montanaro.dyndns.org> Ralf> I would like to release spambayes/cdb.py as a standalone python Ralf> module. Do you have any objections or comments? No objections from me. You might check with Anthony Baxter. According to svn annotate he is the author. Skip