Search the web
Sign In
New User? Sign Up
zope
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[Zope-dev] A suggestion for changing exception handler when loading   Message List  
Reply | Forward Message #184085 of 185486 |
Re: [Zope-dev] A suggestion for changing exception handler when loading 'c' optimisations to make modules more friendly for GAE

On 7/3/09 1:29 PM, Tres Seaver wrote:
>> In general, I find deploying as zip files to be an anti-feature. In
>> seems especially insane when extension modules are involved.
>
> The only way to deploy *any* non-toy app on GAE is via zip file(s) (I
> would think a single big one would be best), due to their limit on the
> number of files.

Actually they've raised the limit to 3000 files now, which is more realistic
(previously it was impossible to deploy even minimal apps without zipping
library eggs, now the zipping is largely unnecessary if you keep your
dependencies sane).

- C
_______________________________________________
Zope-Dev maillist - Zope-Dev@...
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )



Fri Jul 3, 2009 8:44 pm

chrism@...
Send Email Send Email

Forward
Message #184085 of 185486 |
Expand Messages Author Sort by Date

Hi all Can I make a suggestion that would make a couple of modules more gae friendly ;-) zope.interface and zope.i18nmessageid have 'c' optimisations which ...
Tim Hoffman
timh@...
Send Email
Jul 3, 2009
2:50 am

Hi, yes, I'd really appreciate such a modification. Then I could delete the regarding code in my rod.recipe.appengine, which provides a dummy implementation of...
Tobias Rodäbel
tobias.rodaebel@...
Send Email
Jul 3, 2009
8:35 am

... This actually feels like a bug in GAE to me... This should be an ImportError... Chris -- Simplistix - Content Management, Zope & Python Consulting -...
Chris Withers
chris@...
Send Email
Jul 3, 2009
8:39 am

I suppose that depends on your point of view. They exception is actually saying that imp.load_dynamic is not implemented, not that it can't load the dynamic...
Tim Hoffman
timh@...
Send Email
Jul 3, 2009
9:05 am

... Sorry, I don't agree. We assume an imp.load_dynamic function from what we read in the python documentation. But the implementation in GAE does not provide...
Tobias Rodäbel
tobias.rodaebel@...
Send Email
Jul 3, 2009
9:06 am

... Ahhh, I see, sorry, misread where the exception was coming from. Surely the try:except for the NotImplementedError should be rwapped just around the call...
Chris Withers
chris@...
Send Email
Jul 3, 2009
9:09 am

... This bootstrapping code is generated by setuptools to deal with loading extension modules in zip files. It does some unholy things to make this work. I'd...
Jim Fulton
jim@...
Send Email
Jul 3, 2009
10:04 am

Hi Jim That is what I am doing now, the problem I see though is when someone upates (via buildout etc.... a) module they need to remember to remove the...
Tim Hoffman
timh@...
Send Email
Jul 3, 2009
10:30 am

... I'm sure there's a way to do it. It will just take some digging. Maybe there's a way to tell setuptools not to do it or maybe there's enough meta data...
Jim Fulton
jim@...
Send Email
Jul 3, 2009
10:34 am

... Great idea to examine EGG-INFO/SOURCES.txt, Jim! I just added this to my recipe (http://pypi.python.org/pypi/rod.recipe.appengine) and got rid of the...
Tobias Rodäbel
tobias.rodaebel@...
Send Email
Jul 3, 2009
12:09 pm

Hi Tobias Cool Just something to note google recently upped the file limit to 3000 so don't be too agressive generating those zips ;-) T ... ...
Tim Hoffman
timh@...
Send Email
Jul 3, 2009
1:21 pm

... Hash: SHA1 ... I think the suggestion to remap the NotImplementedError to an Import error is sensible (in that __bootstrap__ method). ... The only way to...
Tres Seaver
tseaver@...
Send Email
Jul 3, 2009
5:30 pm

... Actually they've raised the limit to 3000 files now, which is more realistic (previously it was impossible to deploy even minimal apps without zipping ...
Chris McDonough
chrism@...
Send Email
Jul 3, 2009
8:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help