smurfy / fahrplan

QT Application for Public transportation
GNU General Public License v2.0
58 stars 33 forks source link

Both manual and gps search stopped working for backend reiseinfo.no / nri #254

Open malinkb opened 7 years ago

malinkb commented 7 years ago

When searching for a station manually or with gps, no results at all is present. I first noticed this issue early in january 2017. As I don't have access to the reiseinfo.no / nri api, I can't confirm if this is because of api changes.

I am running SailfishOS 2.0.5.6 (Haapajoki) and fahrplan version 2.0.28

The terminal output from fahrplan is:

[nemo@Sailfish ~]$ harbour-fahrplan2 [D] main:82 - openrepos.net build [D] main:102 - Using "C" locale [D] main:109 - Startup [D] main:119 - QML [D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL [D] main:175 - SailfishOs [W] unknown:108 - qrc:/src/gui/sailfishos/pages/JourneyDetailsResultsPage.qml:108:13: QML ListView: Binding loop detected for property "height" [W] unknown:114 - qrc:/src/gui/sailfishos/pages/JourneyResultsPage.qml:114:13: QML ListView: Binding loop detected for property "height" [W] unknown:43 - qrc:/src/gui/sailfishos/pages/TimetablePage.qml:43:13: QML ListView: Binding loop detected for property "height" [W] unknown:72 - qrc:/src/gui/sailfishos/pages/MainPage.qml:72:13: QML MenuItem: Binding loop detected for property "text" [D] main:217 - Exec [W] unknown:122 - qrc:/src/gui/sailfishos/pages/StationSelectPage.qml:122:17: QML ListView: Binding loop detected for property "height" [W] unknown:89 - qrc:/src/gui/sailfishos/pages/StationSelectPage.qml:89:16: QML ListView: Binding loop detected for property "height" [W] unknown:38 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/Util.js:38: TypeError: Cannot read property 'parent' of null [D] onPositionChanged:160 - Searching for stations...

malinkb commented 7 years ago

There is an android-app, using the same api, called norgegsruter, and the api has changed. So this might be the changes needed to make the backend reseinfo.no /nri to work again.

https://github.com/RobertSasak/norgesruter.no/commit/d8342cf90338f438e891a6343a785fcf30132fb7

smurfy commented 7 years ago

Currently used Backend is no longer available. Possible alternativ backend would be adapting the rest-api used by norgesruter.no