Open mschoch opened 9 years ago
@nimishzynga can we do 3 things:
thanks
OK @nimishzynga I've pushed quick fix for 1 and 2 above. Still need part 3.
Plotinum looks for fonts based on the path at which the go get command installs it. If it is moved it after go getting it then they won't be found. (https://groups.google.com/forum/#!topic/golang-nuts/2n8CQZjUYD8). @mschoch should I use different package for plotting the graph or if the above error message is returned to user ? BTW, using dygraph is much easier then plotinum.
I dont know, it does seem to work for me in clean gopath, but I can't imagine I ever moved anything in my main gopath.
In general I prefer not having the plotting so tightly coupled to the testing, but I don't know how dygraph works, so I cant say if thats better or worse.
panic: Failed to locate a font file NimbusRomNo9L-Regu.ttf for font name Times-Roman
goroutine 1 [running]: main.doPlot(0xc8222530a8, 0x1, 0x1, 0x48e7100, 0x11, 0x48637d0, 0x4, 0x48682b8, 0x4, 0xc822bba160, ...) /Users/mschoch/go/src/github.com/blevesearch/bleve-bench/cmd/bleve-bench/plot.go:30 +0x91 main.main() /Users/mschoch/go/src/github.com/blevesearch/bleve-bench/cmd/bleve-bench/index.go:72 +0x57b
goroutine 17 [syscall, locked to thread]: runtime.goexit() /Users/mschoch/Documents/research/gosrc/src/runtime/asm_amd64.s:1696 +0x1
goroutine 19 [select]: github.com/blevesearch/bleve/index.AnalysisWorker(0xc820060120, 0xc820060180) /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:65 +0x14d created by github.com/blevesearch/bleve/index.NewAnalysisQueue /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:57 +0xf2
goroutine 20 [select]: github.com/blevesearch/bleve/index.AnalysisWorker(0xc820060120, 0xc820060180) /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:65 +0x14d created by github.com/blevesearch/bleve/index.NewAnalysisQueue /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:57 +0xf2
goroutine 21 [select]: github.com/blevesearch/bleve/index.AnalysisWorker(0xc820060120, 0xc820060180) /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:65 +0x14d created by github.com/blevesearch/bleve/index.NewAnalysisQueue /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:57 +0xf2
goroutine 22 [select]: github.com/blevesearch/bleve/index.AnalysisWorker(0xc820060120, 0xc820060180) /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:65 +0x14d created by github.com/blevesearch/bleve/index.NewAnalysisQueue /Users/mschoch/go/src/github.com/blevesearch/bleve/index/analysis.go:57 +0xf2
goroutine 34 [runnable, locked to thread]: runtime.goexit() /Users/mschoch/Documents/research/gosrc/src/runtime/asm_amd64.s:1696 +0x1
goroutine 51 [syscall, locked to thread]: runtime.goexit() /Users/mschoch/Documents/research/gosrc/src/runtime/asm_amd64.s:1696 +0x1
goroutine 52 [syscall, locked to thread]: runtime.goexit() /Users/mschoch/Documents/research/gosrc/src/runtime/asm_amd64.s:1696 +0x1