[Spambayes] Re: Failure for two users
Skip Montanaro
skip at pobox.com
Sat Jul 12 16:53:50 EDT 2003
Van> After getting pop3proxy.py running on one machine successfully, I
Van> put it on another system. My installation was limited to copying
Van> the contents of the SpamBayes 1.0a4 zip over there and double
Van> clicking on pop3proxy.py.
Van> I had problems with the Review page for a few tries, it would mark
Van> messages as Spam, but nothing showed up to review until I shut the
Van> proxy down and restarted. After the first day, however, it has been
Van> stable. I was bragging on this to my friends on Noise Level Zero
Van> (the successor to the old BIX, if anyone remembers what that was),
Van> and another user grabbed the files and got the same results.
Van> Until this morning. Now the system won't run at all, his results
Van> are below. I note in the traceback a references to Unpickler and
Van> dumb.dbm, I thought both pickles and dumb.dbm were deprecated?
Well, deprecated in the sense that we are beginning to realize there is
probably a serious problem with dumbdbm. I think we may have to make the
code reject dumbdbm for new databases and support it for existing databases
only if the application is started with a command line flag to force it. I
strongly suggest you get ahold of bsddb3 (aka PyBSDDB) and install it, then
ditch dumbdbm.
Skip
Van> C:\Program Files\spambayes>pop3proxy
Van> SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003),
Van> using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02
Van> and engine SpamBayes Beta2, version 0.2 (July 2003).
Van> Loading database...
Van> Traceback (most recent call last):
Van> File "C:\Program Files\spambayes\pop3proxy.py", line 786, in ?
Van> run()
Van> File "C:\Program Files\spambayes\pop3proxy.py", line 761, in run
Van> state.createWorkers()
Van> File "C:\Program Files\spambayes\pop3proxy.py", line 603, in
Van> createWorkers
Van> self.bayes = storage.DBDictClassifier(filename)
Van> File "C:\Program Files\spambayes\spambayes\storage.py", line 147, in
Van> __init__
Van> self.load()
Van> File "C:\Program Files\spambayes\spambayes\storage.py", line 159, in
Van> load
Van> t = self.db[self.statekey]
Van> File "C:\Python22\lib\shelve.py", line 71, in __getitem__
Van> return Unpickler(f).load()
Van> EOFError
Van> Exception exceptions.AttributeError: "'NoneType' object has no attribute
Van> 'error'
Van> " in <bound method _Database.__del__ of <dumbdbm._Database instance at
Van> 0x008D6AC
0> ignored
Van> --
Van> ----------------------------------------------------------
Van> Sign up now for Quotes of the Day, a handful of quotations
Van> on a theme delivered every morning.
Van> Enlightenment! Daily, for free!
Van> mailto:twisted at whidbey.com?subject=Subscribe_QOTD
Van> For web hosting and maintenance,
Van> visit Van's home page: http://www.domainvanhorn.com/van/
Van> ----------------------------------------------------------
More information about the Spambayes
mailing list