Ask Your Question
1

unable to build the doc reference html

asked 2016-04-27 11:33:01 +0100

Dom gravatar image

updated 2016-04-27 21:21:08 +0100

./sage --docbuild reference html or make doc-clean && make I work on the ticket t/20154/train_tracks

give error:

[polynomia] WARNING: intersphinx inventory '/home/dominique/projets/sage/local/share/doc/sage/inventory/en/reference/objects.inv' not fetchable due to <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/home/dominique/projets/sage/local/share/doc/sage/inventory/en/reference/objects.inv'
[polynomia] None:3: WARNING: citation not found: CMR05
Error building the documentation.
Traceback (most recent call last):
  File "/home/dominique/projets/sage/local/lib/python/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/dominique/projets/sage/local/lib/python/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/dominique/projets/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py", line 2, in <module>
    main()
  File "/home/dominique/projets/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 1629, in main
    builder()
  File "/home/dominique/projets/sage/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 495, in _wrapper
    x.get(99999)
  File "/home/dominique/projets/sage/local/lib/python/multiprocessing/pool.py", line 567, in get
    raise self._value
OSError: [polynomia] WARNING: intersphinx inventory '/home/dominique/projets/sage/local/share/doc/sage/inventory/en/reference/objects.inv' not fetchable due to <type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/home/dominique/projets/sage/local/share/doc/sage/inventory/en/reference/objects.inv'

Note: incremental documentation builds sometimes cause spurious error messages. To be certain that these are real errors, run "make doc-clean" first and try again.

edit retag flag offensive close merge delete

Comments

1

Do you get these errors when building the documentation in the develop branch? Presumably there is some error in a docstring in the train-tracks code, but since we don't know what changes you have made in t/20154/train_tracks, it is going to be very hard to diagnose your problem.

John Palmieri gravatar imageJohn Palmieri ( 2016-04-27 17:16:28 +0100 )edit
1

@john-palmieri is right, you should push you branch on the ticket (or at least on the git server) so that we can test and understand the problem.

tmonteil gravatar imagetmonteil ( 2016-04-27 23:07:01 +0100 )edit

ok, branch t/20154/train_tracks pushed,

Dom gravatar imageDom ( 2016-05-02 16:19:47 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-05-02 18:18:40 +0100

There are many errors in the format of the docstrings, I listed some of them on the trac ticket.

edit flag offensive delete link more
0

answered 2016-05-06 11:45:57 +0100

Dom gravatar image

Thanks for your help. I done all changes on doc string, Now the doc builds in a new sage project (still some warning but small things). But in my project sage, the build faills on [polynomia] None:3: WARNING: citation not found: CMR05 and tha is still the case. strange.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-27 11:33:01 +0100

Seen: 636 times

Last updated: May 06 '16