Skip to content

Fixed error raised by logging when cache is full #2066

New issue

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

Conversation

huguesdevimeux
Copy link
Member

@huguesdevimeux huguesdevimeux commented Sep 19, 2021

Overview: What does this pull request change?

The comma was wrong here. The comma means that logger.info has two parameters, a template and an element to insert in the template in the old fashion (with "%s"). Since the string is not a template, TypeError is raised.

Motivation and Explanation: Why and how do your changes improve the library?

Fixes #2063

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@huguesdevimeux huguesdevimeux merged commit 3e37708 into ManimCommunity:main Sep 19, 2021
@huguesdevimeux huguesdevimeux added the pr:bugfix Bug fix for use in PRs solving a specific issue:bug label Sep 19, 2021
@huguesdevimeux huguesdevimeux deleted the fix/2063/max-file-cached-msg branch September 19, 2021 19:48
@behackl behackl changed the title Fixed issue of the logging message when cache is full Fixed error raised by logging when cache is full Oct 1, 2021
@behackl behackl changed the title Fixed error raised by logging when cache is full Fixed error raised by logging when cache is full Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:bugfix Bug fix for use in PRs solving a specific issue:bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: not all arguments converted during string formatting manim
2 participants