DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

gocode timeout error #944

Closed errashe closed 4 years ago

errashe commented 4 years ago

go version - go1.13 linux/amd64 installed from apt gosublime - latest commit from development branch

[14:56:03] margo: agent#015: stopping
[14:56:03] margo: agent#016: starting
[14:56:03] margo: agent#016: ['/home/errashe/.config/sublime-text-3/Packages/GoSublime/bin/margo.sh', 'start', 'margo.sublime', '-codec', 'msgpack']
[14:56:03] margo: agent#016: log: Using margo extension: /home/errashe/.config/sublime-text-3/Packages/User/GoSublime/src/margo
[14:56:03] margo: agent#016: log: ``` go install -v -tags="margo margo_extension" margo.sh/cmd/margo.sublime ```
[14:56:03] margo: agent#016: log: ``` /home/errashe/.config/sublime-text-3/Packages/GoSublime/bin/margo.sublime -codec msgpack ```
[14:56:03] margo: agent#016: log: store.go:137: started
[14:56:03] margo: agent#016: log: ``` go install margo.sh/vendor/golang.org/x/tools/cmd/guru ```
[14:56:04] margo: agent#016: log: margocode.go:280: Scan GOROOT (/usr/local/go/src)
[14:56:04] margo: agent#016: log: ``` packages=300, list=975ms, decode=10ms, error=<nil> ```
[14:56:05] margo: agent#016: log: margocode.go:280: Scan GOPATH (/home/errashe/go/src)
[14:56:05] margo: agent#016: log: ``` packages=569, list=1.432s, decode=15ms, error=<nil> ```
[14:56:12] margo: agent#016: log: gocode.go:201: gocode didn't respond after 248ms taking 250ms
[14:56:13] margo: agent#016: log: gocode.go:192: gocode eventually responded after 800ms
[14:56:14] margo: agent#016: log: gocode.go:201: gocode didn't respond after 248ms taking 250ms
[14:56:14] margo: agent#016: log: gocode.go:192: gocode eventually responded after 441ms
[14:56:15] margo: agent#016: log: gocode.go:201: gocode didn't respond after 248ms taking 250ms
[14:56:15] margo: agent#016: log: gocode.go:192: gocode eventually responded after 529ms
[14:56:16] margo: agent#016: log: gocode.go:201: gocode didn't respond after 249ms taking 250ms
[14:56:16] margo: agent#016: log: gocode.go:192: gocode eventually responded after 393ms
[14:56:19] margo: agent#016: log: gocode.go:201: gocode didn't respond after 248ms taking 250ms
[14:56:19] margo: agent#016: log: gocode.go:192: gocode eventually responded after 412ms
DisposaBoy commented 4 years ago

This is probably caused by Go modules. Try switching to the next branch for now - it has better module support.

errashe commented 4 years ago

Still getting same error :disappointed:

errashe commented 4 years ago

Forgot to restart margo - now it's working! Sorry :D