#9275: 2 Bugs related to Simple Sage Server API
------------------------+---------------------------------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
This is from a user:
{{{
Hi.
I was recently trying to use the Simple Sage Server API as described here:
http://www.sagemath.org/doc/reference/sagenb/simple/twist.html
I am using the opensuse-64bit build of Sage-4.4.
Well it didn't work (always got an error when I tried to compute
something), so I started to follow the error.
On my way I found to Bugs:
File sage.server.notebook.worksheet, Line 3497, in def preparse(self, s)
replace: s = preparse_file(s, magic=False, do_time=True,
ignore_prompts=False)
with : s = preparse_file(s)
(The arguments magic and do_time do not exist in preparse_file)
File sage.server.notebook.worksheet, Line 2871, in def
start_next_comp(self) before: input +=
'sage.server.notebook.interact.SAGE_CELL_ID=%s\n'%(C.id())
insert: input += 'import sage.server.notebook.interact\n'
(You need to import the module before using it)
When I applied those two patches the tutorial worked out for me.
greetings,
David Poetzsch-Heffter
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9275>
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.