I made ticket for this

http://trac.sagemath.org/sage_trac/ticket/10860

also, attached patch that fixes it for me. Sorry if I made something
not along the rules or did not found best solution, it is some time
since I last made some patches for Sage or coding in Python at all,
and I got a little rusty here and there.

Andrzej.

On Mon, Feb 28, 2011 at 5:50 PM, Dr. David Kirkby
<[email protected]> wrote:
> On 02/28/11 04:08 PM, kcrisman wrote:
>>
>>
>> On Feb 28, 3:21 am, Andrzej Giniewicz<[email protected]>  wrote:
>>>
>>> Hello,
>>>
>>> today I noticed that I cannot access R docs trough notebook, while it
>>> still works like usual from command line. This is what is inside
>>> notebook when viewed as text:
>>>
>>> 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>
>>>
>>> Currently I don't have alpha of newer version, so I wanted to ask if
>>> this is still visible with 4.6.2 versions and/or known issue. I've
>>> looked trough track and found few similar issues related to for
>>> example unicode handling in %latex, but not this particular.
>>
>> I can confirm this in 4.6.2.rc0.
>>
> Same here, with 4.6.2.rc1 on OpenSolaris.
>
> Dave
>
> --
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> Dave
>
> --
> 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-support
> URL: http://www.sagemath.org
>

-- 
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-support
URL: http://www.sagemath.org

Reply via email to