Incorrect location for binary used by scripts/generate_routing_topo_graph.sh

Open Beginner friendly
#15,788 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
bash
Domain
build-system

Research direction

Open scripts/generate_routing_topo_graph.sh and inspect the binary path used around line 25. Reproduce the failure in the dev container with ./scripts/generate_routing_topo_graph.sh, then verify that importing an HD map generates the routing map without the reported path error.

Written by the indexing model from the issue text.

Description

Describe the bug
scripts/generate_routing_topo_graph.sh calls ${APOLLO_BIN_PREFIX}/modules/routing/topo_creator/topo_creator and causes error during topo creation.

To Reproduce
Steps to reproduce the behavior:

  1. Start and enter dev container
  2. Run ./scripts/generate_routing_topo_graph.sh
  3. See error
scripts/generate_routing_topo_graph.sh: line 25: /apollo/bazel-bin/modules/routing/topo_creator/topo_creator: Not a directory

Expected behavior
This script is used when importing a new HD map, but the bug is preventing routing map from being generated.

Additional context
Bug is reproduced on commit https://github.com/ApolloAuto/apollo/commit/d53aa3da47a06a08e6d0cd175d5623a34fa0d6aa.

Dominant language
C++
Stars
26.8k
Forks
10k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ApolloAuto/apollo

All issues in ApolloAuto/apollo

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.