We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key Error when importing a flac file.
Traceback (most recent call last): File "/usr/lib64/python2.7/logging/__init__.py", line 859, in emit msg = self.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 732, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 471, in format record.message = record.getMessage() File "/usr/lib64/python2.7/logging/__init__.py", line 331, in getMessage msg = str(self.msg) File "/home/kelvin/beets/beets/logging.py", line 85, in __str__ return self.msg.format(*args, **kwargs) KeyError: u'WEB-flac' Logged from file importer.py, line 1324
The text was updated successfully, but these errors were encountered:
90178ab
Can you provide a little bit more context? What's the filename you were importing, for example? Did it happen to have curly braces {} in the name?
{}
My suspicion is that it did, in which case this should be fixed in the above commit.
Sorry, something went wrong.
Always log a template literal (fix beetbox#1481)
941b613
Otherwise, we risk the user-provided string looking like a format string! If it contains curly braces, it can behave unexpectedly.
No branches or pull requests
Key Error when importing a flac file.
The text was updated successfully, but these errors were encountered: