BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `name` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `name` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `author` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `author` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `description` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `description` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `license` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `license` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `version` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `version` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot find `comp_class_addrs` attribute in Python plugin info object: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot find `comp_class_addrs` attribute in Python plugin info object: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot decode Python plugin name string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot decode Python plugin name string: "
BT_LIB_LOGW_APPEND_CAUSE(
"Plugin name is not a string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Plugin name is not a string: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot decode Python plugin author string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot decode Python plugin author string: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot decode Python plugin description string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot decode Python plugin description string: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot decode Python plugin license string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot decode Python plugin license string: "
BT_LIB_LOGW_APPEND_CAUSE(
"Invalid Python plugin version format: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Invalid Python plugin version format: "
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot decode Python plugin version's extra string: "
"py-plugin-info-addr=%p", plugin_info);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot decode Python plugin version's extra string: "
"Component class address is not an integer in Python plugin info object: "
"py-plugin-info-addr=%p, index=%zu",
plugin_info, i);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Component class address is not an integer in Python plugin info object: "
append_python_traceback_error_cause();
BT_LIB_LOGW_APPEND_CAUSE(
"Cannot load Python plugin: path=\"%s\"", path);
- status = BT_FUNC_STATUS_LOADING_ERROR;
+ status = BT_FUNC_STATUS_ERROR;
} else {
BT_LIB_LOGW(
"Cannot load Python plugin: path=\"%s\"", path);