Bug 25327 - Mageiawelcome crashes in case of Gnome Wayland session
Summary: Mageiawelcome crashes in case of Gnome Wayland session
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-08-19 16:30 CEST by papoteur
Modified: 2019-08-31 15:24 CEST (History)
3 users (show)

See Also:
Source RPM: mageiawelcome
CVE:
Status comment:


Attachments

Description papoteur 2019-08-19 16:30:40 CEST
Description of problem:
[ro@localhost ~]$ mageiawelcome
QML debugging is enabled. Only use this in a safe environment.
Traceback (most recent call last):
File "/usr/share/mageiawelcome/mageiawelcome.py", line 189, in <module>
cl = ConfList()
File "/usr/share/mageiawelcome/mageiawelcome.py", line 52, in __init__
self.screen_factor = Gdk.Screen.get_default().get_monitor_scale_factor(0)
NameError: name 'Gdk' is not defined


Version-Release number of selected component (if applicable): 1.98mga6
Comment 1 papoteur 2019-08-22 07:55:58 CEST
mageiawelcome-2.00-1.mga6 is now in updates-testing

To reproduce the error, you should launch a Gnome Wayland session

Assignee: yves.brungard_mageia => qa-bugs

Comment 2 Len Lawrence 2019-08-25 11:25:30 CEST
Selecting "GNOME (Wayland)" from the login menu results in an immediate return to login.  "GNOME" by itself launches fine and I assume that this is a Wayland session.  mageiawelcome fails to launch from the Activities menu and from the cli gives this:
$ mageiawelcome
QML debugging is enabled. Only use this in a safe environment.
Traceback (most recent call last):
  File "/usr/share/mageiawelcome/mageiawelcome.py", line 189, in <module>
    cl = ConfList()
  File "/usr/share/mageiawelcome/mageiawelcome.py", line 52, in __init__
    self.screen_factor = Gdk.Screen.get_default().get_monitor_scale_factor(0)
NameError: name 'Gdk' is not defined

Installed the update and now mageiawelcome launches from the cli or Activities menu.

Fine for 64bits.

CC: (none) => tarazed25
Whiteboard: (none) => MGA6-64-OK

Thomas Backlund 2019-08-31 13:33:12 CEST

CC: (none) => tmb
Keywords: (none) => advisory, validated_update

Comment 3 Mageia Robot 2019-08-31 15:24:03 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0104.html

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


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