0

I'm practically new to Google App Engine, but i have a homework to create some app with it. I'm trying to debugging my app offline using google interactive shell. http://localhost:8080 looks fine, but when i tried to open http://localhost:8080/shell for debugging, it gave me broken URL. I have my directories checked, and they are fine for me.

I think my problem is in app.yaml file. Well, I know nothing about .yaml file, could anyone please tell me where I put something wrong in it?

Here's my app.yaml (I put all interactive shell properties in folder named '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
Chris
  • 22,923
  • 4
  • 56
  • 50
  • 1
    Can you be a bit more specific about the error? – Drew Sears Nov 10 '11 at 17:21
  • 1
    What is shell/shell.py? Where does it come from? And what is a "broken URL" precisely? – Nick Johnson Nov 10 '11 at 23:31
  • @NickJohnson I put shell.py and other properties such as static/* and templates/* folders in a folder named 'shell' – Alwin Tyanto Nov 11 '11 at 04:47
  • @DrewSears I get an error message like this _The webpage at http://localhost:8080/shell might be temporarily down or it may have moved permanently to a new web address._ – Alwin Tyanto Nov 11 '11 at 04:54
  • 1
    @AlwinTyanto That's nice, but you haven't explained what shell.py is or where it comes from. – Nick Johnson Nov 11 '11 at 05:11
  • @NickJohnson well, shell.py is a file from Google Interactive Shell Code, I downloaded it from [link](http://code.google.com/p/google-app-engine-samples/downloads/detail?name=shell_20091112.tar.gz) – Alwin Tyanto Nov 11 '11 at 06:30

1 Answers1

0

Should the shell.* be shell in yaml rule if you want to find it in http://localhost:8080/shell

- url: /shell
  script: shell/shell.py
Teemu Ikonen
  • 11,861
  • 4
  • 22
  • 35