#6605: [with patch, needs work] sage -docbuild DOC FORMAT should do better error
checking on DOC
---------------------------+------------------------------------------------
 Reporter:  jhpalmieri     |        Owner:  jhpalmieri  
     Type:  defect         |       Status:  reopened    
 Priority:  major          |    Milestone:  sage-4.1.1  
Component:  documentation  |   Resolution:              
 Keywords:                 |     Reviewer:  Mitesh Patel
   Author:  John Palmieri  |       Merged:              
---------------------------+------------------------------------------------
Changes (by mvngu):

  * status:  closed => reopened
  * resolution:  fixed =>
  * merged:  Sage 4.1.1.alpha1 =>


Comment:

 The patch {{{trac_6605-docbuild-check.patch}}} is buggy when it comes to
 (re)building the documentation of a new release. Assume you have applied
 this patch to Sage 4.1.1.alpha0, then build a source release with
 {{{
 sage -sdist <version>
 }}}
 or a binary release with
 {{{
 sage -bdist <version>
 }}}
 After that, upgrade a previous release to this new release and rebuild the
 documentation. You then get this error message:
 {{{
 [mv...@sage sage-4.1.1.alpha1-test-x86_64-Linux]$ ./sage -docbuild
 tutorial htmlTraceback (most recent call last):
   File
 
"/scratch/mvngu/sage-4.1.1.alpha1-test-x86_64-Linux/devel/sage/doc/common/builder.py",
 line 673, in <module>
     getattr(get_builder(name), type)()
   File
 
"/scratch/mvngu/sage-4.1.1.alpha1-test-x86_64-Linux/devel/sage/doc/common/builder.py",
 line 616, in get_builder
     elif name in get_documents() or name in
 AllBuilder().get_all_documents():
 NameError: global name 'get_documents' is not defined
 }}}
 The same error is raised if you rebuild the documentation of the binary
 version of the new release. I'm reopening this ticket and marking it as
 needs work.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6605#comment:7>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to