Buildout problem add-on e.g. PloneFormGen in Plone 4.0.1 and 4.3.7

Hi,

I'm trying to install new eggs on Plone 4.0.1 as well as Plone 4.3.7

Added to the eggs = Plone ... ProductsPloneFormGen

Result:
Couldn't find index page for 'Products.PloneFormGen' (maybe misspelled?)
Getting distribution for 'Products.PloneFormGen'.

Tried in 4.0.1 also: collective.ckeditor

Same result.

Added in 4.0.1 in base.cfg to find-links the pypi path. No result although find-links is not overwritten in another cfg.

I hoped buildout is with Unified Installer out-of-the-box, but it does not seem so.
Couldn't find helpful information in plone documentation and througout the web.

Regards, FL

Please see Buildout not working / Couldn't find index page for / Couldn't find a distribution / Disabling non HTTPS access to APIs on PyPI for the solution.

Thanks. This discussion is very helpful but sometimes a lot of confusion.

Summarizing one should add in the buildout config file to the section

[buildout]

index = https://pypi.python.org/simple

This I have tested for Plone 4.0.1 and 4.3.14
In both cases it works. There are only some warnings which are not so clear for me:

For 4.3.14 the installation came up with following warning:

Installing instance.
/usr/local/Plone4/buildout-cache/eggs/setuptools-27.3.0-py2.7.egg/pkg_resources/init.py:188: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1,

Maybe someone have a hint for me.

Details about the addon-Products I will not discuss in this theme group.

Regards, FL

1 Like

TL;DR: just ignore those warnings.

if you want to know the origin and cause read these:

I used the Plone-5.0.8-UnifiedInstaller-r1.tgz to install Plone on Debian 8.7.1. It was O.K. then. When I tried to add Products.PloneFormGen add-on to it I added the line
index = https://pypi.python.org/simple
in the [buildout] section in addition to putting the below line
Products.PloneFormGen
in the eggs =
part, I got the following error messages:

Download error on https://pypi.python.org/simple/Products.PloneFormGen/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
Couldn't find index page for 'Products.PloneFormGen' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
Getting distribution for 'Products.PloneFormGen'.
Couldn't find index page for 'Products.PloneFormGen' (maybe misspelled?)
While:
Installing instance.
Getting distribution for 'Products.PloneFormGen'.
Error: Couldn't find a distribution for 'Products.PloneFormGen'.

Please can anyone give me insights to this.

Regards,
premch

Sometimes retrying a bit later works. You have the index = https://pypi.python.org/simple line which works around the recent issue with pypi.

Thanks to tkimnguyen. I will retry and report later on.

Regards,
premch

Dear tkimnguyen, I have found out that we installed Plone on the cloud with Linux/Debian 8.7.1. When we used ssh command to go to the cloud's plone site to run the bin/buildout command with the Products.PloneFormGen add-on information added to the buildout.cfg file the messages indicated that the https://pypi.python.org/simple required certificate. With some search I found that I had to install the certificate with the command:
pip install certifi
With this information and a little bit works, finally I could install the Products.PloneFormGen add-on. Thanks for giving me some guideline. Sorry, for it took quite some times.