campbel / gae-ng-seed Goto Github PK
View Code? Open in Web Editor NEWGoogle App Engine / Angular JS Seed Project
Google App Engine / Angular JS Seed Project
The Go application could not be built.
(Executed command: /home/nox/Apps/go_appengine/goroot/bin/go-app-builder -app_base /home/nox/workspace/goapp -arch 6 -dynamic -goroot /home/nox/Apps/go_appengine/goroot -nobuild_files ^^$ -unsafe -gopath /home/nox/go -binary_name _go_app -extra_imports appengine_internal/init -work_dir /tmp/tmpE97_wgappengine-go-bin -gcflags -I,/home/nox/Apps/go_appengine/goroot/pkg/linux_amd64_appengine -ldflags -L,/home/nox/Apps/go_appengine/goroot/pkg/linux_amd64_appengine server/api/xsrf_middleware.go server/server.go server/api/api.go server/xsrf.go)
/tmp/tmpE97_wgappengine-go-bin/server/api/xsrf_middleware.go:15: undefined: gore.Request
/tmp/tmpE97_wgappengine-go-bin/server/api/xsrf_middleware.go:15: undefined: gore.Response
2015/04/25 20:29:37 go-app-builder: build timing: 4×6g (91ms total), 0×gopack (0 total), 0×6l (0 total)
2015/04/25 20:29:37 go-app-builder: failed running 6g: exit status 1
Hello,
I have troubles starting the seed app. I have not changed anything in the code, just cloned it and followed the installation steps (GAE, bower, etc.). Here is the terminal output with a relevant error message:
gae-ng-seed$ goapp serve
INFO 2015-09-03 16:14:16,899 devappserver2.py:763] Skipping SDK update check.
INFO 2015-09-03 16:14:16,927 api_server.py:205] Starting API server at: http://localhost:58681
INFO 2015-09-03 16:14:16,937 dispatcher.py:197] Starting module "default" running at: http://localhost:8080
INFO 2015-09-03 16:14:16,938 admin_server.py:118] Starting admin server at: http://localhost:8000
ERROR 2015-09-03 16:14:17,972 go_runtime.py:180] Failed to build Go application: (Executed command: /opt/go_appengine/goroot/bin/go-app-builder -app_base /home/almer/go/gae-ng-seed -arch 6 -dynamic -goroot /opt/go_appengine/goroot -nobuild_files ^^$ -unsafe -gopath /opt/go_appengine/gopath -binary_name _go_app -extra_imports appengine_internal/init -work_dir /tmp/tmpgN_4V1appengine-go-bin -gcflags -I,/opt/go_appengine/goroot/pkg/linux_amd64_appengine -ldflags -L,/opt/go_appengine/goroot/pkg/linux_amd64_appengine server/api/xsrf_middleware.go server/server.go server/api/api.go server/xsrf.go)
/tmp/tmpgN_4V1appengine-go-bin/server/xsrf.go:6: can't find import: "code.google.com/p/xsrftoken"
2015/09/03 18:14:17 Can't find package "code.google.com/p/xsrftoken" in $GOPATH: cannot find package "code.google.com/p/xsrftoken" in any of:
/opt/go_appengine/goroot/src/code.google.com/p/xsrftoken (from $GOROOT)
/opt/go_appengine/gopath/src/code.google.com/p/xsrftoken (from $GOPATH)
2015/09/03 18:14:17 Can't find package "github.com/campbel/gore" in $GOPATH: cannot find package "github.com/campbel/gore" in any of:
/opt/go_appengine/goroot/src/github.com/campbel/gore (from $GOROOT)
/opt/go_appengine/gopath/src/github.com/campbel/gore (from $GOPATH)
2015/09/03 18:14:17 go-app-builder: build timing: 1×6g (16ms total), 0×gopack (0 total), 0×6l (0 total)
2015/09/03 18:14:17 go-app-builder: failed running 6g: exit status 1
Thanks in advance
UPDATE 1
This issue was solved by executing
go get github.com/campbel/gore
# requires mercurial to be installed
# sudo apt-get install mercurial
go get code.google.com/p/xsrftoken
UPDATE 2
There is a bug in app.yaml
config file. The line about bower_components
has to be updated:
- url: /bower_components
static_dir: client/bower_components
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.