Open haima95 opened 3 years ago
does anyone know how to fix this problem?
2021-04-14 09:54:10 /go/pkg/mod/github.com/ttys3/gojieba@v1.1.3/deps/cppjieba/DictTrie.hpp:203 FATAL exp: [ifs.is_open()] false. open /go/pkg/mod/github.com/ttys3/gojieba@v1.1.3/dict/jieba.dict.utf8 failed.
run dockerfile to build application in linux has this problem , but go run in local (mac) is ok
i encountered the same error:
2021-04-17 20:32:37 /home/xxx/work/src/github.com/yanyiwu/gojieba/deps/cppjieba/DictTrie.hpp:203 FATAL exp: [ifs.is_open()] false. open /home/xxx/work/src/github.com/yanyiwu/gojieba/dict/jieba.dict.utf8 failed.
You should pay attention:
if you "go build" on Server A, and "run" on Server B, the file "jieba.dict.utf8" should exists in Server B on the path "/home/xxx/work/src/github.com/yanyiwu/gojieba/dict/jieba.dict.utf8"
so you can copy the file to Server B, and try again !
does anyone know how to fix this problem?
2021-04-14 09:54:10 /go/pkg/mod/github.com/ttys3/gojieba@v1.1.3/deps/cppjieba/DictTrie.hpp:203 FATAL exp: [ifs.is_open()] false. open /go/pkg/mod/github.com/ttys3/gojieba@v1.1.3/dict/jieba.dict.utf8 failed.
run dockerfile to build application in linux has this problem , but go run in local (mac) is ok