Bug #4375
open
Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file
Added by Diarmuid Ó Coileáin about 7 years ago.
Updated about 7 years ago.
Description
Latest install of ndn-cxx, NFD and repo-ng gets the following errors.
diarmuidcire1@experiment-unit:~/repo-ng$ sudo ndn-repo-ng
ERROR: Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file '/usr/local/etc/ndn/repo-ng.conf'
diarmuidcire1@experiment-unit:~/repo-ng$
Diarmuid Ó Coileáin wrote:
Latest install of ndn-cxx, NFD and repo-ng gets the following errors.
diarmuidcire1@experiment-unit:~/repo-ng$ sudo ndn-repo-ng
ERROR: Unrecognized 'registration-subset' option in 'tcp_bulk_insert' section in configuration file '/usr/local/etc/ndn/repo-ng.conf'
diarmuidcire1@experiment-unit:~/repo-ng$
The fix for this issue is to change the following in the file src/repo.cpp from
ptree tcpBulkInsert = repoConf.get_child("tcp_bulk_insert");
bool isTcpBulkEnabled = false;
std::string host = "localhost";
std::string port = "7376";
for (const auto section : dataConf) {
to
ptree tcpBulkInsert = repoConf.get_child("tcp_bulk_insert");
bool isTcpBulkEnabled = false;
std::string host = "localhost";
std::string port = "7376";
for (const auto section : tcpBulkInsert) {
an recompile code
./waf clean
./waf configure
./waf
./waf install
Also available in: Atom
PDF