Public bug reported:

MyPaint fails to start on Ubuntu 26.04 (Resolute) when installed from
official repositories.

The application crashes immediately with the following traceback:

INFO: mypaint: Installation layout: conventional POSIX-like structure with 
prefix '/usr'
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 309, in <module>
    main.main(
  File "/usr/lib/mypaint/gui/main.py", line 133, in main
    lib.glib.init_user_dir_caches()
  File "/usr/lib/mypaint/lib/glib.py", line 193, in init_user_dir_caches
    k.value_name,
AttributeError: 'UserDirectory' object has no attribute 'value_name'

System information:
- Ubuntu version: 26.04 (Resolute)
- MyPaint version: 2.0.1-14build1 (from Ubuntu universe repository)
- PyGObject version: 3.56.2
- Python version: 3.x (system default)

Expected behavior:
MyPaint should start normally.

Actual behavior:
Application crashes immediately at startup due to missing attribute 
'value_name' in GLib UserDirectory enum wrapper.

Notes:
- The issue appears to be caused by incompatibility between MyPaint 2.0.1 and 
newer PyGObject / GLib introspection bindings.

** Affects: mypaint (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154737

Title:
  MyPaint 2.0.1 crashes at startup on Ubuntu 26.04 with PyGObject 3.56.2
  (AttributeError: UserDirectory has no attribute value_name)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/2154737/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to