text_combined: sourceforgenet uiaregisourceforgenet patches item 1707814 opened 20070425 2231 message generated change settings changed made david_abrahams respond visiting httpssourceforgenettrackerfuncdetailatid498105aid1707814group_id61702 please note message contain full copy comment thread including initial issue submission request latest update category none group none status open resolution none priority 5 private submitted david abrahams david_abrahams assigned tony meyer anadelonbrin summary resilient parsing sb_imapfilter initial comment 31 january 2006 posted problem came trying training sb_imapfilter latest cvs loading state usrhomedavehammienewdb database usrhomedavehammienewdb new database loading database usrhomedavehammienewdb done account wwwstlportcom993 training training ham folder hambox traceback recent call last file usrhomedavesrcspambayesscriptssb_imapfilterpy line 1283 run file usrhomedavesrcspambayesscriptssb_imapfilterpy line 1261 run imap_filtertrain file usrhomedavesrcspambayesscriptssb_imapfilterpy line 1004 train num_trained foldertrainselfclassifier is_spam file usrhomedavesrcspambayesscriptssb_imapfilterpy line 888 train msg self file usrhomedavesrcspambayesscriptssb_imapfilterpy line 799 __iter__ yield selfkey file usrhomedavesrcspambayesscriptssb_imapfilterpy line 831 __getitem__ data selfimap_serverextract_fetch_dataresponse_data file usrhomedavesrcspambayesscriptssb_imapfilterpy line 455 extract_fetch_data msg_data self_extract_fetch_datamsg file usrhomedavesrcspambayesscriptssb_imapfilterpy line 428 _extract_fetch_data raise badimapresponseerrorfetch response response __main__badimapresponseerror command fetch response failed give ok response uid 1967 decided last week try debug little bit know almost nothing workings imap problem appears sb_imapfilter isnt accounting responses like one 6 body 3130 returnpath mailerdaemonabout 3000 characters snipped uid 6 particular last fragment sb_imapfilter gets upset dont know whether real bug whatever gets passed sb_imapfilter used server attribute whether look carefully response data structure passed back server object sb_imapfilter youll see parenthesization original text coming back real imap server ie computer violated data structure leads believe problem might whatever parsing response data structure server object presume although im sure actually supposed case hard say following patch given scant knowledge almost certainly wrong makes problem disappear respond visiting httpssourceforgenettrackerfuncdetailatid498105aid1707814group_id61702 tue 05 aug 2008 163923 0700 spambayespatches1707814 resilient parsing sb_imapfilter