Skip to content
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

Example intermittently breaking docs build #418

Open
tsalo opened this issue Dec 10, 2020 · 2 comments
Open

Example intermittently breaking docs build #418

tsalo opened this issue Dec 10, 2020 · 2 comments
Labels
bug Issues noting problems and PRs fixing those problems. documentation Improving documentation for the project priority: low Not urgent

Comments

@tsalo
Copy link
Member

tsalo commented Dec 10, 2020

Here's the traceback from here:

Extension error:
Here is a summary of the problems encountered when running the examples

Unexpected failing examples:
/tmp/src/NiMARE/examples/02_meta-analyses/plot_simulated_data.py failed leaving traceback:
Traceback (most recent call last):
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/sphinx_gallery/scrapers.py", line 335, in save_figures
    rst = scraper(block, block_vars, gallery_conf)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/sphinx_gallery/scrapers.py", line 151, in matplotlib_scraper
    fig.savefig(image_path, **these_kwargs)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/figure.py", line 2311, in savefig
    self.canvas.print_figure(fname, **kwargs)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2217, in print_figure
    **kwargs)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
    FigureCanvasAgg.draw(self)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
    self.figure.draw(self.renderer)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/matplotlib/figure.py", line 1837, in draw
    pos = locator(ax, renderer)
  File "/opt/conda/envs/py36_env/lib/python3.6/site-packages/nilearn/plotting/displays.py", line 1662, in _locator
    return transforms.Bbox([[left_dict[axes], y0],
KeyError: <matplotlib.axes._axes.Axes object at 0x7f697d4bf3c8>

This is happening in #410, but also in the RTD build for latest, so it's not something introduced in #410. I'm not sure if we accidentally merged in a bug, if there's an update to one of the dependencies, or what.

@tsalo tsalo added bug Issues noting problems and PRs fixing those problems. documentation Improving documentation for the project labels Dec 10, 2020
@tsalo
Copy link
Member Author

tsalo commented Apr 3, 2021

This bug appears intermittently and can often be resolved by just restarting the build/workflow, so I will label it as low priority.

@tsalo tsalo added the priority: low Not urgent label Apr 3, 2021
@tsalo
Copy link
Member Author

tsalo commented Jun 10, 2021

Seems to be the same error reported in nilearn/nilearn#1070. At least the traceback looks the same.

@tsalo tsalo changed the title Example breaking docs build Example intermittently breaking docs build Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues noting problems and PRs fixing those problems. documentation Improving documentation for the project priority: low Not urgent
Projects
None yet
Development

No branches or pull requests

1 participant