[Mailman-Developers] Trying out mailman3 (docker recipe fails)

Andrew McN andrew at mcnaughty.com
Tue Mar 7 01:40:18 EST 2017


A community I'm part of is looking for a new mailing list solution, and
I thought I'd look at where mailman 3 is up to these days.  In the
process I found that the instructions for firing up mailman 3.0 in
docker aren't currently working.

I followed the recipe at:

https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile

But it seems that it doesn't currently work.  Error messages are as
follow.  There were earlier warnings about missing files, but the build
seemed happy to ignore those.

> Getting distribution for 'postorius==1.0.3'.
> no previously-included directories found matching
'src/postorius/doc/_build'
> zip_safe flag not set; analyzing archive contents...
> postorius.doc.conf: module references __file__
> postorius.tests.__init__: module references __file__
> While:
>   Installing mailman-web.
>   Getting distribution for 'postorius==1.0.3'.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/zc/buildout/buildout.py",
> line 1982, in main
>     getattr(buildout, command)(args)
>   File "/usr/local/lib/python2.7/dist-packages/zc/buildout/buildout.py",
> line 668, in install
>     installed_files = self[part]._call(recipe.install)
>   File "/usr/local/lib/python2.7/dist-packages/zc/buildout/buildout.py",
> line 1419, in _call
>     return f()
>   File
>
"/mailman3/mailman-bundler/eggs/djangorecipe-2.2.1-py2.7.egg/djangorecipe/recipe.py",
> line 82, in install
>     ws = self.egg.working_set(['djangorecipe'])[1]
>   File
>
"/mailman3/mailman-bundler/eggs/zc.recipe.egg-2.0.3-py2.7.egg/zc/recipe/egg/egg.py",
> line 84, in working_set
>     allow_hosts=self.allow_hosts)
>   File
> "/usr/local/lib/python2.7/dist-packages/zc/buildout/easy_install.py",
> line 913, in install
>     return installer.install(specs, working_set)
>   File
> "/usr/local/lib/python2.7/dist-packages/zc/buildout/easy_install.py",
> line 665, in install
>     for dist in self._get_dist(requirement, ws):
>   File
> "/usr/local/lib/python2.7/dist-packages/zc/buildout/easy_install.py",
> line 563, in _get_dist
>     dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
>   File
> "/usr/local/lib/python2.7/dist-packages/zc/buildout/easy_install.py",
> line 1730, in _move_to_eggs_dir_and_compile
>     assert newdist is not None  # newloc above is missing our dist?!
> AssertionError

Can someone help me identify the problem here?

Alternatively, is there a better way for me to review where things are
up to, and what the interface is like?  I'll probably be approaching
this as a sysadmin before long, but just now I'm looking for a
list-admin and user perspective.

When I get to hosting seriously, Docker is preferred.  The environments
I'm working in are moving towards Docker/kubernetes.

Regards,
Andrew



More information about the Mailman-Developers mailing list