{"action":"created","issue":{"url":"https://api.github.com/repos/revel/cmd/issues/50","repository_url":"https://api.github.com/repos/revel/cmd","labels_url":"https://api.github.com/repos/revel/cmd/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/revel/cmd/issues/50/comments","events_url":"https://api.github.com/repos/revel/cmd/issues/50/events","html_url":"https://github.com/revel/cmd/issues/50","id":160413781,"number":50,"title":"-X flag requires argument of the form importpath.name=value","user":{"login":"paritosh90","id":1361970,"avatar_url":"https://avatars.githubusercontent.com/u/1361970?v=3","gravatar_id":"","url":"https://api.github.com/users/paritosh90","html_url":"https://github.com/paritosh90","followers_url":"https://api.github.com/users/paritosh90/followers","following_url":"https://api.github.com/users/paritosh90/following{/other_user}","gists_url":"https://api.github.com/users/paritosh90/gists{/gist_id}","starred_url":"https://api.github.com/users/paritosh90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paritosh90/subscriptions","organizations_url":"https://api.github.com/users/paritosh90/orgs","repos_url":"https://api.github.com/users/paritosh90/repos","events_url":"https://api.github.com/users/paritosh90/events{/privacy}","received_events_url":"https://api.github.com/users/paritosh90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/revel/cmd/labels/discuss","name":"discuss","color":"000000"},{"url":"https://api.github.com/repos/revel/cmd/labels/support","name":"support","color":"000000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-15T12:48:42Z","updated_at":"2016-06-16T02:42:40Z","closed_at":"2016-06-16T02:42:40Z","body":"I am getting following error on running revel app in development mode. I am posting logs below\r\n\r\n```\r\nINFO  2016/06/14 16:18:17 build.go:172: Cleaning dir tmp\r\nINFO  2016/06/14 16:18:17 build.go:172: Cleaning dir routes\r\n2016/06/14 16:18:17 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\n2016/06/14 16:18:17 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\n2016/06/14 16:18:17 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\nINFO  2016/06/14 16:18:17 build.go:172: Cleaning dir tmp\r\nINFO  2016/06/14 16:18:17 build.go:172: Cleaning dir routes\r\nERROR 2016/06/14 16:18:19 build.go:101: # api-core/app/tmp\r\n/home/deploy/.gvm/gos/go1.6/pkg/tool/linux_amd64/link: -X flag requires argument of the form importpath.name=value\r\n\r\nERROR 2016/06/14 16:18:19 build.go:298: Failed to parse build errors:\r\n # api-core/app/tmp\r\n/home/deploy/.gvm/gos/go1.6/pkg/tool/linux_amd64/link: -X flag requires argument of the form importpath.name=value\r\n```\r\n\r\n\r\nAlso on running revel build I am getting following error\r\n\r\n```\r\ndeploy@ip-172-xx-xx-x9 ~/api-core $ revel build api-core ./buiding1\r\n~\r\n~ revel! http://revel.github.io\r\n~\r\nINFO  2016/06/15 15:52:51 revel.go:365: Loaded module static\r\nINFO  2016/06/15 15:52:51 revel.go:230: Initialized Revel v0.13.1 (2016-06-06) for >= go1.4\r\nINFO  2016/06/15 15:52:51 build.go:172: Cleaning dir tmp\r\nINFO  2016/06/15 15:52:51 build.go:172: Cleaning dir routes\r\n2016/06/15 15:52:51 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\n2016/06/15 15:52:51 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\n2016/06/15 15:52:51 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\nINFO  2016/06/15 15:52:51 build.go:172: Cleaning dir tmp\r\nINFO  2016/06/15 15:52:51 build.go:172: Cleaning dir routes\r\nTRACE 2016/06/15 15:52:51 build.go:94: Exec: [/home/deploy/.gvm/gos/go1.6/bin/go build -ldflags -X api-core/app.APP_VERSION \"\" -tags  -o /home/deploy/api-core/bin/revel.d/api-core/api-core api-core/app/tmp]\r\nERROR 2016/06/15 15:52:54 build.go:101: # api-core/app/tmp\r\n/home/deploy/.gvm/gos/go1.6/pkg/tool/linux_amd64/link: -X flag requires argument of the form importpath.name=value\r\n\r\nERROR 2016/06/15 15:52:54 build.go:298: Failed to parse build errors:\r\n # api-core/app/tmp\r\n/home/deploy/.gvm/gos/go1.6/pkg/tool/linux_amd64/link: -X flag requires argument of the form importpath.name=value\r\n```\r\n\r\n\r\nPlease help me with this issue.\r\nI am using v0.12.0"},"comment":{"url":"https://api.github.com/repos/revel/cmd/issues/comments/226374331","html_url":"https://github.com/revel/cmd/issues/50#issuecomment-226374331","issue_url":"https://api.github.com/repos/revel/cmd/issues/50","id":226374331,"user":{"login":"jeevatkm","id":1175977,"avatar_url":"https://avatars.githubusercontent.com/u/1175977?v=3","gravatar_id":"","url":"https://api.github.com/users/jeevatkm","html_url":"https://github.com/jeevatkm","followers_url":"https://api.github.com/users/jeevatkm/followers","following_url":"https://api.github.com/users/jeevatkm/following{/other_user}","gists_url":"https://api.github.com/users/jeevatkm/gists{/gist_id}","starred_url":"https://api.github.com/users/jeevatkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeevatkm/subscriptions","organizations_url":"https://api.github.com/users/jeevatkm/orgs","repos_url":"https://api.github.com/users/jeevatkm/repos","events_url":"https://api.github.com/users/jeevatkm/events{/privacy}","received_events_url":"https://api.github.com/users/jeevatkm/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T02:42:39Z","updated_at":"2016-06-16T02:42:39Z","body":"No issues, I will be applying fix as part of #51. Thanks.\r\n\r\nI'm closing this one."}}
{"actor":{"display_login":"jeevatkm"}}