LoginSignup
0
0

More than 5 years have passed since last update.

[Windows]GCPチュートリアル「BOOKSHELF APP」のデプロイ時に日本語パスが問題でコケた時の回避策

Posted at

現象

以下のチュートリアルを試していて、

AppEngineのデプロイツールをgo getし、aedeployしたときに

$ go get -u google.golang.org/appengine/cmd/aedeploy
$ aedeploy gcloud preview app deploy app.yaml
ERROR: gcloud crashed (UnicodeDecodeError): 'ascii' codec can't decode byte ...

なるエラーが出てしまいデプロイが完了しません。

環境変数 TEMP,TMPの変更

$ set TEMP D:/tmp
$ set TMP D:/tmp
$ aedeploy gcloud preview app deploy app.yaml
(snip)
Updating module [default]...done.
Deployed module [default] to [https://your-app-name.appspot.com]

これまでの経験からパスに日本語を含む場所かなとおもったので、今回のケースであれば、TEMP,TMPを日本語含まないパスに変更すればデプロイまで完了できました!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0