UrbanAnalyst / gtfsrouter

Routing and analysis engine for GTFS (General Transit Feed Specification) data
https://urbananalyst.github.io/gtfsrouter/
82 stars 17 forks source link

Error while reading feed #18

Closed sridharraman closed 5 years ago

sridharraman commented 5 years ago

I have a GTFS zip file that is read fine by tidytransit. But when I try to read it using gtfsrouter, I get the following error:

Error in data.table::fread(cmd = paste0("unzip -p ", filename, " \"", : Internal error: sampleLines(101) > allocnrow(0) In addition: Warning messages: 1: This feed contains no transfers.txt 2: In data.table::fread(cmd = paste0("unzip -p ", filename, " \"", : File '/tmp/RtmpAnhFlA/file167d63e3f0bb' has size 0. Returning a NULL data.table.

I understand that transfers.txt is optional. But I am unable to understand what the other error is.

sridharraman commented 5 years ago

Due to multiple OS, there was a blank _MACOS folder in the zip file. That was causing the error.