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
Error with 2.0.0rc2: AttributeError("'str' object has no attribute 'attributes'") #1522
Comments
This is due to a recent change, #1519. I haven't looked into what is happening here, but it seems the @lazka are you setting any of the Sphinx CSS configuration options in your project's settings? I'm guessing the template logic we had before is safer for a larger number of projects, as there is some variance in how the CSS configuration options can be configured. |
Here is the config: https://github.com/quodlibet/mutagen/blob/main/docs/conf.py |
Only the part about |
This reverts commit b22a77f.
* Fix #1522: fix attribute error if css is str * Revert "Fix #1522: fix attribute error if css is str" This reverts commit b22a77f. * Use `css_tag` only for standard CSS files from Sphinx ... and keep using the custom `link` HTML tag for CSS files included via the HTML theme option `extra_css_files`. * Normalize template variables --------- Co-authored-by: Manuel Kaufmann <humitos@gmail.com> Co-authored-by: Anthony Johnson <aj@ohess.org>
@lazka Hi! 2.0.0rc3 is now out with a fix for this case. Would you mind giving it a try and let us know if it works as expected? 👍🏼 |
works nicely now, thanks! |
Problem
With verbose logs:
Reproducible Project
https://github.com/quodlibet/mutagen/tree/main/docs
Expected Results
the docs build
Environment Info
The text was updated successfully, but these errors were encountered: