My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 238: Debug for Google App Engine
8 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 455
Owner:  ----
Closed:  Dec 2010


Sign in to add a comment
 
Reported by enri...@gmail.com, Jul 15, 2008
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 1.9.9.2 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!
 
Sorgente.rar
3.6 KB   Download
Dec 13, 2008
#1 norm...@gmail.com
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
#2 cjwillia...@gmail.com
I get the same experience as Enrico, using Windows XP, with PyScripter 1.9.9.2.

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
#3 soonhui.ngu
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
Project Member #4 pyscripter
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 455
Sign in to add a comment

Powered by Google Project Hosting