[Pkg-mailman-hackers] Bug#443069: mailman: senddigests cron job: "TypeError: iso-8859-1"
Julian Mehnle
julian at mehnle.net
Tue Sep 18 15:23:42 UTC 2007
Joost van Baal wrote:
> FWIW, I've recently manually done:
>
> ln -s /usr/lib/mailman/pythonlib /var/lib/mailman/pythonlib
>
> after such a Mailman upgrade. It solved the shown errors from
> senddigests.
>
> Apparently, the postinst script fails to execute this under some
> circumstances.
Not only that, but on my system /var/lib/mailman/pythonlib is a (empty)
directory owned by the package "mailman"! Kind of difficult to place a
symlink there when there's already a real directory of the same name.
However if I remove the empty dir and replace it with a symlink as you
said, then it works:
| io:/usr/lib/mailman/cron> python
| Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
| [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import paths
| >>> import email
| >>> email.__version__
| '2.5.8'
| >>>
Thanks. So I guess this issue boils down to the mailman package needing to
install a symlink rather than a directory as /var/lib/mailman/pythonlib.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20070918/9327599d/attachment.pgp
More information about the Pkg-mailman-hackers
mailing list