ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

tylerjw's profile - activity

2023-03-30 08:08:26 -0500 received badge  Notable Question (source)
2023-03-30 08:08:26 -0500 received badge  Popular Question (source)
2022-07-12 06:26:34 -0500 received badge  Famous Question (source)
2022-05-10 09:27:45 -0500 received badge  Famous Question (source)
2021-12-01 14:53:36 -0500 commented answer Unsupported interface type {interface_file.suffix}

The first person to encounter this here was on Nov 5th. Everyone who experienced this found it using Rolling. We all d

2021-11-10 10:08:34 -0500 commented answer Unsupported interface type {interface_file.suffix}

I am using the Rolling binaries in this case. The people on my team who are working on MoveIt are using Rolling from a

2021-11-09 08:51:55 -0500 marked best answer Unsupported interface type {interface_file.suffix}

A bunch of us hit this after doing an apt upgrade these last couple days:

Traceback (most recent call last):

File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
  mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
  __import__(mod_name)  # Do not catch exceptions initializing package
File "/opt/ros/rolling/lib/python3.8/site-packages/rosidl_adapter/__init__.py", line 32
  assert False, f"Unsupported interface type '{interface_file.suffix}'"

I found that by purging python-is-python2 I could get the problem to go away. This also uninstalls a couple other packages from the ros ecosystem:

Commandline: apt purge python-is-python2
Requested-By: tyler (1000)
Purge: python-is-python2:amd64 (2.7.17-4), python-vcstools:amd64 (0.1.42-1), python-dev-is-python2:amd64 (2.7.17-4), python-wstool:amd64 (0.1.17-1)
End-Date: 2021-11-06  18:44:43

I recognize that these are deprecated packages and that they were probably on my system for a long time and not updated recently. This did seem to affect almost everyone in our office starting on Friday (Nov 5th).

Jochen found that this specific issue is fixed here: https://github.com/ros2/rosidl/pull/612 And that because that is not yet published you can hack around it with this:

sudo sed -i 's/PythonInterp/& 3/' /opt/ros/rolling/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake

The long term solution is that ROS 2 itself should probably use python3 directly instead of any dependence on the state of the symbolic link /usr/bin/python.

In the comments below it was pointed out that this is only possible if you upgraded to 20.04. If you upgraded to 20.04 it might be worth purging everything ros/python from your system to avoid issues like this. This issue is probably not as widespread as I thought it was because the number of people who upgraded from 18.04 is probably much higher on our team here than in the general population of ros. I'm sorry for making such an issue out of this. Thank you to those who looked into this.

2021-11-09 08:47:12 -0500 answered a question Unsupported interface type {interface_file.suffix}

In the comments below it was pointed out that this is only possible if you upgraded to 20.04. If you upgraded to 20.04 i

2021-11-09 08:47:12 -0500 received badge  Rapid Responder (source)
2021-11-09 08:47:11 -0500 received badge  Enthusiast
2021-11-09 01:45:15 -0500 received badge  Notable Question (source)
2021-11-08 18:26:25 -0500 edited question Unsupported interface type {interface_file.suffix}

Unsupported interface type {interface_file.suffix} A bunch of us hit this after doing an apt upgrade these last couple d

2021-11-08 16:03:02 -0500 commented question Unsupported interface type {interface_file.suffix}

This machine was upgraded from 18.04. I would not be surprised if the other machines that people reported this issue fr

2021-11-08 16:01:16 -0500 edited question Unsupported interface type {interface_file.suffix}

python-is-python2 A bunch of us hit this after doing an apt upgrade these last couple days: Traceback (most recent call

2021-11-08 15:21:17 -0500 received badge  Popular Question (source)
2021-11-08 15:03:19 -0500 commented question Unsupported interface type {interface_file.suffix}

I'm here because I thought this belonged on github and I posted it there. But then a bunch of people on my team hit thi

2021-11-08 12:02:41 -0500 edited question Unsupported interface type {interface_file.suffix}

python-is-python2 A bunch of us hit this after doing an apt upgrade these last couple days: Traceback (most recent call

2021-11-08 12:02:02 -0500 asked a question Unsupported interface type {interface_file.suffix}

python-is-python2 A bunch of us hit this after doing an apt upgrade these last couple days: Traceback (most recent call

2021-11-08 12:01:08 -0500 asked a question python-is-python2

python-is-python2 A bunch of us hit this after doing an apt upgrade these last couple days: ``` Traceback (most recen

2021-11-02 03:17:55 -0500 received badge  Notable Question (source)
2021-11-02 03:17:55 -0500 received badge  Popular Question (source)
2021-09-17 03:35:27 -0500 received badge  Famous Question (source)
2021-07-23 09:39:26 -0500 marked best answer node_interface for now?

The node_interfaces (https://github.com/ros2/rclcpp/tree/m...) are really useful for dependency injection allowing much nicer tests. There however does not seem to be an interface that provides the method now. Is there a way to call that method without a node interface?

2021-07-20 10:13:03 -0500 received badge  Nice Answer (source)
2021-07-19 12:47:31 -0500 received badge  Self-Learner (source)
2021-07-19 12:46:53 -0500 received badge  Self-Learner (source)
2021-07-19 12:46:53 -0500 received badge  Teacher (source)
2021-07-19 12:41:16 -0500 received badge  Rapid Responder (source)
2021-07-19 12:41:16 -0500 answered a question Create subscription from NodeTopicsInterface?

After being shown an example of how to use rclcpp::create_subscription (the header I linked to) I realized it has nearly

2021-07-19 12:23:13 -0500 asked a question Create subscription from NodeTopicsInterface?

Create subscription from NodeTopicsInterface? How do I go about creating a subscription from the NodeTopicsInterface? T

2021-07-19 12:17:28 -0500 answered a question node_interface for now?

I found that you can get a NodeClockInterface and gen call now like this: node_clock_interface->get_clock()->now()

2021-07-19 12:17:28 -0500 received badge  Rapid Responder (source)
2021-07-19 10:21:26 -0500 asked a question node_interface for now?

node_interface for now? The node_interfaces (https://github.com/ros2/rclcpp/tree/master/rclcpp/include/rclcpp/node_inter

2021-07-19 10:18:26 -0500 marked best answer How is the name field of ParameterDescriptor used by declare_parameter?

The first parameter you pass into every version of declare_parameter is the name of the parameter. If you also specify a name value in the ParameterDescriptor how is it used? Should the name field of the ParameterDescriptor be not set when using it to call declare_parameter?

2021-07-19 10:18:26 -0500 received badge  Scholar (source)
2021-07-19 10:18:25 -0500 received badge  Supporter (source)
2021-05-24 01:18:43 -0500 received badge  Notable Question (source)
2021-05-23 16:19:52 -0500 received badge  Favorite Question (source)
2021-05-21 05:32:04 -0500 received badge  Popular Question (source)
2021-05-16 17:18:58 -0500 asked a question How is the name field of ParameterDescriptor used by declare_parameter?

How is the name field of ParameterDescriptor used by declare_parameter? The first parameter you pass into every version

2021-03-17 00:38:28 -0500 received badge  Student (source)
2021-03-17 00:38:05 -0500 received badge  Notable Question (source)
2021-01-08 09:22:19 -0500 commented answer Is there an ament version of catkin_topological_order?

As it stands there is no way to have colcon execute a test that wasn't declared in the package.xml or cmake file. This

2021-01-04 17:36:01 -0500 received badge  Popular Question (source)