welcome and software-boutique do not start anymore

Bug #1979362 reported by martin tallosy
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Incomplete
Undecided
Unassigned
ubuntu-mate-welcome (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On a fresh install on 22.04 (Thinkpad X270) after installing several apps via software boutique and a reboot, software-boutique does not start anymore. Welcome also stopped working. When Trying to launch via the terminal, both have similar error messages:

~$ ubuntu-mate-welcome
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
Traceback (most recent call last):
  File "/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome", line 1399, in _load_changed_cb
    app.current_page = uri.rsplit('/', 1)[1]
IndexError: list index out of range

~$ ubuntu-mate-welcome
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
Traceback (most recent call last):
  File "/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome", line 1399, in _load_changed_cb
    app.current_page = uri.rsplit('/', 1)[1]
IndexError: list index out of range

Tags: jammy
Revision history for this message
martin tallosy (tallosho) wrote :

...here is the error from the software-boutique:

$ software-boutique
[Welcome] Starting in Software Boutique mode.
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
Traceback (most recent call last):
  File "/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome", line 1399, in _load_changed_cb
    app.current_page = uri.rsplit('/', 1)[1]
IndexError: list index out of range

Norbert (nrbrtx)
tags: added: jammy
Revision history for this message
Norbert (nrbrtx) wrote :

You probably have some networking issues, or enabled proxy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Why do you think it's a snapd issue?

Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
martin tallosy (tallosho) wrote :

It started on the day I did a fresh install after I was finished installing Apps, I barely changed any settings, just the theme and Desktop Layout.

There is also this thread:

https://ubuntu-mate.community/t/ubuntu-mate-welcome-and-software-boutique-fail-to-run-with-similar-errors/25371

It seems to happen frequently, but no one reported a bug yet.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-mate-welcome (Ubuntu):
status: New → Confirmed
Revision history for this message
bornagainpenguin (bornagainpenguin) wrote :

This happened to me. It was not a proxy issue.

Revision history for this message
David Marriott (davidcm1) wrote :

In addition to the report of behaviour following a clean install, I can confirm this bug also exists when upgrading from 21.10 to 22.04.

However, by creating a new user account and logging in as that new user, both software boutique and the Mate welcome screen behave as expected.

I could examine this further by incrementally installing the same apps as the main user, but under the new user account to see which (if any) are connected with the reported bug. Happy to do that if this is a bug which is considered to be worth fixing.

Revision history for this message
Brian Bogdan (bbogdan-i) wrote :

so I have 2 separate installs of Ubuntu MATE. Both at 22.04. On my Mytrix Laptop the two apps do not load, but on my HP AIO works just fine. So that's weird. Both pc's were upgraded to Ubuntu MATE 22.04 from Ubuntu 22.04. About a week apart. I was able to use these 2 apps w/o issue on my AIO so I installed the snaps on my laptop. Icon appears in the dock, for a bit then disappears w/o launching either of the 2 applications.

Revision history for this message
Erotavlas (erotavlas) wrote :

I have the same problem with version 22.04.1 after upgrading from version 20.04.4.

[Welcome] Starting in Software Boutique mode.
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
Traceback (most recent call last):
  File "/snap/ubuntu-mate-welcome/709/usr/bin/ubuntu-mate-welcome", line 1399, in _load_changed_cb
    app.current_page = uri.rsplit('/', 1)[1]
IndexError: list index out of range

Revision history for this message
Luca (luca-84) wrote :

I have the same issue after the upgrade from Ubuntu Mate 20.04 to 22.04.

I found a solution changing XDG_DATA_HOME and run the commands:
env XDG_DATA_HOME=.local/share/ubuntu-mate-welcome ubuntu-mate-welcome --boutique
env XDG_DATA_HOME=.local/share/ubuntu-mate-welcome ubuntu-mate-welcome

into .local/share/ubuntu-mate-welcome will be create the folder webkitgtk, like into .local/share.
If I try to delete the folder webkitgtk into .local/share, the command ubuntu-mate-welcome --boutique return the same error ( ```
IndexError: list index out of rang)

Revision history for this message
Luca (luca-84) wrote :

In my case, I fixed it permanently by deleting the file

./local/share/mime/mime.cache

Revision history for this message
John Tyler (ekosanov) wrote :

Also fixed my Boutique by renaming file:

./local/share/mime/mime.cache

To:

./local/share/mime/old.mime.cache

no longer affects: ubuntu-mate
Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :

Oh, this most definitely still effects Ubuntu MATE desktop

I just installed yesterday. You can see the system information in the attachment.

roland@roland-HP-Compaq-Elite-8300-SFF:~$ ubuntu-mate-welcome --boutique
[Welcome] Starting in Software Boutique mode.
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1024: DeprecationWarning: WebKit2.WebView.run_javascript is deprecated
  self.run_javascript(function)
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
^C
roland@roland-HP-Compaq-Elite-8300-SFF:~$ sudo ubuntu-mate-welcome --boutique
[sudo] password for roland:
[Welcome] Starting in Software Boutique mode.
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1837: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  w.set_wmclass('ubuntu-mate-welcome', 'ubuntu-mate-welcome')
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1842: DeprecationWarning: Gdk.Screen.get_height is deprecated
  if s.get_height() <= 600:
[Welcome] Snap detected. Using __VERSION__
[Welcome] Version: 22.04.0
[Welcome] Application Ready.
/snap/ubuntu-mate-welcome/726/usr/bin/ubuntu-mate-welcome:1024: DeprecationWarning: WebKit2.WebView.run_javascript is deprecated
  self.run_javascript(function)
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 900x600: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
[Welcome] Application Closed
roland@roland-HP-Compaq-Elite-8300-SFF:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.