Can't run server

453 views
Skip to first unread message

Ankur Jain

unread,
Apr 8, 2008, 1:59:50 AM4/8/08
to Google App Engine
Hello All,

I am trying to run Google App Engine SDK on windows platform. I
completed the installation of Python 2.5 from Python.org and I'm
running the webserver using the helloworld application -
google_appengine/dev_appserver.py helloworld/. However, I am facing
problem in starting the web server.

Whenever I run the above command, the command immediately gets
terminated and my notepad window gets opened with the source code of
dev_appserver.py. There is no webserver running at http://localhost:8080/
(Getting the message: Unable to connect in Firefox).

I know I should use Linux but I don't have access to linux box at this
hour of the night and I can't wait till tomorrow morning to run my
first app :-).

Please suggest what should I do.

Thanks,
Ankur

Mike Koss

unread,
Apr 8, 2008, 2:18:21 AM4/8/08
to Google App Engine
Sounds like you don't have Python installed properly? Is the python
directory in your path? Is the .py file extension associated with
Python?

On Apr 7, 10:59 pm, Ankur <ankj...@gmail.com> wrote:
> Hello All,
>
> I am trying to run Google App Engine SDK on windows platform. I
> completed the installation of Python 2.5 from Python.org and I'm
> running the webserver using the helloworld application -
> google_appengine/dev_appserver.py helloworld/. However, I am facing
> problem in starting the web server.
>
> Whenever I run the above command, the command immediately gets
> terminated and my notepad window gets opened with the source code of
> dev_appserver.py. There is no webserver running athttp://localhost:8080/

Ankur Jain

unread,
Apr 8, 2008, 2:21:17 AM4/8/08
to google-a...@googlegroups.com
Python directory is in the path. In fact, I manually set it using SET PATH=$PATH;"C:\python25".

-Ankur

LarryRubin

unread,
Apr 8, 2008, 3:08:52 AM4/8/08
to Google App Engine
From your command prompt try:

dev_appserver.py [FULL_PATH_TO_YOUR_HELLOWORLD_DIRECTORY]

in my case i put the helloworld directory in a subdirectory of
appengine on the C: drive, so:

dev_appserver.py c:\appengine\helloworld



On Apr 7, 10:59 pm, Ankur <ankj...@gmail.com> wrote:
> Hello All,
>
> I am trying to run Google App Engine SDK on windows platform. I
> completed the installation of Python 2.5 from Python.org and I'm
> running the webserver using the helloworld application -
> google_appengine/dev_appserver.py helloworld/. However, I am facing
> problem in starting the web server.
>
> Whenever I run the above command, the command immediately gets
> terminated and my notepad window gets opened with the source code of
> dev_appserver.py. There is no webserver running athttp://localhost:8080/

Roger

unread,
Apr 8, 2008, 8:04:14 AM4/8/08
to Google App Engine
I have still encountered problem when starting server. the following
are message when I runing( envirement: Windows XP, c:\python25 ,c:
\helloworld),

C:\>dev_appserver.py c:\helloworld
Allow dev_appserver to check for updates on startup? (Y/n): n
dev_appserver will not check for updates on startup. To change this
setting, edit /home/user/.appcfg_nag
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\dev_appserver.py",
line 50, in <module>
execfile(script_path, globals())
File "C:\Program Files\Google\google_appengine\google/appengine/
tools/dev_appserver_main.py", line 338, in <module>
sys.exit(main(sys.argv))
File "C:\Program Files\Google\google_appengine\google/appengine/
tools/dev_appserver_main.py", line 300, in main
if update_check.AllowedToCheckForUpdates():
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.py", line 651, in AllowedToCheckForUpdate
s
self._WriteNagFile(nag)
File "C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.py", line 577, in _WriteNagFile
fh = self.open(UpdateCheck.MakeNagFilename(), "w")
IOError: [Errno 2] No such file or directory: '/home/user/.appcfg_nag'
> > Ankur- 隐藏被引用文字 -
>
> - 显示引用的文字 -
Reply all
Reply to author
Forward
0 new messages