Closed peci1 closed 3 years ago
I replicated the bug. It applies not just to installed workspaces, but to 2nd level directories as well. In the meantime, the issue seems to be circumvented either by restarting the IDE after saving the settings or moving up a directory level like you did.
I managed to replicate the same issue the other way, that is, if I loaded /media/data/subt/virtual/install
first, it wouldnt load the packages, but when I changed to /media/data/subt/virtual/install/share
everything loaded properly. The issue was that I reloaded the package index before the file index could update itself.
With the commit above, the index is loaded using an invalidation model, where external methods can only tell the index that it is incorrect. This way, the index can make its index when the file index it is based on is actually available.
Hopefully this commit solves the issue. Cheers!
To Reproduce Steps to reproduce the behavior:
catkin_make install
it (in my case,/media/data/subt/virtual
)./media/data/subt/virtual/install/share
)./share
bit from the installed WS path, resolving its packages works.Expected behavior Packages from installed WSs should work out of the box.
Environment Information: