OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

[ONLPv2] uCli: No handler for 's:[NULL]'

Open CommitThis opened this issue 5 years ago • 1 comments

We've been trying to build the ONLPv2 branch and recently have come across an error when onlpd starts. I haven't heard anyone else have this problem, and reaching out to the google group brought no responses, so I am not certain whether or not this is a problem with what we've been doing.

The error is as titled:

[ucli] bug: no handler for type 's:[NULL]'

And then onlpd immediately exits. We had our friends at Delta have a look and they can reproduce.

I was able to get it start by marking all the entries in make/onlp.version as global -- this file was added in 06523fc.

With respect to 06523fc, It looks like it was well intentioned, but I don't understand what unexpected behaviour it sought to resolve, so can't really weigh up if/what needs to be changed. Given that it takes some time to build I haven't tried to nail down which symbols may be causing a problem, and to be honest, I haven't had much experience with having to hide/unhide/export symbols in libraries.

CommitThis avatar Mar 03 '20 12:03 CommitThis

Hi, I uploaded a pull request to include all the necessary symbols to the onlpd. Please try it and let me know if the issue still exists.

Yi-Tseng avatar Mar 03 '20 23:03 Yi-Tseng