{"action":"created","issue":{"url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/51","repository_url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html","labels_url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/51/comments","events_url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/51/events","html_url":"https://github.com/BlinkTagInc/gtfs-to-html/issues/51","id":323701032,"number":51,"title":"No trips found?","user":{"login":"jimijack","id":14816657,"avatar_url":"https://avatars0.githubusercontent.com/u/14816657?v=4","gravatar_id":"","url":"https://api.github.com/users/jimijack","html_url":"https://github.com/jimijack","followers_url":"https://api.github.com/users/jimijack/followers","following_url":"https://api.github.com/users/jimijack/following{/other_user}","gists_url":"https://api.github.com/users/jimijack/gists{/gist_id}","starred_url":"https://api.github.com/users/jimijack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimijack/subscriptions","organizations_url":"https://api.github.com/users/jimijack/orgs","repos_url":"https://api.github.com/users/jimijack/repos","events_url":"https://api.github.com/users/jimijack/events{/privacy}","received_events_url":"https://api.github.com/users/jimijack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-16T16:42:54Z","updated_at":"2018-05-16T17:20:17Z","closed_at":null,"author_association":"NONE","body":"I need help understanding this error I'm getting because the route_id in question has trips associated with it. There's only one service_id associated with the route in question (7501) so I'm confused why these other service_ids are showing:\r\n\r\n`$ gtfs-to-html`\r\n\r\n`Starting GTFS import for 1 file`\r\n`testAgency: Importing GTFS from ./test-feed.zip`\r\n`testAgency: Importing - agency.txt - 1 lines imported`\r\n`testAgency: Importing - calendar_dates.txt - 469 lines imported`\r\n`testAgency: Importing - calendar.txt - 53 lines imported`\r\n`testAgency: Importing - fare_attributes.txt - No file found`\r\n`testAgency: Importing - fare_rules.txt - No file found`\r\n`testAgency: Importing - feed_info.txt - 1 lines imported`\r\n`testAgency: Importing - frequencies.txt - No file found`\r\n`testAgency: Importing - routes.txt - 45 lines imported`\r\n`testAgency: Importing - shapes.txt - 37007 lines imported`\r\n`testAgency: Importing - stop_times.txt - 88887 lines imported`\r\n`testAgency: Importing - stops.txt - 696 lines imported`\r\n`testAgency: Importing - transfers.txt - No file found`\r\n`testAgency: Importing - trips.txt - 4170 lines imported`\r\n`testAgency: Importing - timetables.txt - 125 lines imported`\r\n`testAgency: Importing - timetable_stop_order.txt - 609 lines imported`\r\n`testAgency: Post Processing data`\r\n`testAgency: Completed GTFS import`\r\n`Completed GTFS import for 1 file`\r\n`testAgency: Generating 56 of 125 HTML schedules`\r\n`Warning: No trips found for route_id=5222, direction_id=1, service_ids=[\"1\",\"29510\",\"3810\",\"43310\",\"29803\",\"29503\",\"30303\",\"43303\",\"29502\",\"29602\",\"43202\",\"29501\",\"17601\",\"27201\",\"3701\",\"48001\",\"43001\",\"43101\",\"37001\",\"34301\",\"1101\",\"24701\",\"30701\",\"25201\",\"10\"], timetable_id=161`\r\n`TypeError: Cannot read property 'stoptimes' of undefined`\r\n`    at findCommonStopId (/usr/local/lib/node_modules/gtfs-to-html/lib/utils.js:33:45)`\r\n`    at sortTrips (/usr/local/lib/node_modules/gtfs-to-html/lib/utils.js:96:24)`\r\n`    at getTripsFromTimetable (/usr/local/lib/node_modules/gtfs-to-html/lib/utils.js:539:10)`\r\n`    at <anonymous>`\r\n`    at process._tickCallback (internal/process/next_tick.js:188:7)`"},"comment":{"url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/comments/389598396","html_url":"https://github.com/BlinkTagInc/gtfs-to-html/issues/51#issuecomment-389598396","issue_url":"https://api.github.com/repos/BlinkTagInc/gtfs-to-html/issues/51","id":389598396,"user":{"login":"brendannee","id":96217,"avatar_url":"https://avatars2.githubusercontent.com/u/96217?v=4","gravatar_id":"","url":"https://api.github.com/users/brendannee","html_url":"https://github.com/brendannee","followers_url":"https://api.github.com/users/brendannee/followers","following_url":"https://api.github.com/users/brendannee/following{/other_user}","gists_url":"https://api.github.com/users/brendannee/gists{/gist_id}","starred_url":"https://api.github.com/users/brendannee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendannee/subscriptions","organizations_url":"https://api.github.com/users/brendannee/orgs","repos_url":"https://api.github.com/users/brendannee/repos","events_url":"https://api.github.com/users/brendannee/events{/privacy}","received_events_url":"https://api.github.com/users/brendannee/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T17:20:17Z","updated_at":"2018-05-16T17:20:17Z","author_association":"COLLABORATOR","body":"In your timetables.txt, you may be specifying a date range for which that route has no service. Or, perhaps it doesn't have any service in direction_id=1.\r\n\r\nGTFS-to-HTML queries for all service_ids for the date range specified in timetables.txt, and 7501 doesn't appear to be one of those."}}
{"actor":{"display_login":"brendannee"}}