Robotics StackExchange | Archived questions

why ros installation has lot of errors

i have reinstalled nealy 20 times but each time i am facing different issues ,Still i couldnt solve the issues

Asked by nullspace on 2020-08-10 10:50:06 UTC

Comments

Hi nullspace,

Can you please share more details:

  • What hardware are you using?
  • What OS?
  • What ROS distro are you trying to install?
  • Are you installing from binaries or from source code?
  • Which are the errors shown?

Asked by Andres A. on 2020-08-10 11:08:18 UTC

@Andres A. This is not a discussion forum, it is a Q&A site. Please don't provide answers that are not actually answers -- I've converted your answer to a question comment. Please see the support guidelines if you have any questions: http://wiki.ros.org/Support

Asked by jarvisschultz on 2020-08-10 11:14:11 UTC

I agree with the sentiment of the comment from @Andres A. without more information, there's not much anyone can do to help you. Please update your question to provide more details, or this question will be closed.

Asked by jarvisschultz on 2020-08-10 12:58:03 UTC

What hardware are you using:hp zbook g5 What OS:windows (using wsl -for linux commands)-ubuntu 20.04

What ROS distro are you trying to install: noetic Are you installing from binaries or from source code: tried

both(but now noetic desktop full version ) can you explain difference between the binary and source code Which are the errors(right now facing) shown:

unable to configure logging. No log files will be generated Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

Resource not found: roslaunch ROS path [0]=/home/hari/ros_stacks The traceback for the exception was written to the log file Traceback (most recent call last): File "/usr/lib/python3/dist-packages/roslaunch/init.py", line 322, in main p.start() File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 277, in start self._start_infrastructure() File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 226, in _start_infr

Asked by nullspace on 2020-08-10 13:05:28 UTC

Resource not found: roslaunch ROS path [0]=/home/hari/ros_stacks The traceback for the exception was written to the log file Traceback (most recent call last): File "/usr/lib/python3/dist-packages/roslaunch/init.py", line 322, in main p.start() File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 277, in start self._start_infrastructure() File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 226, in _start_infrastructure self._load_config() File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 137, in _load_config self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 447, in load_config_default load_roscore(loader, config, verbose=verbose) File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 92, in load_roscore f_roscore = get_roscore_filename() File "/usr/lib/python3/dist-packages/roslaunch/config.py", line 84

Asked by nullspace on 2020-08-10 13:06:09 UTC

Thanks for the correction @jarvisschultz

Asked by Andres A. on 2020-08-10 13:28:09 UTC

@nullspace, I'm not sure about this, but you can try executing again this step of the Environment setup of the installation guide (http://wiki.ros.org/noetic/Installation/Ubuntu) in your current shell session.

source /opt/ros/noetic/setup.bash

Asked by Andres A. on 2020-08-10 13:44:25 UTC

sir i tried the same above link steps for nearly 5 times but could not solve the issue , after executing this"source /opt/ros/noetic/setup.bash" no output

Asked by nullspace on 2020-08-10 23:53:38 UTC

sir if i type " rosversion -d" command iam getting

Asked by nullspace on 2020-08-11 01:53:09 UTC

I’m currently using Melodic in Ubuntu 18.04 and I haven’t had similar problems. Let me install Ubuntu 20.04 in a VM to try to reproduce the issue and I will come back to you.

Asked by Andres A. on 2020-08-11 08:29:31 UTC

I tested the installation on VirtualBox with the following commands and didn't get any error. Sorry, I can't give any additional help.

sudo apt install ros-noetic-desktop
source /opt/ros/noetic/setup.bash
roscore
rosversion -d    # shows "noetic"

Maybe the issue is related to wsl.

Asked by Andres A. on 2020-08-11 13:21:44 UTC

Answers