Buildout not working - comparing two threads

I'm starting this as a new thread - Found the following and I'm hoping its content can be simplified to WYSWYG - Buildout not working / Couldn't find index page for / Couldn't find a distribution / Disabling non HTTPS access to APIs on PyPI

In what files do you change http:// to http://

My previous thread that failed was

Oops: typo

The primary change is to add an index = https://pypi.python.org/simple definition to the buildout section of your buildout configuration (usually a good place is the file buildout.cfg; but other parts of your buildout configuration are candidates as well). This change allows buildout to access PyPI again.

Should bootstrap.py fail (because it can no longer access PyPI), then you make the http --> https change in its source.

Hi Dieter
As you can see I started this buildout.cfg and subsequent changelog from version 4.3.1 Windows unified installer

[buildout]

############################################

Plone Component Versions

------------------------

This version of the Unified Installer has the components of Plone 4

preloaded so that it can install without an Internet connection.

If you want to update, uncomment the "http://..." line below,

edit it to point to the current version URL, comment out the

"versions.cfg" line and run "bin/buildout" while attached to the

Internet. Generally, you only want to do that as part of a planned migration.

Note that if you are updating components, you should also check the versions

section at the end of this file, since recipes or components other than

those of Zope and Plone may need updating at the same time.

extends =
base.cfg
versions.cfg

http://dist.plone.org/release/4.3.1/versions.cfg

If you change your Plone version, you'll also need to update

the repository link below.

find-links +=
http://dist.plone.org/release/4.3.12
https://launchpad.net/plone/+milestone/4.3.12

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

Error msg:

We have the distribution that satisfies 'p4a.z2utils==1.0.2'.
We have the distribution that satisfies 'collective.portletpage==1.1'.
We have the distribution that satisfies 'collective.referencedatagridfield==0.5.
3'.
We have no distributions for eea.facetednavigation that satisfies 'eea.facetedna
vigation'.
Download error on http://download.zope.org/ppix/: [Errno 11004] getaddrinfo fail
ed -- Some packages may not be found!
Download error on http://download.zope.org/distribution/: [Errno 11004] getaddri
nfo failed -- Some packages may not be found!
Not found:
https://pypi.python.org/simple/eea.facetednavigation/
Not found:
https://pypi.python.org/simple/eea.facetednavigation/
Couldn't find index page for 'eea.facetednavigation' (maybe misspelled?)
Not found:
https://pypi.python.org/simple/
Getting distribution for 'eea.facetednavigation'.
While:
Installing instance.
Getting distribution for 'eea.facetednavigation'.
Error: Couldn't find a distribution for 'eea.facetednavigation'.
*************** PICKED VERSIONS ****************
[versions]

What do you mean or suggest that I
" make the http --> https change in its source."
I am really an end user of Plone, with no real Python experience.

Thank you for your patience in replying.

Michael

This is a different problem (discussed recently in this forum): the domain name zope.org has expired (is no longer valid). As a consequence, one can no longer download things from zope.org (at least not under this name). People are trying to resurrect this domain name. Meanwhile, one can access the host via its IP address. Search this discussion to find out this IP address.

Thx Dieter, will read the thread
Best wishes

46.4.103.110 download.zope.org

1st attempt failed, will try again over the weekend

the whole domain is down; please upgrade to latest release in 4.3.15 as it do not depend any longer on downloading anything from zope.org:

http://dist.plone.org/release/4.3-latest/versions.cfg

Found part of my solution (I hope) by adding the following to base.cfg

Add additional egg download sources here. dist.plone.org contains archives

of Plone packages.

find-links =
https://pypi.python.org/simple/
https://pypi.python.org/simple/plone/
https://pypi.python.org/simple/products.cmfplone/
https://pypi.python.org/simple/plone.app.textfield/

http://dist.plone.org

http://download.zope.org/ppix/

http://download.zope.org/distribution/

http://effbot.org/downloads

But I am now getting the following error
-4.3.13\plone\app\locales\locales\pt_BR\LC_MESSAGES\plone.po: The process cannot access the file because it is being used by another process

Unpacking plone.app.locales-4.3.13/plone/app/locales/locales/pt_BR/LC_MESSAGES/plone.po to c:\users\michael\appdata\local\temp\easy_install-snmirc\plone.app.locales-4.3.13\plone\app\locales\locales\pt_BR\LC_MESSAGES\plone.po changing mode of c:\users\michael\appdata\local\temp\easy_install-snmirc\plone.app.locales-4.3.13\plone\app\locales\locales\pt_BR\LC_MESSAGES\plone.po to 200 error: c:\users\michael\appdata\local\temp\easy_install-snmirc\plone.app.locales-4.3.13\plone\app\locales\locales\pt_BR\LC_MESSAGES\plone.po: The process cannot access the file because it is being used by another process
An error occurred when trying to install plone.app.locales 4.3.13. Look above this message for any errors that were output by easy_install.

While:
Installing instance.
Getting distribution for 'plone.app.locales==4.3.13'.
Error: Couldn't install: plone.app.locales 4.3.13

Any thoughts

Ooops - hash sign not showing
Reference download.zope.org is remarked out.

I have been able to create a buildout but with errors!!
An error was encountered while publishing this resource.

Sorry, a site error occurred.

Traceback (innermost last):

Module ZPublisher.Publish, line 247, in publish_module_standard
Module zope.publisher.skinnable, line 46, in setDefaultSkin
Module ZODB.Connection, line 857, in setstate

ConnectionStateError: Shouldn't load state for 0x28 when the connection is closed

I was only able to do this by adding the following to buildout.cfg
index =
https://pypi.python.org/simple/
https://pypi.python.org/simple/plone/
https://pypi.python.org/simple/products.cmfplone/
https://pypi.python.org/simple/plone.app.textfield/
https://pypi.python.org/simple/plone.app.jquerytools/
https://pypi.python.org/simple/plone.app.blob/
https://pypi.python.org/simple/Products.ResourceRegistries/
https://pypi.python.org/simple/z3c.formwidget.query/

and unpinning
archetypes.referencebrowserwidget = 2.5.9
plone.app.linkintegrity = 1.5.10
plone.app.locales = 4.3.13
Products.ResourceRegistries = 2.2.13
Products.TinyMCE = 1.3.27
z3c.formwidget.query = 0.13

The only commonality is that these files are tar.gz format and not zip format.

Any pointers appreciated.