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

Wrong Finishing Message #124

Open
Nils-ChristianIseke opened this issue Apr 20, 2023 · 0 comments
Open

Wrong Finishing Message #124

Nils-ChristianIseke opened this issue Apr 20, 2023 · 0 comments
Labels
new cli rtwcli: Developing a new cli similar to ros2 cli

Comments

@Nils-ChristianIseke
Copy link

Nils-ChristianIseke commented Apr 20, 2023

While executing ros2_control_setup-setup-hardware-interface-package add the following message was printed:

FINISHED: Your package is set and the tests should be finished without any errors. (linter errors possible!)

But the previous executed build which was started by the script failed due to
Licence.

No License:
--- stderr: hardware                         
Error parsing '/workspaces/ros_hardware_interface_training/src/hardware/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 788, in parse_package_string
    pkg.validate(warnings=warnings)
  File "/usr/lib/python3/dist-packages/catkin_pkg/package.py", line 330, in validate
    raise InvalidPackage('\n'.join(errors), self.filename)
catkin_pkg.package.InvalidPackage: Error(s) in package '/workspaces/ros_hardware_interface_training/src/hardware/package.xml':
The license tag must neither be empty nor only contain whitespaces
CMake Error at /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
  execute_process(/usr/bin/python3.10
  /opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
  /workspaces/ros_hardware_interface_training/src/hardware/package.xml
  /workspaces/ros_hardware_interface_training/src/hardware/build/hardware/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_lint_auto/cmake/ament_lint_auto_find_test_dependencies.cmake:31 (ament_package_xml)
  CMakeLists.txt:59 (ament_lint_auto_find_test_dependencies)


---
Failed   <<< hardware [2.66s, exited with code 1]
@muritane muritane added the new cli rtwcli: Developing a new cli similar to ros2 cli label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new cli rtwcli: Developing a new cli similar to ros2 cli
Projects
None yet
Development

No branches or pull requests

2 participants