[Setup] problems with buildout compile with plone.app.theming

Laurence Rowe l at lrowe.co.uk
Wed Dec 7 13:20:06 UTC 2011


W. Anderson wrote
> 
> I have installed plone.app.theming - vers 1.0b9 - with Diazo themes on 
> two computers from Plone 4.0 and 4.1 with no problems.
> 
> However I have been unsuccessful - on two different computers, on two 
> occasions - of getting plone.app.theming - vers 1.0b9 - compiled in 
> buildout.cfg from Plone 4.1.2. All computers are running FreeBSD 8.2 and 
> installed Plone Unified Installer in standalone mode.
> 
> 
> error msg as follows:
> =====================================================
> 
>   blackboxu# ./bin/buildout
> While:
>    Initializing.
> 
> An internal error occured due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", 
> line 1682, in main
>      user_defaults, windows_restart, command)
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", 
> line 198, in __init__
>      data['buildout'].copy(), override))
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", 
> line 1358, in _open
>      _update(eresult, _open(base, fname, seen, dl_options, override))
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", 
> line 1306, in _open
>      path, is_temp = download(filename)
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/download.py", 
> line 96, in __call__
>      local_path, is_temp = self.download(url, md5sum, path)
>    File 
> "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/download.py", 
> line 173, in download
>      tmp_path, headers = urllib.urlretrieve(url, tmp_path)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/urllib.py", line 93, 
> in urlretrieve
>      return _urlopener.retrieve(url, filename, reporthook, data)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/urllib.py", line 239, 
> in retrieve
>      fp = self.open(url, data)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/urllib.py", line 207, 
> in open
>      return getattr(self, name)(url)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/urllib.py", line 346, 
> in open_http
>      h.endheaders()
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/httplib.py", line 
> 908, in endheaders
>      self._send_output()
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/httplib.py", line 
> 780, in _send_output
>      self.send(msg)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/httplib.py", line 
> 739, in send
>      self.connect()
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/httplib.py", line 
> 720, in connect
>      self.timeout)
>    File "/usr/local/Plone/Python-2.6/lib/python2.6/socket.py", line 547, 
> in create_connection
>      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
> IOError: [Errno socket error] [Errno 8] hostname nor servname provided, 
> or not known
> blackboxu#
> 

Unfortunately easy_install (on which buildout relies) is not robust in the
face of network errors following links found on pypi pages. Try adding the
following to your buildout's [buildout] section:


allow-hosts =
    *.python.org
    *.plone.org
    *.zope.org

Laurence

--
View this message in context: http://plone.293351.n2.nabble.com/problems-with-buildout-compile-with-plone-app-theming-tp7069283p7070419.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


More information about the Setup mailing list