1

I can't deploy to app engine.

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/appcfg.py -e my@gmail.com --passin --no_cookies update .
Usage: appcfg.py [options] update <directory> | [file, ...]

appcfg.py: error: Directory does not contain an app.yaml configuration file

Process finished with exit code 2

The project dir contains an app.yaml, which gae ca find when running the devserver.

Is this just another hopeless reinstall everything kind of problem?

Patrice
  • 4,641
  • 9
  • 33
  • 43
Filip Haglund
  • 13,919
  • 13
  • 64
  • 113
  • 1
    Please run instead a simple shell script that shows the current working directory and its contents before running `appcfg.py` -- that will show you exactly what that "." is at the time appcfg.py run (I bet it's not what you think it is!). – Alex Martelli Jan 31 '15 at 19:30
  • The problem might be that `app.yaml` is not in your current directory while `appcfg.py` is in your path. I think the solution could be that you perform `cd` to the directory where you have the `app.yaml` and try it that way. – Niklas Rosencrantz Feb 02 '15 at 12:19
  • did you resolve this? I have the same problem – Houman Dec 22 '15 at 22:52
  • This *might* help: http://stackoverflow.com/a/33132299/4495081 – Dan Cornilescu Jun 27 '16 at 17:05

0 Answers0