Google App Engine with Eclipse?

I am trying to use the Google App Engine with Eclipse, but it does not work.

I downloaded PyDev and made a Hello World Python application to work just fine.

Then I created a new project with the Google App Engine template. I followed these instructions. I used "Hello Webapp World" as a template and did not change any of the Python code. I have added the GAE directory to my external libraries.

Then I created a run configuration for my project with the “Main Unit” as the HelloWorld.py file that I created. I had one "program argument":

"${project_loc}/src" 

Doing this returns the following:

 Status: 404 Not Found Content-Type: text/html; charset=utf-8 Cache-Control: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Content-Length: 0 

However, if I run the same application using the Google App Engine Launcher, it works fine. So what am I doing wrong in Eclipse?

+4
source share
1 answer

I myself dealt with this problem.

The following should be installed in the main module:

 ${GOOGLE_APP_ENGINE}/dev_appserver.py 

He covers this in step 3 of the instructions in the “Starting the first project” section. I must have glazed it for the first time. Hope this helps!

+6
source

Source: https://habr.com/ru/post/1302806/


All Articles