[Spambayes] New web training interface for pop3proxy
Moore, Paul
Paul.Moore@atosorigin.com
Thu Nov 21 10:11:48 2002
(This is from memory, as it happened on my home setup and I'm at
work now, so I apologise if it's a bit vague).
From: Richie Hindle [mailto:richie@entrian.com]
> > It's locking up for me.
>
> Urk. That's bad (and new - no-one's reported that before). And this
> happened when you hit the Train button, yes?
Yes.
>
> > There are no messages in the command prompt window - is there any
> > way to get it to produce trace messages (looking at the code, the
> > answer seems to be "no"...)?
>
> It's "no". 8-) Like I say, no-one's reported it locking before, and
> I've never seen it. You usually get a traceback when something goes
> wrong. So your console says something like:
>
> Loading database... Done BayesProxyListener listening on port 110 .
> UserInterfaceListener listening on port 8880 .
>
> and nothing else, and the process is still running, but you can't
> get a page served to your browser? What error message do you get
> from the browser? If it's one of those pointless IE error pages,
> could you try telnetting to port 8880 and saying "GET / HTTP/1.0"?
> Can you even connect with telnet? How about port 110?
Exactly as you describe. The browser (IE6) just sits there, doing
nothing, with the training interface page still up. The progress
bar at the bottom of the screen is (hardly? not?) moving (can't
recall for sure if it changed, but it certainly didn't move far
in the few minutes I left it...) Basically the sort of behaviour I
get when IE is waiting for a response that never comes.
I can't do a telnet at the moment to check. Unfortunately, I may not
even be able to do one tonight, as I tried rebuilding the database to
see if that helped, and it did... I can't recall if I kept the old
database, or overwrote it :-(
> > Do I need to rebuild the database after upgrading? I didn't,
> > and the user interface said "Total emails trained: Spam: 0 Ham:
> > 0". This doesn't tally with reality - I'd trained on a batch of
> > messages (using hammie.py) before starting
>
> You shouldn't need to do anything, and even if you did I'd expect it
> to give an error rather than quietly failing. Are you using a pickle
> or a DBM? In fact, could you send me your bayescustomize.ini and/or
> details of the command line you're using (off-list if you prefer)?
It was a dbm file.
The command line was pop3proxy.py -d -l 8110 localhost
(proxying a local POP server on port 110 with the proxy on port 8110
using a DBM file). Working directory was the directory of the program.
No bayescustomize.ini file.
Sorry if this is a bit vague - it all happened late last night, after
a pretty hectic evening, so I wasn't in the best mood for debugging :-)
Paul.
More information about the Spambayes
mailing list