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: pluginloadembedart: 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_changeDEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmppz0v9_v1/config.yaml
DEBUG beets:__init__.py:1205 data directory: /tmp/tmppz0v9_v1DEBUG 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_exitDEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmppz0v9_v1/config.yaml
DEBUG beets:__init__.py:1205 data directory: /tmp/tmppz0v9_v1DEBUG 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 itemsDEBUG 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_changeDEBUG beets:__init__.py:1202 no user configuration found at /tmp/tmpy5yig42s/config.yaml
DEBUG beets:__init__.py:1205 data directory: /tmp/tmpy5yig42sDEBUG 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
OpenPGP_signature
Description: OpenPGP digital signature