Your message dated Sat, 08 Nov 2025 05:50:04 +0000
with message-id <[email protected]>
and subject line Bug#1120126: fixed in mypaint 2.0.1-14
has caused the Debian Bug report #1120126,
regarding mypaint crashes due to API change in numpy
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1120126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mypaint
Version: 2.0.1-13
Severity: important
Dear Maintainer,
Launching MyPaint under testing leads to the following backtrace without any
action from the user:
----------8<----------
~$ mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with
prefix '/usr'
INFO: gui.main: No locale setting found, using system locale
INFO: lib.i18n: POSIX: LANG='fr_FR.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE=None
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 231, in main
run()
~~~^^
File "/usr/lib/mypaint/gui/main.py", line 187, in run
from gui import application
File "/usr/lib/mypaint/gui/application.py", line 49, in <module>
import lib.document
File "/usr/lib/mypaint/lib/document.py", line 38, in <module>
import lib.command as command
File "/usr/lib/mypaint/lib/command.py", line 21, in <module>
import lib.layer
File "/usr/lib/mypaint/lib/layer/__init__.py", line 33, in <module>
from .group import *
File "/usr/lib/mypaint/lib/layer/group.py", line 28, in <module>
from . import core
File "/usr/lib/mypaint/lib/layer/core.py", line 26, in <module>
import lib.strokemap
File "/usr/lib/mypaint/lib/strokemap.py", line 407, in <module>
class _Tile:
...<140 lines>...
)
File "/usr/lib/mypaint/lib/strokemap.py", line 414, in _Tile
_ZDATA_ONES = zlib.compress(np.ones((N, N), 'uint8').tostring())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'numpy.ndarray' object has no attribute 'tostring'
---------->8----------
The reason is that numpy.ndarray.tostring(...) has been deprecated in numpy 1.9
and removed in 2.3.
2 commits already exist upstream to move to the new API of numpy:
*
https://github.com/mypaint/mypaint/commit/2a92b6baf452aba2cff3cc0a7782b301da3933d7
*
https://github.com/mypaint/mypaint/commit/ab017e073e83a4930a0fb09608682bf4b7ab1874
AFAICT, those 2 commits seems to be enough to fix the problem.
best regards
Rémi
-- System Information:
Debian Release: forky/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (10, 'unstable-debug'),
(10, 'experimental'), (10, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
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.51-1
ii libc6 2.41-12
ii libgcc-s1 15.2.0-7
ii libgdk-pixbuf-2.0-0 2.44.4+dfsg-1
ii libgomp1 15.2.0-7
ii liblcms2-2 2.16-2
ii libmypaint-1.5-1 1.6.0-4
ii libpng16-16t64 1.6.50-1
ii librsvg2-bin 2.60.0+dfsg-1+b1
ii libstdc++6 15.2.0-7
ii mypaint-brushes 2.0.2+ds1-2
ii mypaint-data 2.0.1-13
ii python3 3.13.7-1
ii python3-gi 3.50.2-1
ii python3-gi-cairo 3.50.2-1
ii python3-numpy [python3-numpy2-abi0] 1:2.3.3+ds-3
Versions of packages mypaint recommends:
ii mypaint-data-extras 2.0.1-13
ii shared-mime-info 2.4-5+b3
mypaint suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mypaint
Source-Version: 2.0.1-14
Done: Vincent Cheng <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mypaint, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Cheng <[email protected]> (supplier of updated mypaint package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 07 Nov 2025 20:59:04 -0800
Source: mypaint
Architecture: source
Version: 2.0.1-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Vincent Cheng <[email protected]>
Closes: 1120126
Changes:
mypaint (2.0.1-14) unstable; urgency=medium
.
* Backport upstream change to fix crash with numpy >= 2.3 (Closes: #1120126)
Checksums-Sha1:
8d60b81520fdb520b43db26a1b21f9bf29c11611 2381 mypaint_2.0.1-14.dsc
72a1a47bd1fa347bf0f6087f4505e9d61d83b693 24280 mypaint_2.0.1-14.debian.tar.xz
Checksums-Sha256:
0409b1be10a881cf5879ba5ed9f3bbbcc15f48210e8cedf0e39f729edb273437 2381
mypaint_2.0.1-14.dsc
dbb81500644474ab34be3fcb8365053be813e8c7804c4e515af35a37e5bc7406 24280
mypaint_2.0.1-14.debian.tar.xz
Files:
589f2127759ed610019d879991d6bf0b 2381 graphics optional mypaint_2.0.1-14.dsc
019051295b6abcc1f7f54c4e2f862795 24280 graphics optional
mypaint_2.0.1-14.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE1TqBWjy3ZZr4guOVju3MG6ofMv8FAmkO1KUACgkQju3MG6of
Mv+eSQ/+IFU9ww0WUB/WLgG0BhT8q6DuSZM2GH7CL0pXv8ZH48SWUwqqSOBwWJQY
pEmILWWXW2PouDfnpW/rrp0eyhAjBvFc0DRVmK6YY1hkIsONQi8Wbrx2kuAK8b4r
0dobWOwJUszY90diFvrkCxUwYTFBQjbrA61AxPrfTX9Wucl8+5pV6BMsoG/cvWwK
6U+pHoe4hjq/fcD3+YbEBGHILJVTceaTBAocq27bQ3TyoZhWsGUL4Ck7+7z9d+pD
TqYOPTO75ueMixVs/sd6PajJNzgl3Knbd/llW5NXtzq0b9eO43zT+cJSEuqd3JcI
xwIwHn78Z12gsSySKt7FXrphQVH+0TD/TgxpRmfOEYqzLoWM9UgpmJQDttQ7Razn
yl0gBqU2ksdX4EpqqgIAzSVXkNNafQvixF2AafHFIUq9FnzPaB/rBCthU13xiwF+
mpCoVlllgdzp3BGqPBkrpTLm19K+hfCOcZe6Zk+QupH/gBea3xE9hLjbWWD6xGnm
aFUirzPsrh6c6mDCgZFNlkvY8wjwaa2uHjEt0Fw0xuI2z5AEHrooUGFKmaq/jPyc
K5ZqebGcJfgbvRRDvPY1dO1BkE3mQO1263XiF3FYrYkIvqth6rI1JDeK0smjXzag
O65Jb1O07L5uguUVhCx//E4wa+BJZAolDB/KmGnTRK+hvOE+paw=
=Ea9t
-----END PGP SIGNATURE-----
pgpvlD4hv34AF.pgp
Description: PGP signature
--- End Message ---