blog page - 1/6¶
Sphinx constantly changed its API. I played a lot with it more than five years ago to automate many things and it now fails because I started to use the internal API…
AttributeError: module ‘jinja2’ has no attribute ‘Markup¶
The notebook conversion fails again due to the following error:
Issue with nbconvert: unknown exporter “python”¶
I bumped into the following error:
Logging on linux¶
Something interesting to look at if you need to know what is going on a linux machine: 12 Critical Linux Log Files You Must be Monitoring.
A trick I use sometimes to print the traceback without stopping the program.
Issue with sphinx and pybind11¶
The kind of nightmare I don’t like spending time on: [Regression] KeyError on pybind11-generated wrappers with Sphinx 3.2.
Nbconvert requires recent version of latex¶
The latest version of nbconvert which converts notebooks into latex requires recent version latex > 2016. To install a more recent version on debian:
jupyter_sphinx was recently updated and now includes a directive which lets the user run a piece of code and even modify it before running.
Slow imports and code to investigate¶
I notice that the following code was very slow: