{"action":"created","issue":{"url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/12","repository_url":"https://api.github.com/repos/philips/grpc-gateway-example","labels_url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/12/comments","events_url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/12/events","html_url":"https://github.com/philips/grpc-gateway-example/issues/12","id":191262796,"number":12,"title":"Cannot install","user":{"login":"Diwann","id":784023,"avatar_url":"https://avatars.githubusercontent.com/u/784023?v=3","gravatar_id":"","url":"https://api.github.com/users/Diwann","html_url":"https://github.com/Diwann","followers_url":"https://api.github.com/users/Diwann/followers","following_url":"https://api.github.com/users/Diwann/following{/other_user}","gists_url":"https://api.github.com/users/Diwann/gists{/gist_id}","starred_url":"https://api.github.com/users/Diwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diwann/subscriptions","organizations_url":"https://api.github.com/users/Diwann/orgs","repos_url":"https://api.github.com/users/Diwann/repos","events_url":"https://api.github.com/users/Diwann/events{/privacy}","received_events_url":"https://api.github.com/users/Diwann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T12:52:10Z","updated_at":"2016-11-26T22:18:05Z","closed_at":null,"body":"I am trying to follow the tutorial here: https://coreos.com/blog/gRPC-protobufs-swagger.html \r\nbut I have the following error: \r\n\r\n```\r\ngo get -u github.com/philips/grpc-gateway-example\r\n# github.com/philips/grpc-gateway-example/echopb\r\nechopb/service.pb.go:56: undefined: grpc.SupportPackageIsVersion3\r\n```\r\n\r\nMaybe same as here: https://github.com/bmeg/task-execution-server/issues/24 ?  "},"comment":{"url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/comments/263089291","html_url":"https://github.com/philips/grpc-gateway-example/issues/12#issuecomment-263089291","issue_url":"https://api.github.com/repos/philips/grpc-gateway-example/issues/12","id":263089291,"user":{"login":"samuelvarley","id":15900153,"avatar_url":"https://avatars.githubusercontent.com/u/15900153?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelvarley","html_url":"https://github.com/samuelvarley","followers_url":"https://api.github.com/users/samuelvarley/followers","following_url":"https://api.github.com/users/samuelvarley/following{/other_user}","gists_url":"https://api.github.com/users/samuelvarley/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelvarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelvarley/subscriptions","organizations_url":"https://api.github.com/users/samuelvarley/orgs","repos_url":"https://api.github.com/users/samuelvarley/repos","events_url":"https://api.github.com/users/samuelvarley/events{/privacy}","received_events_url":"https://api.github.com/users/samuelvarley/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T22:18:05Z","updated_at":"2016-11-26T22:18:05Z","body":"I also came across this. The problem is that the autogenerated files are not being regenerated when you run \"go get ...\"; instead, it's using the files that have been checked into git. Those autogenerated files are now out of date with some other packages and it's triggering a compile-time assertion.\r\n\r\nThe instructions below assume that you are on Linux and have the $GOPATH environment variable set. You may need to do things slightly differently with other setups.\r\n\r\nTo regenerate the files, \"cd\" into \"echopb\" and type \"make\". You may find that you need to install some extra dependencies before that will work. \r\n\r\n```\r\ngo get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway\r\ngo get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger\r\ngo get -u github.com/golang/protobuf/protoc-gen-go\r\n```\r\n\r\nThose will produce some executables such as \"protoc-gen-go\". Make sure that the location of those exectables is in your $PATH environment variable. Use the following command:\r\n\r\n```\r\nexport PATH=$PATH:$GOPATH/bin\r\n```\r\n\r\nYou will also need \"protoc\" which you can download from https://github.com/google/protobuf/releases\r\n\r\n* Copy \"bin/protoc\" to somewhere in your $PATH.\r\n* Copy the \"include/google\" directory into \"$GOPATH/src\".\r\n\r\nWith all the dependencies now installed, \"make\" should work without producing any errors. Once you have run \"make\", the original \"go get ...\" command should run without problems."}}
{"actor":{"display_login":"samuelvarley"}}