Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/text/encoding: cannot generate data because W3C lacks encodings.json #18862

Closed
brawer opened this issue Jan 31, 2017 · 1 comment
Closed

x/text/encoding: cannot generate data because W3C lacks encodings.json #18862

brawer opened this issue Jan 31, 2017 · 1 comment

Comments

@brawer
Copy link

brawer commented Jan 31, 2017

What version of Go are you using (go version)?

$ go version
go version go1.7.3 darwin/amd64

What operating system and processor architecture are you using (go env)?

$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/sascha/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build575147212=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?

$ cd /Users/sascha/go/src/golang.org/x/text
$ go generate
ok  	golang.org/x/text/unicode/cldr	0.206s
ok  	golang.org/x/text/unicode/rangetable	2.159s
ok  	golang.org/x/text/width	0.946s
ok  	golang.org/x/text/unicode/norm	5.657s
ok  	golang.org/x/text/unicode/bidi	4.409s
ok  	golang.org/x/text/internal/export/idna	0.549s
ok  	golang.org/x/text/language	0.049s
--- FAIL: ./encoding/htmlindex:
	Fetching http://www.w3.org/TR/encoding/indexes/encodings.json...gen.go:216: Bad GET status for "http://www.w3.org/TR/encoding/indexes/encodings.json": "404 Not Found"
	exit status 1
	encoding/htmlindex/htmlindex.go:5: running "go": exit status 1
	Error: exit status 1
@brawer
Copy link
Author

brawer commented Jan 31, 2017

@mdlayher mdlayher changed the title x/text: Cannot generate data because W3C lacks encodings.json x/text/encoding: cannot generate data because W3C lacks encodings.json Jan 31, 2017
@golang golang locked and limited conversation to collaborators Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants