|Issue 238:||Debug for Google App Engine|
|8 people starred this issue and may be notified of changes.||Back to list|
What steps will reproduce the problem? 1. Download Google App Engine https://code.google.com/appengine/ 2. Download, install Rpyc and properly configure project and remote engine 3. Try to Debug What is the expected output? What do you see instead? The server hang. What version of the product are you using? On what operating system? Pyscripter 126.96.36.199 on vista, App Engine Preview Please provide any additional information below. I attach the entire project, the only thing you need to reproduce the enviroment is the google app engine in your path. To start the dev_appserver.py I used a project with ad hoc configuration. Google app engine is a new framework to develop application that can run on google server, it' hot ;-), can you supply a guide to use pyscipter to debug in this enviroment ? PS: your editor rocks!
Dec 13, 2008
I can't figure out if it's really slow, or hung. Google's code tries to reload all modules (except encodings), so I extended it to leave Rpyc alone too and that seems to help. At one point I had to tell it to leave bdb alone too, otherwise it would crash.
Jan 25, 2009
I get the same experience as Enrico, using Windows XP, with PyScripter 188.8.131.52. I can run the Hello World example while the PyScripter run with dev_appserver.py. When PyScripter is closed (in effect killing the run), the Hello World server is no longer available. The above is true with the Internal Python Engine. I'll try it with the Remote Engine. The run produces: *** Remote Python engine is active *** >>> Command Line : -d helloworld INFO 2009-01-25 12:07:50,765 appengine_rpc.py] Server: appengine.google.com WARNING 2009-01-25 12:07:50,780 datastore_file_stub.py] Could not read datastore data from c:\docume~1\cjw\locals~1\temp\dev_appserver.datastore WARNING 2009-01-25 12:07:50,780 datastore_file_stub.py] Could not read datastore data from c:\docume~1\cjw\locals~1\temp\dev_appserver.datastore.history WARNING 2009-01-25 12:07:50,780 dev_appserver.py] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named PIL INFO 2009-01-25 12:07:50,796 dev_appserver_main.py] Running application helloworld on port 8080: http://localhost:8080 DEBUG 2009-01-25 12:08:59,203 dev_appserver.py] Matched "/" to CGI dispatcher with path helloworld.py localhost:8080 on Firefox gives no result for about 30 seconds and then pythonw takes 50% of the cpu time - still no response to Firefox (Dual core CPU) I'll look into the PIL problem. PyScripter must be closed to terminate the run. Colin W.
Jun 5, 2009
I can verify that this is indeed a problem with PyScripter. There is one way to work around the issue though, that is by placing a break point at the dev_appserver.py. But to get it working you need to input http://localhost:8080 a few times. And then your output will show on your web browser. You still can't step into your code to debug, as explained in here (http://stackoverflow.com/questions/789558/how-to-debug-google-app-engine-scripts-with- pyscripter) and as what I have experienced.
Dec 10, 2010
(No comment was entered for this change.)
|► Sign in to add a comment|