Your message dated Tue, 25 Nov 2025 17:36:35 +0000
with message-id <[email protected]>
and subject line Bug#1120202: fixed in guidata 3.13.3-1
has caused the Debian Bug report #1120202,
regarding guidata: FTBFS: E       RuntimeError: wrapped C/C++ object of type 
Console has been deleted
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.)


-- 
1120202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120202
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:guidata
Version: 3.6.2-3
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/202511/

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:guidata, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with=python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules execute_before_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build/html
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with=python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild

[... snipped ...]

writing output... [ 67%] reference/dataset/io
writing output... [ 71%] reference/dataset/qtwidgets
writing output... [ 75%] reference/guitest
writing output... [ 79%] reference/index
writing output... [ 83%] reference/userconfig
writing output... [ 88%] reference/utils
writing output... [ 92%] reference/widgets
writing output... [ 96%] requirements
writing output... [100%] widgets

generating indices... genindex py-modindex done
writing additional pages... search done
copying images... [  6%] images/basic_example.png
copying images... [ 12%] images/screenshots/__init__.png
copying images... [ 19%] images/screenshots/all_items.png
copying images... [ 25%] images/screenshots/all_features.png
copying images... [ 31%] images/screenshots/editgroupbox.png
copying images... [ 38%] images/screenshots/bool_selector.png
copying images... [ 44%] images/screenshots/activable_dataset.png
copying images... [ 50%] images/screenshots/datasetgroup.png
copying images... [ 56%] images/guidata-banner.png
copying images... [ 62%] images/layout_example.png
copying images... [ 69%] images/screenshots/console.png
copying images... [ 75%] images/screenshots/codeeditor.png
copying images... [ 81%] images/screenshots/arrayeditor.png
copying images... [ 88%] images/screenshots/collectioneditor.png
copying images... [ 94%] images/screenshots/dataframeeditor.png
copying images... [100%] images/screenshots/importwizard.png

dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_guidata/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
guidata 3.6.2, PyQt5 5.15.11 [Qt version: 5.15.17]
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_guidata/build
configfile: pyproject.toml
plugins: xvfb-3.0.0, typeguard-4.4.4
collected 40 items

guidata/tests/dataset/test_activable_dataset.py .                        [  2%]
guidata/tests/dataset/test_activable_items.py .                          [  5%]
guidata/tests/dataset/test_all_features.py .                             [  7%]
guidata/tests/dataset/test_all_items.py .                                [ 10%]
guidata/tests/dataset/test_all_items_readonly.py .                       [ 12%]
guidata/tests/dataset/test_bool_selector.py .                            [ 15%]
guidata/tests/dataset/test_callbacks.py .                                [ 17%]
guidata/tests/dataset/test_datasetgroup.py .                             [ 20%]
guidata/tests/dataset/test_editgroupbox.py .                             [ 22%]
guidata/tests/dataset/test_inheritance.py .                              [ 25%]
guidata/tests/dataset/test_item_order.py .                               [ 27%]
guidata/tests/dataset/test_loadsave_hdf5.py .                            [ 30%]
guidata/tests/dataset/test_loadsave_json.py .                            [ 32%]
guidata/tests/dataset/test_rotatedlabel.py .                             [ 35%]
guidata/tests/unit/test_config.py ...                                    [ 42%]
guidata/tests/unit/test_data.py ...                                      [ 50%]
guidata/tests/unit/test_dataset_from_dict.py .                           [ 52%]
guidata/tests/unit/test_dataset_from_func.py .                           [ 55%]
guidata/tests/unit/test_genreqs.py .s                                    [ 60%]
guidata/tests/unit/test_h5fmt.py .                                       [ 62%]
guidata/tests/unit/test_jsonfmt.py .                                     [ 65%]
guidata/tests/unit/test_no_qt.py .                                       [ 67%]
guidata/tests/unit/test_text.py s                                        [ 70%]
guidata/tests/unit/test_translations.py .                                [ 72%]
guidata/tests/unit/test_updaterestoredataset.py .                        [ 75%]
guidata/tests/unit/test_userconfig_app.py .                              [ 77%]
guidata/tests/widgets/test_arrayeditor.py .                              [ 80%]
guidata/tests/widgets/test_arrayeditor_unit.py .                         [ 82%]
guidata/tests/widgets/test_codeeditor.py .                               [ 85%]
guidata/tests/widgets/test_collectionseditor.py F                        [ 87%]
guidata/tests/widgets/test_console.py F                                  [ 90%]
guidata/tests/widgets/test_dataframeeditor.py .                          [ 92%]
guidata/tests/widgets/test_importwizard.py .                             [ 95%]
guidata/tests/widgets/test_objecteditor.py .                             [ 97%]
guidata/tests/widgets/test_theme.py s                                    [100%]

