[spambayes-dev] Error saving settings

Vibe Grevsen grevsen at gmail.com
Tue Nov 7 21:05:34 CET 2006


Hi,

here is something to look into.

When saving settings from the web interface I get the following error.
It appears the settings are actually saved. I haven't done any debugging on this yet.

FYI: WinXP, SpamBayes running from recent sources.
Problem did not appear in 1.0x.



Happy coding :)

Vibe
---
500 Server error
Traceback (most recent call last):

  File "C:\Programmer\Python25\lib\site-packages\spambayes\Dibbler.py", line 476, in found_terminator
    getattr(plugin, name)(**params)

  File "C:\Programmer\Python25\lib\site-packages\spambayes\UserInterface.py", line 884, in onChangeopts
    self.reReadOptions()

  File "C:\Programmer\Python25\lib\site-packages\spambayes\ProxyUI.py", line 782, in reReadOptions
    state = self.state_recreator()

  File "C:\spambayes\spambayes\scripts\sb_server.py", line 1007, in _recreateState
    prepare()

  File "C:\spambayes\spambayes\scripts\sb_server.py", line 1022, in prepare
    state.prepare(can_stop)

  File "C:\spambayes\spambayes\scripts\sb_server.py", line 822, in prepare
    self.createWorkers()

  File "C:\spambayes\spambayes\scripts\sb_server.py", line 889, in createWorkers
    self.stats = Stats.Stats(options, self.mdb)

  File "C:\Programmer\Python25\lib\site-packages\spambayes\Stats.py", line 60, in __init__
    self.from_date = self.messageinfo_db.get_statistics_start_date()

AttributeError: 'NoneType' object has no attribute 'get_statistics_start_date'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20061107/691fabbe/attachment.html 


More information about the spambayes-dev mailing list