[Mailman-Users] us-ascii problem with new install in Ubuntu (SOLVED)
msapiro at value.net
Wed Jan 10 18:27:23 CET 2007
In an off-list exchange regarding an issue previously posted at
we may have arrived at a solution/work-around.
It seems that the basic issue is that the Mailman installation in some
Ubuntu distributions is missing the pythonlib/ directory containing
the appropriate Python email library. This is intentional on Ubuntu's
part. It is a 'bug fix'.
In the off-list exchangeI suggested to Rich:
>If you wanted to try doing something with this by hand, you could
>unpack the email-2.5.7.gz file from the misc directory in the Mailman
>2.1.8 distribution. Then, create pythonlib/ in Mailman's installed
>prefix directory (probably create /var/lib/mailman/pythonlib/) and
>move the email/ directory from the unpacked email-2.5.7/ directory to
>Then you will also have to find the installed paths.py files in
>Mailman's bin/, cron/ and tests/ directories (although tests/ is not
>important unless you actually want to run unit tests). This file
># Hack the path to include the parent directory of the $prefix/Mailman package
># We also need the pythonlib directory on the path to pick up any overrides of
># standard modules and packages. Note that these must go at the front of the
># path for this reason.
>sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
>Yours is probably missing the pythonlib part which should be inserted.
>I don't know if this will fix the problem or not, but you can try.
And Rich replied:
>My mailman's paths.py still had the code, so they didn't modify the
>2.1.8 release I guess, just left out the email stuff. I just unzipped
>the email tar, and created the pythonlib dir, and moved the email subdir
>into that dir, and everything worked!
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users