-
Notifications
You must be signed in to change notification settings - Fork 99
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
[get_depends] when a dependency is missing, 1st run returns no pkgs, but 2nd run returns some pkgs (only some). #142
Comments
I have brought the same comment up in a different ticket: #162 (comment) You currently have five PRs pending in this repository:
Please comment on each of them with the current status and what your plan is to proceed on these. Otherwise I will likely go ahead and close them in the near future due to no follow ups. |
If inactive open PRs matter for you I have no problem in having them closed. I'm willing to address review comments and improve whenever I have time, so will reopen one by one with update. |
If you are still planning to work on them in the future I am fine keeping them open. Since some of them are very old I thought I would ask. Looking forward for updates then. |
Due to the long time of inactivity I will go ahead and close the ticket. Please feel free to comment with updates and it can be reopened. |
I filed this issue again #214 as I still see the same issue happens and I didn't see a way to re-open this ticket. I think this ticket got closed because (after reading #142 (comment)) I might have given a wrong impression that I meant this ticket to be a feature suggestion (with the streak of PRs I had opened back then)? In fact this ticket is a bug report. |
I call this is a bug.
Problem description
In an unmerged-closed PR #129 (comment), I covered too many issues that made a review harder. So I decided to split into multiple PRs and tickets.
As per subject, when a defined dependency is not available in the paths in
ROS_PACKAGE_PATH
on the platformrospkg
runs on,get_depends
's behavior becomes counter-intuitive. Its 1st run and 2nd (or more) run behaves differently as following:ResourceNotFound
without returning any depended pkgs. The current error message does not provide enough info about the situation.Example reproducing the problem
Example of 1st invocation
(This example uses OSRF Docker image but involves an adhoc sequence of commands in an attempt to realize the problematic situation. While that set of commands are unusual, the situation it realizes can happen.)
The situation of missing this particular pkg in the example (
rosunit
) is legitimately possible, due to the current design (of buildfarm? I'm not sure) explained in #131 (comment). But with the error message users have no idea about:roscpp
here) has a list of dependency or not (this may sound absurd as a package not depending on anything is unrealistic).ResourceNotFound: rosunit
means (It is actually one of the packages defined in the dependency chain but not available on the platform).Example of 2nd invocation
2nd invocation returns a list. There's some issues here:
rosconsole
that is directly run/exec-depended byroscpp
is missing, but the command did not return error.Expected behavior
I'd suggest:
The text was updated successfully, but these errors were encountered: