andreiDamoc / googletransitdatafeed

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

Unusual_trip_filter crash #231

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, we are trying to validate our ZIP but we have some trips that cause 
errors that we want to filter. We read that Unusual_trip_filter does the 
job. 
When we execute it we get this error:

------------------------------------------------------------------------
File "transitfeed\_transitfeed.pyc", line 619, in _Report
    self = <transitfeed._transitfeed.ExceptionProblemReporter instance at 
0x00BF
EC38>
    e = Invalid value 2 in field stop_sequence
Duplicate stop_sequence in trip_id 57-1FE43

InvalidValue: Invalid value 2 in field stop_sequence
Duplicate stop_sequence in trip_id 57-1FE43

------------------------------------------------------------

Yikes, the program threw an unexpected exception!

Hopefully a complete report has been saved to transitfeedcrash.txt,
though if you are seeing this message we've already disappointed you once
today. Please include the report in a new issue at
http://code.google.com/p/googletransitdatafeed/issues/entry
or an email to the public group googletransitdatafeed@googlegroups.com. 
Sorry!

--------------------------------------------------------------

Why is this happening?

Thank you!

Original issue reported on code.google.com by joanmar1...@gmail.com on 30 Mar 2010 at 10:53

GoogleCodeExporter commented 8 years ago
Let me know where you read that so I can try to fix it.

unusual_trip_filter sets trip_type, it doesn't remove trips. Also it only works 
on 
GTFS files that pass the feed validator.

Original comment by tom.brow...@gmail.com on 30 Mar 2010 at 5:17

GoogleCodeExporter commented 8 years ago
http://codereview.appspot.com/857041 submitted r1290 improved --help. I also 
created 
http://code.google.com/p/googletransitdatafeed/wiki/UnusualTripFilter

Original comment by tom.brow...@gmail.com on 1 Apr 2010 at 12:40