KTrip Error messages during start-up (No Trips, no departures, only suppliers)

I installed KTrip from the Manjaro Repository and selected few suppliers from Germany:


After that, clicking on Trip or Departures the screen is empty:

Running the program from Konsole. there are already error messages during start-up:

org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
QQmlComponent: Component is not ready
file:///usr/lib/qt/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/qml/QueryPage.qml:64 Type DatePickerButton unavailable
qrc:/qml/DatePickerButton.qml:33 KDT.DatePopup is not a type

Clicking “Suppliers” there is no additional message. Clicking “Travel” or “Departures” results in:

QQmlComponent: Component is not ready
file:///usr/lib/qt/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/qml/QueryPage.qml:64 Type DatePickerButton unavailable
qrc:/qml/DatePickerButton.qml:33 KDT.DatePopup is not a type

I doubt that many people here are using ktrip, so don’t expect much response from the community. After all it is designed to be a mobile app.

It’s slightly outdated, maybe that is the reason for the error. Current KDE gear is 22.04. I have no clue, if that makes a difference.

ktrip -v                                                                                                           INT ✘ 
ktrip 22.02
pacman -Qi ktrip 
Description     : Public Transport Assistance for Mobile Devices
Architecture    : x86_64
URL             : https://www.plasma-mobile.org/
Packager        : Bernhard Landauer <oberon@manjaro.org>
Build Date      : Fri Mar 25 19:37:46 2022

Latest stable release
22.04
2022-04-26

… not a solution or anywhere near it but I thought to mention an alternative
if this is for use on a mobile (Android) device:

the app is called “Öffi”
and it looks like it is doing what you want to use it for
and you might not have heard of it

I’m a long time user of it .

But I don’t think there is a version of it for PC.

Not sure if anyone can provide a solution for it, you possibly ask the packager to update the app.

You could pull the up-to-date ktrip version from git, install it and see if it comes up with the same error. Another option is to try the flathub version from the project page, should you feel comfortable with it.

KDE has some more similar apps like this, not sure where they are going with the development.

Check out kitinerary. It’s also in the Manjaro repository. It has more functions than ktrip and I think the public transport features are same or similar. Also to mention: It’s also designed for mobile use. Kitinerary

Btw: both apps are available via F-Droid KDE repository for mobile phones.

I see that Öffi is for Mobile only, is it?


Just tried ktrip 22.04 on my mobile and works as it is expected.

I had missed that the package needed a rebuild - indeed, not many are using it apparently :wink:
It’s now updated to 22.04 - hope that solves it.
Cheers!

1 Like

Thanks a lot @oberon. The updated version also has the same error. It works fine on my mobile.
@MaMicha to be on the safe side you could open a bug report to KDE. I suppose you did aldready.


@oberon

I found the error. Please update also kirigami-addons to the latest version 0.2.
In my test I installed the kirigami-addons-git from AUR and ktrip populates correctly. It still displays many errors in terminal but I can query.

image

1 Like

Thank you @raguse, seems you made it. So far I can confirm, that the new version from oberon has the old issue (ref. here):

$ ktrip
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
org.kde.kpublictransport: Unknown backend setting: "supportedOutputFormats"
QQmlComponent: Component is not ready
file:///usr/lib/qt/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/qml/QueryPage.qml:64 Type DatePickerButton unavailable
qrc:/qml/DatePickerButton.qml:33 KDT.DatePopup is not a type

QQmlComponent: Component is not ready
file:///usr/lib/qt/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/qml/QueryPage.qml:64 Type DatePickerButton unavailable
qrc:/qml/DatePickerButton.qml:33 KDT.DatePopup is not a type

I’m going to inform oberon about that.

@MaMicha oberon is already informed since I referenced him here in this thread. Give him some time, I guess it’s not that urgent.

Meanwhile, install kirigami-addons-git from the AUR and you can play around with ktrip. After release of the new version you can remove the git version.

1 Like

After the UPdate of kirigami-addons to 1:0.2-1 the issue is solved!. Thanks to everybody, who has contributed for the solution!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.