Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Fails for #1

Open
timmo11 opened this issue Sep 10, 2019 · 1 comment
Open

Fails for #1

timmo11 opened this issue Sep 10, 2019 · 1 comment

Comments

@timmo11
Copy link

timmo11 commented Sep 10, 2019

Hi Ben

Thanks so much for this really nice clean & tight CLI TT lookup.

I came across it when trying to understand how to move a rPi based display from Transport API to the UK National Rail / Darwin / openldws.

I have ended up coding something myself in Python just to see how it works, but no way is the output it as elegant and quick as what you have done

You app seems to fail if I ask it to look up trains arriving or departing Gatwick Airport (GTW) with "Unknown error: no implicit conversion of Symbol into Integer"

Also Three Bridges (TBD) but not Haywoods Heath (HHE) a bit further down the line.

My guess is that it is crashing when it comes across a dividing train.

Regards from Sydney

TIm

@timmo11
Copy link
Author

timmo11 commented Sep 11, 2019

Almost definitely dividing trains causing the problem.

No dividing trains right now in the middle of the night, and your script fetches departures & arrivals from GTW and TBD just fine.

T

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant