Contact details can't be shown anymore

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.1.0.24
HARDWARE (XA2, X10, X10 II, …): XA2
UI LANGUAGE: German / English
REGRESSION: (compared to previous public release: Yes, No, ?):

DESCRIPTION:

I can’t open any contact details anymore. I just get a “Can’t display page” error when accessing a contact.

I have no idea what triggered the issue, but it might have been a contact sync from my Nextcloud server – I remember having changed a group membership of a contact. The contact and group in question were both existing a long time, though, also deleting the contact does not make a difference.

I can also no longer edit any contact nor create a new one.

PRECONDITIONS:

no idea

STEPS TO REPRODUCE:

no idea

EXPECTED RESULT:

Contact details can be opened.
Contact details can be edited.
New contact can be created.

ACTUAL RESULT:

I get a “Page cannot be displayed” error message.

The following log shows some more details about the issue. Looks to me like I have an issue with a broken QML file or what? See below after the error log for the content of the AvatarImage.qml file.

Jul 27 08:01:03 XperiaXA2 lipstick[5248]: constructing /run/firejail/mnt/privileged: eas-sailfish,Accounts,Keys,Contacts,autofill ...
Jul 27 08:01:03 XperiaXA2 lipstick[5248]: mounting /run/firejail/mnt/privileged @ /home/nemo/.local/share/system/privileged
Jul 27 08:01:03 XperiaXA2 lipstick[5248]: hiding /run/firejail/mnt/privileged
Jul 27 08:01:04 XperiaXA2 jolla-contacts[20566]: [D] unknown:0 - Using Wayland-EGL
Jul 27 08:01:05 XperiaXA2 jolla-contacts[20566]: [W] CommHistoryDatabase::open:303 - Opened commhistory database: "/home/nemo/.local/share/commhistory/commhistory.db"
Jul 27 08:01:05 XperiaXA2 jolla-contacts[20566]: [C] unknown:0 - Unable to open vibrator device
Jul 27 08:01:06 XperiaXA2 jolla-contacts[20566]: [D] unknown:0 - Starting favorites query at 464 ms
Jul 27 08:01:06 XperiaXA2 jolla-contacts[20566]: [D] unknown:0 - Starting metadata query at 747 ms
Jul 27 08:01:06 XperiaXA2 lipstick[5248]: [W] unknown:0 - WindowPixmapItem does not have a source texture, cover will be dropped..
Jul 27 08:01:06 XperiaXA2 jolla-contacts[20566]: [D] unknown:0 - Favorites queried in 787 ms
Jul 27 08:01:06 XperiaXA2 jolla-contacts[20566]: [D] unknown:0 - All queried in 862 ms
Jul 27 08:01:06 XperiaXA2 [14529]: [D] checkNotifications:126 - checkNotifications
Jul 27 08:01:06 XperiaXA2 [14529]: [D] onStatusChanged:45 - PageStatus.Inactive
Jul 27 08:01:06 XperiaXA2 lipstick[5248]: [D] onCompleted:264 - coverActionIndicators created jolla-contacts.desktop
Jul 27 08:01:09 XperiaXA2 jolla-contacts[20566]: [W] unknown:1283 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.qml:1283:13: QML AnimatedLoader: (file:///usr/lib/qt5/qml/Sailfish/Contacts/ContactCardPage.qml:95:5: Type ContactCard unavailable
                                                         ContactCard {
                                                         ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/ContactCard.qml:118:5: Type ContactHeader unavailable
                                                         ContactHeader {
                                                         ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/ContactHeader.qml:178:13: Type AvatarImage unavailable
                                                                 AvatarImage {
                                                                 ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:1:6: Expected token `{'
                                                     Hide read"
                                                          ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:1:10: Expected token `:'
                                                     Hide read"
                                                              ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:2:35: Expected token `,'
                                                                         text: qsTrId("fuoten-hide-read-label")
                                                                                       ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:2:57: Expected token `,'
                                                                         text: qsTrId("fuoten-hide-read-label")
                                                                                                             ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:26: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                              ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:36: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                        ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:39: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                           ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:43: Unexpected token `identifier'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                               ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:58: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                              ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:61: Expected token `;'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                 ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:69: Expected token `:'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                         ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:74: Expected token `('
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                              ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:79: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                   ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:86: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                          ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:95: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                   ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:98: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                      ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:105: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                             ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:114: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                                      ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:121: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                                             ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:126: Expected token `,'
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                                                  ^, file:///usr/lib/qt5/qml/Sailfish/Contacts/AvatarImage.qml:4:129: Syntax error
                                                                         //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."
                                                                                                                                                                                     ^)

This is the content of the AvatarImage.qml file on my phone, I don’t think this is valid QML? Looks like somehow a piece of Fuoten (the Nextcloud/OC news reader app) has somehow made or left a mess here?

Hide read"
                    text: qsTrId("fuoten-hide-read-label")
                    //: Description for a switch to hide read feeds, folders or articles, depending on the current context
                    //% "Depending on the context, feeds or folders with zero unread articles or unread articles itself will be hidden."

Indeed that does not look at all like it should. The file should come from sailfish-components-contacts-qt5 package, reinstalling it might help.

1 Like

Thank you, @vige! That was exactly the hint to fix the problem!