Code Monkey home page Code Monkey logo

Comments (4)

xkaraman avatar xkaraman commented on September 27, 2024 1

Closing as this is resolved with #267.

from diagnostics.

ct2034 avatar ct2034 commented on September 27, 2024

Thanks for reporting @xkaraman ! These must be a remainder of an uncomplete port.

from diagnostics.

sumedhreddy90 avatar sumedhreddy90 commented on September 27, 2024

@ct2034 Even I am facing the same issue

--- stderr: diagnostic_common_diagnostics                                                                          
Error parsing '/home/sumedh/mav_platform_r2/src/diagnostics/diagnostic_common_diagnostics/package.xml':
Traceback (most recent call last):
  File "/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 150, in <module>
    main()
  File "/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 53, in main
    raise e
  File "/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 49, in main
    package = parse_package_string(
  File "/usr/lib/python3/dist-packages/catkin_pkg/package.py", line 786, in parse_package_string
    raise InvalidPackage('Error(s):%s' % (''.join(['\n- %s' % e for e in errors])), filename)
catkin_pkg.package.InvalidPackage: Error(s) in package '/home/sumedh/mav_platform_r2/src/diagnostics/diagnostic_common_diagnostics/package.xml':
Error(s):
- The manifest of package "diagnostic_common_diagnostics" (with format version 1) must not contain the following tags: exec_depend
- Either update to a newer format or replace <exec_depend> tags with <run_depend> tags.
CMake Error at /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
  execute_process(/usr/bin/python3.8
  /opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
  /home/sumedh/mav_platform_r2/src/diagnostics/diagnostic_common_diagnostics/package.xml
  /home/sumedh/mav_platform_r2/build/diagnostic_common_diagnostics/ament_cmake_core/package.cmake)
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
  /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:60 (ament_package_xml)
  /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:39 (_ament_cmake_python_install_package)
  CMakeLists.txt:10 (ament_python_install_package)

from diagnostics.

xkaraman avatar xkaraman commented on September 27, 2024

@sumedhreddy90 You can checkout the rolling or even galactic branch and it should build fine or you can manually change the buildtool tag to ament_cmake and ament_cmake_python (some other changes to export tag are present and maybe need to be changed too for ROS2. check rolling branch of package.xml) and try again.

from diagnostics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.