0

I'm experiencing the following error attemtpting to run helloworld application

Fatal error when loading application configuration:Unknown url handler type

app.yaml code follows :

application: helloworld 
version: 1 
runtime: python27
api_version: 1 
threadsafe: true
handlers:
- url: /*
script: helloworld.py   
inf3rno
  • 20,735
  • 9
  • 97
  • 171
  • does it work on localhost? – sadaf2605 Jan 18 '13 at 05:02
  • 2
    Can you please copy and paste the error log? I am expecting there should be huge number of lines that would explain the error! – sadaf2605 Jan 18 '13 at 05:03
  • 5
    Please make sure the two missing space characters before `script: helloworld.py` are a transcription error. YAML, like Python, relies on correct indentation. Also, if you're using 2.7, you should be using WSGI, and therefore setting up an .app script and not a .py script. Also, I'm *almost sure* you did not mean to use that regular expression, and probably meant either `/` or `/.*`. – Martín Valdés de León Jan 18 '13 at 05:05

1 Answers1

0

same problem was

Ive fixed it by removing space before "- url" and check if you have two spaces befor "script"

jsHate
  • 371
  • 1
  • 3
  • 18