Package: mypaint
Version: 2.0.1-14
Severity: important

Dear Maintainer,

   * What led up to the situation?

Mypaint was my favorite sketch drawing tool during covid time.  I have
not used it for a long time now (years), thus I do not know exactly
when it start to failed on my machine.

The startup of mypaint immediately failed with the following messages
(the same failure is happening with or without enabling MYPAINT_DEBUG)

```
% MYPAINT_DEBUG=1 /usr/bin/mypaint
INFO: mypaint: Debugging output enabled via MYPAINT_DEBUG
INFO: mypaint: Installation layout: conventional POSIX-like structure with 
prefix '/usr'
DEBUG: mypaint: datapath: '/usr/share/mypaint'
DEBUG: mypaint: iconspath: '/usr/share/icons'
DEBUG: mypaint: old_confpath: None
DEBUG: mypaint: localepath: '/usr/share/locale'
DEBUG: gui.main: Adding GTK workarounds...
DEBUG: gui.main: GTK workarounds added.
DEBUG: lib.glib: Init g_get_user_config_dir(): '/home/xyz/.config'
DEBUG: lib.glib: Init g_get_user_data_dir(): '/home/xyz/.local/share'
DEBUG: lib.glib: Init g_get_user_cache_dir(): '/home/xyz/.cache'
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 309, in <module>
    main.main(
    ~~~~~~~~~^
        datapath,
        ^^^^^^^^^
    ...<4 lines>...
        debug=debug,
        ^^^^^^^^^^^^
    )
    ^
  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'
```

  * I tried also the current GUIX (the one of my Debian Sid) version
  
I tried to use also the current GUIX version (also mypaint 2.0.1) on my Debian 
SID in an isolated
environment ("guix shell -C mypaint -- mypaint"), and got the same
messages (with the alternate/gnu/store/ paths for mypaint files).

  * I tried also the flatpak (the one of my Debian Sid) version (also 2.0.1) 

This one worked.

  * Hypothesis

Some changes in the recent Python environment or libraries.

Hope this help
Grégory


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mypaint depends on:
ii  gir1.2-gtk-3.0                       3.24.52-1
ii  libc6                                2.42-16
ii  libgcc-s1                            16.1.0-1
ii  libgdk-pixbuf-2.0-0                  2.44.6+dfsg-2
ii  libgomp1                             16.1.0-1
ii  liblcms2-2                           2.19.1-1
ii  libmypaint-1.5-1                     1.6.0-4+b2
ii  libpng16-16t64                       1.6.58-1
ii  librsvg2-bin                         2.62.1+dfsg-1
ii  libstdc++6                           16.1.0-1
ii  mypaint-brushes                      2.0.2+ds1-2
ii  mypaint-data                         2.0.1-14
ii  python3                              3.13.9-3+b1
ii  python3-gi                           3.56.3-1
ii  python3-gi-cairo                     3.56.3-1
ii  python3-numpy [python3-numpy2-abi0]  1:2.4.4+ds-2

Versions of packages mypaint recommends:
ii  mypaint-data-extras  2.0.1-14
ii  shared-mime-info     2.4-5+b3

mypaint suggests no packages.

-- no debconf information

Reply via email to