[spambayes-dev] Broken reference to oe_mailbox?

David Abrahams dave at boostpro.com
Sun Jan 25 02:41:00 CET 2009


on Sat Jan 24 2009, David Abrahams <dave-xT6NqnoQrPdWk0Htik3J/w-AT-public.gmane.org> wrote:

> $ sb_imapfilter.py
> opened existing cache with 238 A records and 0 PTR records
> Traceback (most recent call last):
>   File "/usr/local/bin/sb_imapfilter.py", line 5, in <module>
>     pkg_resources.run_script('spambayes==1.1b1', 'sb_imapfilter.py')
>   File "build/bdist.freebsd-6.2-RELEASE-amd64/egg/pkg_resources.py", line 448, in
> run_script
>   File "build/bdist.freebsd-6.2-RELEASE-amd64/egg/pkg_resources.py", line 1166, in
> run_script
>   File
> "/usr/local/lib/python2.5/site-packages/spambayes-1.1b1-py2.5.egg/EGG-INFO/scripts/sb_imapfilter.py",
> line 138, in <module>
>     from spambayes.UserInterface import UserInterfaceServer
>   File
> "/usr/local/lib/python2.5/site-packages/spambayes-1.1b1-py2.5.egg/spambayes/UserInterface.py",
> line 78, in <module>
>     from spambayes import oe_mailbox
>   File
> "/usr/local/lib/python2.5/site-packages/spambayes-1.1b1-py2.5.egg/spambayes/oe_mailbox.py",
> line 53, in <module>
>     from spambayes import oe_mailbox
> ImportError: cannot import name oe_mailbox

Looks to me like line 43 of oe_mailbox.py tries to load itself, and just
needs to be deleted.  

I'm very grateful for everything that the SpamBayes project has done for
me, but finding these two things today does make me wonder whether the
procedure for checkins and/or testing could be improved.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



More information about the spambayes-dev mailing list