[spambayes-bugs] [ spambayes-Support Requests-1772125 ] asynchat.pyc|handle_read|88 error

SourceForge.net noreply at sourceforge.net
Thu Aug 16 16:59:10 CEST 2007


Support Requests item #1772125, was opened at 2007-08-11 18:33
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1772125&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Mosman (mosman2088)
Assigned to: Nobody/Anonymous (nobody)
Summary: asynchat.pyc|handle_read|88 error

Initial Comment:
I use Outlook Express 6 and Spambayes 1.0.4 with Python 2.5.

Outlook 6 polls my email server and receives a list of messages, but then hangs on attempting to download the messages.

The log shows -

Service not available. Using thread.
Loading database... Listener on port 110 is proxying [My POP3 account]:110
User interface url is http://localhost:8880/
error: uncaptured python exception, closing channel <sb_server.ServerLineReader connected [My POP3 account]:110 at 0x12588f0> (socket.error:(10035, 'The socket operation could not complete without blocking') [asynchat.pyc|handle_read|88] [asyncore.pyc|recv|356])
error: uncaptured python exception, closing channel <sb_server.ServerLineReader connected [My POP3 account]:110 at 0x12589e0> (socket.error:(10035, 'The socket operation could not complete without blocking') [asynchat.pyc|handle_read|88] [asyncore.pyc|recv|356])

... and so on repeated each time the email client calls the POP3 server

The messages readily download using an account which substitutes the POP3 server address for spambayes' "localhost".

Having regard to earlier threads, I have cleaned out the mailbox leaving only 2 (spam) messages and the sourceforge.net account registration, each of 1Kb,  available for download on the server.  However the spambayes access still hangs.

I have replaced the pop3uidl.dbx file in an attempt to ensure it was not corrupt. (unlikely as other accounts are readily accessed)

This problem was notified twice before but without resolution - see [ 824589 ] sb_server.py doesn't recover after a 'connection timed out'
http://sourceforge.net/tracker/index.php?func=detail&aid=824589&group_id=61702&atid=498103

and

https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1235058&group_id=61702

Finally I have no difficulty accessing the account from another machine also running Outlook 6 and Spambayes 1.0 rc1



----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2007-08-17 00:59

Message:
Logged In: YES 
user_id=14198
Originator: NO

The latest installer is at
http://starship.python.net/crew/mhammond/spambayes-1.1a4-070629.exe and if
skip's lead about the new option doesn't help, I'd try rolling back to
python 2.4, just to see if it fixes anything.

----------------------------------------------------------------------

Comment By: Mosman (mosman2088)
Date: 2007-08-16 22:30

Message:
Logged In: YES 
user_id=1865284
Originator: YES

After failing to install 1.1a4, reinstalled 1.0.4, but with no success. 
IE6 correctly reports the number of messages on the server (eg, "receiving
message 1 of 31") but goes no further.  No messages appear in the
pop3proxy-... directories.  The ini file is -

[Headers]
notate_to:spam unsure
[Storage]
messageinfo_storage_file:g:\outlook express\spambayes.messageinfo.db
persistent_storage_file:g:\outlook express\hammie.db
cache_messages:True
[pop3proxy]
listen_ports:110
remote_servers:[my ISP provider]

The port and ISP server are those on which another OE6 account
successfully (without using localhost) downloads messages from the ISP. 
There are no delays or time-outs on the other account.

Spambayes is listed among authorised applications under firewall policy in
the local machine section of the registry (as C:\Program
Files\SpamBayes\bin\sb_tray.exe:*:Enabled:sb_tray) but not materially
elsewhere in the registry.

None of this appears to be any different from my other machines which are
successfully running spambayes (except that the python version now used on
this machine is 2.5 not 2.3) - which perplexes me!




----------------------------------------------------------------------

Comment By: Mosman (mosman2088)
Date: 2007-08-14 23:01

Message:
Logged In: YES 
user_id=1865284
Originator: YES

Incidentally
"http://starship.python.net/crew/mhammond/spambayes-1.1a4.exe" returns a
404 error and the file spambayes-1.1a4.exe isn't locatable on
http://starship.python.net/crew/mhammond/ - the link "The SpamBayes project
is at sourceforge <http://spambayes.sourceforge.net/>" only leads to
version 1.0.4 and a zip file for 1.1a4, which produced the installation
problem reported



----------------------------------------------------------------------

Comment By: Mosman (mosman2088)
Date: 2007-08-14 22:54

Message:
Logged In: YES 
user_id=1865284
Originator: YES

Uninstalling (to the point of manually removing all directories) and
reinstalling Spambayes 1.0.4 does not overcome the problem.  Installing
Spambayes 1.1a4 has not been possible - the installation hangs after
reporting that "user interface url is http://localhost:8880/" and "loading
database"; after 60 minutes traceback report is "'file
[...]/scripts/sb_server.py', line 1109, in <module> run<>; 'file
[...]/scripts/sb_server.py', line 1103, in run<start>; 'file
[...]/scripts/sb_server.py', line 1040, in start state.close<>; 'file
[...]/scripts/sb_server.py', line 789, in close assert self.prepared,
'closed without being prepared!" 

Re "the new retrieval_timeout in the 1.1 series," apart from the
circumstance that I can't install 1.1a4, the problem does not seem to be a
server timeout at the ISP level, as IE6 downloads messages using an account
constructed to access the server directly (ie bypassing spambayes, at the
cost of 100+ spam messages daily) with no delay at all; large files (10 mb
attachments are not uncommon) cause it no problem and have caused spambayes
no problem in the past.

The proxy cache directories (under C:\Documents and
Settings\{user}\Application Data\SpamBayes\Proxy\) have collected some but
not all of the messages on the server, received after the problem to which
this thread is directed manifested itself.  Unfortunately I cleared the
server and the cache directories before recording them for comparison.

Should I go back to 1.0.4?  What do I have to delete from the disk and the
registry to get a clean install?

Thanks for your help!

----------------------------------------------------------------------

Comment By: Skip Montanaro (montanaro)
Date: 2007-08-11 21:17

Message:
Logged In: YES 
user_id=44345
Originator: NO

Also, note the new retrieval_timeout in the 1.1 series.  Read through the
comments for 1235058.

Skip


----------------------------------------------------------------------

Comment By: Skip Montanaro (montanaro)
Date: 2007-08-11 21:11

Message:
Logged In: YES 
user_id=44345
Originator: NO

Can you try downloading and installing the 1.1a4 installer?  It's
available at

    http://starship.python.net/crew/mhammond/spambayes-1.1a4.exe

A lot of bugs have been fixed since 1.0.4.

Thx,

Skip Montanaro


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1772125&group_id=61702


More information about the Spambayes-bugs mailing list