We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The GDS crashes on launch when provided with a dictionary containing references to a handcoded type. See: nasa/fprime#1643 (comment)
This may also apply to other complicated types like serlizables.
Instead of failing to launch, the GDS should launch but warn that it's unable to deserialize EVRs referencing the handcoded type.
The text was updated successfully, but these errors were encountered:
I am trying out this modification.
diff --git a/src/fprime_gds/common/loaders/xml_loader.py b/src/fprime_gds/common/loaders/xml_loader.py index b7e8984..4cc0e0c 100644 --- a/src/fprime_gds/common/loaders/xml_loader.py +++ b/src/fprime_gds/common/loaders/xml_loader.py @@ -180,7 +180,13 @@ class XmlLoader(dict_loader.DictLoader): arg_name = arg_dict[self.ARG_NAME_TAG] arg_type_name = arg_dict[self.ARG_TYPE_TAG] - arg_typ_obj = self.parse_type(arg_type_name, arg, xml_tree, context) + + try: + arg_typ_obj = self.parse_type(arg_type_name, arg, xml_tree, context) + + # Return nothing if the args are at least partly nonsense + except exceptions.GseControllerParsingException: + return [] arg_desc = None if self.ARG_DESC_TAG in arg_dict:
Sorry, something went wrong.
Moved to: nasa/fprime#2230
No branches or pull requests
Problem Description
The GDS crashes on launch when provided with a dictionary containing references to a handcoded type. See: nasa/fprime#1643 (comment)
This may also apply to other complicated types like serlizables.
Expected Behavior
Instead of failing to launch, the GDS should launch but warn that it's unable to deserialize EVRs referencing the handcoded type.
The text was updated successfully, but these errors were encountered: