Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-23 Thread Thierry Florac

Could you give me your versions of setuptools, distribute and
zc.buildout ?

Thierry


Le Sat, 20 Jul 2013 01:36:34 +0200,
  Tamer Higazi th9...@googlemail.com a écrit:

 Same result as before.
 
 I tried it globally as well as in a virtualenv
 
 
 
 Tamer
 
 
 On 07/20/13 01:19, Thierry Florac wrote:
  
  Hi,
  
  Le Sat, 20 Jul 2013 01:09:50 +0200,
Tamer Higazi th9...@googlemail.com a écrit:
  
  I believe also that it is not related to ztfy packages, because the
  same result is being displayed with bluebream as well.
 
  I am using Python 2.7.5 on Gentoo Linux 64 Bit.
  
  I already had a few installation problem with zc.buildout in release
  2.x.
  Can you try to install release 1.5.2 of zc.buildout ?
  (easy_install zc.buildout==1.5.2)
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-23 Thread Thierry Florac

Hi,

I've tried to create a new ztfy.webapp site from a fresh virtual
environment and didn't had any real problem.
I've tried using several environments (based on setuptools or
distribute) always with good results.
The only thing I had to do was to upgrade my setuptools package
(easy_install -U setuptools or pip install -U setuptools).

I work with an up-to-date Debian sid operating system (unstable,
amd64).

Regards,
Thierry


Le Sat, 20 Jul 2013 01:36:34 +0200,
  Tamer Higazi th9...@googlemail.com a écrit:

 Same result as before.
 
 I tried it globally as well as in a virtualenv
 
 
 
 Tamer
 
 
 On 07/20/13 01:19, Thierry Florac wrote:
  
  Hi,
  
  Le Sat, 20 Jul 2013 01:09:50 +0200,
Tamer Higazi th9...@googlemail.com a écrit:
  
  I believe also that it is not related to ztfy packages, because the
  same result is being displayed with bluebream as well.
 
  I am using Python 2.7.5 on Gentoo Linux 64 Bit.
  
  I already had a few installation problem with zc.buildout in release
  2.x.
  Can you try to install release 1.5.2 of zc.buildout ?
  (easy_install zc.buildout==1.5.2)
  
  
  Regards,
  Thierry
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-23 Thread Christopher Lozinski
On 7/20/13 1:50 AM, Thierry Florac wrote:
 Could you give me your versions of setuptools, distribute and
 zc.buildout ?

 Thierry

Python 2.7.3
 
ls  /usr/local/lib/python2.7/site-packages/

Paste-1.7.5.1-py2.7.egg 
PasteDeploy-1.5.0-py2.7.egg   
setuptools-0.7.8-py2.7.egg
PasteScript-1.7.5-py2.7.egg   
zc.buildout-2.2.0-py2.7.egg
ztfy.webapp-1.1.4-py2.7.egg

Anyhow your point is well taken.  The problem is not with ztfy, the
problem is that some of the installation tools changed.

So I took a quick look on pypi.

https://pypi.python.org/pypi/zc.buildout/2.2.0
Buildout just got updated july 5th

Setup tools got updated on the 18th of July.

I first had this problem on July 15th, Tamer on July 16th, so we thought
that buildout had changed.

My guess is that python bootstrap.py downloads the newest version of
buildout, which is what breaks. 

I told this to Tamer, he immediately started reading the source code,
and pointed out the options.  One option was to
use setuptools rather than distribute.  We tried that and it worked.  So
here is the fix.

python bootstrap.py --setuptools

And that does the needful happily for Tamer and myself.

The larger point is that we have multiple versions of things. 
Buildout.cfg manages all of that correctly, but bootstrap.py just grabs
the newest
version of buildout, and so caused trouble. 

It was a very weird bug, where something that was working one week, was
not working the next week.

Maybe I should report that as a bug on zope-dev

I also want to say that it is a huge pleasure working with Thierry and
Tamer.  Thierry pointed us in the right direction, at a high level I
figured out what the problem was, Tamer got into the details of the code
to find out the options.Much more fun than working alone. 

Chris
Zopache.com

___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Tamer Higazi
Hi peeople!
I sent by mistake this question to the zope2 Mailinglist, and I hope you 
forgive me. I have this problem:

