[Spambayes] Error running pop3proxy.py

Stephen Boulet stephen at theboulets.net
Mon Sep 8 02:04:16 EDT 2003


Thanks. That did it. 

There is another error. When I go to the configuration page and try to set, 
say, the spamminess cutoff to 0.8 (or change anything else there), I get the 
following error. After that, I need to restart the proxy to get it to work 
again, although the changes will have been saved.

Error:

500 Server error

Traceback (most recent call last):

  File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 453, in 
found_terminator
    getattr(plugin, name)(**params)

  File "/usr/lib/python2.2/site-packages/spambayes/UserInterface.py", line 
688, in onChangeopts
    self.reReadOptions()

  File "/usr/lib/python2.2/site-packages/spambayes/ProxyUI.py", line 517, in 
reReadOptions
    state = self.state_recreator()

  File "/usr/bin/pop3proxy.py", line 721, in _recreateState
    prepare(state)

  File "/usr/bin/pop3proxy.py", line 737, in prepare
    state.createWorkers()

  File "/usr/bin/pop3proxy.py", line 618, in createWorkers
    self.bayes = storage.open_storage(filename, self.useDB)

  File "/usr/lib/python2.2/site-packages/spambayes/storage.py", line 647, in 
open_storage
    return klass(data_source_name)

  File "/usr/lib/python2.2/site-packages/spambayes/storage.py", line 157, in 
__init__
    self.load()

  File "/usr/lib/python2.2/site-packages/spambayes/storage.py", line 165, in 
load
    self.dbm = dbmstorage.open(self.db_name, self.mode)

  File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 53, in 
open
    return f(*args)

  File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 36, in 
open_best
    return f(*args)

  File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 23, in 
open_gdbm
    return gdbm.open(*args)

error: (11, 'Resource temporarily unavailable')


On Sunday 07 September 2003 11:07 pm, Lanny Trager wrote:
> Stephen,
>
> In your earlier e-mail you said that you were running the command:
> pop3proxy.py -u 1110
>
> If that was indeed the command that you were running, it was changing the
> port that you needed to point your browser to, nothing more, nothing less.
>
> Try this, change the name of your "bayescustomize.ini" to
> "bayescustomize.bak" or anything but its real name so that SpamBayes
> doesn't see it.
>
> Then run "pop3proxy.py -b" -(or "python pop3proxy.py -b" if your setup is
> happier with that) just that with no other flags.  Then use the web
> interface to set the configuration.
>
> After you have set the configuration and saved it, your new
> "bayescustomize.ini" should look something like this:
>
> [html_ui]
> display_to:True
> [pop3proxy]
> listen_ports:1110
> remote_servers:pop.your_pop_server.net
> add_mailid_to:header
> [smtpproxy]
> listen_ports:1120
> remote_servers:mail.your_smtp_server.net
>
> Let me know if that helps.
>
> Lanny




More information about the Spambayes mailing list