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

App crashed when trying to load San Francisco map #1143

Open
marchaumann opened this issue Apr 13, 2024 · 1 comment
Open

App crashed when trying to load San Francisco map #1143

marchaumann opened this issue Apr 13, 2024 · 1 comment

Comments

@marchaumann
Copy link

marchaumann commented Apr 13, 2024

Error message using the web browser implementation (running on an M2 Macbook Air, same error in both Safari and Chrome):

panicked at sim/src/mechanics/driving.rs:245:29:
Car with one-step route Router { path: Path { steps: [Lane(LaneID { road: RoadID(11899), offset: 1 })], orig_req: PathRequest { start: Position { lane: LaneID { road: RoadID(11899), offset: 1 }, dist_along: Distance(0.0) }, end: Position { lane: LaneID { road: RoadID(11899), offset: 1 }, dist_along: Distance(0.0) }, constraints: Bus, alt_start: None }, total_length: Distance(8.3374), crossed_so_far: Distance(0.0), uber_turns: [], currently_inside_ut: None, blocked_starts: [] }, goal: FollowTransitRoute { end_dist: Distance(0.0) }, owner: CarID { id: 17, vehicle_type: Bus } } had unexpected result from maybe_handle_end: Some(BusAtStop)
@dabreegster
Copy link
Collaborator

There was some case with the GTFS import where a bus had two stops on the same road segment, causing the error. I removed the attempt at simulating buses, so now at least this area loads, and you can try to use the lane editor. Keep in mind #996 -- I haven't worked on the traffic simulation part of A/B Street in a few years and have no time/plans to return to it. You'll probably hit more bugs, depending what you're trying.

The fix is deployed here:
http://abstreet.s3-website.us-east-2.amazonaws.com/dev/abstreet.html?data/system/us/san_francisco/maps/downtown.bin&--dev

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

No branches or pull requests

2 participants