Can't use the development web server with windows vista...

已查看 1 次
跳至第一个未读帖子

Bob the Tomato

未读,
2008年6月1日 13:37:412008/6/1
收件人 Google App Engine
I'm trying to get the development web server to work with windows
vista. But when ever I try to use the command, it comes up with this
error:

C:\Program Files\Google\google_appengine>dev_appserver.py c:\users
\stephen\desktop\helloworld
Invalid arguments
Runs a development application server for an application.

dev_appserver.py [options] <application root>

Application root must be the path to the application to run in this
server.
Must contain a valid app.yaml or app.yml file.

Options:
--help, -h View this helpful message.
...ect.

My directories are :
C:\Program Files\Google\google_appengine
C:\Users\Stephen\Desktop\helloworld
and for python: C:\Python25

elsigh

未读,
2008年6月1日 13:39:102008/6/1
收件人 Google App Engine
Can you post the contents of helloworld on your desktop? Do you have
an app.yaml in there?

Bob the Tomato

未读,
2008年6月1日 13:41:092008/6/1
收件人 Google App Engine
Yes, I have for helloworld.py:
print 'Content-Type: text/plain'
print ''
print 'Hello, world!'

and app.yaml:
application: helloworld
version: 1
runtime: python
api_version: 1

handlers:
- url: /.*
script: helloworld.py

Duncan

未读,
2008年6月1日 14:33:342008/6/1
收件人 Google App Engine
On Jun 1, 6:37 pm, Bob the Tomato <stephena...@yahoo.com> wrote:
> I'm trying to get the development web server to work with windows
> vista. But when ever I try to use the command, it comes up with this
> error:
>
> C:\Program Files\Google\google_appengine>dev_appserver.py c:\users
> \stephen\desktop\helloworld
> Invalid arguments

Did you read yesterday's thread with apparently the same issue?

http://groups.google.com/group/google-appengine/browse_thread/thread/c074c6b1372ae497#

Bob the Tomato

未读,
2008年6月1日 14:40:212008/6/1
收件人 Google App Engine

Bob the Tomato

未读,
2008年6月1日 15:15:432008/6/1
收件人 Google App Engine
It didn't work for me.

Duncan

未读,
2008年6月1日 16:07:572008/6/1
收件人 Google App Engine
On Jun 1, 8:15 pm, Bob the Tomato <stephena...@yahoo.com> wrote:
> It didn't work for me.
>
What happens if you run Python explicitly? e.g.

C:\Program Files\Google\google_appengine>C:\Python25\python
dev_appserver.py c:\users\stephen\desktop\helloworld

or:

C:\users\stephen\desktop\helloworld>C:\Python25\python "C:\Program
Files\Google\google_appengine\dev_appserver.py" .

Bob the Tomato

未读,
2008年6月1日 19:35:512008/6/1
收件人 Google App Engine
Those two just gave me the same problem as before.

Bob the Tomato

未读,
2008年6月1日 19:50:272008/6/1
收件人 Google App Engine
Wait, okay. I figured it out.
I did as you suggested but made the directory C:\Users\Stephen\Desktop
instead and defined the port and added helloworld\ at the end.
Thanks Duncan.

On Jun 1, 4:07 pm, Duncan <kupu...@googlemail.com> wrote:
回复全部
回复作者
转发
0 个新帖子