Opened 12 years ago

Closed 12 years ago

#7204 closed defect (fixed)

issue building sage docs since notebook moved

Reported by: was Owned by: tba
Priority: blocker Milestone: sage-4.2.1
Component: documentation Keywords:
Cc: jhpalmieri Merged in: sage-4.2.1.alpha0
Authors: Mitesh Patel Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by was)

>> If nobody finds any serious problems with it, something close to it
>> will get released (though I'm not in a hurry).
> Here's a nonserious problem: running "sage -docbuild developer html --
> jsmath" prints an error message.  At the end of the build process, I
> get this error:
> copying static files... Exception occurred:
>  File "/Applications/sage_builds/sage-4.1.2.rc2-64-bit/local/lib/
> python2.6/site-packages/Sphinx-0.5.1-py2.6.egg/sphinx/",
> line 668, in finish
>    for filename in os.listdir(staticdirname):
> OSError: [Errno 2] No such file or directory: '/Applications/
> sage_builds/sage-4.1.2.rc2-64-bit/local/notebook/javascript/jsmath'
> The full traceback has been saved in /var/folders/JV/
> JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-/sphinx-err-X1Sd6B.log, if you want
> to report the issue to the author.
> Please also report this if it was a user error, so that a better error
> message can be provided next time.
> Send reports to Thanks!
> Build finished.  The built documents can be found in /Applications/
> sage_builds/sage-4.1.2.rc2-64-bit/devel/sage/doc/output/html/en/
> developer
> Did the directory "SAGE_ROOT/local/notebook" move some place else?

Yes, it did move -- it's now part of the sagenb spkg, and gets installed into python's site-package using Python's standard package data protocol. 

Is the build OK, but there is an error?  I.e., can this be safely fixed in the next SAge release.  Or do we have to fix it ASAP?

> (Replace "developer" by "tutorial" or "reference" or whatever and the
> same thing happens.  Omit "--jsmath" and it works just fine.  Building
> PDF documentation seems to work fine, too, although I haven't finished
> building the reference manual yet.)

Attachments (2)

trac_7204-sagenb_doc_jsmath.patch (846 bytes) - added by mpatel 12 years ago.
Depends on #7196.
trac_7204-sagenb_doc_jsmath_v2.patch (1.0 KB) - added by mpatel 12 years ago.
Depends on the released 4.1.2 and #7196. Apply only this patch.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by was

  • Description modified (diff)

comment:2 Changed 12 years ago by jhpalmieri

  • Cc jhpalmieri added

Changed 12 years ago by mpatel

Depends on #7196.

comment:3 Changed 12 years ago by mpatel

  • Authors set to was
  • Status changed from new to needs_review

comment:4 Changed 12 years ago by kcrisman

Note that a version of this was already merged into 4.1.2, though not depending on the #7196. This will probably necessitate a change in the patch.

Changed 12 years ago by mpatel

Depends on the released 4.1.2 and #7196. Apply only this patch.

comment:5 Changed 12 years ago by mpatel

Thanks for pointing that out. Version 2 applies on top of the patch with no name.

comment:6 Changed 12 years ago by kcrisman

  • Authors changed from was to Mitesh Patel

It should also be pointed out that I plan to count this ticket as closed for 4.1.2, but that it should ALSO be counted as being close for 4.2.alpha0 in the official notes; it's silly to open a new ticket for this as long as attribution is somewhere. I'm changing authorship to indicate this, since I just finished Minh's work on the release announcement for 4.1.2.

comment:7 Changed 12 years ago by mpatel

Patch v3 at #6673 subsumes v2 here. If/when the former merges, please close this ticket.

comment:8 Changed 12 years ago by mhansen

  • Merged in set to sage-4.2.1.alpha0
  • Resolution set to fixed
  • Status changed from needs_review to closed
Note: See TracTickets for help on using tickets.