[spambayes-bugs] [ spambayes-Bugs-776874 ] Exception when saving
options from pop3proxy
SourceForge.net
noreply at sourceforge.net
Thu Jul 24 14:00:03 EDT 2003
Bugs item #776874, was opened at 2003-07-24 03:44
Message generated for change (Comment added) made by davidhandy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702
Category: pop3proxy
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David R. Handy (davidhandy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Exception when saving options from pop3proxy
Initial Comment:
Since I upgraded from spambayes 1.0a2 to 1.0a4
recently, I have been unable to change options from the
pop3proxy web interface. When I hit the same button on
the Configure page I get the following exception:
-----------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py",
line 398,
in found_terminator
getattr(plugin, name)(**params)
File
"/usr/local/lib/python2.2/site-packages/spambayes/UserInterface.py",
line
525, in onChangeopts
self.reReadOptions()
File
"/usr/local/lib/python2.2/site-packages/spambayes/ProxyUI.py",
line 484,
in reReadOptions
state = self.state_recreator()
File "/usr/local/bin/pop3proxy.py", line 693, in
_recreateState
state.createWorkers()
File "/usr/local/bin/pop3proxy.py", line 595, in
createWorkers
self.bayes = storage.DBDictClassifier(filename)
File
"/usr/local/lib/python2.2/site-packages/spambayes/storage.py",
line 147,
in __init__
self.load()
File
"/usr/local/lib/python2.2/site-packages/spambayes/storage.py",
line 155,
in load
self.dbm = dbmstorage.open(self.db_name, self.mode)
File
"/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py",
line 59
, in open
return f(*args)
File
"/usr/local/lib/python2.2/site-packages/spambayes/dbmstorage.py",
line 23
, in open_gdbm
return gdbm.open(*args)
error: (11, 'Resource temporarily unavailable')
-------------------------
The line numbers pop3proxy.py may be high by two or
three because I added some print statements trying to
debug this. The print statements show that the file
that it is attempting to open is hammie.db, the
classfier database.
I am running pop3proxy on RedHat 8.0. as my user. The
file permissions show that hammie.db is writable by me,
etc. I explicity configured spambayes to use the gdbm
database instead of the default - is that part of the
problem?
----------------------------------------------------------------------
>Comment By: David R. Handy (davidhandy)
Date: 2003-07-24 13:00
Message:
Logged In: YES
user_id=171902
Workaround:
I downloaded, compiled, and installed the bsddb3 module so
that I could use the db3hash storage type. After switching
my storage type to db3hash this problem went away.
This might indicate a problem with gdbm. I won't use it any
more if I can avoid it.
----------------------------------------------------------------------
Comment By: David R. Handy (davidhandy)
Date: 2003-07-24 04:00
Message:
Logged In: YES
user_id=171902
I checked and it turns out that when I set dbm_type:best
that it naturally chooses gdbm anyway - I apparently don't
have bsddb3 or bsddb available to me as storage types.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=776874&group_id=61702
More information about the Spambayes-bugs
mailing list