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

🧑‍🌾 rclpy._rclpy_pybind11 not found in Windows Debug #1386

Open
Crola1702 opened this issue Dec 10, 2024 · 0 comments
Open

🧑‍🌾 rclpy._rclpy_pybind11 not found in Windows Debug #1386

Crola1702 opened this issue Dec 10, 2024 · 0 comments
Assignees

Comments

@Crola1702
Copy link
Contributor

Bug report

Required Info:

  • Operating System:
    • Windows
  • Installation type:
    • Source
  • Version or commit hash:
    • Rolling
  • Client library (if applicable):
    • rclpy

Expected behavior

Windows Debug CI should pass

Actual behavior

Windows Debug CI is failing to find rclpy._rclpy_pybind11

Additional information

Reference build:

Log output:
03:29:21 155: [INFO] [daemon-stop-1]: process started with pid [316]
03:29:21 155: [daemon-stop-1] Traceback (most recent call last):
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Scripts\ros2-script.py", line 33, in <module>
03:29:21 155: [daemon-stop-1]     sys.exit(load_entry_point('ros2cli==0.36.0', 'console_scripts', 'ros2')())
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Scripts\ros2-script.py", line 25, in importlib_load_entry_point
03:29:21 155: [daemon-stop-1]     return next(matches).load()
03:29:21 155: [daemon-stop-1]   File "C:\Python38\lib\importlib\metadata.py", line 77, in load
03:29:21 155: [daemon-stop-1]     module = import_module(match.group('module'))
03:29:21 155: [daemon-stop-1]   File "C:\Python38\lib\importlib\__init__.py", line 127, in import_module
03:29:21 155: [daemon-stop-1]     return _bootstrap._gcd_import(name[level:], package, level)
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
03:29:21 155: [daemon-stop-1]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Lib\site-packages\ros2cli\cli.py", line 22, in <module>
03:29:21 155: [daemon-stop-1]     from rclpy.executors import ExternalShutdownException
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Lib\site-packages\rclpy\__init__.py", line 49, in <module>
03:29:21 155: [daemon-stop-1]     from rclpy.context import Context
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Lib\site-packages\rclpy\context.py", line 29, in <module>
03:29:21 155: [daemon-stop-1]     from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Lib\site-packages\rclpy\impl\implementation_singleton.py", line 33, in <module>
03:29:21 155: [daemon-stop-1]     rclpy_implementation = import_c_library('._rclpy_pybind11', package)
03:29:21 155: [daemon-stop-1]   File "C:\ci\ws\install\Lib\site-packages\rpyutils\import_c_library.py", line 40, in import_c_library
03:29:21 155: [daemon-stop-1]     return importlib.import_module(name, package=package)
03:29:21 155: [daemon-stop-1]   File "C:\Python38\lib\importlib\__init__.py", line 127, in import_module
03:29:21 155: [daemon-stop-1]     return _bootstrap._gcd_import(name[level:], package, level)
03:29:21 155: [daemon-stop-1] ModuleNotFoundError: No module named 'rclpy._rclpy_pybind11'
03:29:21 155: [daemon-stop-1] The C extension 'C:\ci\ws\install\Lib\site-packages\_rclpy_pybind11.pyd' isn't present on the system. Please refer to 'https://docs.ros.org/en/rolling/How-To-Guides/Installation-Troubleshooting.html#import-failing-without-library-present-on-the-system' for possible solutions
03:29:21 155: [ERROR] [daemon-stop-1]: process has died [pid 316, exit code 1, cmd 'ros2 daemon stop'].

Changes: ros2/ci on Dec 6th

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