I am trying to install zope3 /ztfy webapp, and I face quickly a problem
by running python bootstrap.py after application setup. Here the problem:

README.txt  bootstrap.py  buildout.cfg  debug.ini  deploy.ini  etc 
extends-cache  setup.py  src  var
tamer@tux /storage/PyProjects/ztfyAPP $ python bootstrap.py
Traceback (most recent call last):
  File bootstrap.py, line 111, in module
ws.find(pkg_resources.Requirement.parse(requirement)).location
AttributeError: 'NoneType' object has no attribute 'location'

This problem appears if I try to setup bluebream or a ztfy project and I am not 
getting smart. what could it be?! 

I already spoke with somebody who had the same problem. He installed 
zc.builout globally, and it was solved for him but not me.

My problem still exist even after installing through easy_install zc.buildout 
globally.

Any ideas what it could be?!



For any help I would kindly thank you




Tamer

___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Thierry Florac

Hi,

Le Fri, 19 Jul 2013 23:43:54 +0200,
  Tamer Higazi th9...@googlemail.com a écrit:

 Hi peeople!
 I sent by mistake this question to the zope2 Mailinglist, and I hope
 you forgive me. I have this problem:
 
 I am trying to install zope3 /ztfy webapp, and I face quickly a
 problem by running python bootstrap.py after application setup.
 Here the problem:
 
 README.txt  bootstrap.py  buildout.cfg  debug.ini  deploy.ini  etc 
 extends-cache  setup.py  src  var
 tamer@tux /storage/PyProjects/ztfyAPP $ python bootstrap.py
 Traceback (most recent call last):
   File bootstrap.py, line 111, in module
 ws.find(pkg_resources.Requirement.parse(requirement)).location
 AttributeError: 'NoneType' object has no attribute 'location'
 
 This problem appears if I try to setup bluebream or a ztfy project
 and I am not getting smart. what could it be?! 
 
 I already spoke with somebody who had the same problem. He installed
 zc.builout globally, and it was solved for him but not me.
 
 My problem still exist even after installing through easy_install
 zc.buildout globally.
 
 Any ideas what it could be?!
 
 For any help I would kindly thank you


I don't think that this problem is strictly related to ZTFY packages.

Which Python version do you use ? On what operating system ??
I'm the creator and maintainer of all ZTFY packages, which are actually
only compatible with Python 2.6 and 2.7.

Regards,
Thierry
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Tamer Higazi
Hi Thierry!

I believe also that it is not related to ztfy packages, because the same
result is being displayed with bluebream as well.

I am using Python 2.7.5 on Gentoo Linux 64 Bit.



Regards



Tamer

 
 I don't think that this problem is strictly related to ZTFY packages.
 
 Which Python version do you use ? On what operating system ??
 I'm the creator and maintainer of all ZTFY packages, which are actually
 only compatible with Python 2.6 and 2.7.
 
 Regards,
 Thierry
 

___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Thierry Florac

Hi,

Le Sat, 20 Jul 2013 01:09:50 +0200,
  Tamer Higazi th9...@googlemail.com a écrit:

 I believe also that it is not related to ztfy packages, because the
 same result is being displayed with bluebream as well.
 
 I am using Python 2.7.5 on Gentoo Linux 64 Bit.

I already had a few installation problem with zc.buildout in release
2.x.
Can you try to install release 1.5.2 of zc.buildout ?
(easy_install zc.buildout==1.5.2)


Regards,
Thierry
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installation problems with ztfy.webapp on fresh baked gentoo!

2013-07-19 Thread Tamer Higazi
Same result as before.

I tried it globally as well as in a virtualenv



Tamer


On 07/20/13 01:19, Thierry Florac wrote:
 
 Hi,
 
 Le Sat, 20 Jul 2013 01:09:50 +0200,
   Tamer Higazi th9...@googlemail.com a écrit:
 
 I believe also that it is not related to ztfy packages, because the
 same result is being displayed with bluebream as well.

 I am using Python 2.7.5 on Gentoo Linux 64 Bit.
 
 I already had a few installation problem with zc.buildout in release
 2.x.
 Can you try to install release 1.5.2 of zc.buildout ?
 (easy_install zc.buildout==1.5.2)
 
 
 Regards,
 Thierry
 

___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users