[sage-devel] Re: Failing to build documentation

2019-07-07 Thread Matt (trac: gh-Torrencem)
No. It gives the same error as above (see the new attached log file). This 
was after a "make doc-clean"

On Sunday, July 7, 2019 at 8:28:09 AM UTC-4, Volker Braun wrote:
>
> Looks like a race condition, does
>
> SAGE_NUM_THREADS=1 sage --docbuild reference html
>
> work?
>
> On Saturday, July 6, 2019 at 7:14:51 PM UTC-4, Matt (trac: gh-Torrencem) 
> wrote:
>>
>> Hi, I'm running Ubuntu and Sage 8.9 (also tried with 8.8), and whenever I 
>> try building the documentation using "sage --docbuild reference html", I 
>> get a failure with the message:
>>
>> ...
>> [manifolds] Exception occurred:
>> [manifolds]   File "/home/[...]/sage/local/lib/python2.7/os.py", line 
>> 157, in makedirs
>> [manifolds] mkdir(name, mode)
>> [manifolds] OSError: [Errno 17] File exists: 
>> '/home/[...]/sage/local/share/doc/sage/html/en/reference/manifolds/_static'
>> ...
>>
>> Which eventually terminates the entire build (or replacing manifolds with 
>> whatever particular module's documentation I'm trying to build)
>>
>> This happens when building the documentation for any module under 
>> reference
>>
>> I've tried "make doc-clean" several times, and even re-build all of Sage 
>> when upgrading to 8.9 (which went fine), and I still get the same error 
>> with "sage --docbuild". Googling the "_static" problem seems to have turned 
>> up several past issues in Sage that have since been fixed. I've attached 
>> the log file output from the failed build process ([...] is the path to my 
>> sage installation, which has no other problems). Any ideas on how to get it 
>> working would be much appreciated!
>>
>> Matt
>>
>

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d7bc54d6-4f0f-43f1-b9ed-6f34e5df2122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Sphinx version: 1.8.5
# Python version: 2.7.15 (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, 97 warnings.
#   
#   The HTML pages are in local/share/doc/sage/html/en/reference/manifolds.
# Loaded extensions:
#   sphinx.ext.inheritance_diagram (1.8.5) from 
/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/inheritance_diagram.pyc
#   sphinx.ext.mathjax (1.8.5) from 
/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/mathjax.pyc
#   alabaster (0.7.12) from 
/home/[...]/sage/local/lib/python2.7/site-packages/alabaster/__init__.pyc
#   multidocs (unknown version) from 
/home/[...]/sage/src/sage_setup/docbuild/ext/multidocs.pyc
#   sage_autodoc (1.8.5) from 
/home/[...]/sage/src/sage_setup/docbuild/ext/sage_autodoc.pyc
#   sphinx.ext.graphviz (1.8.5) from 
/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/graphviz.pyc
#   matplotlib.sphinxext.plot_directive (unknown version) from 
/home/[...]/sage/local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.pyc
#   inventory_builder (unknown version) from 
/home/[...]/sage/src/sage_setup/docbuild/ext/inventory_builder.pyc
#   sphinx.ext.todo (1.8.5) from 
/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/todo.pyc
#   sphinx.ext.extlinks (1.8.5) from 
/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/extlinks.pyc
#   IPython.sphinxext.ipython_directive (unknown version) from 
/home/[...]/sage/local/lib/python2.7/site-packages/IPython/sphinxext/ipython_directive.pyc
Traceback (most recent call last):
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/cmd/build.py", line 
304, in build_main
app.build(args.force_all, filenames)
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/application.py", 
line 369, in build
self.emit('build-finished', None)
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/application.py", 
line 510, in emit
return self.events.emit(event, self, *args)
  File "/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/events.py", 
line 80, in emit
results.append(callback(*args))
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/ext/graphviz.py", 
line 414, in on_build_finished
copy_asset(src, dst)
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/util/fileutil.py", 
line 81, in copy_asset
ensuredir(destination)
  File 
"/home/[...]/sage/local/lib/python2.7/site-packages/sphinx/util/osutil.py", 
line 90, in ensuredir
os.makedirs(path)
  File "/home/[...]/sage/local/lib/python2.7/os.py", line 157, in makedirs
   

[sage-devel] Re: Failing to build documentation

2019-07-07 Thread Volker Braun
Looks like a race condition, does

SAGE_NUM_THREADS=1 sage --docbuild reference html

work?

On Saturday, July 6, 2019 at 7:14:51 PM UTC-4, Matt (trac: gh-Torrencem) 
wrote:
>
> Hi, I'm running Ubuntu and Sage 8.9 (also tried with 8.8), and whenever I 
> try building the documentation using "sage --docbuild reference html", I 
> get a failure with the message:
>
> ...
> [manifolds] Exception occurred:
> [manifolds]   File "/home/[...]/sage/local/lib/python2.7/os.py", line 157, 
> in makedirs
> [manifolds] mkdir(name, mode)
> [manifolds] OSError: [Errno 17] File exists: 
> '/home/[...]/sage/local/share/doc/sage/html/en/reference/manifolds/_static'
> ...
>
> Which eventually terminates the entire build (or replacing manifolds with 
> whatever particular module's documentation I'm trying to build)
>
> This happens when building the documentation for any module under reference
>
> I've tried "make doc-clean" several times, and even re-build all of Sage 
> when upgrading to 8.9 (which went fine), and I still get the same error 
> with "sage --docbuild". Googling the "_static" problem seems to have turned 
> up several past issues in Sage that have since been fixed. I've attached 
> the log file output from the failed build process ([...] is the path to my 
> sage installation, which has no other problems). Any ideas on how to get it 
> working would be much appreciated!
>
> Matt
>

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/e105ec99-61af-424d-b771-06d62bd8abe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.