I ran
 make doc-clean
followed by
./sage -b && ./sage --docbuild reference html

But am getting the following error
[reference] building [html]: targets for 1 source files that are out of date
[reference] updating environment: 1 added, 0 changed, 0 removed
[reference] loading cross citations... looking for now-outdated files... 
none found
[reference] The HTML pages are in local/share/doc/sage/html/en/reference/
references.
[reference] Exception occurred:
[reference]   File "/home/archit/sage/local/lib/python3.7/os.py", line 221, 
in makedirs
[reference]     mkdir(name, mode)
[reference] FileExistsError: [Errno 17] File exists: 
'/home/archit/sage/local/share/doc/sage/html/en/reference/references/_static'
[reference] The full traceback has been saved in /tmp/sphinx-err-8rp_ywi1.
log, if you want to report the issue to the developers.
[reference] Please also report this if it was a user error, so that a 
better error message can be provided next time.
[reference] A bug report can be filed in the tracker at 
<https://github.com/sphinx-doc/sphinx/issues>. 
Thanks!
Error building the documentation.
Traceback (most recent call last):
  File "/home/archit/sage/local/lib/python3.7/runpy.py", line 193, in 
_run_module_as_main
    "__main__", mod_spec)
  File "/home/archit/sage/local/lib/python3.7/runpy.py", line 85, in 
_run_code
    exec(code, run_globals)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py"
, line 2, in <module>
    main()
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py"
, line 1720, in main
    builder()
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py"
, line 550, in _wrapper
    self._build_bibliography(lang, format, *args, **kwds)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py"
, line 527, in _build_bibliography
    build_many(build_ref_doc, references)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py"
, line 280, in build_many
    _build_many(target, args, processes=NUM_THREADS)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py"
, line 283, in build_many
    raise worker_exc.original_exception
OSError: Exception occurred:


The log file is attached

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/c0e5e3d9-39ff-4c84-aad7-cfc8c79bf898%40googlegroups.com.
# Sphinx version: 1.8.5
# Python version: 3.7.3 (CPython)
# Docutils version: 0.14 
# Jinja2 version: 2.10
# Last messages:
#   linking _static directory.
#   copying extra files...
#   done
#   dumping search index in English (code: en) ...
#   done
#   dumping object inventory...
#   done
#   build succeeded, 1295 warnings.
#   
#   The HTML pages are in local/share/doc/sage/html/en/reference/references.
# Loaded extensions:
#   sphinx.ext.mathjax (1.8.5) from 
/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/mathjax.py
#   alabaster (0.7.12) from 
/home/archit/sage/local/lib/python3.7/site-packages/alabaster/__init__.py
#   inventory_builder (unknown version) from 
/home/archit/sage/src/sage_setup/docbuild/ext/inventory_builder.py
#   multidocs (unknown version) from 
/home/archit/sage/src/sage_setup/docbuild/ext/multidocs.py
#   sage_autodoc (1.8.5) from 
/home/archit/sage/src/sage_setup/docbuild/ext/sage_autodoc.py
#   sphinx.ext.graphviz (1.8.5) from 
/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py
#   sphinx.ext.inheritance_diagram (1.8.5) from 
/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/inheritance_diagram.py
#   sphinx.ext.todo (1.8.5) from 
/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/todo.py
#   sphinx.ext.extlinks (1.8.5) from 
/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/extlinks.py
#   IPython.sphinxext.ipython_directive (unknown version) from 
/home/archit/sage/local/lib/python3.7/site-packages/IPython/sphinxext/ipython_directive.py
#   matplotlib.sphinxext.plot_directive (unknown version) from 
/home/archit/sage/local/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py
Traceback (most recent call last):
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/cmd/build.py", line 
304, in build_main
    app.build(args.force_all, filenames)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/application.py", 
line 369, in build
    self.emit('build-finished', None)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/application.py", 
line 510, in emit
    return self.events.emit(event, self, *args)
  File "/home/archit/sage/local/lib/python3.7/site-packages/sphinx/events.py", 
line 80, in emit
    results.append(callback(*args))
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py", 
line 414, in on_build_finished
    copy_asset(src, dst)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/util/fileutil.py", 
line 81, in copy_asset
    ensuredir(destination)
  File 
"/home/archit/sage/local/lib/python3.7/site-packages/sphinx/util/osutil.py", 
line 90, in ensuredir
    os.makedirs(path)
  File "/home/archit/sage/local/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: 
'/home/archit/sage/local/share/doc/sage/html/en/reference/references/_static'

Reply via email to