i might have found a bug in the latest SDK for goapp command. Since I am Japanese , I do not know whether English is transmitted , but you try to question
My spec is osx el capitan 10.11 64 bit go version go1.6 darwin/amd64 go_appengine where is "/Users/kinoshita/gcpug/gae1/go_appengine" export GOPATH=$HOME/go export PATH="/Users/kinoshita/go/bin:$PATH" export GOBIN=$PATH:$GOPATH/bin I installd goapp command SDK version 1.9.38 - 2016-05-25 in my path I execued git clone -b part1-helloworld https://github.com/GoogleCloudPlatform/appengine-guestbook-go.git helloworld on /Users/kinoshita/gcpug/gae1. my enviroment is <pre> [kinoshita@Mac] goapp env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/kinoshita/go" GORACE="" GOROOT="/Users/kinoshita/gcpug/gae1/go_appengine/goroot" GOTOOLDIR="/Users/kinoshita/gcpug/gae1/go_appengine/goroot/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1" </pre> i executed to serve test httpd <pre> [kinoshita@Mac] goapp serve helloworld INFO 2016-05-28 15:32:03,904 devappserver2.py:769] Skipping SDK update check. INFO 2016-05-28 15:32:04,088 api_server.py:205] Starting API server at: http://localhost:50319 INFO 2016-05-28 15:32:04,089 api_server.py:648] Applying all pending transactions and saving the datastore INFO 2016-05-28 15:32:04,089 api_server.py:651] Saving search indexes Traceback (most recent call last): File "/Users/kinoshita/gcpug/gae1/go_appengine/dev_appserver.py", line 84, in <module> _run_file(__file__, globals()) File "/Users/kinoshita/gcpug/gae1/go_appengine/dev_appserver.py", line 80, in _run_file execfile(_PATHS.script_file(script_name), globals_) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 1040, in <module> main() File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 1033, in main dev_server.start(options) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 824, in start self._dispatcher.start(options.api_host, apis.port, request_data) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 193, in start _module, port = self._create_module(module_configuration, port) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 278, in _create_module threadsafe_override=threadsafe_override) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/module.py", line 1156, in __init__ super(AutoScalingModule, self).__init__(**kwargs) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/module.py", line 538, in __init__ self._module_configuration) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/module.py", line 235, in _create_instance_factory module_configuration=module_configuration) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/go_runtime.py", line 115, in __init__ self._module_configuration) File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/go_application.py", line 164, in __init__ self._arch = self._get_architecture() File "/Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/go_application.py", line 197, in _get_architecture for platform in os.listdir(os.path.join(GOROOT, 'pkg', 'tool')): OSError: [Errno 2] No such file or directory: '/Users/kinoshita/gcpug/gae1/goroot/pkg/tool' error while running dev_appserver.py: exit status 1 </pre> but.No such file or directory: '/Users/kinoshita/gcpug/gae1/goroot/pkg/tool' i change code _SDKROOT = os.path.dirname(os.path.dirname(google.__file__)) to _SDKROOT = os.path.dirname(google.__file__)) in /Users/kinoshita/gcpug/gae1/go_appengine/google/appengine/tools/devappserver2/go_application.py on 35 and then it move. i think as os.path.dirname good only once:) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/7bf5ea01-2524-4e8c-a625-bd8ee2f8e7f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
