-
Notifications
You must be signed in to change notification settings - Fork 106
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
ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc' #144
Comments
This is indeed a problem as the auto-generated files were not included in the Debian package. In the meantime you have to use the noetic-devel branch to be able to use node manager! Thank you for reporting! |
Thx for writing that down @simchanu29, I just ran into the same issue. @atiderko, I was able to build the noetic-devel branch without any warnings. My setup:
Any ideas why it is failing? Am I missing something? Thx! |
@tkazik : did you tried this solution on stackoverflow.com? |
Thx for the quick reply! Yes, I tried that yesterday without success.
The only thing I now encouter about every second time is the following error: ...
[INFO] [1613065385.776784]: start node manager daemon for http://P1G3:11311/
[WARN] [1613065385.827447]: Error while list_path from grpc://p1g3:12321: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1613065385.823932252","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":4142,"referenced_errors":[{"created":"@1613065385.823930622","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
... In the 'Log' of the 'Node Manager'-window it says: However, I don't know whether that is related to protobuf or something else. Have you seen that before? |
did you removed the build files after you updated protobuf and protoc? Node Manager tries to connect to the node manager daemon which should be started automatically. On errors you see these warnings. Try |
Yes, I cleaned the build files after updating: Still the same error.
...
[INFO] [1613078424.309408]: Create monitor servicer
/usr/lib/python3/dist-packages/psutil/_pslinux.py:1222: RuntimeWarning: ignoring OSError(6, 'No such device or address') for file '/sys/class/hwmon/hwmon6/temp8_input'
warnings.warn("ignoring %r for file %r" % (err, path),
[INFO] [1613078424.425969]: Create launch manger servicer
...
Does this help you? Or make sense? Thx for your awesome support! |
this looks good! The warning only affects the sensor information, which is read out or not. If you see launch files in launch dock of the node manager than all should be ok. |
Ah ok...guess that is good news then :) |
It looks like Unfortunately I cannot answer what causes Did you try to use the IP address instead of |
For the record We stumbled across the same problem, installing |
@sebastianFast thank you for reporting. Currently I still did not found a solution to this problem. I don't know why the generated code will not be included into the package on Ubuntu 20.04... |
@atiderko my guess is the missing dependency of "python3-grpc-tools". I don't know how rosdep get the required package names, but as i can see with a fresh ubuntu20.04 and noetic the package "python3-grpc-tools" is not going to be installed and building of the node_manager fails. |
Made no difference for me. Still not working. |
Have you removed node-manager (apt remove ros-noetic-fkie-multimaster) and build it in your ros working dir? |
No, so you mean I need that custom build and the package python3-grpc-tools? |
Yes you need to uninstall/remove the apt version and then install the noetic version from source. So: # remove the official from apt:
sudo apt install ros-noetic-fkie-multimaster
# install python3-grpcio and python3-grpc-tools
sudo apt install python3-grpcio python3-grpc-tools
# go to your catkin workspace and clone this repo
git clone [email protected]:fkie/multimaster_fkie.git Then, check out the Hope that helps! |
Thanks, will try! |
Hi, so there are any chances to correct this error. I'm install fkie* from apt and have the same problem with node_manger - not run - error - ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc' |
Hi, I was able to fix the error. However, now you have to wait for the sync for Noetic. Or you install the packages ros-testing repository |
I tried the same thing on Ubuntu 18.04, ros melodic. On the melodic-devel branch it works, but as I want to connect with a Noetic ROS_MASTER I tried it with the After doing it like above
I cleaned the workspace, installed it again and I get this error:
|
The error comes from generated code... did you tried to install the version 3.14.0? |
I tried this too but there were still errors coming up, so I gave up and installed Ubuntu 20.04 on both. |
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 :
sudo apt install ros-noetic-fkie-multimaster
roscore &
rosrun fkie_node_manager node_manager
Error
Troubleshooting
I already tried to fix this issue with :
sudo apt install python3-grpcio python3-grpc-tools
grpcio
to1.33.2
/opt/ros/noetic/share/fkie_multimaster_msgs/grpc
. I get :/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.
The text was updated successfully, but these errors were encountered: