Skip to content
New issue

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

pymavlink 2.3.4 breaks APWeb #16

Open
shortstheory opened this issue Feb 19, 2019 · 2 comments
Open

pymavlink 2.3.4 breaks APWeb #16

shortstheory opened this issue Feb 19, 2019 · 2 comments

Comments

@shortstheory
Copy link

On pymavlink 2.3.4, I am unable to compile APWeb from source. I get the error message:

mavgen.py --lang C modules/mavlink/message_definitions/v1.0/ardupilotmega.xml -o generated/mavlink --wire-protocol=2.0
Validating modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Parsing modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Note: message DATA64 is longer than 64 bytes long (74 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DATA96 is longer than 64 bytes long (106 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message REMOTE_LOG_DATA_BLOCK is longer than 64 bytes long (214 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DEVICE_OP_READ_REPLY is longer than 64 bytes long (143 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DEVICE_OP_WRITE is longer than 64 bytes long (187 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Validating modules/mavlink/message_definitions/v1.0/common.xml
ERROR: /home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3207:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3216:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3225:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3231:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3528:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3537:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3541:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3720:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
/home/nic/original-projects/newAPWeb/APWeb/modules/mavlink/message_definitions/v1.0/common.xml:3873:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element 'field': This element is not expected. Expected is one of ( deprecated, wip, description ).
Makefile:15: recipe for target 'generated/mavlink/ardupilotmega/mavlink.h' failed
make: *** [generated/mavlink/ardupilotmega/mavlink.h] Error 1

I have temporarily fixed my APWeb build by downgrading pymavlink to 2.2.10. Still, it's important that APWeb should be compatible with newer versions of pymavlink.

@peterbarker
Copy link
Contributor

peterbarker commented Mar 14, 2019 via email

@shortstheory
Copy link
Author

shortstheory commented Mar 22, 2019

Hi, sorry for the late reply. With this PR, I am now able to compile and run APWeb after running git submodule update --init --recursive. Thank for you for fixing this!

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

No branches or pull requests

2 participants