`go tool trace` blank page (404 + Uncaught ReferenceError: tr is not defined)

400 vistas
Ir al primer mensaje no leído

Pierre Neidhardt

no leída,
18 abr 2017, 7:19:08 a.m.18/4/17
para golang-nuts
- OS: Arch Linux 64-bit

- go version: go version go1.8.1 linux/amd64

- browser: Chromium 57.0.2987.133

I've been willing to use the `trace` tool a long time ago (1 year?) but it
wasn't working: clicking on "View trace" would simply return a blank page.

It seems it is working for most people out there though, so I just gave it
another try, to no avail.

The inspector shows two errors:

```
GET http://127.0.0.1:46031/trace_viewer_html 404 (Not Found)

trace:41 Uncaught ReferenceError: tr is not defined
at onResult (trace:41)
at trace:25
```

Is this a bug?

--
Pierre Neidhardt

Dave Cheney

no leída,
18 abr 2017, 7:30:12 a.m.18/4/17
para golang-nuts
Did you install go from source? I've seen in the past that some operating system distributions strip the misc/ directory which breaks the go trace tool.

Pierre Neidhardt

no leída,
22 abr 2017, 11:54:55 a.m.22/4/17
para golang-nuts
Yes, that was it! I reported upstream (Arch Linux) and it is now fixed. Thanks!

Dave Cheney

no leída,
22 abr 2017, 7:07:39 p.m.22/4/17
para golang-nuts
Fedora does the same thing.

Pierre Neidhardt

no leída,
23 abr 2017, 4:21:52 a.m.23/4/17
para golang-nuts
https://golang.org/doc/install/source does not document the folder hierarchy,
nor could I find it documented elsewhere.

Shouldn't we document the purpose of folders such as 'misc/'?
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos