protobuf-code-formatter icon indicating copy to clipboard operation
protobuf-code-formatter copied to clipboard

Unmet dependencies on code.google.com/p/gogoprotobuf/proto

Open kfir-drivenets opened this issue 8 years ago • 5 comments

When running go get github.com/DirkBrand/protobuf-code-formatter/protoc-gen-pretty (like suggested in the README files) I get the following error

package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))

Go version - go version go1.8 linux/amd64

kfir-drivenets avatar May 11 '17 11:05 kfir-drivenets

Gogoprotobuf has been moved to github at github.com/gogo/protobuf Because code.google.com is no longer maintained.

I guess the code just needs to be updated

On Thu, 11 May 2017, 13:14 Kfir Gollan, [email protected] wrote:

When running go get github.com/DirkBrand/protobuf-code-formatter/protoc-gen-pretty (like suggested in the README files) I get the following error

package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DirkBrand/protobuf-code-formatter/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvsLVjqGuy34KNp09O2fVJaoQZ7T3fTks5r4u2QgaJpZM4NX2bX .

awalterschulze avatar May 11 '17 13:05 awalterschulze

I updated all of the code (locally) to point to the new locations on GitHub and it still tries to fetch them from Google Code for some weird reason.

$ go get -v ./...
github.com/DirkBrand/protobuf-code-formatter (download)
Fetching https://code.google.com/p/gogoprotobuf/proto?go-get=1
Parsing meta tags from https://code.google.com/p/gogoprotobuf/proto?go-get=1 (status code 200)
package code.google.com/p/gogoprotobuf/proto: unrecognized import path "code.google.com/p/gogoprotobuf/proto" (parse https://code.google.com/p/gogoprotobuf/proto?go-get=1: no go-import meta tags (meta tag github.com/gogo/protobuf did not match import path code.google.com/p/gogoprotobuf/proto))
github.com/gogo/protobuf (download)

JamesMGreene avatar Oct 18 '17 17:10 JamesMGreene

I changed the local references, and it worked for me.

samabhilash avatar Nov 09 '17 20:11 samabhilash

Any fix for this one?

LeonidKokhnovich avatar Apr 05 '18 19:04 LeonidKokhnovich

Still stuck with the same issue.. Any fixes?

vickyramachandra avatar Jul 04 '18 06:07 vickyramachandra