Re: app engine - state of play - 0.9.7
Previously Wichert Akkerman wrote: Previously Ben Bangert wrote: On May 3, 2009, at 7:42 AM, Wichert Akkerman wrote: And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. It hasn't? What is happening instead? I click on the + and get a javascript error. I noticed something interesting today: interactive traceback does not work with Firefox 3.5b4, but works fine with Safari 4 beta. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
Previously Ben Bangert wrote: On May 3, 2009, at 7:42 AM, Wichert Akkerman wrote: And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. It hasn't? What is happening instead? I click on the + and get a javascript error. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
The server always sets wsgi.multiprocess, but in the dev environment the processes aren't recycled that often so it's actually almost always okay (no worse than using it with paster --reload), but evalerror still disables itself. On Wed, May 6, 2009 at 1:35 PM, Mike Orr sluggos...@gmail.com wrote: On Wed, May 6, 2009 at 9:50 AM, Ben Bangert b...@groovie.org wrote: On May 6, 2009, at 12:54 AM, Wichert Akkerman wrote: I click on the + and get a javascript error. What type of environment? What wsgi server? I can see why it wouldn't work under GAE, since there's no guarantee you'll get back to the same process (it relies on a *single* long-lived process to ask for more debug info). The GAE problem also occurs in the development server. You get a cgitb traceback instead of the interactive traceback. Ian thinks WebError is disabling itself due to something in the environment, which may be related to David Wilson's workaround. Wichert's problem sounds completely different, and is not something I've encountered. I'm also curious what the Javascript error is. If it is a case of the server being restarted or a different server reached, the message would say that. Something like /_debug/123ABC is invalid (was the server restarted?). -- Mike Orr sluggos...@gmail.com -- Ian Bicking | http://blog.ianbicking.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
Previously Ben Bangert wrote: On May 6, 2009, at 12:54 AM, Wichert Akkerman wrote: I click on the + and get a javascript error. What type of environment? What wsgi server? I can see why it wouldn't work under GAE, since there's no guarantee you'll get back to the same process (it relies on a *single* long-lived process to ask for more debug info). A pretty standard environment: OSX, python2.5, paster, pylons 0.9.7. It could be a result of using chameleon.genshi, although it worked fine with chameleon a while ago. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
On May 3, 2009, at 7:42 AM, Wichert Akkerman wrote: And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. It hasn't? What is happening instead? - Ben smime.p7s Description: S/MIME cryptographic signature
Re: app engine - state of play - 0.9.7
Previously Mike Orr wrote: On Sat, May 2, 2009 at 1:21 PM, Mike Orr sluggos...@gmail.com wrote: On Sat, May 2, 2009 at 6:34 AM, David Wilson david.wil...@entertainmentcloud.com wrote: I could not seem to get the debugger to work (vital for consideration) The problem with the interactive traceback seems to be due to the middleware disabling itself because of something in the runtime environment -- some situation that wasn't foreseen when the middleware was written. We just have to figure out what exactly that is and patch the middleware to work with App Engine. Also, whatever broke is something recent, because the interactive traceback was working on App Engine a few months ago. And it's not limited to GAE; interactive traceback hasn't work for me for a month or so. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
i got the debugger going today: http://code.google.com/p/appengine-monkey/issues/detail?id=20 On May 2, 2:34 pm, David Wilson david.wil...@entertainmentcloud.com wrote: Hi My studio is currently evaluating Pylons (amoung Django, CherryPy, and an inhouse extended version of WebApp) for a high traffic web application we wish to run on GAE. Out of the web frameworks available I feel Pylons would be particularly suitable due to its modular approach. I had a few issues getting appengine-monkey to run on Windows which I documented here http://code.google.com/p/appengine-monkey/issues/detail?id=19 Which leads to the questions: 1) What does not work / has issues on GAE in Pylons 0.9.7 I could not seem to get the debugger to work (vital for consideration) 2) Is GAE a supported platform in the future for Pylons? i.e. is a version on the horizion that will have full functionality on a project build with a -gae switch, without the need for 3rd party patchs etc. Thanks David. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
On Sat, May 2, 2009 at 6:34 AM, David Wilson david.wil...@entertainmentcloud.com wrote: Hi My studio is currently evaluating Pylons (amoung Django, CherryPy, and an inhouse extended version of WebApp) for a high traffic web application we wish to run on GAE. Out of the web frameworks available I feel Pylons would be particularly suitable due to its modular approach. I had a few issues getting appengine-monkey to run on Windows which I documented here http://code.google.com/p/appengine-monkey/issues/detail?id=19 Which leads to the questions: 1) What does not work / has issues on GAE in Pylons 0.9.7 I could not seem to get the debugger to work (vital for consideration) 2) Is GAE a supported platform in the future for Pylons? i.e. is a version on the horizion that will have full functionality on a project build with a -gae switch, without the need for 3rd party patchs etc. That's actually Google's responsibility, not Pylons'. Buty App Engine SDK 1.2.1, released this month, has the Setuptools support so appengine-monkey is no longer necessary. I've started an appengine-homedir project that's based on appengine-monkey but without the monkey. http://bitbucket.org/sluggo/appengine-homedir/ I'll be testing it more this weekend. As for what works, normal templates and routing and Datastore usage works. Beaker has a google backend that uses Datastore, which has had intermittent problems so I'm not sure if it's working now. The problem with the interactive traceback seems to be due to the middleware disabling itself because of something in the runtime environment -- some situation that wasn't foreseen when the middleware was written. We just have to figure out what exactly that is and patch the middleware to work with App Engine. paster controller and paster restcontroller don't work with appengine-homedir because the configuration deletes the egg-info directory that contains the controller entry point. I'm going to see if the directory can be retained in that structure, and if that'll be enough for the commands to work. paster create and the others work because they're built into Paste. As for Windows-specific problems, I don't know of any Pylons/App Engine developer who uses Windows, so we'd need a Windows-using developer to troubleshoot those. You know of any (hint)? It's the same problem with Virtualenv: the Windows users haven't been giving feedback or patches. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---
Re: app engine - state of play - 0.9.7
On Sat, May 2, 2009 at 1:21 PM, Mike Orr sluggos...@gmail.com wrote: On Sat, May 2, 2009 at 6:34 AM, David Wilson david.wil...@entertainmentcloud.com wrote: I could not seem to get the debugger to work (vital for consideration) The problem with the interactive traceback seems to be due to the middleware disabling itself because of something in the runtime environment -- some situation that wasn't foreseen when the middleware was written. We just have to figure out what exactly that is and patch the middleware to work with App Engine. Also, whatever broke is something recent, because the interactive traceback was working on App Engine a few months ago. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---