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

2010-10-11 Thread david ally
Hi Thierry,

You know there are just too many documentations scattered here and there on
the web, I already have zopeproject installed and working fine, so thank you
for the right guidance.

David

On Sun, Oct 10, 2010 at 7:10 AM, Thierry Florac  wrote:

> __
> Le samedi  9 octobre,
>  david ally  a écrit :
>
> > I installed version 3.2 from svn repository on Ubuntu Linux 10.04,
> > but all i want is the right way to install zope version 3 to learn
> > how to write zope applications.
> __
>
>
> Wow !
> This release seems really out of date !
>
> A simple way to install Zope actually is to use ZopeProject
> (http://pypi.python.org/pypi/zopeproject) and follow it's documentation.
>
> After that, you can find a lot of tutorials about the Zope Component
> Architecture and about the way of building Zope3 applications.
>
> Regards,
> Thierry
>
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


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

2010-10-11 Thread david ally
Hi,
Yes I have Internet access, I used easy_install, but i will use the links
you sent to proceed. Thank you!

David

On Sun, Oct 10, 2010 at 8:59 PM, Thierry Florac  wrote:

> __
> Le dimanche 10 octobre,
>   david ally  a écrit :
>
> > Ok, I couldn't create a project however, please see the error I got
> > when tried zopeproject LearningZope;
> >
> > da...@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,
>

Installed using easy_install and

>
> 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
>
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


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

2010-10-11 Thread david ally
Thierry,

Ok, I couldn't create a project however, please see the error I got when
tried zopeproject LearningZope;

da...@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!

David

On Sun, Oct 10, 2010 at 3:06 PM, david ally  wrote:

> Hi Thierry,
>
> You know there are just too many documentations scattered here and there on
> the web, I already have zopeproject installed and working fine, so thank you
> for the right guidance.
>
> David
>
>
> On Sun, Oct 10, 2010 at 7:10 AM, Thierry Florac wrote:
>
>> __
>> Le samedi  9 octobre,
>>  david ally  a écrit :
>>
>> > I installed version 3.2 from svn repository on Ubuntu Linux 10.04,
>> > but all i want is the right way to install zope version 3 to learn
>> > how to write zope applications.
>> __
>>
>>
>> Wow !
>> This release seems really out of date !
>>
>> A simple way to install Zope actually is to use ZopeProject
>> (http://pypi.python.org/pypi/zopeproject) and follow it's documentation.
>>
>> After that, you can find a lot of tutorials about the Zope Component
>> Architecture and about the way of building Zope3 applications.
>>
>> Regards,
>> Thierry
>>
>
>
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


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

2010-10-11 Thread Thierry Florac
__
Le dimanche 10 octobre,
  david ally  a écrit :

> Ok, I couldn't create a project however, please see the error I got
> when tried zopeproject LearningZope;
> 
> da...@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
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users