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 Traceback (most recent call last):
  File "picard\util\", line 47, in run
  File "picard\", line 241, in _save_and_rename
  File "picard\", line 407, in _save_images
  File "picard\coverart\", line 300, in save
  File "picard\coverart\", 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 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 -

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?

It should fix the issue.