[Mailman-Developers] 3.0.0b1 fails bootstrap.py on Mountain Lion
Richard Wackerbarth
richard at NFSNet.org
Fri Sep 7 14:13:50 CEST 2012
In response to an inquiry concerning just what I did to get MM3 built yesterday:
First, I note that I have chosen to create two separate virtual environments for the installation. One is "postorius" which has the web interface, and the other is "mailman" into which I install just the mail-handling part. I do this because these two components are logically separate and, by design, might be installed on separate host machines.
The mailman environment gets its sources from the lp:mailman repository. All of the other parts mentioned in the wiki installation guide go into the postorius environment.
The failure in the mailman installation (as of 6 Sep 2012) seems to result from a bad distribution package for z3c.recipe.tag, version 0.5.
After creating the mailman virtual environment, you can work around this by pre-installing this package before you run the (bootstrap/setup) for the mailman module.
Working in the virtual environment where you will install mailman:
First attempt to install z3c.recipe.tag
$ pip install z3c.recipe.tag
This will fail with a message like: (Note that I redacted part of the path. You should use the full path as reported on your own installation)
IOError: [Errno 2] No such file or directory: '/ ... /z3c.recipe.tag/CHANGES.txt'
Create that file
$ touch / ... /z3c.recipe.tag/CHANGES.txt
Now, try the installation again
$ pip install z3c.recipe.tag
This should succeed and you should then be able to complete the buildout of mailman.
Richard "Wacky" Wackerbarth
On Sep 6, 2012, at 10:38 PM, Barry Warsaw wrote:
> On Sep 06, 2012, at 10:23 PM, Richard Wackerbarth wrote:
>
>> I have 10.7 and, today, I had the same problem.
>>
>> Yesterday, I was able to set things up without any problems.
>>
>> I think that the difference is that z3c.recipe.tag has bumped the version
>> number to 0.5 but that the distribution is missing one of its files.
>
> Yep. I sent a message off to zope-dev (the maintainer address in the
> setup.py) and distutils-sig (where buildout folks hang out). I couldn't find
> a bug tracker for the package. Let's hope a new version gets uploaded soon.
>
>> By manually downloading the package, I was able to fake the missing
>> CHANGES.txt file and pre-install the module.
>
> Nice workaround, thanks!
More information about the Mailman-Developers
mailing list