Skip to content

osx mysterious failure #3

@jbenet

Description

@jbenet

(With more time, i'd dig more into this, but at least this note might help another traveller.)

In osx (go 1.3), simply installing graphpkg with

go get github.com/davecheney/graphpkg

And then running

graphpkg net

exited (0) with no output. github.com/davecheney/graphpkg uses github.com/pkg/browser to view things so something is going wrong between the current version of browser, osx's open, and possibly my browser (Chrome), and not telling us. I changed:

go browser.OpenReader(out)

// to

go func() {
    err := browser.OpenReader(out)
    check(err)
}()

to try and capture the error, but then it magically worked! What changed? I did build github.com/pkg/browser/examples/Open so maybe that put some component in the right place. If you run into a similar problem try:

go get github.com/pkg/browser
go build github.com/pkg/browser/example/Open

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions