Skip to content
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

Package 'rviz_common' not found #123

Closed
sisaha9 opened this issue May 15, 2021 · 2 comments
Closed

Package 'rviz_common' not found #123

sisaha9 opened this issue May 15, 2021 · 2 comments

Comments

@sisaha9
Copy link

sisaha9 commented May 15, 2021

I keep getting the below error when running rviz2

terminate called after throwing an instance of 'ament_index_cpp::PackageNotFoundError'
  what():  package 'rviz_common' not found, searching: [/home/user/ws/install/pkg1, /home/user/ws/install/pkg2, /home/user/ws/install/]

It was working before but after removing a workspace it kept giving me a warning

WARNING:colcon.colcon_core.prefix_path.colcon:The path '/home/user/old_ws/install' in the environment variable COLCON_PREFIX_PATH doesn't exist
WARNING:colcon.colcon_core.prefix_path.colcon:The path '/home/user/old_ws/install' in the environment variable AMENT_PREFIX_PATH doesn't exist
WARNING:colcon.colcon_core.prefix_path.colcon:The path '/home/user/old_ws/install' in the environment variable CMAKE_PREFIX_PATH doesn't exist

I edited these paths manually to try removing the errors and I think it screwed things up. Is there a way to completely reset everything/clean everything and start from scratch?

@sisaha9
Copy link
Author

sisaha9 commented May 16, 2021

Resolved after restarting machine. Would still like to know if there is a command to clean a workspace

@sisaha9 sisaha9 closed this as completed May 16, 2021
@dirk-thomas
Copy link
Member

Would still like to know if there is a command to clean a workspace

No, there is not atm: colcon/colcon-core#37.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants