[Spambayes] Trying spambayes-1.0a7

Remi Ricard Remi.Ricard at simlog.com
Wed Nov 5 16:17:53 EST 2003


Hi,

This is the error message I get when I try to save the configuration in 
the web ui

What I did is:
1- Download spambayes-1.0a7.zip
2- unzip it
3- Go to spambayes-1.0a6 directory
4- setup.py install
5- Go to c:/my_python_script_dir_where_the_spambayes_script_are_copied
6- Start sb_server -b
7- Go to the web interface
8- Add the pop server
pop1.test.ca,pop2.test.ca,pop3,test,ca  (I added real name)
9- Add the port
6110,6111,6112
10- Push the "Save" button
Then bang this error


      500 Server error

Traceback (most recent call last):

  File "c:\Devtools\spambayes\spambayes\spambayes\Dibbler.py", line 453, in found_terminator
    getattr(plugin, name)(**params)

  File "c:\Devtools\spambayes\spambayes\spambayes\UserInterface.py", line 684, in onChangeopts
    self.reReadOptions()

  File "c:\Devtools\spambayes\spambayes\spambayes\ProxyUI.py", line 530, in reReadOptions
    state = self.state_recreator()

  File "C:\Devtools\Python\PYTHON~1.2\Scripts\SB_SER~1.PY", line 736, in _recreateState
    prepare(state)

  File "C:\Devtools\Python\PYTHON~1.2\Scripts\SB_SER~1.PY", line 752, in prepare
    state.createWorkers()

  File "C:\Devtools\Python\PYTHON~1.2\Scripts\SB_SER~1.PY", line 623, in createWorkers
    self.bayes = storage.open_storage(filename, self.useDB)

  File "c:\Devtools\spambayes\spambayes\spambayes\storage.py", line 677, in open_storage
    return klass(data_source_name)

  File "c:\Devtools\spambayes\spambayes\spambayes\storage.py", line 162, in __init__
    self.load()

  File "c:\Devtools\spambayes\spambayes\spambayes\storage.py", line 187, in load
    self.dbm = dbmstorage.open(self.db_name, self.mode)

  File "c:\Devtools\spambayes\spambayes\spambayes\dbmstorage.py", line 60, in open
    return f(db_name, mode)

  File "c:\Devtools\spambayes\spambayes\spambayes\dbmstorage.py", line 20, in open_dbhash
    return bsddb.hashopen(*args)

error: (22, 'Invalid argument')


Remi






More information about the Spambayes mailing list