=================================== FAILURES ===================================
____________________________ test_collectionseditor ____________________________

obj = array([[226, 236, 230, ..., 253, 123, 211],
       [115, 213, 192, ..., 166,  44, 229],
       [112, 170,  31, ...,  5..., 170,  45],
       [160, 166, 241, ..., 205,  87, 154],
       [143, 126,  50, ...,  18, 146, 111]], shape=(100, 100))
mode = 'P'

    def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> 
Image:
        """
        Creates an image memory from an object exporting the array interface
        (using the buffer protocol)::
    
          from PIL import Image
          import numpy as np
          a = np.zeros((5, 5))
          im = Image.fromarray(a)
    
        If ``obj`` is not contiguous, then the ``tobytes`` method is called
        and :py:func:`~PIL.Image.frombuffer` is used.
    
        In the case of NumPy, be aware that Pillow modes do not always 
correspond
        to NumPy dtypes. Pillow modes only offer 1-bit pixels, 8-bit pixels,
        32-bit signed integer pixels, and 32-bit floating point pixels.
    
        Pillow images can also be converted to arrays::
    
          from PIL import Image
          import numpy as np
          im = Image.open("hopper.jpg")
          a = np.asarray(im)
    
        When converting Pillow images to arrays however, only pixel values are
        transferred. This means that P and PA mode images will lose their 
palette.
    
        :param obj: Object with array interface
        :param mode: Optional mode to use when reading ``obj``. Since pixel 
values do not
          contain information about palettes or color spaces, this can be used 
to place
          grayscale L mode data within a P mode image, or read RGB data as 
YCbCr for
          example.
    
          See: :ref:`concept-modes` for general information about modes.
        :returns: An image object.
    
        .. versionadded:: 1.1.6
        """
        arr = obj.__array_interface__
        shape = arr["shape"]
        ndim = len(shape)
        strides = arr.get("strides", None)
        try:
            typekey = (1, 1) + shape[2:], arr["typestr"]
        except KeyError as e:
            if mode is not None:
                typekey = None
                color_modes: list[str] = []
            else:
                msg = "Cannot handle this data type"
                raise TypeError(msg) from e
        if typekey is not None:
            try:
>               typemode, rawmode, color_modes = _fromarray_typemap[typekey]
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
E               KeyError: ((1, 1), '<i8')

/usr/lib/python3/dist-packages/PIL/Image.py:3285: KeyError

The above exception was the direct cause of the following exception:

    def test_collectionseditor():
        """Test Collections editor."""
        with qt_app_context(exec_loop=True):
            dialog = CollectionsEditor()
>           dialog.setup(get_test_data())
                         ^^^^^^^^^^^^^^^

guidata/tests/widgets/test_collectionseditor.py:120: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
guidata/tests/widgets/test_collectionseditor.py:111: in get_test_data
    image = PILImage.fromarray(np.random.randint(256, size=(100, 100)), 
mode="P")
            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = array([[226, 236, 230, ..., 253, 123, 211],
       [115, 213, 192, ..., 166,  44, 229],
       [112, 170,  31, ...,  5..., 170,  45],
       [160, 166, 241, ..., 205,  87, 154],
       [143, 126,  50, ...,  18, 146, 111]], shape=(100, 100))
mode = 'P'

    def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> 
