Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Pyramid with GAE error
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jacob Hite  
View profile  
 More options Oct 4 2012, 10:56 pm
From: Jacob Hite <jrh...@gmail.com>
Date: Fri, 5 Oct 2012 09:56:38 +0700
Local: Thurs, Oct 4 2012 10:56 pm
Subject: Re: Pyramid with GAE error
Thanks Alejandro for the tip. Indeed things work well with pyramid
1.3. Not so well with 1.4.
On Wed, Oct 3, 2012 at 6:15 AM, Alejandro Jatib <aja...@gmail.com> wrote:
> Thanks Thomas.
> I solve this issue deleting all files and creating a brand new virtualenv
> with a new installation of pyramid_appengine (a few week ago with pyramid
> 1.4 this not work, but with 1.3.4 yes)

> I not understand deeply how buildout works but i can do "the salad" with
> buildout/appengine/pyramid and works fine!

> Alejandro

> El miércoles, 26 de septiembre de 2012 13:23:16 UTC-3, Thomas G. Willis
> escribió:

>> I suppose the explanation for what you are doing(or should be) should
>> go here then to make it more obvious.

>> http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/dep...

>> ~/ $ cd newproject
>> ~/newproject $ /usr/bin/python2.7 bootstrap.py --distribute

>> pyramid_appengine merely generates a buildout directory based on
>> templates, once the project is generated, it's does not have
>> pyramid_appengine as a dependency.

>> installing pyramid/associated libs like pyramid_appengine in a
>> virtualenv is generally good practice so that you avoid polluting your
>> system install of python

>> maybe it's a miss on the expected experience level of the reader. If I
>> documented why you should use buildout and why you should use
>> virtualenv and why appengine apps are structured the way they are it
>> would be very long documentation that would be quickly out of date
>> because it would have to be copied from other sources.

>> So I'm open to suggestions on how to make this bit clearer, but I'm
>> not too keen on documenting virtualenv, appengine apps and buildout.
>> especially since all 3 are in a state of flux at the moment.

>> Thomas G. Willis

>> On Tue, Sep 25, 2012 at 2:25 AM, Jacob Hite <jrh...@gmail.com> wrote:
>> > I've encountered the same problem.

>> > The pyramid docs here specifically document using virtualenv and
>> > buildout together. Docs should probably be fixed...

>> > http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/dep...

>> > On Sun, Sep 16, 2012 at 10:05 PM, Thomas G. Willis <tom.w...@gmail.com>
>> > wrote:
>> >> As far as I know, buildout and virtualenv dont play well together.
>> >> buildout
>> >> and virtualenv do share some of the same goals such as isolating your
>> >> development environment libraries from your system. there's no reason I
>> >> can
>> >> think of to use both.

>> >> I would suggest trying to bootstrap the buildout with the system
>> >> python2.7.
>> >> like so

>> >> $ /usr/bin/python2.7 bootstrap.py --distribute && ./bin/buildout

>> >> If that doesn't work, file an issue @
>> >> https://github.com/Batterii/pyramid_appengine/issues and I'll see if I
>> >> can
>> >> help you out.

>> >> On Saturday, September 15, 2012 11:43:41 PM UTC-4, Alejandro Jatib
>> >> wrote:

>> >>> Hi guys,
>> >>> I'm making a new project with pyramid_appengine (I have a few other
>> >>> and
>> >>> these are working fine) and when i try to "buildout" a skeleton empty
>> >>> project i have this error:

>> >>>> .....
>> >>>> rod.recipe.appengine: Google App Engine distribution already
>> >>>> downloaded.
>> >>>> While:
>> >>>>   Installing mascotanube.
>> >>>> An internal error occurred due to a bug in either zc.buildout or in a
>> >>>> recipe being used:
>> >>>> Traceback (most recent call last):
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/zc.buildout-1.6.3-py2.7.egg/zc/buildout/buildout.py",
>> >>>> line 1852, in main
>> >>>>     getattr(buildout, command)(args)
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/zc.buildout-1.6.3-py2.7.egg/zc/buildout/buildout.py",
>> >>>> line 618, in install
>> >>>>     installed_files = self[part]._call(recipe.install)
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/zc.buildout-1.6.3-py2.7.egg/zc/buildout/buildout.py",
>> >>>> line 1327, in _call
>> >>>>     return f()
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/rod.recipe.appengine-2.0.0-py2.7.egg/rod/recipe/appengine/__init__.py",
>> >>>> line 327, in install
>> >>>>     self.copy_packages(ws, temp_dir)
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/rod.recipe.appengine-2.0.0-py2.7.egg/rod/recipe/appengine/__init__.py",
>> >>>> line 234, in copy_packages
>> >>>>     self.write_pkg_resources(ws, lib)
>> >>>>   File

>> >>>> "/Users/alejandro/Development/Python/enviroments/mascotanube/mascotanube/eg gs/rod.recipe.appengine-2.0.0-py2.7.egg/rod/recipe/appengine/__init__.py",
>> >>>> line 217, in write_pkg_resources
>> >>>>     assert len(setuptools_eggs) == 1, "setuptools not found"
>> >>>> AssertionError: setuptools not found

>> >>> Any suggestion?
>> >>> I use virtualenv and I have setuptools installed in the same
>> >>> virtualenv.

>> >>> Thanks!

>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "pylons-discuss" group.
>> >> To view this discussion on the web visit
>> >> https://groups.google.com/d/msg/pylons-discuss/-/vpBUKgzFSLkJ.

>> >> To post to this group, send email to pylons-...@googlegroups.com.
>> >> To unsubscribe from this group, send email to
>> >> pylons-discus...@googlegroups.com.
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/pylons-discuss?hl=en.

>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "pylons-discuss" group.
>> > To post to this group, send email to pylons-...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > pylons-discus...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/pylons-discuss?hl=en.

> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/vCVTUotsz_gJ.

> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.