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

Caused by: org.onebusaway.csv_entities.exceptions.MissingRequiredFieldException: missing required field: pathway_type #365

Open
kalon33 opened this issue Oct 6, 2021 · 1 comment

Comments

@kalon33
Copy link

kalon33 commented Oct 6, 2021

Expected behavior

pathway_mode would be read as defined in the spec.

Observed behavior

OTP requires a pathway_type field, that is not in the spec (seems to be pathway_mode under another name)

Version of OTP used (exact commit hash or JAR name)

891117f (master)

Data sets in use (links to GTFS and OSM PBF files)

IFDM dataset from Paris.

Steps to reproduce the problem

Use a GTFS file with a pathway.txt file.

Thanks for your help!

@vesameskanen
Copy link
Member

There seems to be a closed issue about this error in the code repo which parses the mentionded data:

OneBusAway/onebusaway-gtfs-modules#122

The history of the respective class indicates thet the error was fixed half a year ago:

https://github.com/OneBusAway/onebusaway-gtfs-modules/commits/master/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Pathway.java

I tested this with the new OTP2 setup and indeeed, parsing works correctly.

Does rebuilding a new OTP version help? It should now use the fixed onebusaway/pathway class.

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