you do not have permission to download this app version.
とエラーで落ちてしまう。
何か権限的なものであろうとコンソール上を調べていていたら、Permissionsの項目の中に
permanently prohibit code downloads
ってリンクを発見。
ちゃんと訳さずにリンク押下してその先も適当にぽちぽちやっていたら、
Note: code downloads are prohibited.
って出てしまい、downloadが不可能に!
戻す方法はどこにも書いてなく、絶望的な状況に。
一番最初のエラーの回避は以下のオプションを付ければ良かった様である。
$ appcfg.py --secure --no_cookies -e mailaddress download_app -A app_id dest_directory
英語のドキュメントにはちゃんと書いてあった
http://code.google.com/intl/en/appengine/docs/python/tools/uploadinganapp.html#Downloading_Source_Code
Warning! This action is irreversible. After you prohibit code download, there is no way to re-enable this feature.
戻せないのか。。
以後気をつけよう。
一度でもuploadしたことないuserではdownloadできないとも書いてあるな。上で書いた事は嘘だった。