[Spambayes] Help! Can't install 1.0a7, blew up previous install of a6

Tom Peters tpeters at mixcom.com
Mon Nov 24 14:07:44 EST 2003


I thought I was following the install instructions for spambayes correctly, 
but they are a little too vaguely worded for me I guess. Now I'm blown up 
and dead in the water.

Can I unzip into the final location where it will be executed from 
forevermore?

I download to D:\download2, and then in this case unzipped Spambayes to 
D:\Programs\Spambayes1.0a7 and then proceded to run the setup.py install 
script right there.

I had 1.0a6 pop3proxy working just perfect. Downloaded 1.0a7. Unzipped it 
into D:\programs\Spambayes
Could not get that to work. Many errors- the pop3proxy service wouldn't start:
         The SpamBayes Service service is starting.
         The SpamBayes Service service could not be started.
         A service specific error occurred: 1.
and other problems.

So I started over, this time paying much closer attention to what I was 
doing and installing into a slightly different directory.
The first step I did executed without error:
         D:\Programs\spambayes-1.0a7>python setup.py install
         running install
         running build
         ...
         copying build\scripts-2.3\sb_chkopts.py -> D:\programs\python\Scripts
         copying build\scripts-2.3\pop3proxy_tray.py -> 
D:\programs\python\Scripts

But the next thing I did blew up:
D:\Programs\spambayes-1.0a7>python scripts/sb_server.py -b
Traceback (most recent call last):
   File "scripts/sb_server.py", line 100, in ?
     import spambayes.message
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\message.py", line 
198, in ?
     msginfoDB = MessageInfoDB(message_info_db_name)
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\message.py", line 
162, in __init__
     self.load()
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\message.py", line 
166, in  load
     self.dbm = dbmstorage.open(self.db_name, self.mode)
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\dbmstorage.py", 
line 60, in open
     return f(db_name, mode)
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\dbmstorage.py", 
line 38, in open_best
     return f(*args)
   File "D:\PROGRAMS\PYTHON\Lib\site-packages\spambayes\dbmstorage.py", 
line 20,
in open_dbhash
     return bsddb.hashopen(*args)
   File "D:\PROGRAMS\PYTHON\lib\bsddb\__init__.py", line 162, in hashopen
     d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBNoSuchFileError: (2, 'No such file or directory')
Exception exceptions.AttributeError: "'MessageInfoDB' object has no 
attribute 'db'" in <bound method MessageInfoDB.__del__ of 
<spambayes.message.MessageInfoDB object at 0x00A57590>> ignored

So just for kicks I tried this too:

D:\Programs\spambayes-1.0a7>python windows\pop3proxy_service.py install
Traceback (most recent call last):
   File "windows\pop3proxy_service.py", line 82, in ?
     import sb_server
   File "D:\Programs\spambayes-1.0a7\scripts\sb_server.py", line 100, in ?
     import spambayes.message
   File "D:\Programs\spambayes-1.0a7\spambayes\message.py", line 198, in ?
     msginfoDB = MessageInfoDB(message_info_db_name)
   File "D:\Programs\spambayes-1.0a7\spambayes\message.py", line 162, in 
__init__

     self.load()
   File "D:\Programs\spambayes-1.0a7\spambayes\message.py", line 166, in load
     self.dbm = dbmstorage.open(self.db_name, self.mode)
   File "D:\Programs\spambayes-1.0a7\spambayes\dbmstorage.py", line 60, in open
     return f(db_name, mode)
   File "D:\Programs\spambayes-1.0a7\spambayes\dbmstorage.py", line 38, in 
open_best
     return f(*args)
   File "D:\Programs\spambayes-1.0a7\spambayes\dbmstorage.py", line 20, in 
open_dbhash
     return bsddb.hashopen(*args)
   File "D:\PROGRAMS\PYTHON\lib\bsddb\__init__.py", line 162, in hashopen
     d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBNoSuchFileError: (2, 'No such file or directory')
Exception exceptions.AttributeError: "'MessageInfoDB' object has no 
attribute 'db'" in <bound method MessageInfoDB.__del__ of 
<spambayes.message.MessageInfoDB object at 0x009EF430>> ignored

And of course the pop3proxy service still won't start (same error).



--... ...--  -.. .  -. ----. --.- --.- -...
tpeters at nospam.mixcom.com (internet)  remove "nospam." N9QQB (ham)
"HEY YOU" (loud shouting)  WEB ADDRESS http//www.mixweb.com/tpeters
43 7' 17.2" N, by 88¸ 6' 28.9" W,  Elevation 815',  Grid Square EN53wc
WAN/LAN/Telcom Analyst, Tech Writer, MCP, Cisco Certified CCNA







More information about the Spambayes mailing list