#17818: Interface to FindStat
-------------------------------------+-------------------------------------
       Reporter:  mantepse           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.6
      Component:  interfaces         |   Resolution:
       Keywords:  FindStat           |    Merged in:
        Authors:  Martin Rubey       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  public/findstat-   |       Commit:
  interface                          |  d21fad39a7d500d98bacc42f901942a3caa46462
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by mantepse):

 Replying to [comment:9 ncohen]:
 > Your new commit has the same problem.

 > 2) compile the documentation {{{sage -b && sage -docbuild
 reference/databases html}}}

 Hi Nathann!

 Many thanks for your help, but I'm afraid I need more.  Is there a way to
 make docbuild tell me where I made a mistake?  I obtain
 {{{
 [databases] loading pickled environment... not yet created
 [databases] building [html]: targets for 10 source files that are out of
 date
 [databases] updating environment: 10 added, 0 changed, 0 removed
 [databases] Encoding error:
 [databases] 'ascii' codec can't decode byte 0xe2 in position 24871:
 ordinal not in range(128)
 [databases] The full traceback has been saved in /tmp/sphinx-err-
 YMbReV.log, if you want to report the issue to the developers.
 Build finished. The built documents can be found in
 /home/martin/sage/src/doc/output/html/en/reference/databases
 }}}

 but I have no idea what that traceback is trying to tell me:

 {{{
 Traceback (most recent call last):
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/cmdline.py", line 254, in main
     app.build(force_all, filenames)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/application.py", line 212, in build
     self.builder.build_update()
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/builders/__init__.py", line 214, in
 build_update
     'out of date' % len(to_build))
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/builders/__init__.py", line 234, in
 build
     purple, length):
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/builders/__init__.py", line 134, in
 status_iterator
     for item in iterable:
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/environment.py", line 480, in
 update_generator
     self.read_doc(docname, app=app)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/environment.py", line 627, in
 read_doc
     pub.publish()
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/core.py", line 217, in publish
     self.settings)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/readers/__init__.py", line 72, in read
     self.parse()
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/readers/__init__.py", line 78, in parse
     self.parser.parse(self.input, document)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/__init__.py", line 172, in parse
     self.statemachine.run(inputlines, document, inliner=self.inliner)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 170, in run
     input_source=document['source'])
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 239, in run
     context, state, transitions)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 460, in check_line
     return method(match, context, next_state)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2726, in underline
     self.section(title, source, style, lineno - 1, messages)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 327, in section
     self.new_subsection(title, lineno, messages)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 395, in new_subsection
     node=section_node, match_titles=True)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 282, in nested_parse
     node=node, match_titles=match_titles)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 195, in run
     results = StateMachineWS.run(self, input_lines, input_offset)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 239, in run
     context, state, transitions)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 460, in check_line
     return method(match, context, next_state)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2301, in explicit_markup
     self.explicit_list(blank_finish)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2331, in explicit_list
     match_titles=self.state_machine.match_titles)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 319, in nested_list_parse
     node=node, match_titles=match_titles)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 195, in run
     results = StateMachineWS.run(self, input_lines, input_offset)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 239, in run
     context, state, transitions)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/statemachine.py", line 460, in check_line
     return method(match, context, next_state)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2604, in explicit_markup
     nodelist, blank_finish = self.explicit_construct(match)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2311, in explicit_construct
     return method(self, expmatch)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2054, in directive
     directive_class, match, type_name, option_presets)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/docutils/parsers/rst/states.py", line 2103, in run_directive
     result = directive_instance.run()
   File "/home/martin/sage/src/doc/common/sage_autodoc.py", line 1166, in
 run
     documenter.generate(more_content=self.content)
   File "/home/martin/sage/src/doc/common/sage_autodoc.py", line 638, in
 generate
     self.analyzer = ModuleAnalyzer.for_module(self.real_modname)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/pycode/__init__.py", line 204, in
 for_module
     obj = cls.for_file(source, modname)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/pycode/__init__.py", line 187, in
 for_file
     obj = cls(fileobj, modname, filename)
   File "/home/martin/sage/local/lib/python2.7/site-
 packages/Sphinx-1.2.2-py2.7.egg/sphinx/pycode/__init__.py", line 224, in
 __init__
     self.code = self.source.read().decode(self.encoding)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
 24871: ordinal not in range(128)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17818#comment:14>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to