I'm coding with the GAE in python, and I tried to make two script files. So I make the app.yaml like this:
application: mathgirlna
version: 1
runtime: python
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /dailybasic/.*
script: /dailybasic.py
login: admin
- url: /.*
script: main.py
And when I see the logs, it says 'file referenced by handler not found : dailybasic.py'. I have no idea how the app.yaml have to be written.
Here's my file tree:
- static
- index.css
- app.yaml
- index.yaml
- cron.yaml
- index.html
- main.py
- dailybasic.py
I'm also hesitating with this tree. Should I move these files?
And last, I've not installed the python library 'ssl'. Could it be a reason of this error?
Remove the
'/'
inscript: /dailybasic.py
.