Google App Engine Error (The requested URL / was not found on this server)

后端 未结 2 627
名媛妹妹
名媛妹妹 2020-12-19 17:43

I am trying to create a simple web application that says Hello Udacity and upload it to Google App Engine, but I keep on getting a bunch of errors.

Error mes

相关标签:
2条回答
  • 2020-12-19 18:20

    You can make the URL entry as below to give you more flexibility when creating your url routing table

    - url: .*
      script: main.app
    
    0 讨论(0)
  • 2020-12-19 18:21

    The error is indicating that the url entry in your app.yaml is not valid. Try this

    url: /udacityassignment2
    

    And as Tim pointed, the mapping should be

    app = webapp2.WSGIApplication([
        ('/udacityassignment2', MainHandler)
    ], debug=True)
    
    0 讨论(0)
提交回复
热议问题