./run_server 失败
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
[root@localhost build]# ./run_server
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:26] RAW: config_name: rank_weights
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:27] RAW: config_type: String2FloatAdapter
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:28] RAW: config_path: ./rank_weights
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:50] RAW: dual dict init: rank_weights, reload:false
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:64] RAW: load dict file:./example/conf/./rank_weights
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:65] RAW: dict file state: Mon Jul 2 04:40:03 2018
I0100 00:00:00.000000 40279 dict_adapter.h:62] RAW: ./example/conf/./rank_weights
I0100 00:00:00.000000 40279 utils.cpp:67] RAW: hash load ./example/conf/./rank_weights done
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:77] RAW: load dict ./example/conf/./rank_weights success
I0100 00:00:00.000000 40279 dict_manager.cpp:59] RAW: dict load success: rank_weights
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:26] RAW: config_name: lac
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:27] RAW: config_type: WordsegAdapter
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:28] RAW: config_path: ./wordseg_utf8
I0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:50] RAW: dual dict init: lac, reload:false
W0100 00:00:00.000000 40279 utils.cpp:116] RAW: get file state error: ./example/conf/./wordseg_utf8
W0100 00:00:00.000000 40279 dual_dict_wrapper.cpp:58] RAW: get file stat error
E0100 00:00:00.000000 40279 dict_manager.cpp:52] RAW: dict load failed: lac
E0100 00:00:00.000000 40279 http_server.cpp:53] RAW: load dict error, _anyq_dict_conf_dir=./example/conf/
E0100 00:00:00.000000 40279 run_server.cpp:26] RAW: server init failed
I0100 00:00:00.000000 40279 dict_manager.cpp:105] RAW: dict release success:rank_weights
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the ./run_server output and inspect run_server.cpp, http_server.cpp, dict_manager.cpp, and utils.cpp around the reported initialization errors. Check how ./example/conf/wordseg_utf8 is expected to be provided or located, then reproduce the server startup failure. Done means the example server initializes successfully without the lac dictionary load error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100