Skip to content

ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc' #144

Description

@simchanu29

I can't manage to launch node_manager.
Is there a specific way to run it or unlisted dependencies ?

Context :

OS : Ubuntu 20.04
ROS : noetic

Step to reproduce :

  1. sudo apt install ros-noetic-fkie-multimaster
  2. roscore &
  3. rosrun fkie_node_manager node_manager

Error

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/fkie_node_manager/node_manager", line 5, in <module>
    import fkie_node_manager
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager/__init__.py", line 45, in <module>
    from fkie_node_manager_daemon import host as nmdhost
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager_daemon/__init__.py", line 45, in <module>
    from .server import GrpcServer
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager_daemon/server.py", line 41, in <module>
    import fkie_multimaster_msgs.grpc.file_pb2_grpc as fgrpc
ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc'

Troubleshooting

I already tried to fix this issue with :

  • installing sudo apt install python3-grpcio python3-grpc-tools
  • updating grpcio to 1.33.2
  • checking files in /opt/ros/noetic/share/fkie_multimaster_msgs/grpc. I get :
-rw-r--r-- 1 root root  6292 août   3 10:39 file.proto
-rw-r--r-- 1 root root 11837 août   3 10:39 launch.proto
-rw-r--r-- 1 root root  3451 août   3 10:39 monitor.proto
-rw-r--r-- 1 root root  2610 août   3 10:39 screen.proto
-rw-r--r-- 1 root root  2131 août   3 10:39 settings.proto
-rw-r--r-- 1 root root  1879 août   3 10:39 version.proto
  • searching on internet for similar issues.
  • sourcing /opt/ros/noetic/setup.bash

With no success

I haven't tried yet to use the master branch of this package. I will probably but this is mainly to report the deb on the official repo has an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions