Skip to content

Conversation

@shancock884
Copy link
Contributor

When opening a file in MAVExplorer.py, I see the following warnings:

/home/simon/.mavproxy/Blimp.xml Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
/home/simon/.mavproxy/Rover.xml Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.

There is already a comment and line in load_graphs function which selects XML files to not to open to avoid this warning. The fix implemented is simply to add "Blimp.xml", "Rover.xml" to this list.

Tested after fix, and warning does not appear, and tool behaves as expected.

@stephendade
Copy link
Contributor

Thanks! Merging...

@stephendade stephendade merged commit f307983 into ArduPilot:master Sep 17, 2023
@shancock884 shancock884 deleted the mavexplorer-xml-warnings branch September 28, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants