dev_appserver.py intermittently failing

172 views
Skip to first unread message

Adam Denenberg

unread,
Aug 10, 2017, 11:21:04 AM8/10/17
to google-appengine-go
When running dev_appserver.py dev.yaml, every once in a while it just plain fails unable to link with the following error.  Simply restarting works fine.  Any ideas here ?

INFO     2017-08-10 14:58:14,376 devappserver2.py:116] Skipping SDK update check.
INFO     2017-08-10 14:58:14,493 api_server.py:313] Starting API server at: http://localhost:59255
INFO     2017-08-10 14:58:14,501 dispatcher.py:226] Starting module "api" running at: http://localhost:8080
INFO     2017-08-10 14:58:14,507 admin_server.py:116] Starting admin server at: http://localhost:8000
WARNING  2017-08-10 14:58:14,507 devappserver2.py:207] No default module found. Ignoring.
/Users/dberg/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/mtime_file_watcher.py:182: UserWarning: There are too many files in your application for changes in all of them to be monitored. You may have to restart the development server to see some changes to your files.
  'There are too many files in your application for '

google-cloud-sdk/platform/google_appengine/goroot-1.8/pkg/tool/darwin_amd64/link: /var/folders/x1/7vmj7p5s0rg4l3n65b6l_27w0000gp/T/tmpNj3HAlappengine-go-bin/src/services.a: not package main

2017/08/10 10:58:22 go-app-builder: build timing: 0×skip (24ms total), 34×compile (4.555s total), 1×link (32ms total)
2017/08/10 10:58:22 go-app-builder: failed running link: exit status 2


Then restarting, works fine.

dev.yaml looks like

runtime: go
api_version: go1.8
service: api
env: standard

skip_files:
- ^(.*)?_test.go
- ^(.*)?populate.go

handlers:
- url: /.*
  script: _go_app
Reply all
Reply to author
Forward
0 new messages