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

[mavlink] message definitions not found #19

Open
acxz opened this issue Mar 20, 2020 · 1 comment
Open

[mavlink] message definitions not found #19

acxz opened this issue Mar 20, 2020 · 1 comment

Comments

@acxz
Copy link
Owner

acxz commented Mar 20, 2020

make[1]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
[  5%] Generating matrixpilot.xml-v1.0-stamp
/usr/bin/python: Error while finding module specification for 'pymavlink.tools.mavgen' (ModuleNotFoundError: No module named 'pymavlink.tools')
make[2]: *** [CMakeFiles/matrixpilot.xml-v1.0.dir/build.make:61: matrixpilot.xml-v1.0-stamp] Error 1
make[2]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/matrixpilot.xml-v1.0.dir/all] Error 2
make[1]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
@acxz
Copy link
Owner Author

acxz commented Aug 7, 2022

New error:

Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/ardupilotmega.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/common.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/ualberta.xml'
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/slugs.xml'
Validating /home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/minimal.xml
Validating /home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/test.xml
Traceback (most recent call last):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/minimal.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/test.xml'
make[2]: *** [CMakeFiles/common.xml-v0.9.dir/build.make:73: common.xml-v0.9-stamp] Error 1
make[2]: *** [CMakeFiles/ualberta.xml-v0.9.dir/build.make:73: ualberta.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:245: CMakeFiles/ualberta.xml-v0.9.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/common.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/ardupilotmega.xml-v0.9.dir/build.make:73: ardupilotmega.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/ardupilotmega.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/slugs.xml-v0.9.dir/build.make:73: slugs.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:193: CMakeFiles/slugs.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/test.xml-v0.9.dir/build.make:73: test.xml-v0.9-stamp] Error 1
make[2]: *** [CMakeFiles/minimal.xml-v0.9.dir/build.make:73: minimal.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/minimal.xml-v0.9.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/test.xml-v0.9.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

@acxz acxz changed the title [mavlink] pymavlink.tools module not found [mavlink] message definitions not found Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant