InboundMessage(channel='twitter', sender='tumble909', content='Newark northgate to London kings cross', extra={'tweet_id': 671035177557184512})
The error was:
Traceback (most recent call last):
File "/home/paulfurley/repo/train-bot-uk/trainbot/handle_message.py", line 14, in handle_message
reply_content = make_reply(message.content)
File "/home/paulfurley/repo/train-bot-uk/trainbot/handle_message.py", line 39, in make_reply
return parser.reply(**response_params)
File "/home/paulfurley/repo/train-bot-uk/trainbot/responders/journey_responder.py", line 30, in reply
when=datetime.datetime.now() + datetime.timedelta(minutes=5))
File "/home/paulfurley/repo/python-uk-trains/uktrains/uktrains.py", line 92, in search_trains
get_station(from_name),
File "/home/paulfurley/repo/python-uk-trains/uktrains/uktrains.py", line 61, in get_station
station = search_stations(station_name)[0] # TODO: don't just get 1st
IndexError: list index out of range
Full message:
The error was: