akireserrano86 / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

Incorrect Text for calendar_dates.txt error #250

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When running validation on the attached files, the error for calendar_dates.txt 
shows incorrectly.  

The error "Invalid value 2010912 in field date in line 27 of 
calendar_dates.txt" is actually on line 34 and the date shown in the table 
below the message shows the record from line 27.

The second error is similar except the error is really on line 37 and not on 
line 27 again.

The GTFS file that created this error can be downloaded from: 
http://www.sdmts.com/google_transit_files/gtfs_date_error_MTS.zip

The output from FeedValidator is attached.

Original issue reported on code.google.com by devin.br...@gmail.com on 16 Aug 2010 at 9:25

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

Thank you for the bug report. This is indeed an error and the cause is the same 
from issue 205: we set the context (filename, line number) only the first time 
we see a service_id in either calendar.txt or calendar_dates.txt.

Since the cause (and the fix) are the same for both issues, I'm merging them.

Thanks,
- André

Original comment by a...@google.com on 30 Aug 2010 at 8:05

GoogleCodeExporter commented 8 years ago

Original comment by bdfer...@google.com on 26 Sep 2014 at 4:43