In the Google App-Engine examples, it is mentioned that you have to
pass the Application folder name to dev_appserver.py  as shown below:
google_appengine/dev_appserver.py helloworld/

But, it actually means, you have to pass the path of your application
folder containing app.yaml (App Config) file.
Whereas in many cases app.yaml file resides in the "src" directory,
which is a sub-directory of the application.

So suppose, if your app.yaml file is in "C:\project\workspace
\helloworld\src" directory, use the following command
c:\> dev_appserver.py C:\project\workspace\helloworld\src

or

C:\project\workspace> dev_appserver.py helloworld\src

===========================================================================================

On Dec 9 2008, 10:52 am, djidjadji <[email protected]> wrote:
> That is not true.
>
> My setup works and is as follows for WindowsXP.
>
> Install Python 2.5.x on whatever drive you like, C:\Pyhon25
> Install google_appengine in whatever directory you like,
> C:\google\google_appengine
> Make sure this GAE dir is part of the PATH environment variable
> Put your project in whatever dir you want, C:\Projects\My_GAE_app
> in a command window,
>    cd C:\Projects
>    dev_appserver.py My_GAE_app
>
> 2008/12/8 wowm <[email protected]>:
>
> > Ok, i found the solution and it is plain ridiculous.
>
> > The dev_appserver thing only works if your project is inside the
> > google_appengine folder... I don't know if we are able to put in some
> > kind of relative paths.
>
> > So... move your project to google_appengine folder, run the server,
> > and be happy.
>
> > Regards
>
> > On Oct 28, 7:14 pm, sketchor <[email protected]> wrote:
> >> Sorry for not responding to these sooner.
>
> >> > First, what is your full PYTHONPATH? What is the in the directory
> >> > helloworld.py, and are there any permissions issues with the files in the
> >> > directory (like not being set to readable by the dev_appserver)?
>
> >> C:\soft\python25\
>
> >> Note: the python exe in that location is python.exe.
>
> >> > Does the result change if you run this explicitly with Python 2.5 (as in
> >> > c:\python\python25.exe dev_appserver.py helloworld)?
>
> >> With the full path of python.exe specified, python.exe: Can't open
> >> file 'dev_appserver.py': [Error 2] No such file or directory
>
> >> > Does it work if you name the full path to helloworld (dev_appserver.py
> >> > c:\...\helloworld\).
>
> >> With the full path of dev_appserver.py specified, got ImportError: No
> >> Module named google.appengine.tools
>
> >> Following is the command I ran:
>
> >> C:\soft\google\helloworld>C:\"Program Files"\Google\google_appengine
> >> \google\appengine\tools\dev_appserver.py helloworld/
> >> Traceback (most recent call last):
> >> File "c:\Program Files\Google\google_appengine\googleengine\tools
> >> \dev_appengine\tools\dev_appserver.py", line 34, in (module)
> >>    from google.appengine.tools import os_compat
> >> ImportError: No module named google.appengine.tools
>
> >> This is pretty hard to just try out a simple program.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to