Article View: linux.debian.bugs.rc
Article #1261Bug#1151536: manim-ce: FTBFS: E ValueError: Invalid mode for data type
From: Santiago Vila
Date: Wed, 21 Oct 2026 13:50
Date: Wed, 21 Oct 2026 13:50
84 lines
7040 bytes
7040 bytes
Package: src:manim-ce
Version: 0.21.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:manim-ce, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
raise TypeError(msg) from e
if mode is not None:
if mode != typemode and mode not in color_modes:
msg = "Invalid mode for data type"
> raise ValueError(msg)
E ValueError: Invalid mode for data type
/usr/lib/python3/dist-packages/PIL/Image.py:3451: ValueError
----------------------------- Captured stdout call -----------------------------
INFO Reading config file: utils.py:124
/<<PKGBUILDDIR>>
/.pybuild/cpython3_3.14/build/manim/_c
onfig/default.cfg
INFO Reading config file: utils.py:131
/<<PKGBUILDDIR>>
/.pybuild/cpython3_3.14/build/manim/ut
ils/testing/config_graphical_tests_mon
oframe.cfg
INFO Caching disabled. cairo_renderer.py:81
------------------------------ Captured log call -------------------------------
INFO manim:utils.py:124 Reading config file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/_config/default.cfg
INFO manim:utils.py:131 Reading config file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/utils/testing/config_graphical_tests_monoframe.cfg
INFO manim:cairo_renderer.py:81 Caching disabled.
=============================== warnings summary ===============================
tests/module/animation/test_animation.py::test_single_animation_zero_run_time_with_more_animations
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/scene/scene.py:1706: RuntimeWarning: invalid value encountered in scalar divide
alpha = t / animation.run_time
tests/module/animation/test_animation.py::test_single_animation_zero_run_time_with_more_animations
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/scene/scene.py:1706: RuntimeWarning: divide by zero encountered in scalar divide
alpha = t / animation.run_time
tests/module/mobject/graphing/test_number_line.py::test_start_and_end_at_same_point
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/mobject/geometry/line.py:239: UserWarning: put_start_and_end_on has been called on a closed loop or zero-length mobject. DashedLine will be shifted to start point instead.
return super().put_start_and_end_on(start, end)
tests/test_graphical_units/test_coordinate_systems.py::test_implicit_graph
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/utils/testing/_frames_testers.py:67: UserWarning: Mismatch of 9 pixel values in frame -1 against control data in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_graphical_units/control_data/coordinate_system/implicit_graph.npz. Below error threshold, continuing...
warnings.warn(
tests/test_graphical_units/test_polyhedra.py::test_ConvexHull3D
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/manim/utils/testing/_frames_testers.py:67: UserWarning: Mismatch of 3 pixel values in frame -1 against control data in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_graphical_units/control_data/polyhedra/ConvexHull3D.npz. Below error threshold, continuing...
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_graphical_units/test_img_and_svg.py::test_ImageMobject - Va...
FAILED tests/test_graphical_units/test_img_and_svg.py::test_ImageInterpolation
= 2 failed, 967 passed, 1 skipped, 47 deselected, 4 xfailed, 2 xpassed, 5 warnings in 99.03s (0:01:39) =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; xvfb-run --auto-servernum --server-num=20 -s "-noreset" {interpreter} -m pytest -m 'not slow' --ignore tests/module/mobject/text/test_typst_mobject.py --ignore tests/test_graphical_units/test_opengl.py --ignore tests/test_release_script.py --ignore tests/test_scene_rendering/opengl -k 'not (test_logging_to_file)'
dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:32: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NQERA-6Zgi-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151536: manim-ce: FTBFS: E ValueError: Invalid mode for data type Date: Wed, 21 Oct 2026 15:50:02 +0200 Message-ID: <NQERA-6Zgi-13@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Wed Oct 21 13:47:38 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.699 Reply-To: Santiago Vila <sanvila@debian.org>, 1151536@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1151536 X-Debian-Pr-Package: src:manim-ce X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: manim-ce X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835396 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 84 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 21 Oct 2026 13:44:55 +0000 X-Original-Message-ID: <E1xJWch-002vlL-1N@paradis.debian.org>