[Spambayes] Error running pop3proxy.py

Stephen Boulet stephen at theboulets.net
Sun Sep 7 10:54:15 EDT 2003


After further experimenting, I found it works if I deleted all of the 
spambayes related files from the directory from which I'm running the 
program: 

_pop3proxyham.mbox   bayescustomize.ini  pop3proxy-ham-cache/   
pop3proxy-unknown-cache/ _pop3proxyspam.mbox  hammie.db           
pop3proxy-spam-cache/  spambayes.messageinfo.db

I still have the problem of not being able to run as a user. Anyone know how 
to give myself permission? Here's the message (using v. 1.0a5):

Loading database...
Traceback (most recent call last):
  File "/usr/bin/pop3proxy.py", line 820, in ?
    run()
  File "/usr/bin/pop3proxy.py", line 814, in run
    start(state=state)
  File "/usr/bin/pop3proxy.py", line 752, in start
    main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
  File "/usr/bin/pop3proxy.py", line 729, in main
    _createProxies(servers, proxyPorts)
  File "/usr/bin/pop3proxy.py", line 707, in _createProxies
    listener = BayesProxyListener(server, serverPort, proxyPort)
  File "/usr/bin/pop3proxy.py", line 299, in __init__
    Dibbler.Listener.__init__(self, proxyPort, BayesProxy, proxyArgs)
  File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 267, in 
__init__
    self.bind(port)
  File "/usr/lib/python2.2/asyncore.py", line 312, in bind
    return self.socket.bind (addr)
socket.error: (13, 'Permission denied')


On Saturday 06 September 2003 09:42 am, stephen wrote:
> I'm getting this error running pop3proxy. Anyone know what could be causing
> it?
>
> $ pop3proxy.py -b
> Traceback (most recent call last):
>   File "/usr/bin/pop3proxy.py", line 97, in ?
>     import spambayes.message
>   File "/usr/lib/python2.2/site-packages/spambayes/message.py", line 137,
> in ?
>     msginfoDB = MessageInfoDB(message_info_db_name)
>   File "/usr/lib/python2.2/site-packages/spambayes/message.py", line 113,
> in __init__
>     self.dbm = dbmstorage.open(self.db_name, self.mode)
>   File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 59,
> in open
>     return f(*args)
>   File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 41,
> in open_best
>     return f(*args)
>   File "/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py", line 23,
> in open_gdbm
>     return gdbm.open(*args)
> gdbm.error: Bad magic number
>
> _________
> Stephen
>
> _______________________________________________
> Spambayes at python.org
> http://mail.python.org/mailman/listinfo/spambayes
> Check the FAQ before asking: http://spambayes.sf.net/faq.html

-- 
Stephen      
              From here to there
             and there to here,
           funny things are everywhere.  -- Dr Seuss





More information about the Spambayes mailing list