[spambayes-bugs] [ spambayes-Bugs-770793 ] Win98, database corrupts?

SourceForge.net noreply at sourceforge.net
Sun Jul 13 23:12:05 EDT 2003


Bugs item #770793, was opened at 2003-07-14 08:12
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=770793&group_id=61702

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lauri Harpf (theranger54)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win98, database corrupts?

Initial Comment:
Gives:

---
Loading database...
Traceback (most recent call last):
  File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", 
line 777, in ?
    run()
  File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", 
line 752, in run
    state.createWorkers()
  File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", 
line 594, in createWorkers
    self.bayes = storage.DBDictClassifier(filename)
  
File "c:\ohjelmatiedostot\spambayes\spambayes\storage.
py", line 147, in __init
__
    self.load()
  
File "c:\ohjelmatiedostot\spambayes\spambayes\storage.
py", line 159, in load
    t = self.db[self.statekey]
  File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", 
line 71, in __getitem__
    return Unpickler(f).load()
EOFError
Exception exceptions.AttributeError: "'NoneType' object 
has no attribute 'error'
" in <bound method _Database.__del__ of 
<dumbdbm._Database instance at 0x00ED936
0>> ignored
---

on startup. Worked fine, then I rebooted the machine 
(shut down Spambayes through the Web interface) and 
then it simply refused to boot up with the above 
message. Error seems permanent, unless user does 
something drastic (ie. destroys the database). I'm 
running Win98 Se, using pop3proxy with Outlook 6 SP1, 
starting the program with

c:\ohjelmatiedostot\python22\python.exe 
c:\ohjelmatiedostot\spambayes\pop3proxy.
py -b

Hard drive is a 80GB model, partitioned into one single 
partition using FAT32, 45,7GB still free. Spambayes 
version is 1.0 A4.

The same problem also occurred with Alpha 3, it refuses 
to start up with the message

---
Loading database...
Traceback (most recent call last):
  File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", 
line 730, in ?
    run()
  File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", 
line 705, in run
    state.createWorkers()
  File "c:\ohjelmatiedostot\spambayesbak\pop3proxy.py", 
line 547, in createWorke
rs
    self.bayes = storage.DBDictClassifier(filename)
  
File "C:\Ohjelmatiedostot\spambayes\spambayes\storage.
py", line 147, in __init
__
    self.load()
  
File "C:\Ohjelmatiedostot\spambayes\spambayes\storage.
py", line 159, in load
    t = self.db[self.statekey]
  File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", 
line 71, in __getitem__
    return Unpickler(f).load()
EOFError
Exception exceptions.AttributeError: "'NoneType' object 
has no attribute 'error'
" in <bound method _Database.__del__ of 
<dumbdbm._Database instance at 0x00ED1D7
0>> ignored
---

After a fresh install, the program usually works fine for a 
while. Every reboot does not appear to mix things up, it 
only seems to go bad after it has been running for a 
while and the user has classified enough messages. I run 
my comp mostly 24/7, so reboots are rare and 
Spambayes is usually running unless I need to boot.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=770793&group_id=61702



More information about the Spambayes-bugs mailing list