Image:
        """
        Creates an image memory from an object exporting the array interface
        (using the buffer protocol)::
    
          from PIL import Image
          import numpy as np
          a = np.zeros((5, 5))
          im = Image.fromarray(a)
    
        If ``obj`` is not contiguous, then the ``tobytes`` method is called
        and :py:func:`~PIL.Image.frombuffer` is used.
    
        In the case of NumPy, be aware that Pillow modes do not always 
correspond
        to NumPy dtypes. Pillow modes only offer 1-bit pixels, 8-bit pixels,
        32-bit signed integer pixels, and 32-bit floating point pixels.
    
        Pillow images can also be converted to arrays::
    
          from PIL import Image
          import numpy as np
          im = Image.open("hopper.jpg")
          a = np.asarray(im)
    
        When converting Pillow images to arrays however, only pixel values are
        transferred. This means that P and PA mode images will lose their 
palette.
    
        :param obj: Object with array interface
        :param mode: Optional mode to use when reading ``obj``. Since pixel 
values do not
          contain information about palettes or color spaces, this can be used 
to place
          grayscale L mode data within a P mode image, or read RGB data as 
YCbCr for
          example.
    
          See: :ref:`concept-modes` for general information about modes.
        :returns: An image object.
    
        .. versionadded:: 1.1.6
        """
        arr = obj.__array_interface__
        shape = arr["shape"]
        ndim = len(shape)
        strides = arr.get("strides", None)
        try:
            typekey = (1, 1) + shape[2:], arr["typestr"]
        except KeyError as e:
            if mode is not None:
                typekey = None
                color_modes: list[str] = []
            else:
                msg = "Cannot handle this data type"
                raise TypeError(msg) from e
        if typekey is not None:
            try:
                typemode, rawmode, color_modes = _fromarray_typemap[typekey]
            except KeyError as e:
                typekey_shape, typestr = typekey
                msg = f"Cannot handle this data type: {typekey_shape}, 
{typestr}"
>               raise TypeError(msg) from e
E               TypeError: Cannot handle this data type: (1, 1), <i8

/usr/lib/python3/dist-packages/PIL/Image.py:3289: TypeError
_________________________________ test_console _________________________________

    def test_console():
        """Test Console widget."""
        with qt_app_context(exec_loop=True):
>           widget = Console(debug=False, multithreaded=True)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

