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

Revision history [back]

click to hide/show revision 1
initial version

Problem solved: I have tried #q253480 , but it didn't fix the problem (because $HOME gives that error which is mentioned on that page:"error bash: HOME/.bashrc: No such file or directory" ).

I found that, this fixed the problem: go to terminal, execute "gedit ~/bashrc". On the bottom of the file, there are those commands which is for setting bash. Delete the corresponding command there in the file, and save and exit the file. When you open the terminal again, that error doesn't appear there, it is fixed.

Problem solved: I have tried #q253480 , but it didn't fix the problem (because $HOME gives that error which is mentioned on that page:"error bash: HOME/.bashrc: No such file or directory" ).

I found that, this fixed the problem: go to terminal, execute "gedit ~/bashrc". ~/.bashrc". On the bottom of the file, there are those commands which is for setting bash. Delete the corresponding command there in the file, and save and exit the file. When you open the terminal again, that error doesn't appear there, it is fixed.

Problem solved: I have tried #q253480 , but it didn't fix the problem (because $HOME gives that error which is mentioned on that page:"error bash: HOME/.bashrc: No such file or directory" ).

I found that, this fixed the problem: go to terminal, execute "gedit ~/.bashrc". gedit ~/.bashrc. On the bottom of the file, there are those commands which is for setting bash. Delete the corresponding command there there(source /opt/ros/lunar/setup.bash - it is lunar in this case, but it might differ which ROS distro you use) in the file, and save and exit the file. When you open the terminal again, that error doesn't appear there, it is fixed.