It appears that having the line

    from sage.all import *

breaks sphinx. I don't know why, but removing them
get the documentation compiled.

Vincent

Le 25/09/2020 à 18:42, Vincent Delecroix a écrit :
Dear all,

I used to have sphinx documentation in many Python libraries that
depends on SageMath (such as [admcycles], [surface_dynamics]).
It appears that in none of them I can build the documentation
properly anymore (with the Sage compiled from source or downloaded
from the tarball). The minimal example is [cvolume] where the failure
is described in the pull request

     https://github.com/eduryev/cvolume/pull/1

and where `make html` ends with

```
Exception occurred:
  File "/opt/sage/local/lib/python3.8/site-packages/sage/repl/user_globals.py", line 82, in _check
     raise RuntimeError(
RuntimeError: the user-space globals dictionary has not been initialized. Use initialize_globals() or set_globals() or use a different function which doesn't need these globals
```

Any help appreciated!

[cvolume] https://github.com/eduryev/cvolume
[admcycles] https://gitlab.com/jo314schmitt/admcycles
[surface_dynamics] https://gitlab.com/videlec/surface_dynamics

Best
Vincent

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/fc444ca4-3253-4b83-d8ed-b92149385031%40gmail.com.

Reply via email to