Error when saving tags with Picard 2.0 Beta

I am running the Picard 2.0 beta dev5 release and am getting the following error when I try to apply and save tags:

  E: 13:56:35,734 util.thread.run:51: Traceback (most recent call last):
  File "picard\util\thread.py", line 47, in run
  File "picard\file.py", line 241, in _save_and_rename
  File "picard\file.py", line 407, in _save_images
  File "picard\coverart\image.py", line 300, in save
  File "picard\coverart\image.py", line 318, in _next_filename
  TypeError: %b requires bytes, or an object that implements __bytes__, not 'str'

I realize it’s a beta version and bugs are to be expected but I wanted to mention this, in case it’s not a known issue.

Please enter this as a bug report at https://tickets.metabrainz.org so that it is reviewed by the devs. Thanks.

I have a feeling you are an OSX user - anyway, made a PR for the fix - https://github.com/metabrainz/picard/pull/893

It should be included in the next beta release :slight_smile:

No, Windows actually.

The files were on an external flash drive, if that matters for any reason.

Can you try this build? https://ci.appveyor.com/api/buildjobs/dd659h5e4whp9mxv/artifacts/dist.zip

It should fix the issue.