Skip to content

python services failing to import typesupport #154

@dhood

Description

@dhood

I am unable to run the rclpy server-client examples/tutorials, they all fail with:
(on OS X and linux, from source and the Dec 13 packaging job).

pub-sub working fine

$ add_two_ints_server_py
Traceback (most recent call last):
  File "/Users/dhood/Downloads/ros2-osx-packaging13dec/bin/add_two_ints_server_py", line 11, in <module>
    load_entry_point('rclpy-tutorials==0.0.0', 'console_scripts', 'add_two_ints_server_py')()
  File "/Users/dhood/Downloads/ros2-osx-packaging13dec/lib/python3.5/site-packages/services/add_two_ints_server_py.py", line 32, in main
    srv = node.create_service(AddTwoInts, 'add_two_ints', add_two_ints_callback)
  File "/Users/dhood/Downloads/ros2-osx-packaging13dec/lib/python3.5/site-packages/rclpy/node.py", line 84, in create_service
    raise NoTypeSupportImportedException
rclpy.exceptions.NoTypeSupportImportedException: no type_support imported

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions