[Spambayes] SpamBayes 1.1a6 not working since upgrade Debian Lenny -> Squeeze (with Python 2.6.6)

skip at pobox.com skip at pobox.com
Wed Jun 15 22:37:17 CEST 2011


    Amedee> A couple of days ago I upgraded my server from Debian Lenny to
    Amedee> Debian Squeeze. Since then I'm seeing these lines in my
    Amedee> procmail.log:

    ...

    Amedee>     raise DistributionNotFound(req)
    Amedee> pkg_resources.DistributionNotFound: spambayes==1.1a6
    Amedee> procmail: Program failure (1) of "/usr/bin/sb_filter.py"
    Amedee> procmail: Rescue of unfiltered data succeeded

I have no direct experience with the pkg_resources module.

    Amedee> My best guess is that the Debian upgrade included an upgrade of
    Amedee> Python, and that this is related to the messages that I'm
    Amedee> seeing. This is my current version of Python:

1.1b1 is out:

    http://pypi.python.org/pypi/spambayes/

Is there a reason not to use that?

    Amedee> My questions are:
    Amedee> * is SpamBayes 1.1a6 compatible with Python 2.6.6?

I run SpamBayes from my sandbox with the bleeding edge of Python 2.7.  I
have no doubt it will work with Python 2.6.x.

    Amedee> * if yes: what is my next course of action to make it work again?

Convince the Debian folks to update their SpamBayes package perhaps?  (Or
update your installed package to what the Debian folks are distributing.)

    Amedee> * if no: how can I help? I have never written anything in Python
    Amedee> but how hard can it be?

Not hard, but this doesn't look like a coding problem to me.  It looks like
a packaging problem.  I suspect the Debian maintainers will be much more
helpful than I can be.

Skip


More information about the SpamBayes mailing list