Your message dated Sun, 01 Jan 2023 19:19:40 +0000
with message-id <e1pc3rw-004ckx...@fasolo.debian.org>
and subject line Bug#1027461: fixed in beets 1.6.0-4
has caused the Debian Bug report #1027461,
regarding python-mediafile breaks beets autopkgtest: object of type 'NoneType' 
has no len()
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 ow...@bugs.debian.org
immediately.)


-- 
1027461: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027461
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-mediafile, beets
Control: found -1 python-mediafile/0.11.0-1
Control: found -1 beets/1.6.0-3
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-mediafile the autopkgtest of beets fails in testing when that autopkgtest is run with the binary packages of python-mediafile from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-mediafile       from testing    0.11.0-1
beets                  from testing    1.6.0-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-mediafile to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-mediafile

https://ci.debian.net/data/autopkgtest/testing/amd64/b/beets/29792888/log.gz

=================================== FAILURES =================================== ________________ EmbedartCliTest.test_clear_art_with_yes_input _________________

self = <test.test_embedart.EmbedartCliTest testMethod=test_clear_art_with_yes_input>

    def test_clear_art_with_yes_input(self):
        self._setup_data()
        album = self.add_album_fixture()
        item = album.items()[0]
        self.io.addinput('y')
        self.run_command('embedart', '-f', self.small_artpath)
        self.io.addinput('y')
        self.run_command('clearart')
        mediafile = MediaFile(syspath(item.path))
      self.assertEqual(len(mediafile.images), 0)
E       TypeError: object of type 'NoneType' has no len()

test/test_embedart.py:205: TypeError
----------------------------- Captured stderr call -----------------------------
Sending event: database_change
Sending event: database_change
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
no user configuration found at /tmp/tmppz0v9_v1/config.yaml
data directory: /tmp/tmppz0v9_v1
plugin paths: Sending event: pluginload
embedart: embedding /tmp/autopkgtest-lxc.36cnu39s/downtmp/autopkgtest_tmp/test/rsrc/image-2x3.jpg
Sending event: write
Sending event: after_write
Sending event: cli_exit
no user configuration found at /tmp/tmppz0v9_v1/config.yaml
data directory: /tmp/tmppz0v9_v1
plugin paths: Sending event: pluginload
embedart: Clearing album art from 1 items
embedart: Clearing art for the artist - älbum - tïtle 0
Sending event: write
Sending event: after_write
Sending event: cli_exit
------------------------------ Captured log call -------------------------------
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: item_copied
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmppz0v9_v1/config.yaml
DEBUG    beets:__init__.py:1205 data directory: /tmp/tmppz0v9_v1
DEBUG beets:__init__.py:1111 plugin paths: DEBUG beets:plugins.py:485 Sending event: pluginload DEBUG beets.embedart:art.py:69 embedart: embedding /tmp/autopkgtest-lxc.36cnu39s/downtmp/autopkgtest_tmp/test/rsrc/image-2x3.jpg
DEBUG    beets:plugins.py:485 Sending event: write
DEBUG    beets:plugins.py:485 Sending event: after_write
DEBUG    beets:plugins.py:485 Sending event: cli_exit
DEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmppz0v9_v1/config.yaml
DEBUG    beets:__init__.py:1205 data directory: /tmp/tmppz0v9_v1
DEBUG beets:__init__.py:1111 plugin paths: DEBUG beets:plugins.py:485 Sending event: pluginload
INFO     beets.embedart:art.py:221 embedart: Clearing album art from 1 items
DEBUG beets.embedart:art.py:223 embedart: Clearing art for the artist - älbum - tïtle 0
DEBUG    beets:plugins.py:485 Sending event: write
DEBUG    beets:plugins.py:485 Sending event: after_write
DEBUG    beets:plugins.py:485 Sending event: cli_exit
____________ EmbedartCliTest.test_embed_art_from_file_with_no_input ____________

