In an off-list exchange regarding an issue previously posted at <http://mail.python.org/pipermail/mailman-users/2006-November/054246.html> and <http://mail.python.org/pipermail/mailman-users/2006-November/054568.html>, 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 >pythonlib/. > >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 >normally contains: > ># Hack the path to include the parent directory of the $prefix/Mailman package ># directory. >sys.path.insert(0, prefix) > ># 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 <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
