Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh screen occasionally shows welcome screen instead of blank screen. #45

Closed
mattanorak opened this issue Nov 4, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mattanorak
Copy link

Occasionally, on refresh, I see the "Powered by National Rail Enquiries" message, then a blank screen, then the display resumes. Here's an export from the log at the time that it happened:

03.11.21 22:27:18 (+0000)  main  Traceback (most recent call last):
03.11.21 22:27:18 (+0000)  main    File "src/main.py", line 336, in <module>
03.11.21 22:27:18 (+0000)  main      data = loadData(config["api"], config["journey"])
03.11.21 22:27:18 (+0000)  main    File "src/main.py", line 159, in loadData
03.11.21 22:27:18 (+0000)  main      journeyConfig, apiConfig["apiKey"])
03.11.21 22:27:18 (+0000)  main    File "/src/trains.py", line 171, in loadDeparturesForStation
03.11.21 22:27:18 (+0000)  main      Departures, departureStationName = ProcessDepartures(APIOut)
03.11.21 22:27:18 (+0000)  main    File "/src/trains.py", line 33, in ProcessDepartures
03.11.21 22:27:18 (+0000)  main      departureStationName = APIElements['soap:Envelope']['soap:Body']['GetDepBoardWithDetailsResponse']['GetStationBoardResult']['lt4:locationName']
03.11.21 22:27:18 (+0000)  main  KeyError: 'GetDepBoardWithDetailsResponse'
03.11.21 22:27:19 (+0000) Service exited 'main sha256_{removed in case this part is unique}_'
03.11.21 22:27:21 (+0000) Restarting service 'main sha256:_{removed in case this part is unique}_'
03.11.21 22:27:21 (+0000)  main  Starting Train Departure Display v0.1.1
03.11.21 22:27:26 (+0000)  main  Effective FPS: 0.0
03.11.21 22:29:47 (+0000)  main  Effective FPS: 18.61
03.11.21 22:32:07 (+0000)  main  Effective FPS: 18.63
@chrisys chrisys added the bug Something isn't working label Nov 5, 2021
@mattanorak
Copy link
Author

mattanorak commented Nov 19, 2021

Seems to be fixed with the latest version. I tend to only see this if there are network issues now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants