Bug 12866 - error message from Qt-Creator after selecting Help | Contents
Summary: error message from Qt-Creator after selecting Help | Contents
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK a...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-02-24 00:11 CET by Kenneth Marcy
Modified: 2014-12-05 16:54 CET (History)
6 users (show)

See Also:
Source RPM: qt-creator-3.0.0-1.mga4.src.rpm
CVE:
Status comment:


Attachments
qtcreator welcome page (83.84 KB, image/png)
2014-12-02 19:10 CET, Florian Hubold
Details

Description Kenneth Marcy 2014-02-24 00:11:26 CET
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Kenneth Marcy 2014-02-24 00:18:42 CET
After installing Qt-Creator from the Mageia Welcome screen, I chose Contents from the Help menu, and received a 404 not found message and the following message: "qthelp://org.qt-project.qtcreator.300/doc/index.html"  As a URL this string makes less sense than it should, and Firefox complained.  In addition, if it is true that at least some Qt-Creator help files are not installed via an installation from the Welcome screen, that should be remedied to avoid a help system complaint.
David Walser 2014-02-24 20:55:17 CET

Assignee: bugsquad => mageia

Comment 2 Florian Hubold 2014-11-28 20:48:27 CET
Also reported via forums: https://forums.mageia.org/en/viewtopic.php?f=10&t=8755.

Seems to be this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1077410 fixed by this commit: http://pkgs.fedoraproject.org/cgit/qt-creator.git/commit/?id=aede2af7f8b339e78131cc8196546ebe8fc08149 - the documentation is simply not built. Still present in current cauldron.

I'm always baffled how those basic issues slip into packages ... :/

Status: NEW => ASSIGNED
CC: (none) => doktor5000, lmenut, mageia
Hardware: x86_64 => All
Version: 4 => Cauldron
Assignee: mageia => doktor5000
Whiteboard: (none) => MGA4TOO

Comment 3 Florian Hubold 2014-11-29 17:10:30 CET
Fixed for mga4 via http://svnweb.mageia.org/packages?view=revision&revision=799882 and submitted qt-creator-3.0.0-1.2.mga4 to core/updates_testing. This adds a -doc subpackage and Suggests it.

Please test once those packages arrive at your mirror.
Comment 4 Florian Hubold 2014-11-29 18:02:09 CET
There is now qt-creator-3.0.0-1.2.mga4 in core/updates_testing to validate.
-------------------------------------------------------


Suggested advisory:
-------------------
This update addresses the following issue:

Clicking on "Help" in left sidepanel in Qt Creator would only show an error message as


"The page could not be found!
Error loading: qthelp://org.qt-project.qtcreator.300/doc/index.html
Check that you have one or more documentation sets installed."


The update adds the documentation via a suggested qt-creator-doc subpackage, and when this is installed, Help/documentation will be available.

-------------------------------------------------------
List of packages:

i586
qt-creator-3.0.0-1.2.mga4.i586
qt-creator-doc-3.0.0-1.2.mga4.noarch

x86_64
qt-creator-3.0.0-1.2.mga4.x86_64
qt-creator-doc-3.0.0-1.2.mga4.noarch

SRPMS
qt-creator-3.0.0-1.2.mga4.src

Assignee: doktor5000 => qa-bugs

David Walser 2014-11-29 21:57:56 CET

Version: Cauldron => 4
Whiteboard: MGA4TOO => (none)

Comment 5 olivier charles 2014-12-01 23:43:53 CET
Testing on Mageia4x64 real hardware :

Current package :
---------------
# rpm -q qt-creator
qt-creator-3.0.0-1.1.mga4

Could reproduce the bug from Comment 1 :
In QtCreator, menu Help/Index shows an error page :
Error loading: qthelp://org.qt-project.qtcreator.300/doc/index.html

After enabling testing :
----------------------

# urpmi qt-creator
which installs :
qt-creator 3.0.0-1.2.mga4x86_64  
qt-creator-doc 3.0.0-1.2.mga4 noarch  (conseillé)

In QtCreator, menu Help/Index opens QtCreator Manuel

So the bug is fixed.

There is still an issue in both versions : the Welcome page is blank which apparently is not normal behavior and is not so welcoming.

CC: (none) => olchal

Comment 6 Florian Hubold 2014-12-02 19:10:12 CET
Created attachment 5673 [details]
qtcreator welcome page

(In reply to olivier charles from comment #5)

> There is still an issue in both versions : the Welcome page is blank which
> apparently is not normal behavior and is not so welcoming.

Not here, with both packages. See the screenshot. According to upstream this only happens with QT4 builds, as QT4 does not have Qt Quick 2.
Can you try if anything changes when you run it via

qtcreator -load Welcome

Also please post the output of

rpm -qa | grep -e declarative -e quick | grep qt | sort


Another reason could be missing OpenGL support, as that's required by the Welcome screen and also by the QML designer.


Relevant links:
https://qt-project.org/forums/viewthread/38398
https://bugzilla.redhat.com/show_bug.cgi?id=1072126
http://www.qtcentre.org/threads/57631-Welcome-screen-missing
Comment 7 olivier charles 2014-12-02 19:40:45 CET
Hi Florian

After installing qtquickcontrols5-5.2.0-2.mga4
I have this error :

$ qtcreator -load Welcome
Error:    Key "<MDSW>" added to modifier map for multiple modifiers; Using Mod3, ignoring Mod5
file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:30:1: module "QtQuick" is not installed 
     import QtQuick 2.1 

$ rpm -qa | grep -e declarative -e quick | grep qt | sort
lib64qt5declarative5-5.2.0-2.mga4
lib64qt5quick5-5.2.0-2.mga4
lib64qtdeclarative4-4.8.6-1.mga4
python-qt4-declarative-4.10.3-3.mga4
qtquickcontrols5-5.2.0-2.mga4

Anything I should do ?
Comment 8 Florian Hubold 2014-12-04 01:16:10 CET
(In reply to olivier charles from comment #7)

> $ rpm -qa | grep -e declarative -e quick | grep qt | sort
> lib64qt5declarative5-5.2.0-2.mga4
> lib64qt5quick5-5.2.0-2.mga4
> lib64qtdeclarative4-4.8.6-1.mga4
> python-qt4-declarative-4.10.3-3.mga4
> qtquickcontrols5-5.2.0-2.mga4
> 
> Anything I should do ?

Seems we're missing a Require on qtdeclarative5.

Can you please install qtdeclarative5 (which should also pull in lib64qt5test5 lib64qt5quicktest5 lib64qt5quickparticles5) and then test again please?
Comment 9 olivier charles 2014-12-04 01:50:54 CET
(In reply to Florian Hubold from comment #8)


Installed qtdeclarative5-5.2.0-2.mga4.x86_64

which brought along :

- lib64qt5quickparticles5-5.2.0-2.mga4.x86_64
- lib64qt5quicktest5-5.2.0-2.mga4.x86_64
- lib64qt5test5-5.2.0-2.3.mga4.x86_64

QtCreator now shows Welcome page as in attachment 5673 [details]

Thanks Florian.
Comment 10 Florian Hubold 2014-12-04 02:21:09 CET
(In reply to olivier charles from comment #9)
> (In reply to Florian Hubold from comment #8)
> Installed qtdeclarative5-5.2.0-2.mga4.x86_64
> 
> QtCreator now shows Welcome page as in attachment 5673 [details]

Submitted fixed update candidate qt-creator-3.0.0-1.3.mga4 adding that require.
Could we get this validated by somebody else on i586 in the meantime as both issues are now reportedly fixed?
Comment 11 James Kerr 2014-12-04 07:31:14 CET
Testing on mga4 32 bit

Installed qt-creator

Confirmed the bugs reported - Welcome screen not shown and Help not functional

Enabled testing repo and updated qt-creator

To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  libqt5quickparticles5          5.2.0        2.mga4        i586    
  libqt5quicktest5               5.2.0        2.mga4        i586    
  qtdeclarative5                 5.2.0        2.mga4        i586    
(medium "Core Updates Testing")
  qt-creator                     3.0.0        1.3.mga4      i586    
  qt-creator-doc                 3.0.0        1.3.mga4      noarch  (suggested)

Help was now functional, but the Welcome screen was still not displayed

rpm -q qtquickcontrols5
package qtquickcontrols5 is not installed

Installed qtquickcontrols5 as per Comment #7 

urpmi qtquickcontrols5
    ftp://192.168.0.2//pub/mirror/Mageia/distrib/4/i586/media/core/release/qtquickcontrols5-5.2.0-2.mga4.i586.rpm
installing qtquickcontrols5-5.2.0-2.mga4.i586.rpm from /var/cache/urpmi/rpms

Welcome screen is now displayed

I think that qtquickcontrols5 needs to be added as a require of qt-creator
Comment 12 James Kerr 2014-12-04 17:44:10 CET
Testing on mga4 64 bit

Install qt-creator and confirm that the Welcome screen does not display
and the Help option is not functioning

Enable testing repo and update qt-creator

urpmi qt-creator
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  lib64qt5quickparticles5        5.2.0        2.mga4        x86_64  
  lib64qt5quicktest5             5.2.0        2.mga4        x86_64  
  qtdeclarative5                 5.2.0        2.mga4        x86_64  
(medium "Core Updates Testing")
  qt-creator                     3.0.0        1.3.mga4      x86_64  
  qt-creator-doc                 3.0.0        1.3.mga4      noarch  (suggested)

The Help option now works but the Welcome screen is not displayed

Install qtquickcontrols5

urpmi qtquickcontrols5
ftp://192.168.0.2//pub/mirror/Mageia/distrib/4/x86_64/media/core/release/qtquickcontrols5-5.2.0-2.mga4.x86_64.rpm
installing qtquickcontrols5-5.2.0-2.mga4.x86_64.rpm from /var/cache/urpmi/rpms                                                  
Preparing...                     
      1/1: qtquickcontrols5   

Now the Welcome screen is displayed, which confirms that qtquickcontrols5
is needed by qt-creator 

I think that the reason that the updated qt-creator appeared to work 
for Olivier is that he had manually installed qtquickcontrols5
Comment 13 Florian Hubold 2014-12-04 18:28:20 CET
(In reply to Florian Hubold from comment #10)
> Submitted fixed update candidate qt-creator-3.0.0-1.3.mga4 adding that
> require.

(In reply to James Kerr from comment #11)
> I think that qtquickcontrols5 needs to be added as a require of qt-creator

(In reply to James Kerr from comment #12)
> Now the Welcome screen is displayed, which confirms that qtquickcontrols5
> is needed by qt-creator 
> 
> I think that the reason that the updated qt-creator appeared to work 
> for Olivier is that he had manually installed qtquickcontrols5


Sorry, didn't notice that, thanks for the hint. Now I've also added qtquickcontrols5 as Requires and submitted as qt-creator-3.0.0-1.4.mga4.


Updated advisory:
-------------------
This update addresses the following issues:

1. Clicking on "Help" in left sidepanel in Qt Creator would only show an error message as

"The page could not be found!
Error loading: qthelp://org.qt-project.qtcreator.300/doc/index.html
Check that you have one or more documentation sets installed."

The update adds the documentation via a suggested qt-creator-doc subpackage, and when this is installed, Help/documentation will be available.


2. The "Welcome" page would not display, and several error messages would be shown in terminal, like 

file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:30:1: module "QtQuick" is not installed 
     import QtQuick 2.1 
     ^ 

because of missing package qtdeclarative5 or


file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:32:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 1.0 
     ^ 

because of missing package qtquickcont5rols5.

Those packages contain the required Qt Quick modules, and are necessary to display the welcome page which is written in QML.


-------------------------------------------------------
i586
qt-creator-3.0.0-1.4.mga4.i586
qt-creator-doc-3.0.0-1.4.mga4.noarch

x86_64
qt-creator-3.0.0-1.4.mga4.x86_64
qt-creator-doc-3.0.0-1.4.mga4.noarch

SRPMS
qt-creator-3.0.0-1.4.mga4.src

Whiteboard: (none) => MGA4-32-OK, MGA4-64-OK, has_procedure

Comment 14 James Kerr 2014-12-04 18:56:28 CET
Removed OK for mga4-32 and mga4-64. The latest package has not been tested yet.

Whiteboard: MGA4-32-OK, MGA4-64-OK, has_procedure => has_procedure

Comment 15 olivier charles 2014-12-04 20:13:14 CET
(In reply to James Kerr from comment #12)

> 
> I think that the reason that the updated qt-creator appeared to work 
> for Olivier is that he had manually installed qtquickcontrols5

I confirm I had manually installed qtquickcontrols5 beforehand in order to follow a tutorial on QtCreator I found in documentation. That was before I realised that it was not expected that welcome page was blank.
Comment 16 James Kerr 2014-12-04 20:29:57 CET
Testing on mga4 32bit

Reverting to original version:

urpmi --downgrade qt-creator
The following packages have to be removed for others to be upgraded:
qt-creator-3.0.0-1.3.mga4.i586
 (in order to install qt-creator-3.0.0-1.1.mga4.i586)
qt-creator-doc-3.0.0-1.3.mga4.noarch
 (due to unsatisfied qt-creator == 3.0.0-1.3.mga4) (y/N) y
    
ftp://192.168.0.2//pub/mirror/Mageia/distrib/4/i586/media/core/updates/qt-
creator-3.0.0-1.1.mga4.i586.rpm
installing qt-creator-3.0.0-1.1.mga4.i586.rpm from /var/cache/urpmi/rpms        
                                                

Removing dependencies added during earlier testing: 
                                
urpme libqt5quickparticles5 libqt5quicktest5 qtdeclarative5 qtquickcontrols5     
                       
removing libqt5quickparticles5-5.2.0-2.mga4.i586 
libqt5quicktest5-5.2.0-2.mga4.i586 qtdeclarative5-5.2.0-2.mga4.i586 
qtquickcontrols5-5.2.0-2.mga4.i586                                               
                                                         
Confirm that the Welcome screen is not displayed and that Help does not work.

Enable testing and update qt-creator

# urpmi qt-creator
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  libqt5quickparticles5          5.2.0        2.mga4        i586    
  libqt5quicktest5               5.2.0        2.mga4        i586    
  qtdeclarative5                 5.2.0        2.mga4        i586    
  qtquickcontrols5               5.2.0        2.mga4        i586    
(medium "Core Updates Testing")
  qt-creator                     3.0.0        1.4.mga4      i586    
  qt-creator-doc                 3.0.0        1.4.mga4      noarch  (suggested)

Confirm that Welcome screen is displayed and Help option is working.

Testing complete for mga4-32.

Whiteboard: has_procedure => has_procedure MGA4-32-OK

Comment 17 James Kerr 2014-12-04 20:45:38 CET
Testing on mga4 64bit

Reverting to original version:

 urpmi --downgrade qt-creator
The following packages have to be removed for others to be upgraded:
qt-creator-3.0.0-1.3.mga4.x86_64
 (in order to install qt-creator-3.0.0-1.1.mga4.x86_64)
qt-creator-doc-3.0.0-1.3.mga4.noarch
 (due to unsatisfied qt-creator == 3.0.0-1.3.mga4) (y/N) y

Removing dependencies added during earlier testing: 

 urpme lib64qt5quickparticles5 lib64qt5quicktest5 qtdeclarative5 qtquickcontrols5
removing lib64qt5quickparticles5-5.2.0-2.mga4.x86_64 lib64qt5quicktest5-5.2.0-2.mga4.x86_64 qtdeclarative5-5.2.0-2.mga4.x86_64 qtquickcontrols5-5.2.0-2.mga4.x86_64

Confirm that the Welcome screen is not displayed and that Help does not work.

Enable testing and update qt-creator

urpmi qt-creator
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  lib64qt5quickparticles5        5.2.0        2.mga4        x86_64  
  lib64qt5quicktest5             5.2.0        2.mga4        x86_64  
  qtdeclarative5                 5.2.0        2.mga4        x86_64  
  qtquickcontrols5               5.2.0        2.mga4        x86_64  
(medium "Core Updates Testing")
  qt-creator                     3.0.0        1.4.mga4      x86_64  
  qt-creator-doc                 3.0.0        1.4.mga4      noarch  (suggested)

Confirm that the Welcome screen is displayed and that Help is working.

Testing complete for mga4-64

Whiteboard: has_procedure MGA4-32-OK => has_procedure MGA4-32-OK MGA4-64-OK

James Kerr 2014-12-04 20:50:02 CET

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 18 James Kerr 2014-12-04 20:52:21 CET
Update is now validated but requires someone with SVN access to upload the advisory. It can then be pushed to updates.
Comment 19 Rémi Verschelde 2014-12-04 21:08:51 CET
Advisory uploaded.

CC: (none) => remi
Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK => has_procedure MGA4-32-OK MGA4-64-OK advisory

Comment 20 Mageia Robot 2014-12-05 16:54:44 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0209.html

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


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