For university purposes, I am working on project about implementig confidenziality in MAVLink.
For this project, I have created my own custom dialect .xml:

I followed
this guide for generated the personalized MAVLink dialect in pyhton.
After generetad the dialect, I used it. Below the script used:
- script gcs.py:

- script drone.py:

The issue I find is the apparance of the following error message (output of the gcs.py script):
I am also including the output of the other script:
How can I fix this problem? Thanks for the replies.