2011-11-10 56 views
0

我几乎不熟悉Google App Engine,但我有作业用它来创建一些应用程序。 我试图使用谷歌交互式shell来离线调试我的应用程序。 http://localhost:8080看起来不错,但是当我试图打开http://localhost:8080/shell进行调试时,它给了我破损的URL。我有我的目录检查,他们对我来说很好。谷歌交互式外壳

我想我的问题是在app.yaml文件中。那么,我对.yaml文件一无所知,任何人都可以告诉我我在哪里放错了什么?

这里是我的app.yaml(我把文件夹中所有交互shell属性命名为 '壳')

application: myapp 
version: 1 

runtime: python 
api_version: 1 

handlers: 
- url: /static 
    static_dir: shell/static 
    expiration: 1d 

- url: /remote_api 
    script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py 

- url: /shell.* 
    script: shell/shell.py 

- url:/
    script: myapp.py 
+1

你能对这个错误更具体一点吗? –

+1

什么是shell/shell.py?它从何而来?究竟什么是“破碎的URL”? –

+0

@NickJohnson我把shell.py和其他属性如static/*和templates/*文件夹放在一个名为'shell'的文件夹中 –

回答