We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
asset downlaod error
NGC_ORG="nvidia" NGC_TEAM="isaac" PACKAGE_NAME="cumotion_object_attachment" NGC_RESOURCE="cumotion_object_attachment_assets" NGC_FILENAME="quickstart.tar.gz" MAJOR_VERSION=3 MINOR_VERSION=2 VERSION_REQ_URL="https://catalog.ngc.nvidia.com/api/resources/versions?orgName=$NGC_ORG&teamName=$NGC_TEAM&name=$NGC_RESOURCE&isPublic=true&pageNumber=0&pageSize=100&sortOrder=CREATED_DATE_DESC" AVAILABLE_VERSIONS=$(curl -s -H "Accept: application/json" "$VERSION_REQ_URL") LATEST_VERSION_ID=$(echo $AVAILABLE_VERSIONS | jq -r " .recipeVersions[] | .versionId as $v | $v | select(test("^\\d+\\.\\d+\\.\\d+$")) | split(".") | {major: .[0]|tonumber, minor: .[1]|tonumber, patch: .[2]|tonumber} | select(.major == $MAJOR_VERSION and .minor <= $MINOR_VERSION) | $v " | sort -V | tail -n 1 ) if [ -z "$LATEST_VERSION_ID" ]; then echo "No corresponding version found for Isaac ROS $MAJOR_VERSION.$MINOR_VERfi rm ${NGC_FILENAME}NAME} -C ${ISAAC_ROS_WS}/isaac_ros_assets && \NGC_TEAM/$NG jq: error (at :1): Cannot index number with string "recipeVersions" parse error: Invalid numeric literal at line 1, column 8 No corresponding version found for Isaac ROS 3.2 Found versions: jq: error (at :1): Cannot index number with string "recipeVersions" parse error: Invalid numeric literal at line 1, column 8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
asset downlaod error
NGC_ORG="nvidia"
NGC_TEAM="isaac"
PACKAGE_NAME="cumotion_object_attachment"
NGC_RESOURCE="cumotion_object_attachment_assets"
NGC_FILENAME="quickstart.tar.gz"
MAJOR_VERSION=3
MINOR_VERSION=2
VERSION_REQ_URL="https://catalog.ngc.nvidia.com/api/resources/versions?orgName=$NGC_ORG&teamName=$NGC_TEAM&name=$NGC_RESOURCE&isPublic=true&pageNumber=0&pageSize=100&sortOrder=CREATED_DATE_DESC"
AVAILABLE_VERSIONS=$(curl -s
-H "Accept: application/json" "$VERSION_REQ_URL")
LATEST_VERSION_ID=$(echo $AVAILABLE_VERSIONS | jq -r "
.recipeVersions[]
| .versionId as $v
| $v | select(test("^\\d+\\.\\d+\\.\\d+$"))
| split(".") | {major: .[0]|tonumber, minor: .[1]|tonumber, patch: .[2]|tonumber}
| select(.major == $MAJOR_VERSION and .minor <= $MINOR_VERSION)
| $v
" | sort -V | tail -n 1
)
if [ -z "$LATEST_VERSION_ID" ]; then
echo "No corresponding version found for Isaac ROS $MAJOR_VERSION.$MINOR_VERfi rm ${NGC_FILENAME}NAME} -C ${ISAAC_ROS_WS}/isaac_ros_assets && \NGC_TEAM/$NG
jq: error (at :1): Cannot index number with string "recipeVersions"
parse error: Invalid numeric literal at line 1, column 8
No corresponding version found for Isaac ROS 3.2
Found versions:
jq: error (at :1): Cannot index number with string "recipeVersions"
parse error: Invalid numeric literal at line 1, column 8
The text was updated successfully, but these errors were encountered: