[Zope3-Users] Zope3-users Digest, Vol 71, Issue 2

Thierry Florac tflorac at ulthar.net
Sun Oct 10 15:59:35 EDT 2010


______________________________________________________________________
Le dimanche 10 octobre,
  david ally <dade.ally at gmail.com> a écrit :

> Ok, I couldn't create a project however, please see the error I got
> when tried zopeproject LearningZope;
> 
> david at ubuntu104:~$ zopeproject LearningZope
> Enter user (Name of an initial administrator user): david
> Enter passwd (Password for the initial administrator user): test
> Enter eggs_dir (Location where zc.buildout will look for and place
> packages) ['/home/david/buildout-eggs']:
> While:
>   Initializing.
> 
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/buildout.py",
> line 1783, in main
>     user_defaults, windows_restart, command)
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/buildout.py",
> line 198, in __init__
>     data['buildout'].copy(), override))
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/buildout.py",
> line 1431, in _open
>     eresult = _open(base, extends.pop(0), seen, dl_options, override)
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/buildout.py",
> line 1381, in _open
>     path, is_temp = download(filename)
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/download.py",
> line 96, in __call__
>     local_path, is_temp = self.download(url, md5sum, path)
>   File
> "/usr/local/lib/python2.6/dist-packages/zc.buildout-1.5.1-py2.6.egg/zc/buildout/download.py",
> line 173, in download
>     tmp_path, headers = urllib.urlretrieve(url, tmp_path)
>   File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
>     return _urlopener.retrieve(url, filename, reporthook, data)
>   File "/usr/lib/python2.6/urllib.py", line 237, in retrieve
>     fp = self.open(url, data)
>   File "/usr/lib/python2.6/urllib.py", line 205, in open
>     return getattr(self, name)(url)
>   File "/usr/lib/python2.6/urllib.py", line 344, in open_http
>     h.endheaders()
>   File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
>     self._send_output()
>   File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
>     self.send(msg)
>   File "/usr/lib/python2.6/httplib.py", line 735, in send
>     self.connect()
>   File "/usr/lib/python2.6/httplib.py", line 716, in connect
>     self.timeout)
>   File "/usr/lib/python2.6/socket.py", line 514, in create_connection
>     raise error, msg
> IOError: [Errno socket error] [Errno 110] Connection timed out
> 
> Please help!
______________________________________________________________________


Hi,

Did you install ZopeProject from an Ubuntu package (which may also
be outdated) or with easy_install ?
You also need an internet connection while creating your project to
download packages... Is it OK ??

A good way to install ZopeProject and all Zope3 dependencies is with
VirtualEnv ; you can find a quick tutorial on my own web site :

 - http://www.ztfy.org/installation/virtualenv/virtualenv.html
 - http://www.ztfy.org/installation/zopeproject/zopeproject.html

Hope this helps,
Thierry


More information about the Zope3-users mailing list