[spambayes-bugs] [ spambayes-Bugs-776874 ] Exception when saving options from pop3proxy

SourceForge.net noreply at sourceforge.net
Thu Jul 24 04:44:52 EDT 2003


Bugs item #776874, was opened at 2003-07-24 03:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
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?


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

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