self = <test.test_embedart.EmbedartCliTest testMethod=test_embed_art_from_file_with_no_input>

    def test_embed_art_from_file_with_no_input(self):
        self._setup_data()
        album = self.add_album_fixture()
        item = album.items()[0]
        self.io.addinput('n')
        self.run_command('embedart', '-f', self.small_artpath)
        mediafile = MediaFile(syspath(item.path))
        # make sure that images array is empty (nothing embedded)
      self.assertEqual(len(mediafile.images), 0)
E       TypeError: object of type 'NoneType' has no len()

test/test_embedart.py:84: TypeError
----------------------------- Captured stderr call -----------------------------
Sending event: database_change
Sending event: database_change
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
no user configuration found at /tmp/tmpy5yig42s/config.yaml
data directory: /tmp/tmpy5yig42s
plugin paths: Sending event: pluginload
Sending event: cli_exit
------------------------------ Captured log call -------------------------------
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: item_copied
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG    beets:plugins.py:485 Sending event: database_change
DEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmpy5yig42s/config.yaml
DEBUG    beets:__init__.py:1205 data directory: /tmp/tmpy5yig42s
DEBUG beets:__init__.py:1111 plugin paths: DEBUG beets:plugins.py:485 Sending event: pluginload
DEBUG    beets:plugins.py:485 Sending event: cli_exit
________________________ ZeroPluginTest.test_album_art _________________________

self = <test.test_zero.ZeroPluginTest testMethod=test_album_art>

    def test_album_art(self):
        self.config['zero']['fields'] = ['images']
            path = self.create_mediafile_fixture(images=['jpg'])
        item = Item.from_path(path)
            self.load_plugins('zero')
        item.write()
            mf = MediaFile(syspath(path))
      self.assertEqual(0, len(mf.images))
E       TypeError: object of type 'NoneType' has no len()

test/test_zero.py:106: TypeError
----------------------------- Captured stderr call -----------------------------
Sending event: write
Sending event: after_write
------------------------------ Captured log call -------------------------------
DEBUG    beets:plugins.py:485 Sending event: write
DEBUG    beets:plugins.py:485 Sending event: after_write

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: beets
Source-Version: 1.6.0-4
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
beets, 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 1027...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated beets 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Jan 2023 14:44:21 -0400
Source: beets
Architecture: source
Version: 1.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1027461 1027519
Changes:
 beets (1.6.0-4) unstable; urgency=medium
 .
   * Patch: Support mediafile 0.11. (Closes: #1027461, 1027519)
Checksums-Sha1:
 cac82ebbc5438212979ffb65a73b59228596a7bc 2018 beets_1.6.0-4.dsc
 1a1e61793b6be18401852ddac9fbc6195ee59be8 11664 beets_1.6.0-4.debian.tar.xz
 6d49fbcecc51d12017b2be1d373aec40201e4063 7870 beets_1.6.0-4_source.buildinfo
Checksums-Sha256:
 10c1bc1ec804f4dee599546dee9b1621bba7af66ddeb8eb00f992987df938d02 2018 
beets_1.6.0-4.dsc
 95c5a168b6a3d984f0bd5b90c3f4d42a40b466d0ac24f8c270eb838fb068ab6b 11664 
beets_1.6.0-4.debian.tar.xz
 f1a3afa83c41dde5a80f8f666d9e3f31a79c5a674078375ce14c7ed39078e771 7870 
beets_1.6.0-4_source.buildinfo
Files:
 f82abeb793208047a08071c801068e3b 2018 sound optional beets_1.6.0-4.dsc
 5bc8bd5e28a45776f051605019cfab5a 11664 sound optional 
beets_1.6.0-4.debian.tar.xz
 01bd1e7335c95da27a68eb48465f28e7 7870 sound optional 
beets_1.6.0-4_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY7HWfhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2L+0AQDPQclrxDpkOImO5JdwLQ0k2oc0mwNG
HYaVPlMrA29SAAEA8B14RdSY8IioERSI9fQjOpTWhBBkq8jr360C+/hywQI=
=NrtO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to