billymwlei / googletransitdatafeed

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

Feed Validator Crash #299

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Extract GTFS files (zip file attached) to Hastus folder in the main 
transitfeed-windows-binary folder.

What is the expected output? What do you see instead?
I expect to see the feed validation results.  Instead, I receive a error 
message to report the crash.  "transitfeedcrash.txt" file attached.

What version of the product are you using? On what operating system?
transitfeed-windows-binary-1.2.7
Windows 7

Please provide any additional information below.
Capture of command prompt output is included.

Original issue reported on code.google.com by SamTrans...@gmail.com on 3 Oct 2011 at 8:42

Attachments:

GoogleCodeExporter commented 9 years ago
There were two bugs at play here:

1) The trips.txt file has service_id values that don't match any of the entries 
in calendars.txt or calendar_dates.txt.  This is an error in the feed which the 
validator should catch, but it shouldn't cause the validator to crash.

2) There was a bug in the validator itself that caused a crash when it 
attempted to lookup service date information for the unknown service id.  I 
will submit a patch to fix this.

Original comment by bdfer...@google.com on 19 Dec 2011 at 12:47

GoogleCodeExporter commented 9 years ago

Original comment by bdfer...@google.com on 19 Dec 2011 at 12:48

GoogleCodeExporter commented 9 years ago
Reviewed at http://codereview.appspot.com/5489089/ and committed in r1640.

Original comment by bdfer...@google.com on 3 Jan 2012 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by bdfer...@google.com on 3 Jan 2012 at 11:07

GoogleCodeExporter commented 9 years ago

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