guidata/tests/widgets/test_console.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
guidata/widgets/console/__init__.py:51: in __init__
    InternalShell.__init__(
guidata/widgets/console/internalshell.py:208: in __init__
    self.start_interpreter(namespace)
guidata/widgets/console/internalshell.py:241: in start_interpreter
    self.new_prompt(self.interpreter.p1)
guidata/widgets/console/shell.py:255: in new_prompt
    if self.get_cursor_line_column()[1] != 0:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <guidata.widgets.console.Console object at 0x7f9c7fad1910>

    def get_cursor_line_column(self):
        """Return cursor (line, column) numbers"""
>       cursor = self.textCursor()
                 ^^^^^^^^^^^^^^^^^
E       RuntimeError: wrapped C/C++ object of type Console has been deleted

guidata/widgets/console/mixins.py:202: RuntimeError
=============================== warnings summary ===============================
guidata/tests/widgets/test_theme.py:71
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_guidata/build/guidata/tests/widgets/test_theme.py:71:
 PytestCollectionWarning: cannot collect test class 'TestWidget' because it has 
a __init__ constructor (from: guidata/tests/widgets/test_theme.py)
    class TestWidget(BaseTestWidget):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED guidata/tests/widgets/test_collectionseditor.py::test_collectionseditor
FAILED guidata/tests/widgets/test_console.py::test_console - RuntimeError: wr...
============== 2 failed, 35 passed, 3 skipped, 1 warning in 1.00s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_guidata/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: guidata
Source-Version: 3.13.3-1
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
guidata, 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.
Roland Mas <[email protected]> (supplier of updated guidata 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: Tue, 25 Nov 2025 18:12:14 +0100
Source: guidata
Architecture: source
Version: 3.13.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1119262 1120202
Changes:
 guidata (3.13.3-1) unstable; urgency=medium
 .
   * New upstream release.
   * This upstream release fixes "FTBFS: E RuntimeError: wrapped C/C++
     object of type Console has been deleted", thanks to Santiago Vila
     (Closes: #1120202).
   * It also fixes "guidata autopkg tests fail with pillow 12.0 from
     unstable", thanks to Matthias Klose (Ubuntu) (Closes: #1119262).
Checksums-Sha1:
 35344e808b69f9a6f24ffd9d2f0cd020f92e627d 2564 guidata_3.13.3-1.dsc
 1cd27390d6a321cc8103f24691cb7cc2c25545e7 779492 guidata_3.13.3.orig.tar.gz
 cf09828975adae8684fc10f5cbf8eba2cf3a2b85 7360 guidata_3.13.3-1.debian.tar.xz
 a5d6dc6e9193ad605449bc2e7e66936c99bf48be 14146 guidata_3.13.3-1_amd64.buildinfo
Checksums-Sha256:
 931af5c42141e32c66d6b3945b0d1ab17ebc4e0290d3fd4809e069d9410b68ee 2564 
guidata_3.13.3-1.dsc
 a2007088498f226531462e76e6f142418fe59e06571e2c7b5c60b3a1e27ef9e1 779492 
guidata_3.13.3.orig.tar.gz
 e42aca0e57dcc5d56280c06f59e7ca3ae09570da73306e90b8288394d370538c 7360 
guidata_3.13.3-1.debian.tar.xz
 43a7993be21f0776d6ab302237e15985dcfc3120bb8dbc68f60fcaeb888f8c7a 14146 
guidata_3.13.3-1_amd64.buildinfo
Files:
 b342f8c44f50b40d6ecf9598890255bd 2564 science optional guidata_3.13.3-1.dsc
 eb29a6aeae97c1cea01ced8bd0a7eba5 779492 science optional 
guidata_3.13.3.orig.tar.gz
 1a5553d9904ba85b20f8bf925891acde 7360 science optional 
guidata_3.13.3-1.debian.tar.xz
 2396ea579ff1eb2476629b0bb448f04b 14146 science optional 
guidata_3.13.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmkl4/gACgkQ0w3s0lmT
Ivx4eA/8CajiVaVZaWvpEzwcUeyIgJ7WDiRuJB8vx53odvxMNSeQT4vdYD3lGBoD
RnsoO5kZf+JLLHXSUSKeCIkopySl0HdVUXVTpzWENCDeR6GQ3eO2o7yQNe1DZ6+v
WYhX4VoFfqVoRYdoLNBskzaiFjOnF7/rE3J3U6inWl7NaPKLkKzdu9FWzOSuCWWD
HIu2Igm4YOpi9GZy0V/MOCdiskio1hD85WBvbGSnER+da0n1n1KI2f4JBqd6GV98
FLVxUdpM5F+zQof8obw07+6TqfNgrwfxJLClPELFrxovTx1JwQ1ph8rVqmt79n1d
lg07oIh9mPYw0kums6hAZW0aLzWFmc5H4v3pA9KTzjm7fN3hgSuw2FuDSDKIeQHv
FTmotBwZk2dYBBHdoQJEihbauXiq9T4ScEai0WAQcRMJZSTyVG5AbD97aUYfIfJp
NwqlcS8W6HgKSkQ+Jc1dibbOxsG974bGferEuMkmrfB6Qq9ibZ946jVJPNG6ws/M
sGi9emp3HEbK5DbWVNozEoUyZTrmKTAnaEwmP3otCRqpNzd6fFTamOII6u0ybUMC
YMVyDRZIPOtvvqBdmCksep8jUtWavzD0rwEPXmH6tLKCoW2tcDp399QRrp3yiMzu
ziiE+S0kqSxAjoR+VxZnslXzTDdRzJSnOFFhQIHLUmcNyRfLrcw=
=uEOj
-----END PGP SIGNATURE-----

Attachment: pgp_sZZYiokty.pgp
Description: PGP signature


--- End Message ---

Reply via email to