Applying hotfix 20171128

On Ubuntu 14.04, Plone 5.0.7 and following directions on https://plone.org/security/hotfix/20171128 for an install via buildout (I've used buildout for years).

I got the message: Error: Couldn't find a distribution for 'Products.PloneHotfix20171128==1.0'

So as per instruction I added the following line to my [buildout] section:
index = https://pypi.python.org/simple/
(I wonder if I needed to comment out the line that I had there already: http://dist.plone.org/release/5.0.7/versions.cfg?)

I also updated setuptools to 38.2.3 and zc.buildout to 2.9.6.

I get the following error when attempting to run: sudo -u plone_buildout bin/buildout -Nv:
IOError: [Errno 2] No such file or directory: '/usr/local/Plone/zeocluster/index'

I feel like I'm doing some basic mistake... Any ideas please?

David

I don't see why you'd do this at the same time as the other... I wouldn't. Just add the index line and see what happens. Also, please post the full error stack.

Having some more distance from the effort, I noticed that the "index = ..." line was in the "extends =..." part of buildout, and not at the root level, so to say, of the [buildout] section. In other words I incorrectly had it like this:

[buildout]
extends =
    base.cfg
    http://dist.plone.org/release/5.0.7/versions.cfg
    index = https://pypi.python.org/simple/

but right now fixed it to this:

[buildout]
index = https://pypi.python.org/simple/
extends =
     base.cfg
     http://dist.plone.org/release/5.0.7/versions.cfg

The mistake seems so obvious now--guess I use buildout too rarely and only partly understand it.
Thanks @tkimnguyen for the prompt that got me to re-think what I did yesterday!

BTW I did the updating of setuptools and zc.buildout because I had spent a long time trying to problem solve and googling the error messages I got which had led me to pages where problems with versions of setuptools and zc.buildout were described. Also, on the install page, it mentions specific versions of these which were much newer than I had.

1 Like

I'm glad to hear you're using (or at least playing around with) Plone 5! It's been a while, David - you'll have to come to the next thing we organize in the area :slight_smile:

:slight_smile: been using it on my school site since 2016.
Wisconsin is the epicenter of my physical plone world!
PloneEdu in hiatus?

No one in the US seems interested in taking it up. There are a lot of universities using Plone outside North America but there too there isn't a lot of pan-education organization.