Hi there,
* I've got the cloud SDK installed:
C:\Users\kees\gae\helloworld>gcloud components list
Your current Cloud SDK version is: 213.0.0
The latest available version is: 213.0.0
+-------------------------------------------------------------------------------------------------------------+
| Components |
+---------------+------------------------------------------------------+--------------------------+-----------+
| Status | Name | ID | Size |
+---------------+------------------------------------------------------+--------------------------+-----------+
...
| Installed | App Engine Go Extensions | app-engine-go | 154.5 MiB |
| Installed | BigQuery Command Line Tool | bq | < 1 MiB |
| Installed | Cloud Datastore Emulator | cloud-datastore-emulator | 17.4 MiB |
| Installed | Cloud SDK Core Libraries | core | 8.3 MiB |
| Installed | Cloud Storage Command Line Tool | gsutil | 3.6 MiB |
| Installed | gcloud app Python Extensions | app-engine-python | 6.2 MiB |
+---------------+------------------------------------------------------+--------------------------+-----------+
* I put the Hello World sample in %HOMEPATH%\gae\helloworld.
* The Quickstart tutorial next instructs me to run:
dev_appserver.py app.yaml.
*This doesn't work on Windows, so I modified it to:
c:\Python27\python.exe C:%HOMEPATH%\AppData\Local\Google\Cloud" "SDK\google-cloud-sdk\platform\google_appengine\dev_appserver.py app.yaml
* That version of the command runs, but the build fails:
ERROR 2018-08-24 13:35:08,111 instance_factory.py:229] Failed to build Go application: (Executed command: C:\Users\kees\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\goroot-1.9\bin\go-app-builder.exe -app_base C:\Users\kees\gae\helloworld -api_version go1 -arch 6 -dynamic -goroot C:\Users\kees\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\goroot-1.9 -nobuild_files ^^$ -incremental_rebuild -unsafe -binary_name _go_app -extra_imports appengine_internal/init -work_dir c:\users\kees\appdata\local\temp\tmpvpzy1nappengine-go-bin -gcflags -I,C:\\Users\\kees\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\google_appengine\\goroot-1.9\\pkg\\windows_amd64_appengine -ldflags -L,C:\\Users\\kees\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\google_appengine\\goroot-1.9\\pkg\\windows_amd64_appengine hello.go)
c:\users\kees\appdata\local\temp\tmpvpzy1nappengine-go-bin\hello.go:11:2: can't find import: "
google.golang.org/appengine"
ERROR 2018-08-24 13:41:27,938 instance_factory.py:229] Failed to build Go application: (Executed command: C:\Users\kees\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\goroot-1.9\bin\go-app-builder.exe -app_base C:\Users\kees\gae\helloworld -api_version go1 -arch 6 -dynamic -goroot C:\Users\kees\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\goroot-1.9 -nobuild_files ^^$ -incremental_rebuild -unsafe -binary_name _go_app -extra_imports appengine_internal/init -work_dir c:\users\kees\appdata\local\temp\tmpwspdkiappengine-go-bin -gcflags -I,C:\\Users\\kees\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\google_appengine\\goroot-1.9\\pkg\\windows_amd64_appengine -ldflags -L,C:\\Users\\kees\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\google_appengine\\goroot-1.9\\pkg\\windows_amd64_appengine hello.go)
c:\users\kees\appdata\local\temp\tmpwspdkiappengine-go-bin\hello.go:16:2: undefined: appengine.Main
* Also found a suggestion to use goapp serve instead of dev_appserver.py, but that one has a path escape problem it seems:
python: can't open file 'C:\Users\kees\AppData\Local\Google\Cloud': [Errno 2] No such file or directory
Thanks,
Kees