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

margo failed to start due to mx.Log.Dbg.Writer undefined #959

Closed cheyang closed 4 years ago

cheyang commented 4 years ago

I'm trying to install the latest version of code: f78e3511b1722f02c0647a379dee7623c9b3bf03 and the go version is go version go1.11.4 darwin/amd64.

[13:26:50] margo: agent#011: ['/Users/cheyang.cy/Library/Application Support/Sublime Text 3/Packages/GoSublime/bin/margo.sh', 'start', 'margo.sublime', '-codec', 'msgpack']
[13:26:50] margo: agent#011: log: Using margo extension: /Users/xx/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/margo
[13:26:50] margo: agent#011: log: ``` go install -v -tags="margo margo_extension" margo.sh/cmd/margo.sublime ```
[13:26:50] margo: agent#011: log: margo.sh/golang
[13:26:50] margo: agent#011: log: # margo.sh/golang
[13:26:50] margo: agent#011: log: /Users/cheyang.cy/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/margo.sh/golang/typecheck.go:59:31: mx.Log.Dbg.Writer undefined (type *log.Logger has no field or method Writer)
[13:26:50] margo: agent#011: log: press ` super+. `,` super+x ` to configure margo or check console for errors
[13:26:50] margo: agent#011: log: Error: exit status 2
[13:26:50] margo: agent#011: stopping
[13:26:53] margo: agent#012: starting
  margo: agent#012: ['go', 'install', '-v', '-x', 'margo.sh']:
DisposaBoy commented 4 years ago

I've removed it in the latest push to the next branch, but note that in general go1.11 is not supported https://github.com/DisposaBoy/GoSublime/blob/development/SUPPORT.md#go.

cheyang commented 4 years ago

Thank you!