#7410: Strings sometimes truncated in notebook mode.
------------------------+---------------------------------------------------
Reporter: AJonsson | Owner: boothby
Type: defect | Status: new
Priority: major | Milestone: sage-4.2.1
Component: notebook | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
------------------------+---------------------------------------------------
Noticed that some strings are truncated when viewed by print. Example:
{{{
G=graphs.Grid2dGraph(2,9)
S=G.graph6_string()
print S
print G.graph6_string()
}}}
We expect this to print the same string two times, but when this code is
evaluated in the notebook, this is what is printed:
{{{
qhc...@_a?c@c...@a?__gc@?OC?_G
qhc...@_a?c@c...@a?__gc@?OC?
}}}
The former is the correct answer, the latter removes the last two
characters for some reason.
This only happens in the notebook(tested on alpha.sagenb.org for Ubuntu,
Debian and Windows XP, with browsers Firefox and IE). When the code above
is run in the terminal without a notebook, it works as expected. Running
'./sage -notebook' also displays the error. This is all tested with Sage
4.2.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7410>
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
-~----------~----~----~----~------~----~------~--~---