Bug 26200 - Kontact does not start because it is looking for qtwebengine in the wrong place
Summary: Kontact does not start because it is looking for qtwebengine in the wrong place
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 26243 26262
  Show dependency treegraph
 
Reported: 2020-02-16 17:47 CET by Tim van de Snepscheut
Modified: 2020-03-08 16:27 CET (History)
3 users (show)

See Also:
Source RPM: Kontact 2:19.12.0-1.mga8 x86_64
CVE:
Status comment:


Attachments

Description Tim van de Snepscheut 2020-02-16 17:47:19 CET
Description of problem:
When trying to start Kontact if fails to show up. Using the console there are error messages because the system is trying to find the qtwebengine components in "/share/qt5/resources/" instead of "/usr/share/qt5/resources/".

Kmail does start when running it seperately, but crashes when opening mail with web content. 

Version-Release number of selected component (if applicable):
Kontact 2:19.12.0-1.mga8 x86_64

How reproducible/Steps to Reproduce:
1. Install described version
2. Try and start kontact via the console
Comment 1 Lewis Smith 2020-02-16 20:16:35 CET
Thank you for this report, for Kontact 2:19.12.0.
In fact it has just been updated in Cauldron:
 Thu Feb 13 08:42:18 2020
 New version 19.12.2
So can you please try this most recent version? And report back.

If the problem persists, the bug is now assigned to necoclust who maintains this package (& kmail, which was similarly updated).

If the problem has gone, please close the bug resolved/fixed.

Assignee: bugsquad => mageia
CC: (none) => lewyssmith

Comment 2 Tim van de Snepscheut 2020-02-17 08:47:20 CET
Tried version 19.12.2 and the problem is still there. 
A bit more of the message I get when starting from the console:

Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/share/qt5/resources'
Installed Qt WebEngine locales directory not found at location /share/qt5/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/tim/.kontact'
[0217/084004.886005:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources.pak
Some features may not be available.
[0217/084004.886055:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_100p.pak
Some features may not be available.
[0217/084004.886074:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_200p.pak
Some features may not be available.
[0217/084004.887543:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/share/qt5/resources'
Installed Qt WebEngine locales directory not found at location /share/qt5/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/lib64/qt5/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/tim/.QtWebEngineProcess'
[0217/084004.904484:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources.pak
Some features may not be available.
[0217/084004.904527:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_100p.pak
Some features may not be available.
[0217/084004.904534:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_200p.pak
Some features may not be available.
[0217/084004.905269:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
[13616:13616:0217/084004.915846:ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.
Comment 3 Lewis Smith 2020-02-17 09:59:29 CET
Thank you for the extra information.
I wonder about the initial [/usr]/share/qt5/resources , neither exists on M7.
For M7, provided by the package 'qtwebengine5' are:
 /usr/lib64/qt5/resources/qtwebengine_*
 /usr/share/qt5/translations/qtwebengine_locales/*

Re-assigning to the KDE team, CC neoclust.

CC: lewyssmith => mageia
Assignee: mageia => kde

Comment 4 Tim van de Snepscheut 2020-02-17 10:45:01 CET
True, it appears the location has changed.
Just a a test I created a symlink to have a /share directory, and Kontact seems to work again.
Comment 5 David GEIGER 2020-02-17 11:12:18 CET
Hmmm! seems like a regression in Qt 5.14.x :(

CC: (none) => geiger.david68210

Comment 6 David GEIGER 2020-02-17 11:13:34 CET
As of ArchLinux:

A quick&dirty solution for the moment is to just ln -s /usr/share/qt5/resources ~/.QtWebEngineProcess
Comment 7 Maurice Batey 2020-02-20 17:27:40 CET
Have had similar problem here, where kmail crashes at startup.

Will await Cauldron adjustment...

CC: (none) => maurice

David GEIGER 2020-02-23 01:23:47 CET

Blocks: (none) => 26243

Comment 8 Maurice Batey 2020-02-25 17:19:59 CET
> A quick&dirty solution for the moment is to just ln -s /usr/share/qt5/resources > ~/.QtWebEngineProcess

Out of curiosity I tried that just now on this 64-bit nVidia Plasma Cauldron, but kmail still crashes on startup:

$ kmail 
Connection to speech-dispatcher failed  [8 times]

Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/share/qt5/resources'
Installed Qt WebEngine locales directory not found at location /share/qt5/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[0225/161352.270388:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources.pak
Some features may not be available.
[0225/161352.270414:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_100p.pak
Some features may not be available.
[0225/161352.270423:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_200p.pak
Some features may not be available.
[0225/161352.271097:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/share/qt5/resources'
Installed Qt WebEngine locales directory not found at location /share/qt5/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/lib64/qt5/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[0225/161352.348686:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources.pak
Some features may not be available.
[0225/161352.348729:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_100p.pak
Some features may not be available.
[0225/161352.348734:ERROR:resource_bundle.cc(887)] Failed to load /share/qt5/resources/qtwebengine_resources_200p.pak
Some features may not be available.
[0225/161352.349362:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
[22566:22566:0225/161352.353652:ERROR:extension_system_qt.cpp(122)] Failed to parse extension manifest.
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 627 requests (627 known processed) with 0 events remaining.
Connection to speech-dispatcher failed
KCrash: Application 'kmail' crashing...
Segmentation fault (core dumped)
[mab@pc18 ~]$
David GEIGER 2020-02-26 18:47:22 CET

Blocks: (none) => 26262

Comment 9 David GEIGER 2020-03-03 19:44:02 CET
The next update on qtbase5-5.14.1-5.mga8 should fix these issues.
Comment 10 Maurice Batey 2020-03-03 20:02:01 CET
Thank you, David - I look forward to that!
Comment 11 Maurice Batey 2020-03-04 19:03:35 CET
Happy to report that -after 63-package Cauldron update today - Kmail is back on its feet again!
Comment 12 Tim van de Snepscheut 2020-03-08 16:27:01 CET
Working here too. Thanks for fixing it. 
I set the status to resolved - Fixed. If this is to fast please let me know.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.