[Distutils] Buildout error reporting - connection refused

Martin Aspeli optilude at gmx.net
Sun Jul 15 21:46:41 CEST 2007


Hi Jim & co,

I just ran a buildout and got this error. It went away again (I guess it 
was a server going down), but it annoyed me that I couldn't work out 
*which* URL it was trying to connect to that got refused. Could buildout 
produce a bit more information in this case?

Also - I had a find-link at this point that I know was down. It is not 
the link for python-openid, so it shouldn't matter, it's only a backup 
mirror (which atm is even empty). But would setuptools/buildout bomb out 
regardless, if one of the find-links was down?

Thanks,
Martin

$ ./bin/buildout -vv
Installing 'zc.buildout', 'setuptools'.
We have the best distribution that satisfies 'zc.buildout'.
Picked: zc.buildout = 1.0.0b28
We have the best distribution that satisfies 'setuptools'.
Picked: setuptools = 0.6c6
Installing 'plone.recipe.plone'.
We have the best distribution that satisfies 'plone.recipe.plone'.
Adding find link 'http://download.zope.org/distribution/' from 
plone.recipe.plone 3.0rc1
Picked: plone.recipe.plone = 3.0rc1
Getting required 'plone.recipe.distros'
   required by plone.recipe.plone 3.0rc1.
We have the best distribution that satisfies 'plone.recipe.distros'.
Picked: plone.recipe.distros = 0.2
Getting required 'zc.recipe.egg'
   required by plone.recipe.plone 3.0rc1.
We have the best distribution that satisfies 'zc.recipe.egg'.
Picked: zc.recipe.egg = 1.0.0b6
Installing 'plone.recipe.zope2install'.
We have the best distribution that satisfies 'plone.recipe.zope2install'.
Adding find link 'http://download.zope.org/distribution/' from 
plone.recipe.zope2install 0.1
Picked: plone.recipe.zope2install = 0.1
Installing 'plone.recipe.zope2instance'.
We have the best distribution that satisfies 'plone.recipe.zope2instance'.
Adding find link 'http://download.zope.org/distribution/' from 
plone.recipe.zope2instance 0.6.1
Picked: plone.recipe.zope2instance = 0.6.1

Configuration data:
[zope2]
executable = 
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python
location = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/zope2
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.10.4/Zope-2.10.4-final.tgz
[buildout]
bin-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
develop =
develop-eggs-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
directory = /Users/optilude/tmp/eggs/zopeskel/rc1
download-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/downloads
eggs =
eggs-directory = /Users/optilude/.buildout/eggs
executable = 
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python
find-links =
installed = /Users/optilude/tmp/eggs/zopeskel/rc1/.installed.cfg
log-format =
log-level = INFO
newest = true
offline = false
parts = %(__buildout_space_n__)splone
         zope2
         productdistros
         instance
         zopepy
parts-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/parts
python = buildout
verbosity = 20
[productdistros]
location = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/productdistros
nested-packages =
prefix = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/productdistros
recipe = plone.recipe.distros
urls =
version-suffix-packages =
[instance]
_b = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
_d = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
_e = /Users/optilude/.buildout/eggs
bin-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
debug-mode = on
develop-eggs-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
eggs = 
%(__buildout_space_n__)s%(__buildout_space_n__)sarchetypes.kss==1.2-rc1.1
         kss.core==1.2-rc1.1
         plone.app.content==1.0rc1
         plone.app.contentmenu==1.0rc1
         plone.app.contentrules==1.0rc1
         plone.app.controlpanel==1.0rc1
         plone.app.customerize==1.0rc1
         plone.app.form==1.0rc1
         plone.app.i18n==1.0rc1
         plone.app.iterate==1.0rc1
         plone.app.kss==1.2-rc1.1
         plone.app.layout==1.0rc1
         plone.app.linkintegrity==1.0rc1.1
         plone.app.openid==1.0rc1
         plone.app.portlets==1.0rc1
         plone.app.redirector==1.0rc1
         plone.app.viewletmanager==1.0rc1
         plone.app.vocabularies==1.0rc1
         plone.app.workflow==1.0rc1
         plone.contentrules==1.0rc1
         plone.fieldsets==1.0rc1
         plone.i18n==1.0rc1
         plone.intelligenttext==1.0rc1
         plone.locking==1.0rc1
         plone.memoize==1.0rc1
         plone.openid==1.0rc1
         plone.portlets==1.0rc1
         plone.session==1.0rc1
         plone.theme==1.0rc1
         wicked==1.1.3
         five.customerize==0.1.3
         five.localsitemanager==0.2
eggs-directory = /Users/optilude/.buildout/eggs
executable = 
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python
http-address = 8080
location = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/instance
products = 
%(__buildout_space_n__)s/Users/optilude/tmp/eggs/zopeskel/rc1/products
         /Users/optilude/tmp/eggs/zopeskel/rc1/parts/productdistros
         /Users/optilude/tmp/eggs/zopeskel/rc1/parts/plone
recipe = plone.recipe.zope2instance
scripts =
user = admin:admin
verbose-security = on
zcml =
zope2-location = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/zope2
[zopepy]
_b = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
_d = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
_e = /Users/optilude/.buildout/eggs
bin-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
develop-eggs-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
eggs = 
%(__buildout_space_n__)s%(__buildout_space_n__)sarchetypes.kss==1.2-rc1.1
         kss.core==1.2-rc1.1
         plone.app.content==1.0rc1
         plone.app.contentmenu==1.0rc1
         plone.app.contentrules==1.0rc1
         plone.app.controlpanel==1.0rc1
         plone.app.customerize==1.0rc1
         plone.app.form==1.0rc1
         plone.app.i18n==1.0rc1
         plone.app.iterate==1.0rc1
         plone.app.kss==1.2-rc1.1
         plone.app.layout==1.0rc1
         plone.app.linkintegrity==1.0rc1.1
         plone.app.openid==1.0rc1
         plone.app.portlets==1.0rc1
         plone.app.redirector==1.0rc1
         plone.app.viewletmanager==1.0rc1
         plone.app.vocabularies==1.0rc1
         plone.app.workflow==1.0rc1
         plone.contentrules==1.0rc1
         plone.fieldsets==1.0rc1
         plone.i18n==1.0rc1
         plone.intelligenttext==1.0rc1
         plone.locking==1.0rc1
         plone.memoize==1.0rc1
         plone.openid==1.0rc1
         plone.portlets==1.0rc1
         plone.session==1.0rc1
         plone.theme==1.0rc1
         wicked==1.1.3
         five.customerize==0.1.3
         five.localsitemanager==0.2
eggs-directory = /Users/optilude/.buildout/eggs
executable = 
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python
extra-paths = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/zope2/lib/python
interpreter = zopepy
recipe = zc.recipe.egg
scripts = zopepy
[plone]
_b = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
_d = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
_e = /Users/optilude/.buildout/eggs
bin-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/bin
develop-eggs-directory = /Users/optilude/tmp/eggs/zopeskel/rc1/develop-eggs
eggs = archetypes.kss==1.2-rc1.1
         kss.core==1.2-rc1.1
         plone.app.content==1.0rc1
         plone.app.contentmenu==1.0rc1
         plone.app.contentrules==1.0rc1
         plone.app.controlpanel==1.0rc1
         plone.app.customerize==1.0rc1
         plone.app.form==1.0rc1
         plone.app.i18n==1.0rc1
         plone.app.iterate==1.0rc1
         plone.app.kss==1.2-rc1.1
         plone.app.layout==1.0rc1
         plone.app.linkintegrity==1.0rc1.1
         plone.app.openid==1.0rc1
         plone.app.portlets==1.0rc1
         plone.app.redirector==1.0rc1
         plone.app.viewletmanager==1.0rc1
         plone.app.vocabularies==1.0rc1
         plone.app.workflow==1.0rc1
         plone.contentrules==1.0rc1
         plone.fieldsets==1.0rc1
         plone.i18n==1.0rc1
         plone.intelligenttext==1.0rc1
         plone.locking==1.0rc1
         plone.memoize==1.0rc1
         plone.openid==1.0rc1
         plone.portlets==1.0rc1
         plone.session==1.0rc1
         plone.theme==1.0rc1
         wicked==1.1.3
         five.customerize==0.1.3
         five.localsitemanager==0.2
eggs-directory = /Users/optilude/.buildout/eggs
executable = 
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python
find-links = http://dist.plone.org
location = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/plone
nested-packages = CMF-2.1.0-beta2.tar.gz
prefix = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/plone
products = /Users/optilude/tmp/eggs/zopeskel/rc1/parts/plone
python-url = http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
recipe = plone.recipe.plone
urls = 
http://www.zope.org/Products/CMF/CMF-2.1.0-beta2/CMF-2.1.0-beta2.tar.gz
 
http://plone.org/products/atcontenttypes/releases/1.2/atcontenttypes-1-2-0-rc1.tgz
 
http://plone.org/products/atreferencebrowserwidget/releases/2.0/ATReferenceBrowserWidget-2.0rc1.tar.gz
 
http://plone.org/products/cmfdynamicviewfti/releases/3.0/CMFDynamicViewFTI-3.0rc1.tar.gz
 
http://plone.org/products/cmfformcontroller/releases/2.1/CMFFormController-2.1rc1.tar.gz
 
http://plone.org/products/cmfplacefulworkflow/releases/1.2.0-rc1/cmfplacefulworkflow-1-2-0-rc1.tgz
         http://plone.googlecode.com/files/PloneBase-3.0-rc1.tar.gz
 
http://plone.org/products/cmfquickinstallertool/releases/2.0.3/CMFQuickInstallerTool-2.0.3.tar.gz
 
http://plone.org/products/cmfdifftool/releases/0.3.4/cmfdifftool-0-3-4.tgz
 
http://plone.org/products/cmftestcase/releases/0.9.6/CMFTestCase-0.9.6.tar.gz
 
http://plone.org/products/extendedpathindex/releases/2.4/ExtendedPathIndex-2.4.tgz
 
http://plone.org/products/external-editor/releases/0.9.3/ExternalEditor-0.9.3-src.tgz
 
http://plone.org/products/groupuserfolder/releases/3.54.4/GroupUserFolder-3.54.4.tgz
         http://plone.org/products/kupu/releases/1.4/kupu-1-4rc1.tgz
 
http://plone.org/products/pts/releases/1.4.4/PlacelessTranslationService-1.4.4.tar.gz
 
http://plone.org/products/plonetestcase/releases/0.9.6/PloneTestCase-0.9.6.tar.gz
 
http://plone.org/products/plonetranslations/releases/3.0.3/PloneTranslations-3.0.3rc1.tar.gz
 
http://plone.org/products/plonelanguagetool/releases/2.0/PloneLanguageTool-2.0rc1.tar.gz
 
http://plone.org/products/securemailhost/releases/1.1/SecureMailHost-1.1.tar.gz
 
http://plone.org/products/resourceregistries/releases/1.4.0/resourceregistries-1.4.0-rc1.tgz
 
http://plone.org/products/statusmessages/releases/3.0/statusmessages-3.0rc1.tar.gz
 
http://plone.org/products/plonepas/releases/3.0/plonepas-3-0rc1-tar.gz
 
http://www.zope.org/Products/PluggableAuthService/PluggableAuthService-1.5/PluggableAuthService-1.5.tar.gz
 
http://plone.org/products/passwordresettool/releases/1.0/PasswordResetTool-1.0rc1.tar.gz
 
http://www.zope.org/Products/PluginRegistry/PluginRegistry-1.1.2/PluginRegistry-1.1.2.tar.gz
         http://antiloop.plone.org/download/ZopeVersionControl-0.3.4.tar.gz
 
http://plone.org/products/cmfeditions/releases/1.1/cmfeditions-1-1-rc1.tgz
         http://plone.org/products/nuplone/releases/0.8/NuPlone-0.8.tgz
         http://www.dieter.handshake.de/pyprojects/zope/AdvancedQuery.tgz
 
http://plone.org/products/archetypes/releases/1.5/Archetypes-1.5.0-rc2.tar.gz
version-suffix-packages = PluggableAuthService-1.5.tar.gz
         PluginRegistry-1.1.2.tar.gz
zope2-url = http://www.zope.org/Products/Zope/2.10.4/Zope-2.10.4-final.tgz

Installing plone.
Installing 'archetypes.kss==1.2-rc1.1', 'kss.core==1.2-rc1.1', 
'plone.app.content==1.0rc1', 'plone.app.contentmenu==1.0rc1', 
'plone.app.contentrules==1.0rc1', 'plone.app.controlpanel==1.0rc1', 
'plone.app.customerize==1.0rc1', 'plone.app.form==1.0rc1', 
'plone.app.i18n==1.0rc1', 'plone.app.iterate==1.0rc1', 
'plone.app.kss==1.2-rc1.1', 'plone.app.layout==1.0rc1', 
'plone.app.linkintegrity==1.0rc1.1', 'plone.app.openid==1.0rc1', 
'plone.app.portlets==1.0rc1', 'plone.app.redirector==1.0rc1', 
'plone.app.viewletmanager==1.0rc1', 'plone.app.vocabularies==1.0rc1', 
'plone.app.workflow==1.0rc1', 'plone.contentrules==1.0rc1', 
'plone.fieldsets==1.0rc1', 'plone.i18n==1.0rc1', 
'plone.intelligenttext==1.0rc1', 'plone.locking==1.0rc1', 
'plone.memoize==1.0rc1', 'plone.openid==1.0rc1', 
'plone.portlets==1.0rc1', 'plone.session==1.0rc1', 
'plone.theme==1.0rc1', 'wicked==1.1.3', 'five.customerize==0.1.3', 
'five.localsitemanager==0.2'.
We have the distribution that satisfies 'archetypes.kss==1.2-rc1.1'.
We have the distribution that satisfies 'kss.core==1.2-rc1.1'.
We have the distribution that satisfies 'plone.app.content==1.0rc1'.
We have the distribution that satisfies 'plone.app.contentmenu==1.0rc1'.
We have the distribution that satisfies 'plone.app.contentrules==1.0rc1'.
We have the distribution that satisfies 'plone.app.controlpanel==1.0rc1'.
We have the distribution that satisfies 'plone.app.customerize==1.0rc1'.
We have the distribution that satisfies 'plone.app.form==1.0rc1'.
We have the distribution that satisfies 'plone.app.i18n==1.0rc1'.
We have the distribution that satisfies 'plone.app.iterate==1.0rc1'.
We have the distribution that satisfies 'plone.app.kss==1.2-rc1.1'.
We have the distribution that satisfies 'plone.app.layout==1.0rc1'.
We have the distribution that satisfies 'plone.app.linkintegrity==1.0rc1.1'.
We have the distribution that satisfies 'plone.app.openid==1.0rc1'.
We have the distribution that satisfies 'plone.app.portlets==1.0rc1'.
We have the distribution that satisfies 'plone.app.redirector==1.0rc1'.
We have the distribution that satisfies 'plone.app.viewletmanager==1.0rc1'.
We have the distribution that satisfies 'plone.app.vocabularies==1.0rc1'.
We have the distribution that satisfies 'plone.app.workflow==1.0rc1'.
We have the distribution that satisfies 'plone.contentrules==1.0rc1'.
We have the distribution that satisfies 'plone.fieldsets==1.0rc1'.
We have the distribution that satisfies 'plone.i18n==1.0rc1'.
We have the distribution that satisfies 'plone.intelligenttext==1.0rc1'.
We have the distribution that satisfies 'plone.locking==1.0rc1'.
We have the distribution that satisfies 'plone.memoize==1.0rc1'.
We have the distribution that satisfies 'plone.openid==1.0rc1'.
We have the distribution that satisfies 'plone.portlets==1.0rc1'.
We have the distribution that satisfies 'plone.session==1.0rc1'.
We have the distribution that satisfies 'plone.theme==1.0rc1'.
We have the distribution that satisfies 'wicked==1.1.3'.
We have the distribution that satisfies 'five.customerize==0.1.3'.
We have the distribution that satisfies 'five.localsitemanager==0.2'.
Getting required 'setuptools'
   required by five.customerize 0.1.3.
   required by five.localsitemanager 0.2.
   required by plone.app.content 1.0rc1.
   required by plone.app.contentmenu 1.0rc1.
   required by plone.app.contentrules 1.0rc1.
   required by plone.app.controlpanel 1.0rc1.
   required by plone.app.customerize 1.0rc1.
   required by plone.app.form 1.0rc1.
   required by plone.app.i18n 1.0rc1.
   required by plone.app.iterate 1.0rc1.
   required by plone.app.layout 1.0rc1.
   required by plone.app.openid 1.0rc1.
   required by plone.app.portlets 1.0rc1.
   required by plone.app.redirector 1.0rc1.
   required by plone.app.viewletmanager 1.0rc1.
   required by plone.app.vocabularies 1.0rc1.
   required by plone.app.workflow 1.0rc1.
   required by plone.contentrules 1.0rc1.
   required by plone.fieldsets 1.0rc1.
   required by plone.i18n 1.0rc1.
   required by plone.intelligenttext 1.0rc1.
   required by plone.locking 1.0rc1.
   required by plone.memoize 1.0rc1.
   required by plone.openid 1.0rc1.
   required by plone.portlets 1.0rc1.
   required by plone.session 1.0rc1.
   required by plone.theme 1.0rc1.
   required by plone.app.linkintegrity 1.0rc1.1.
   required by wicked 1.1.3.
   required by archetypes.kss 1.2-rc1.1.
   required by kss.core 1.2-rc1.1.
   required by plone.app.kss 1.2-rc1.1.
Download error: (61, 'Connection refused') -- Some packages may not be 
found!
We have the best distribution that satisfies 'setuptools'.
Picked: setuptools = 0.6c6
Getting required 'python-openid>=2.0.0,<2.0.999'
   required by plone.openid 1.0rc1.
We have the best distribution that satisfies 
'python-openid>=2.0.0,<2.0.999'.
Picked: python-openid = 2.0.1
While:
   Installing plone.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:

URLError:
<urlopen error (61, 'Connection refused')>

-- 
Acquisition is a jealous mistress



More information about the Distutils-SIG mailing list