After running cronjob-daily:
cat /var/yang/logs/generate_figures_and_stats.log
Bad key "backend in file /module-compilation/.config/matplotlib/matplotlibrc, line 6 ('"backend: Agg"')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.6.2/matplotlibrc.template
or from the matplotlib source distribution
Found 2 entrie(s) from /usr/share/nginx/html/private/stats/IETFCiscoAuthorsYANGPageCompilationStats.json
Traceback (most recent call last):
File "/module-compilation/figures_and_stats/yang_figures.py", line 115, in <module>
savefig(web_directory + '/figures/IETFCiscoAuthorsYANGPageCompilation.png', bbox_inches='tight')
File "/usr/local/lib/python3.10/site-packages/matplotlib/pyplot.py", line 954, in savefig
res = fig.savefig(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/matplotlib/figure.py", line 3274, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2338, in print_figure
result = print_method(
File "/usr/local/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2204, in <lambda>
print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
File "/usr/local/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 410, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 517, in print_png
self._print_pil(filename_or_obj, "png", pil_kwargs, metadata)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 463, in _print_pil
FigureCanvasAgg.draw(self)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 399, in draw
self.renderer = self.get_renderer()
File "/usr/local/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 384, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 416, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "/usr/local/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 84, in __init__
self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 32298836x427 pixels is too large. It must be less than 2^16 in each direction.
Sun Mar 26 10:15:04 2023: Abort of the script
After running cronjob-daily:
cat /var/yang/logs/generate_figures_and_stats.log