Sadless74 / googletransitdatafeed

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

calendar_dates.txt error reported with context in calendar.txt #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a service_id in calendar.txt and calendar_dates.txt. Use an invalid 
date in calendar_dates.txt and the feedvalidator will output an error with 
the context file name and line number of the calendar.txt entry for the 
service_id.

It might help to restructure how the class ServicePeriod parses lines from 
these files.

Original issue reported on code.google.com by tom.brow...@gmail.com on 1 Dec 2009 at 12:16

GoogleCodeExporter commented 9 years ago
Attached file with unclear to me validation warning from calendar_dates that 
might be
related to issue Tom raises, tho I cannot see the "invalid date".  Results from 
FV
1.2.4 (windows) return: 

Too Many Days Without Service

There are 102 consecutive days, from 2010-08-01 to 2010-11-10, without any 
scheduled
service. Please ensure this is intentional.

Does this imply the feed is validating from August to November, 2010, as well?  

Original comment by action...@gmail.com on 14 Dec 2009 at 6:26

Attachments:

GoogleCodeExporter commented 9 years ago
The "Too Many Days Without Service" message is unrelated to this bug.

Your feed is effective December 13, 2009 to November 11, 2010 but has no 
service from 
2010-08-01 to 2010-11-10. If there is service during this time range you should 
either 
add it or reduce the window where service is defined by removing sat,20101111,1 
from 
calendar_dates.txt.

Original comment by tom.brow...@gmail.com on 14 Dec 2009 at 6:41

GoogleCodeExporter commented 9 years ago
Issue 250 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
I stumbled across the same problem while fixing Issue 263
--> fix is under code review http://codereview.appspot.com/2981041/

Original comment by n...@google.com on 15 Nov 2010 at 10:22

GoogleCodeExporter commented 9 years ago
problem fixed in 
http://code.google.com/p/googletransitdatafeed/source/detail?r=1424

Original comment by n...@google.com on 21 Jan 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Issue 250 has been merged into this issue.

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