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

Column mismatch and parse errors #1

Open
rubensworks opened this issue Mar 16, 2017 · 2 comments
Open

Column mismatch and parse errors #1

rubensworks opened this issue Mar 16, 2017 · 2 comments
Labels

Comments

@rubensworks
Copy link
Member

Occurs randomly with Docker.

info: >> Visualizing output
info: >> Exporting to GTFS
GTFS to linked connections converter use --help to discover more functions
Error reading calendar_dates.txt: Error: Parse Error: expected: '"' got: ':'. at ':["/node_m
events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: Parse Error: expected: '"' got: ':'. at ':["/node_m
    at parseEscapedItem (/node_modules/fast-csv/lib/parser/parser.js:79:19)
    at ParserStream.parseLine [as parser] (/node_modules/fast-csv/lib/parser/parser.js:174:30)
    at ParserStream._parseLine [as _parse] (/node_modules/fast-csv/lib/parser/parser_stream.js:164:25)
    at ParserStream._transform (/node_modules/fast-csv/lib/parser/parser_stream.js:198:18)
    at ParserStream.Transform._read (_stream_transform.js:167:10)
    at ParserStream.Transform._write (_stream_transform.js:155:12)
    at doWrite (_stream_writable.js:307:12)
    at writeOrBuffer (_stream_writable.js:293:5)
    at ParserStream.Writable.write (_stream_writable.js:220:11)
    at ReadStream.ondata (_stream_readable.js:555:20)
Routes: +44Error reading routes.txt: Error: Unexpected Error: column header mismatch expected: 5 columns got: 7Routes: +110Error reading routes.txt: Error: Unexpected Error: column header mismatch expected: 5 columns got:

With parameters:

GTFS_GEN_SEED=111

GTFS_GEN_REGION__SIZE_X=2000 

GTFS_GEN_REGION__SIZE_Y=2000

GTFS_GEN_REGION__CELLS_PER_LATLON=200

GTFS_GEN_STOPS__STOPS=5000

GTFS_GEN_CONNECTIONS__DELAY_CHANCE=0.01

GTFS_GEN_CONNECTIONS__CONNECTIONS=800000

GTFS_GEN_ROUTES__ROUTES=5000

GTFS_GEN_ROUTES__MAX_ROUTE_LENGTH=50

GTFS_GEN_ROUTES__MIN_ROUTE_LENGTH=10 

GTFS_GEN_CONNECTIONS__ROUTE_CHOICE_POWER=1.3 

GTFS_GEN_CONNECTIONS__TIME_FINAL=63072000000 
@rubensworks
Copy link
Member Author

Not reproducible by me on both Windows and Mac.

@rubensworks
Copy link
Member Author

@petzkahe When you encounter this issue, what are the contents of the file that is being complained about?

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

No branches or pull requests

1 participant