You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When a user misspelled "parameter" in jubaclassifier configuration, jubaclassifier returns this error.
This error mislead the user because path information is empty.
The reason of this phenomena is a little complicated.
The server can correctly read this configuration since
parameter
field inclassifier_serv_config
is optional.https://github.com/jubatus/jubatus/blob/master/src/server/classifier_serv.cpp#L57
When a user misspelled it, the value of parameter is null and
param
variable is empty.https://github.com/jubatus/jubatus/blob/master/src/server/classifier_serv.cpp#L110
So, the factory of classifier throws
type_error
with an empty path.https://github.com/jubatus/jubatus/blob/master/src/classifier/classifier_factory.cpp#L46
I have two method to correct it.
parameter
field mandatory.param
local variable like this.The text was updated successfully, but these errors were encountered: