Bug 16930 - Meteo-qt cannot find weather data
Summary: Meteo-qt cannot find weather data
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://qt-apps.org/content/show.php/m...
Whiteboard: advisory, MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-10-10 04:58 CEST by Dimitrios Glentadakis
Modified: 2015-10-14 22:29 CEST (History)
5 users (show)

See Also:
Source RPM: meteo-qt-0.7.1-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Dimitrios Glentadakis 2015-10-10 04:58:24 CEST
Suggested advisory:
========================

Meteo-qt cannot find weather data and cities
Error message: '401 Unauthorized'
The version 0.8.2 fixes this problem

========================

Updated packages in core/updates_testing:
========================
meteo-qt-0.8.2-1.mga5.noarch.rpm

Source RPMs: 
meteo-qt-0.8.2-1.mga5.src.rpm

Reproducible: 

Steps to Reproduce:
Dave Hodgins 2015-10-13 19:19:10 CEST

CC: (none) => davidwhodgins
Whiteboard: (none) => advisory

Comment 1 William Kenney 2015-10-13 20:08:25 CEST
In VirtualBox, M5, KDE, 32-bit

Package(s) under test:
meteo-qt

default install of meteo-qt  ( about 288MB of stuff )

[root@localhost wilcal]# urpmi meteo-qt
Package meteo-qt-0.7.1-1.mga5.noarch is already installed

[wilcal@localhost ~]$ meteo-qt
libGL error: pci id for fd 12: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0a0b5458
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 0a0b5458, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0a0b5458
OpenGL Warning: Retry with 0x8002 returned 0 visuals
Segmentation fault

Won't launch from Menu/Desktop icon

install meteo-qt from updates_testing

[root@localhost wilcal]# urpmi meteo-qt
Package meteo-qt-0.8.2-1.mga5.noarch is already installed

[root@localhost wilcal]# meteo-qt
libGL error: pci id for fd 11: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 08461550
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 08461550, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 08461550
OpenGL Warning: Retry with 0x8002 returned 0 visuals
Segmentation fault

Won't launch from Menu/Desktop icon

What am I do'n wrong Dimi?

CC: (none) => wilcal.int

Comment 2 Lewis Smith 2015-10-13 20:21:04 CEST
Trying x64.

Failed to install the pre-update version of meteo-qt because it depends on certain pkgs ? which are older than what I have on my up-to-date M5 system:

# urpmi meteo-qt
Nid oes modd gosod y pecynnau canlynol am eu bod yn dibynnu ar becynnau
sy'n hyn na'r rhai sydd wedi eu gosod:
lib64qt5test5-5.4.0-7.mga5     [not installed]
python3-qt5-5.4-1.mga5         [not installed; but python3-qt4-4.11.3-1.mga5 is]
meteo-qt-0.7.1-1.mga5          [not installed]
Parhau i osod beth bynnag? (Y/n) y            [continue anyway]
I fodloni dibyniaethau, bydd y pecyn canlynol yn cael ei osod [other dependancies]
  Pecyn                          Fersiwn      Ryddhad       Arch    
(cyfrwng "Core Release2")
  lib64qtclucene5                5.4.0        2.mga5        x86_64  
  lib64qthelp5                   5.4.0        2.mga5        x86_64  
  python3-lxml                   3.3.6        4.mga5        x86_64  
Parhau gyda gosod 3 pecyn? (Y/n) y            [continue; install these 3 pks]
...
While some packages may have been installed, there were failures.
Nid oes modd gosod y pecynnau canlynol am eu bod yn dibynnu ar becynnau
sy'n hyn na'r rhai sydd wedi eu gosod:
lib64qt5test5-5.4.0-7.mga5
python3-qt5-5.4-1.mga5
meteo-qt-0.7.1-1.mga5
Parhau i osod beth bynnag?
#

Re-trying falls in the same hole. Advice on how to get it installed welcome. It looks as if Python or QT4 v 5 is the problem.

CC: (none) => lewyssmith

Comment 3 Dimitrios Glentadakis 2015-10-13 21:35:16 CEST
(In reply to William Kenney from comment #1)
> In VirtualBox, M5, KDE, 32-bit
> 
> Package(s) under test:
> meteo-qt
> 
> default install of meteo-qt  ( about 288MB of stuff )
> 
> [root@localhost wilcal]# urpmi meteo-qt
> Package meteo-qt-0.7.1-1.mga5.noarch is already installed
> 
> [wilcal@localhost ~]$ meteo-qt
> libGL error: pci id for fd 12: 80ee:beef, driver (null)
> libGL error: core dri or dri2 extension not found
> libGL error: failed to load driver: vboxvideo
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 0a0b5458
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> OpenGL Warning: glXGetFBConfigAttrib for 0a0b5458, failed to get XVisualInfo
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 0a0b5458
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> Segmentation fault
> 
> Won't launch from Menu/Desktop icon
> 
> install meteo-qt from updates_testing
> 
> [root@localhost wilcal]# urpmi meteo-qt
> Package meteo-qt-0.8.2-1.mga5.noarch is already installed
> 
> [root@localhost wilcal]# meteo-qt
> libGL error: pci id for fd 11: 80ee:beef, driver (null)
> libGL error: core dri or dri2 extension not found
> libGL error: failed to load driver: vboxvideo
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 08461550
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> OpenGL Warning: glXGetFBConfigAttrib for 08461550, failed to get XVisualInfo
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 08461550
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> Segmentation fault
> 
> Won't launch from Menu/Desktop icon
> 
> What am I do'n wrong Dimi?

maybe a missing virtualbox driver?
Comment 4 Dimitrios Glentadakis 2015-10-13 21:36:43 CEST
(In reply to Lewis Smith from comment #2)
> Trying x64.
> 
> Failed to install the pre-update version of meteo-qt because it depends on
> certain pkgs ? which are older than what I have on my up-to-date M5 system:
> 
> # urpmi meteo-qt
> Nid oes modd gosod y pecynnau canlynol am eu bod yn dibynnu ar becynnau
> sy'n hyn na'r rhai sydd wedi eu gosod:
> lib64qt5test5-5.4.0-7.mga5     [not installed]
> python3-qt5-5.4-1.mga5         [not installed; but python3-qt4-4.11.3-1.mga5
> is]
> meteo-qt-0.7.1-1.mga5          [not installed]
> Parhau i osod beth bynnag? (Y/n) y            [continue anyway]
> I fodloni dibyniaethau, bydd y pecyn canlynol yn cael ei osod [other
> dependancies]
>   Pecyn                          Fersiwn      Ryddhad       Arch    
> (cyfrwng "Core Release2")
>   lib64qtclucene5                5.4.0        2.mga5        x86_64  
>   lib64qthelp5                   5.4.0        2.mga5        x86_64  
>   python3-lxml                   3.3.6        4.mga5        x86_64  
> Parhau gyda gosod 3 pecyn? (Y/n) y            [continue; install these 3 pks]
> ...
> While some packages may have been installed, there were failures.
> Nid oes modd gosod y pecynnau canlynol am eu bod yn dibynnu ar becynnau
> sy'n hyn na'r rhai sydd wedi eu gosod:
> lib64qt5test5-5.4.0-7.mga5
> python3-qt5-5.4-1.mga5
> meteo-qt-0.7.1-1.mga5
> Parhau i osod beth bynnag?
> #
> 
> Re-trying falls in the same hole. Advice on how to get it installed welcome.
> It looks as if Python or QT4 v 5 is the problem.

Can you install python3-qt5 ?
Comment 5 William Kenney 2015-10-14 17:10:09 CEST
(In reply to Dimitrios Glentadakis from comment #4)

> Can you install python3-qt5 ?

In VirtualBox, M5, KDE, 32-bit

Package(s) under test:
meteo-qt python3-qt5

install meteo-qt from updates_testing

[root@localhost wilcal]# urpmi meteo-qt
Package meteo-qt-0.8.2-1.mga5.noarch is already installed
[root@localhost wilcal]# urpmi python3-qt5
Package python3-qt5-5.4-1.mga5.i586 is already installed

[wilcal@localhost ~]$ meteo-qt
libGL error: pci id for fd 12: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 092c4198
OpenGL Warning: Retry with 0x8002 returned 0 visuals
OpenGL Warning: glXGetFBConfigAttrib for 092c4198, failed to get XVisualInfo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 092c4198
OpenGL Warning: Retry with 0x8002 returned 0 visuals
Segmentation fault

Won't launch from Menu/Desktop icon. python3-qt5 was already installed.
Comment 6 Rémi Verschelde 2015-10-14 17:18:29 CEST
(In reply to Lewis Smith from comment #2)
> Failed to install the pre-update version of meteo-qt because it depends on
> certain pkgs ? which are older than what I have on my up-to-date M5 system:
> 
> # urpmi meteo-qt
> Nid oes modd gosod y pecynnau canlynol am eu bod yn dibynnu ar becynnau
> sy'n hyn na'r rhai sydd wedi eu gosod:
> lib64qt5test5-5.4.0-7.mga5     [not installed]
> python3-qt5-5.4-1.mga5         [not installed; but python3-qt4-4.11.3-1.mga5
> is]
> meteo-qt-0.7.1-1.mga5          [not installed]

Could you attach the output of:
  # LC_ALL=C urpmi --debug meteo-qt
  # urpmq --list-url
  # urpmq --list-media active
Comment 7 Rémi Verschelde 2015-10-14 17:20:44 CEST
(In reply to William Kenney from comment #5) 
> [wilcal@localhost ~]$ meteo-qt
> libGL error: pci id for fd 12: 80ee:beef, driver (null)
> libGL error: core dri or dri2 extension not found
> libGL error: failed to load driver: vboxvideo

That's a vbox specific issue, most likely your VM does not support OpenGL; you'd likely get the same error when trying to run any game with 3D graphics for example. Not sure why meteo-qt needs OpenGL stuff though.
Comment 8 Florian Hubold 2015-10-14 19:42:17 CEST
(In reply to Rémi Verschelde from comment #7)
> (In reply to William Kenney from comment #5) 
> > [wilcal@localhost ~]$ meteo-qt
> > libGL error: pci id for fd 12: 80ee:beef, driver (null)
> > libGL error: core dri or dri2 extension not found
> > libGL error: failed to load driver: vboxvideo
> 
> That's a vbox specific issue, most likely your VM does not support OpenGL;
> you'd likely get the same error when trying to run any game with 3D graphics
> for example. Not sure why meteo-qt needs OpenGL stuff though.

A lot of the LXQt components use libGL, like other Qt applications do, too. That one is bogus and usually the result of broken guest additions or broken vboxvideo driver in the guest.

=> Please test on an actual installation, this is totally unrelated to this update. Or fix the OpenGL support in your VM, probably even "glxinfo" or "glxgears" will fail. Try with "glxinfo 1>/dev/null|head" and you will see.


FWIW, I get this in my mga5 x86_64 VM:

[user@localhost ~]$ meteo-qt
libGL error: pci id for fd 12: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
ERROR: Error closing overviewcity: <class 'AttributeError'> - meteo_qt

but meteo-qt 0.7.1 still runs fine - please keep in mind, it only opens in the systray!

(In reply to Lewis Smith from comment #2)
> Trying x64.
> 
> Failed to install the pre-update version of meteo-qt because it depends on
> certain pkgs ? which are older than what I have on my up-to-date M5 system:

Please, if you run such commands best prefix them by LC_ALL=C or do an export LC_ALL=C so we get readable english output. Same as Rémi suggested.


(In reply to Rémi Verschelde from comment #6)
>   # urpmq --list-url
>   # urpmq --list-media active

Can be combined into

urpmq --list-media active --list-url

Or use "urpmq --dump" for even less typing and slightly more information, and it doesn't show which repos are disabled.

;)

CC: (none) => doktor5000

Comment 9 Florian Hubold 2015-10-14 20:00:20 CEST
FWIW, regarding the update itself, I can reproduce the initial problem, and can confirm that the update installs fine and that it fixes the issue:


[user@localhost ~]$ sudo LC_ALL=C urpmi --searchmedia 'Core Updates Testing' meteo-qt
    ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/5/x86_64/media/core/updates_testing/meteo-qt-0.8.2-1.mga5.noarch.rpm
installing meteo-qt-0.8.2-1.mga5.noarch.rpm from /var/cache/urpmi/rpms                                                                                                                                                                      
Preparing...                     ##########################################################################################################################################################################################################
      1/1: meteo-qt              ##########################################################################################################################################################################################################
      1/1: removing meteo-qt-0.7.1-1.mga5.noarch
                                 ##########################################################################################################################################################################################################
[user@localhost ~]$


Afterwards I'm able to select a city from the list and after an update meteo-qt displays the weather. I'm not a member of the QA team, but I still felt like adding the keyword as the update works as expected.

Status: NEW => ASSIGNED
Whiteboard: advisory => advisory, MGA5-64-OK

Comment 10 William Kenney 2015-10-14 20:09:22 CEST
I'll go with the good doktor. Turn this thing loose.
Comment 11 claire robinson 2015-10-14 20:17:31 CEST
Validating. Please push to 5 updates.

Thanks

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

Comment 12 Dimitrios Glentadakis 2015-10-14 20:29:23 CEST
Thanks very much all of you for the help
Comment 13 Mageia Robot 2015-10-14 22:29:07 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0155.html

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


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