#10860: R package documentation not accessible from notebook
---------------------------------+------------------------------------------
   Reporter:  aginiewicz         |       Owner:  jason, mpatel, was             
       Type:  defect             |      Status:  needs_review                   
   Priority:  minor              |   Milestone:  sage-4.6.2                     
  Component:  notebook           |    Keywords:  unicode, notebook, docstring, R
     Author:  Andrzej Giniewicz  |    Upstream:  N/A                            
   Reviewer:                     |      Merged:                                 
Work_issues:                     |  
---------------------------------+------------------------------------------
Changes (by newvalueoldvalue):

  * author:  => Andrzej Giniewicz


Old description:

> The documentation of package R is not accessible from notebook, while it
> works from command line.
>
> {{{
> sage: r.lm?
> <html><!--notruncate-->
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "_sage_input_3.py", line 10, in <module>
>    exec compile(u'print _support_.docstring("r.lm", globals(),
> system="sage")' + '\n', '', 'single')
>  File "", line 1, in <module>
>
>  File "/opt/sage/devel/sagenb/sagenb/misc/support.py", line 263, in
> docstring
>    return html_markup(s)
>  File "/opt/sage/devel/sagenb/sagenb/misc/support.py", line 288, in
> html_markup
>    return '<div class="docstring">' + preamble + '<pre>' + s +
> '</pre></div>'
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> 116: ordinal not in range(128)
> </html>
> }}}

New description:

 The documentation of package R is not accessible from notebook, while it
 works from command line.

 {{{
 sage: r.lm?
 <html><!--notruncate-->
 Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_3.py", line 10, in <module>
    exec compile(u'print _support_.docstring("r.lm", globals(),
 system="sage")' + '\n', '', 'single')
  File "", line 1, in <module>

  File "/opt/sage/devel/sagenb/sagenb/misc/support.py", line 263, in
 docstring
    return html_markup(s)
  File "/opt/sage/devel/sagenb/sagenb/misc/support.py", line 288, in
 html_markup
    return '<div class="docstring">' + preamble + '<pre>' + s +
 '</pre></div>'
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
 116: ordinal not in range(128)
 </html>
 }}}

 See [http://groups.google.com/group/sage-
 support/browse_thread/thread/8090747ec559f0fc/2f141d9c14377592 this sage-
 support thread].

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10860#comment:3>
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 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