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

Error reading pathways.txt #57

Open
extinctPencil opened this issue Oct 17, 2024 · 1 comment
Open

Error reading pathways.txt #57

extinctPencil opened this issue Oct 17, 2024 · 1 comment

Comments

@extinctPencil
Copy link

ERROR: Could not parse input GTFS feed, reason was: : in field 'stair_count', expected non-negative integer number

Looking at https://gtfs.org/documentation/schedule/reference/#pathwaystxt

stair_count | Non-null integer | Optional | Number of stairs of the pathway.A positive stair_count implies that the rider walk up from from_stop_id to to_stop_id. And a negative stair_count implies that the rider walk down from from_stop_id to to_stop_id.

I presume the GTFS Model objects need to be updated to resolve this

@patrickbr
Copy link
Member

patrickbr commented Oct 17, 2024

Can you try again with the latest master? Make sure you update the git submodules by running git submodule update.

However, your error seems to hint at a general parsing problem of the stair_count field. If the current master still fails to parse the feed, can you post the failing line in pathways.txt here?

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