modeify
modeify copied to clipboard
TrivialPathException from OTP
We're seeing this following error in isolated cases; it appears to be a profile routing error:
http://staging.carfreeatoz.com/api/plan?accessModes=WALK%2CBICYCLE%2CBICYCLE_RENT%2CCAR_PARK&bikeSafe=1000&bikeSpeed=2.68224&date=2016-01-09&directModes=CAR%2CWALK%2CBICYCLE%2CBICYCLE_RENT&egressModes=WALK%2CBICYCLE_RENT&endTime=9%3A00&from=38.914381%2C-77.021183&maxBikeTime=20&maxWalkTime=15&startTime=7%3A00&to=38.891262%2C-77.085019&limit=2&transitModes=BUS%2CTRAINISH&walkSpeed=1.34112
@abyrd @mattwigway any idea what's happening here? Not familiar with this OTP error
It's coming from here: https://github.com/opentripplanner/OpenTripPlanner/blob/master/src/main/java/org/opentripplanner/api/resource/GraphPathToTripPlanConverter.java#L231
One of the on-street modes in the search does not contain any legs, the origins and destinations are coincident. If I remove all modes except walk, though, the search still fails - maybe the error is coming from a zero-length transfer (I'm not exactly sure where this method gets called in Modeify).
On Fri, Jan 8, 2016 at 11:19 PM, David Emory [email protected] wrote:
@abyrd https://github.com/abyrd @mattwigway https://github.com/mattwigway any idea what's happening here? Not familiar with this OTP error
— Reply to this email directly or view it on GitHub https://github.com/conveyal/modeify/issues/323#issuecomment-170192352.
Matthew Wigginton Conway [WIG-in-tun CON-way] Transportation Analytics/Open Source Washington, DC
@demory: is this resolved with the latest OTP?