Closed sridharraman closed 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.
Due to multiple OS, there was a blank _MACOS folder in the zip file. That was causing the error.
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.