BlinkTagInc / gtfs-to-html

Build human readable transit timetables as HTML or PDF from GTFS.
https://gtfstohtml.com
MIT License
184 stars 56 forks source link

Internal server error on https://run.gtfstohtml.com/ #116

Closed stevebab closed 3 years ago

stevebab commented 3 years ago

Just an fyi. Thank you for this very wonderful tool.

brendannee commented 3 years ago

Thanks for the heads up - it is back up now. https://run.gtfstohtml.com

stevebab commented 3 years ago

Hi Brendan,

Loving this tool. I am really blown away. Thank you for creating this!

I have two questions about the app at https://run.gtfstohtml.com

First, the individual tables generated don't include a map above the timetable (although the showMap setting is true). I do get a map on the overview page with all routes, though. I've read through the documentation to see if there is an additional setting to get a map with each timetable, but I can't seem to find that. Any suggestions?

Second, the zip download after generating files is empty (although the zipOutput is set to true). The aws hosted map site does work, however.

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Thu, Jun 10, 2021 at 10:54 PM Brendan Nee @.***> wrote:

Thanks for the heads up - it is back up now. https://run.gtfstohtml.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-859290966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7AR6HZC574CEJ7XOB3TSGQLBANCNFSM46OZK55A .

brendannee commented 3 years ago

Can you let me know what GTFS file you are using so I can try it out? Also, link me to any output from the site so I can see what you are seeing.

stevebab commented 3 years ago

Please see attached.

Also, the url is https://gtfs-to-html.s3.amazonaws.com/7f99ea06-0774-4d94-8454-5ac096c95945/index.html

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Wed, Jun 16, 2021 at 12:18 PM Brendan Nee @.***> wrote:

Can you let me know what GTFS file you are using so I can try it out? Also, link me to any output from the site so I can see what you are seeing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-862647876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7AS5EV2SE4F4SZBCJTTTD2ILANCNFSM46OZK55A .

brendannee commented 3 years ago

I just deployed an update to http://run.gtfstohtml.com which should solve all of these issues. Try it out (add your own mapbox token to the config to ensure the maps will work for you).

Let me know if you see any other issues.

stevebab commented 3 years ago

Hi BRendan,

Good morning! Getting a 502 bad gateway at https://run.gtfstohtml.com/

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Fri, Jun 18, 2021 at 6:10 PM Brendan Nee @.***> wrote:

I just deployed an update to http://run.gtfstohtml.com which should solve all of these issues. Try it out (add your own mapbox token to the config to ensure the maps will work for you).

Let me know if you see any other issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-864335044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7EPHI5APFRFC5TVGODTTPVAHANCNFSM46OZK55A .

brendannee commented 3 years ago

Just working out the kinks with the new version of the service - its back up now.

stevebab commented 3 years ago

You are very gracious Brennan. Thanks!

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Tue, Jun 22, 2021 at 11:24 AM Brendan Nee @.***> wrote:

Just working out the kinks with the new version of the service - its back up now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-866227499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7H3NHLTV2DOKBJK4OLTUDIOPANCNFSM46OZK55A .

stevebab commented 3 years ago

So close! This is incredible.

A couple of issues:

  1. The downloadable zipped file does not contain the js directory (with system-map.js and timetable.js)
  2. Still no maps on the actual route pages ... I'm using this file http://96.126.103.89/google_transit_test20210623.zip and the json below:

{ "allowEmptyTimetables": false, "beautify": true, "coordinatePrecision": 5, "dateFormat": "MMM D, YYYY", "daysShortStrings": [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ], "daysStrings": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "defaultOrientation": "vertical", "interpolatedStopSymbol": "•", "interpolatedStopText": "Estimated time of arrival", "linkStopUrls": true, "mapboxAccessToken": "pk.eyJ1IjoibTNzdXBwb3J0IiwiYSI6ImNrZ2I5M3NxaDBlb2cyeXF1aGpvaWM5N3EifQ._Fd9Z30wR6hKcFFBbX_pFA", "menuType": "simple", "noDropoffSymbol": "‡", "noDropoffText": "No drop off available", "noHead": false, "noPickupSymbol": "**", "noPickupText": "No pickup available", "noServiceSymbol": "-", "noServiceText": "No service at this stop", "outputFormat": "html", "requestDropoffSymbol": "†", "requestDropoffText": "Must request drop off", "requestPickupSymbol": "***", "requestPickupText": "Request stop - call for pickup", "serviceNotProvidedOnText": "Service not provided on", "serviceProvidedOnText": "Service provided on", "showArrivalOnDifference": 0.2, "showMap": true, "showOnlyTimepoint": false, "showRouteTitle": true, "showStopCity": true, "showStopDescription": true, "sortingAlgorithm": "common", "timeFormat": "h:mma", "useParentStation": true, "zipOutput": true }

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Tue, Jun 22, 2021 at 2:22 PM Steve Babbitt @.***> wrote:

You are very gracious Brennan. Thanks!

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Tue, Jun 22, 2021 at 11:24 AM Brendan Nee @.***> wrote:

Just working out the kinks with the new version of the service - its back up now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-866227499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7H3NHLTV2DOKBJK4OLTUDIOPANCNFSM46OZK55A .

brendannee commented 3 years ago

Thanks for following up on this - I resolved the issue with the JS not showing up in the zip export.

stevebab commented 3 years ago

Hi Brendan,

Still loving this tool. It is really awesome.

Still having an issue with timetable maps not showing up (the geojson "features" array is empty on the individual timetables html pages)

<script> (function() { const id = 'timetable_id_2'; const geojson = { "type": "FeatureCollection", "features": [] }; createMap(id, geojson); })(); </script>

I'm assuming i'm missing something in the config.json ... any suggestions?

brendannee commented 3 years ago

Can you share with me the GTFS you are using?

stevebab commented 3 years ago

http://96.126.103.89/gtfs20211021a.zip

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Thu, Oct 21, 2021 at 10:08 AM Brendan Nee @.***> wrote:

Can you share with me the GTFS you are using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-948822028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7EYWVTH4M7P5LLJSRDUIBCHBANCNFSM46OZK55A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

stevebab commented 3 years ago

Also http://96.126.103.89/config.json

Thx!

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Thu, Oct 21, 2021 at 10:18 AM Steve Babbitt @.***> wrote:

http://96.126.103.89/gtfs20211021a.zip

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Thu, Oct 21, 2021 at 10:08 AM Brendan Nee @.***> wrote:

Can you share with me the GTFS you are using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-948822028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7EYWVTH4M7P5LLJSRDUIBCHBANCNFSM46OZK55A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

brendannee commented 3 years ago

Thanks for the details.

It looks like your timetables.txt needs to specify a direction_id for each timetable you want to show up. Without that, the maps won't render.

stevebab commented 3 years ago

That did it. Thank you!

Very Respectfully,

Steve Babbitt Senior Developer @.*** (619) 757-1303 (tel) (619) 828-0442 (fax)

Mile3 Web Development Interactive Web Site Design, Development and Management https://www.mile3.com

Need support quickly? Send a message to @.*** or call (619) 535-1932 for the fastest possible response.

On Thu, Oct 21, 2021 at 11:37 AM Brendan Nee @.***> wrote:

Thanks for the details.

It looks like your timetables.txt needs to specify a direction_id for each timetable you want to show up. Without that, the maps won't render.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-html/issues/116#issuecomment-948898350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSS7C6BM5AQQXWXS2LCPDUIBMU3ANCNFSM46OZK55A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.