-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
Very recently docs building started to fail on ubuntu workers on both RTD and GHA, even if we use lock files for pinning python dependencies.
This seems to be related to the social plugin based on the stacktrace.
Bug description
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/mkdocs/__main__.py", line 370, in <module>
cli()
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/click/core.py", line 1442, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/click/core.py", line 1363, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/click/core.py", line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/click/core.py", line 794, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/mkdocs/__main__.py", line 288, in build_command
build.build(cfg, dirty=not clean)
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/mkdocs/commands/build.py", line 347, in build
config.plugins.on_post_build(config=config)
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/mkdocs/plugins.py", line 602, in on_post_build
return self.run_event('post_build', config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/mkdocs/plugins.py", line 568, in run_event
result = method(**kwargs)
^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 234, in on_post_build
promise.result()
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 241, in _cache_image
image = render_function()
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 221, in <lambda>
render_function = lambda: self._render_card(site_name, title, description)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 256, in _render_card
self._resized_logo_promise.result(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/docs/.asdf/installs/python/3.12.7/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 387, in _load_resized_logo
logo = self._load_logo(config)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 436, in _load_logo
return self._load_logo_svg(path, self.color["text"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/material/plugins/social/plugin.py", line 448, in _load_logo_svg
svg2png(bytestring = data, write_to = file, scale = 10)
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/cairosvg/__init__.py", line 54, in svg2png
return surface.PNGSurface.convert(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/cairosvg/surface.py", line 129, in convert
tree = Tree(
^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/als/envs/1998/lib/python3.12/site-packages/cairosvg/parser.py", line 388, in __init__
if bytestring.startswith(b'\x1f\x8b'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: startswith first arg must be str or a tuple of str, not bytes
Related links
- https://github.com/ansible/vscode-ansible/actions/runs/14978103711/job/42075436545?pr=1998
- https://app.readthedocs.org/projects/als/builds/28145835/
Reproduction
Steps to reproduce
I was not able to reproduce locally yet, but it happened on both RTD and GHA, starting few hours ago. I suspect another change is causing this, like one of the binary dependencies related to imaging.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Strappazzon and JuroOravec
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open